Extension talk:ShowRealUsernames/Archive 1

Code doesn't seem to work for me. SRUquery throws an exception:

Detected bug in an extension! Hook SRUquery failed to return a value; should return true to continue hook processing or false to abort.

Backtrace:


 * 0 C:\Wiki\htdocs\mediawiki\includes\specials\SpecialListusers.php(112): wfRunHooks('SpecialListuser...', Array)
 * 1 C:\Wiki\htdocs\mediawiki\includes\Pager.php(239): UsersPager->getQueryInfo
 * 2 C:\Wiki\htdocs\mediawiki\includes\Pager.php(148): IndexPager->reallyDoQuery('', 51, true)
 * 3 C:\Wiki\htdocs\mediawiki\includes\specials\SpecialListusers.php(157): IndexPager->doQuery
 * 4 C:\Wiki\htdocs\mediawiki\includes\specials\SpecialListusers.php(269): UsersPager->getBody
 * 1) 5 [internal function]: wfSpecialListusers(NULL, Object(SpecialPage))
 * 6 C:\Wiki\htdocs\mediawiki\includes\SpecialPage.php(771): call_user_func('wfSpecialListus...', NULL, Object(SpecialPage))
 * 7 C:\Wiki\htdocs\mediawiki\includes\SpecialPage.php(559): SpecialPage->execute(NULL)
 * 8 C:\Wiki\htdocs\mediawiki\includes\Wiki.php(229): SpecialPage::executePath(Object(Title))
 * 9 C:\Wiki\htdocs\mediawiki\includes\Wiki.php(59): MediaWiki->initializeSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest))
 * 1) 10 C:\Wiki\htdocs\mediawiki\index.php(116): MediaWiki->initialize(Object(Title), NULL, Object(OutputPage), Object(User), Object(WebRequest))
 * 2) 11 {main}


 * In general, this type of error message is caused by a change in MediaWiki which took place at or before version 1.14a; the easiest fix is to go to the end of whatever routine it's complaining about in the extension (in this case, SRUquery) and add:  Very common to see this when using many old extensions on any of this year's MediaWiki versions, unfortunately. --Carlb 12:15, 10 September 2009 (UTC)