Last modified: 2012-04-16 09:15:45 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T35060, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33060 - Exception thrown when passing a Media: title to Special:Whatlinkshere
Exception thrown when passing a Media: title to Special:Whatlinkshere
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: 1.18.x release
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-13 23:10 UTC by Roan Kattouw
Modified: 2012-04-16 09:15 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Roan Kattouw 2011-12-13 23:10:37 UTC
Visit https://en.wikipedia.org/wiki/Special:WhatLinksHere/Media:Blason_ville_fr_Burlats_%28Tarn%29.svg . Found this by looking at exception.log on the cluster.

MediaWiki internal error.

Original exception: exception 'MWException' with message 'MWNamespace::getTalk does not make any sense for given namespace -2' in /usr/local/apache/common-local/php-1.18/includes/Namespace.php:40
Stack trace:
#0 /usr/local/apache/common-local/php-1.18/includes/Namespace.php(84): MWNamespace::isMethodValidFor(-2, 'MWNamespace::ge...')
#1 /usr/local/apache/common-local/php-1.18/includes/Title.php(2844): MWNamespace::getTalk(-2)
#2 /usr/local/apache/common-local/php-1.18/includes/SkinTemplate.php(859): Title->getTalkPage()
#3 /usr/local/apache/common-local/php-1.18/includes/SkinTemplate.php(500): SkinTemplate->buildContentNavigationUrls(Object(OutputPage))
#4 /usr/local/apache/common-local/php-1.18/includes/OutputPage.php(1856): SkinTemplate->outputPage(Object(OutputPage))
#5 /usr/local/apache/common-local/php-1.18/includes/Wiki.php(391): OutputPage->output()
#6 /usr/local/apache/common-local/php-1.18/includes/Wiki.php(636): MediaWiki->finalCleanup()
#7 /usr/local/apache/common-local/php-1.18/includes/Wiki.php(542): MediaWiki->main()
#8 /usr/local/apache/common-local/php-1.18/index.php(57): MediaWiki->run()
#9 /usr/local/apache/common-local/live-1.5/index.php(3): require('/usr/local/apac...')
#10 {main}

Exception caught inside exception handler: exception 'MWException' with message 'MWNamespace::getTalk does not make any sense for given namespace -2' in /usr/local/apache/common-local/php-1.18/includes/Namespace.php:40
Stack trace:
#0 /usr/local/apache/common-local/php-1.18/includes/Namespace.php(84): MWNamespace::isMethodValidFor(-2, 'MWNamespace::ge...')
#1 /usr/local/apache/common-local/php-1.18/includes/Title.php(2844): MWNamespace::getTalk(-2)
#2 /usr/local/apache/common-local/php-1.18/includes/SkinTemplate.php(859): Title->getTalkPage()
#3 /usr/local/apache/common-local/php-1.18/includes/SkinTemplate.php(500): SkinTemplate->buildContentNavigationUrls(Object(OutputPage))
#4 /usr/local/apache/common-local/php-1.18/includes/OutputPage.php(1856): SkinTemplate->outputPage(Object(OutputPage))
#5 /usr/local/apache/common-local/php-1.18/includes/Exception.php(183): OutputPage->output()
#6 /usr/local/apache/common-local/php-1.18/includes/Exception.php(209): MWException->reportHTML()
#7 /usr/local/apache/common-local/php-1.18/includes/Exception.php(397): MWException->report()
#8 /usr/local/apache/common-local/php-1.18/includes/Exception.php(476): MWExceptionHandler::report(Object(MWException))
#9 /usr/local/apache/common-local/php-1.18/includes/Wiki.php(545): MWExceptionHandler::handle(Object(MWException))
#10 /usr/local/apache/common-local/php-1.18/index.php(57): MediaWiki->run()
#11 /usr/local/apache/common-local/live-1.5/index.php(3): require('/usr/local/apac...')
#12 {main}
Comment 1 Daniel Friesen 2011-12-14 01:48:19 UTC
Hmmm... sounds like our setRelevantTitle should take any NS_MEDIA title inputted and swap it for a NS_FILE.
Comment 2 p858snake 2011-12-14 02:54:59 UTC
This is fixed with r103450 I believe.
Comment 3 Mark A. Hershberger 2011-12-14 18:41:42 UTC
Code is waiting for deployment.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links