Last modified: 2014-06-27 18:07:03 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 T68147, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 66147 - TypeError: mw.config.get(...)[this.namespace] is undefined
TypeError: mw.config.get(...)[this.namespace] is undefined
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
MultimediaViewer (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 66657 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-04 23:19 UTC by se4598
Modified: 2014-06-27 18:07 UTC (History)
5 users (show)

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


Attachments

Description se4598 2014-06-04 23:19:13 UTC
Firefox 29, Win 7:
On https://de.wikipedia.org/wiki/Ata_Demirer?debug=true#mediaviewer/Datei:Ata_Demirer_01.jpg on opening mediaviewer.
Firebug shows:
TypeError: mw.config.get(...)[this.namespace] is undefined
https://bits.wikimedia.org/static-1.24wmf6/resources/src/mediawiki.api/mediawiki.api.js
Line 222
(at "apiDeferred.resolve( result, jqXHR );")

caused problem: not yet known.
Comment 1 Tisza Gergő 2014-06-04 23:58:33 UTC
This is caused by the image being used on a page with a non-standard namespace (itwiki has a custom namespace for wikiprojects apparently). mmv.ui.fileUsage creates new Title(pagename, ns) from the globalusage API, and then calling getUrl() on that fails.
Comment 2 Gerrit Notification Bot 2014-06-12 17:39:52 UTC
Change 138999 had a related patch set uploaded by Gergő Tisza:
Fix URL handling for global usage list

https://gerrit.wikimedia.org/r/138999
Comment 3 Derk-Jan Hartman 2014-06-16 09:39:12 UTC
*** Bug 66657 has been marked as a duplicate of this bug. ***
Comment 4 Gerrit Notification Bot 2014-06-27 17:41:23 UTC
Change 138999 merged by jenkins-bot:
Fix URL handling for global usage list

https://gerrit.wikimedia.org/r/138999

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


Navigation
Links