Last modified: 2010-05-15 15:50:56 UTC
Special:Version displays this PHP warning: Notice: Undefined offset: 1 in <path>\includes\SpecialVersion.php on line 257 This is the arrayToString() line: return "($class, {$list[1]})";
Call Stack # Time Memory Function Location 1 0.0009 74728 {main}( ) ..\index.php:0 2 0.1460 8747472 MediaWiki->initialize( ) ..\index.php:89 3 0.1748 10410936 MediaWiki->initializeSpecialCases( ) ..\Wiki.php:45 4 0.1784 10706200 SpecialPage::executePath( ) ..\Wiki.php:196 5 0.1813 10730592 SpecialPage->execute( ) ..\SpecialPage.php:433 6 0.1999 11237608 wfSpecialVersion( ) ..\SpecialPage.php:627 7 0.1999 11237608 SpecialVersion->execute( ) ..\SpecialVersion.php:17 8 0.2072 11353032 SpecialVersion->wgHooks( ) ..\SpecialVersion.php:33 9 0.2073 11353544 SpecialVersion->listToText( ) ..\SpecialVersion.php:189 10 0.2073 11354104 SpecialVersion->arrayToString( ) ..\SpecialVersion.php:233
This looks like it might have been fixed in trunk. Chances are, this is due to a bad assumption about what constituted a valid hook callback "then" vs. "now"; without knowing what extensions are installed (thus, what's being set in hooks), I can't check this too well.
This was caused by a custom extension we installed, which has the line: $wgHooks['EditFormPreloadText'][] = array('name_of_function'); which causes Special:Version to display this hook's subscribers as: (,)
You've got an invalid hook bit there. Set: $wgHooks['EditFormPreloadText'][] = 'name_of_function';