Project:Test reports

__NEWSECTIONLINK__ This is the place to report bugs and track them.

Reporting problems
If you find something that doesn't work as expected, make a note of it here. If you're comfortable entering bugs in and you think this is a bug in MediaWiki, then please do that as well. Add   just before the bug report with the bug number. Please sign your problem reportgs.

If you someone has reported a problem, but not filed a corresponding Bugzilla ticket and you think one is needed, then please file one for them and add   just before the problem report here.

If you file a Bugzilla report, it is often very useful to include links to any on-wiki discussion.

Sample Bug: Documentation
Documentation still sucks -- ~

This produces:

Sample Bug: Documentation
Documentation still sucks -- ☠ MarkAHershberger ☢ (talk) ☣ 04:18, 8 January 2012 (UTC)

Central notice
When browsing log: Catchable fatal error: Argument 1 passed to IndexPager::__construct must implement interface IContextSource, instance of SpecialCentralNoticeLogs given, called in /usr/local/apache/common/live/extensions/CentralNotice/CentralNoticePageLogPager.php on line 18 and defined in /usr/local/apache/common/live/includes/Pager.php on line 109 http://meta.wikimedia.beta.wmflabs.org/wiki/Special:CentralNoticeLogs?log=bannercontent

Double descriptions on Commons File pages
This appears to be a conflict with imports and InstantCommons.
 * Developers in charge of this decided to WONTFIX it. :P

Javascript errors with Monobook skin
The error doesn't show up on the JS console with Vector.

Username doesn't stay logged in
I created User:Hexmode-test and when I log in with the user, the "you're logged in" page has "Log out" in the upper right hand corner, but navigating away from that page shows that I'm not logged in: "Log in" appears again in the upper right hand corner. Interestingly it doesn't happen with my current user or on Opera or Chrome. -- MarkAHershberger (talk) 01:54, 12 January 2012 (UTC)

Note that I thought part of this could be a caching problem: When I log out on Opera and the return to the previous page (not by using the "back" button, but by clicking on "Return to Problem reports.") the upper right shows "Log out" instead of "Log in". Reloading does show the correct thing, though. Upon further testing, though, this maybe the length of time to load the log out icon.

Further testing on FF shows that this appears to be a problem of a faulty cookie. Erasing all my cookies and the logging in keeps me logged in. -- Hexmode-test (talk) 03:05, 12 January 2012 (UTC)

mw.util.$content is null
This is about http://commons.wikimedia.beta.wmflabs.org
 * 1) mw.util is undefined when attempting to access from MediaWiki:Common.js without using mw.loader.load
 * 2) despite wrapping all inside   mw.util.$content is null. But it shouldn’t since the code wrapped inside   should be executed after mw.util is initialized. -- Rillke (talk) 22:17, 12 January 2012 (UTC)


 * Fixed. For more details see 33711. Krinkle (talk) 03:53, 14 January 2012 (UTC)
 * Fixed on enwiki too. -- MarkAHershberger (talk) 04:54, 14 January 2012 (UTC)
 * NOT FIXED. Just broke the half common.js . Just did  and got.
 * To reproduce the $content is null - problem, use Firefox 9.0.1 with Firebug, activate the script panel and in the console-panel click "stop/halt on all errors", then go to http://commons.wikimedia.beta.wmflabs.org/wiki/User:Rillke Shift+Reload. Debugger stops at
 * http://upload.beta.wmflabs.org/wikipedia/commons/a/ae/Mw.util.%24content_IsNull.png -- Rillke (talk) 11:10, 14 January 2012 (UTC)

$.cookie not defined
I get the following Javascript error on http://en.wikipedia.beta.wmflabs.org:


 * Uncaught TypeError: Object function (selector,context){return new jQuery.fn.init(selector,context,rootjQuery);} has no method 'cookie'

Seems like jQuery's cookie plugin isn't initialized properly. NOTE: This seems only apparent when enabling the MenuTabsToggle gadget (which uses cookies). (It does work in the Commons test wiki.) — Edokter  ( talk ) — 14:19, 13 January 2012 (UTC)

More script errors (pointing to legacyWikibits) on enwiki: — Edokter  ( talk ) — 14:44, 13 January 2012 (UTC)
 * Uncaught TypeError: Cannot call method 'getParamValue' of undefined
 * Uncaught TypeError: Cannot call method 'wikiUrlencode' of undefined


 * Fixed. For more details see 33711. Short: Dependencies must be declared. Gadget likely already broke for some people in race conditions / bad luck / slow connection. Modules are loaded a bit faster now, making race conditions more important and lack of dependency declaration more visible. Fixed for that gadget on wmflabs here: http://en.wikipedia.beta.wmflabs.org/w/index.php?title=MediaWiki%3AGadgets-definition&action=historysubmit&diff=54891&oldid=21968 Krinkle (talk) 03:52, 14 January 2012 (UTC)

https does not work
Maybe not a MediaWiki bug, but all testwikis have no https support: https://labs.wikimedia.beta.wmflabs.org It is possible to enable https for the testwikis? Thanks. Umherirrender (talk) 19:21, 14 January 2012 (UTC)
 * Yes, it will be probably enabled during the week, but it's not a bug Petrb (talk) 11:15, 15 January 2012 (UTC)

Can't load $.cookie (again)
Can anyone tell me why this does nothing on the labs Commons version? To be more specific, if I put in an alert in the third parameter, it will trigger the alert. If I use "jQuery.cookie" (note the case), I get "unknown dependency". Yet this code, either wit "jquery.cookie" or "jQuery.cookie", works perfectly on the real Commons. — Edokter  ( talk ) — 20:18, 14 January 2012 (UTC)

Opera error "hosts file missing"
System Environment: Windows 7 Home Basic X64, Opera 11.51 Build 1087, Opera turbo enabled

Page opened: http://hi.wikipedia.beta.wmflabs.org/wiki/उत्तरांचल

Additional Info: Page was protected with edit-protection: autoconfirmed, move-protection: autoconfirmed, and review protection at reviewer level, all three with 1 day time period, at the time this error was found. The page was viewed while logged out.

Error message and backtrace:

TrustedXFF: hosts file missing. You need to download it.

Backtrace:

TrustedXFF->getCdbHandle TrustedXFF->isTrusted('141.0.8.155') call_user_func_array('TrustedXFF::onI...', Array) Hooks::run('IsTrustedProxy', Array) wfRunHooks('IsTrustedProxy', Array) wfIsTrustedProxy('141.0.8.155') User->getName DatabaseBase->query('SELECT page_id...', 'WikiPage::pageD...') DatabaseBase->select('page', Array, Array, 'WikiPage::pageD...', Array, Array) DatabaseBase->selectRow('page', Array, Array, 'WikiPage::pageD...') WikiPage->pageData(Object(DatabaseMysql), Array) WikiPage->pageDataFromTitle(Object(DatabaseMysql), Object(Title)) WikiPage->loadPageData call_user_func_array(Array, Array) #18 /usr/local/apache/common/live/extensions/FlaggedRevs/frontend/FlaggedRevsUI.hooks.php(213): Article->getLatest Object(WebRequest), false, false, Object(Article)) call_user_func_array('FlaggedRevsUIHo...', Array) Hooks::run('InitializeArtic...', Array) wfRunHooks('InitializeArtic...', Array) MediaWiki->initializeArticle MediaWiki->performRequest
 * 1) 0 /usr/local/apache/common/live/extensions/TrustedXFF/TrustedXFF.php(66):
 * 1) 1 /usr/local/apache/common/live/extensions/TrustedXFF/TrustedXFF.php(39):
 * 1) 2 [internal function]: TrustedXFF::onIsTrustedProxy('141.0.8.155', false)
 * 2) 3 /usr/local/apache/common/live/includes/Hooks.php(216):
 * 1) 4 /usr/local/apache/common/live/includes/GlobalFunctions.php(3760):
 * 1) 5 /usr/local/apache/common/live/includes/ProxyTools.php(60):
 * 1) 6 /usr/local/apache/common/live/includes/WebRequest.php(1048):
 * 1) 7 /usr/local/apache/common/live/includes/User.php(1702): WebRequest->getIP
 * 2) 8 /usr/local/apache/common/live/includes/db/Database.php(821):
 * 1) 9 /usr/local/apache/common/live/includes/db/Database.php(1360):
 * 1) 10 /usr/local/apache/common/live/includes/db/Database.php(1446):
 * 1) 11 /usr/local/apache/common/live/includes/WikiPage.php(330):
 * 1) 12 /usr/local/apache/common/live/includes/WikiPage.php(348):
 * 1) 13 /usr/local/apache/common/live/includes/WikiPage.php(376):
 * 1) 14 /usr/local/apache/common/live/includes/WikiPage.php(536):
 * 1) 15 [internal function]: WikiPage->getLatest
 * 2) 16 /usr/local/apache/common/live/includes/Article.php(1775):
 * 1) 17 [internal function]: Article->__call('getLatest', Array)
 * 1) 19 [internal function]: FlaggedRevsUIHooks::overrideRedirect(Object(Title),
 * 1) 20 /usr/local/apache/common/live/includes/Hooks.php(216):
 * 1) 21 /usr/local/apache/common/live/includes/GlobalFunctions.php(3760):
 * 1) 22 /usr/local/apache/common/live/includes/Wiki.php(388):
 * 1) 23 /usr/local/apache/common/live/includes/Wiki.php(271):
 * 1) 24 /usr/local/apache/common/live/includes/Wiki.php(661):
 * 1) 25 /usr/local/apache/common/live/includes/Wiki.php(581): MediaWiki->main
 * 2) 26 /usr/local/apache/common/live/index.php(58): MediaWiki->run
 * 3) 27 {main}

-- Siddhartha Ghai (talk) 15:32, 15 January 2012 (UTC)