[Pkg-mediawiki-devel] Bug#414876: Updation from mediawiki1.7 failed

Romain Beauxis toots at rastageeks.org
Wed Mar 14 14:00:20 CET 2007


tags 414876 + moreinfo unreproducible
thanks


	Hi !

Le mercredi 14 mars 2007 12:52, Pavel 'Blaze' Vinogradov a écrit :
>   Updation from mediawiki1.7.1-6 on debian ethc failed on DB update.
> Execution of maintenance/update.php script failed with error:
>
> Fatal error: Call to undefined function wfWikiID() in
> /usr/share/mediawiki1.9/maintenance/update.php on line 44

Strange to me..
This function is referenced many times in the code (try 
grep -r 'wfWikiID' /var/lib/mediawiki1.9 ) and defined in 
includes/GlobalFunctions.php at line 2144:
/**
 * Get an ASCII string identifying this wiki
 * This is used as a prefix in memcached keys
 */
function wfWikiID() {
        global $wgDBprefix, $wgDBname;
        if ( $wgDBprefix ) {
                return "$wgDBname-$wgDBprefix";
        } else {
                return $wgDBname;
        }
}

> This function not defined in any php files and used only in this
> string for information purposes, therefore commenting they call - fix
> problem for me.

I think we'll need more information before we can settle this as a real bug.
Could you explain us steps to reproduce it ? In particular, did it appear with 
the automated upgrade script or via a manual update ? In the later case, how 
did you perform the upgrade ?


Romain




More information about the Pkg-mediawiki-devel mailing list