Last modified: 2014-05-16 08:27:26 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 T64134, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62134 - Extension:TwitterCards breaks special pages: "Invalid or virtual namespace -1 given."
Extension:TwitterCards breaks special pages: "Invalid or virtual namespace -1...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
TwitterCards (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Kunal Mehta (Legoktm)
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-02 23:35 UTC by Leonard Wallentin
Modified: 2014-05-16 08:27 UTC (History)
5 users (show)

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


Attachments

Description Leonard Wallentin 2014-03-02 23:35:56 UTC
On MW 1.23alpha (5a44ef0), and TwitterCards on current master (2013-11-18), I get the following error when trying to access any special page:


Original exception: [f5119477] /ssm/Special:Version Exception from line 117 of /var/www/w/includes/WikiPage.php: Invalid or virtual namespace -1 given.
Backtrace:
#0 /var/www/w/includes/context/RequestContext.php(200): WikiPage::factory(Title)
#1 /var/www/w/includes/context/ContextSource.php(114): RequestContext->getWikiPage()
#2 /var/www/w/extensions/TwitterCards/TwitterCards.php(52): ContextSource->getWikiPage()
#3 [internal function]: efTwitterCardsHook(OutputPage, SkinSasongsmat)
#4 /var/www/w/includes/Hooks.php(206): call_user_func_array(string, array)
#5 /var/www/w/includes/GlobalFunctions.php(4011): Hooks::run(string, array, NULL)
#6 /var/www/w/includes/OutputPage.php(2073): wfRunHooks(string, array)
#7 /var/www/w/includes/Wiki.php(595): OutputPage->output()
#8 /var/www/w/includes/Wiki.php(447): MediaWiki->main()
#9 /var/www/w/index.php(49): MediaWiki->run()
#10 {main}

Exception caught inside exception handler: [df7704c0] /ssm/Special:Version Exception from line 117 of /var/www/w/includes/WikiPage.php: Invalid or virtual namespace -1 given.
Backtrace:
#0 /var/www/w/includes/context/RequestContext.php(200): WikiPage::factory(Title)
#1 /var/www/w/includes/context/ContextSource.php(114): RequestContext->getWikiPage()
#2 /var/www/w/extensions/TwitterCards/TwitterCards.php(52): ContextSource->getWikiPage()
#3 [internal function]: efTwitterCardsHook(OutputPage, SkinSasongsmat)
#4 /var/www/w/includes/Hooks.php(206): call_user_func_array(string, array)
#5 /var/www/w/includes/GlobalFunctions.php(4011): Hooks::run(string, array, NULL)
#6 /var/www/w/includes/OutputPage.php(2073): wfRunHooks(string, array)
#7 /var/www/w/includes/exception/MWException.php(220): OutputPage->output()
#8 /var/www/w/includes/exception/MWException.php(260): MWException->reportHTML()
#9 /var/www/w/includes/exception/MWExceptionHandler.php(44): MWException->report()
#10 /var/www/w/includes/exception/MWExceptionHandler.php(118): MWExceptionHandler::report(MWException)
#11 /var/www/w/includes/Wiki.php(454): MWExceptionHandler::handle(MWException)
#12 /var/www/w/index.php(49): MediaWiki->run()
#13 {main}
Comment 1 Gerrit Notification Bot 2014-05-06 05:36:37 UTC
Change 131658 had a related patch set uploaded by Legoktm:
Use TextExtracts and PageImages extensions

https://gerrit.wikimedia.org/r/131658
Comment 2 Kunal Mehta (Legoktm) 2014-05-16 08:27:26 UTC
Patch was merged.

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


Navigation
Links