Last modified: 2012-11-14 22:36:48 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 T43168, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41168 - /w/api.php Exception from line 104 of /www/translatewiki.net/w/includes/WikiPage.php: Invalid or virtual namespace -1 given.
/w/api.php Exception from line 104 of /www/translatewiki.net/w/includes/Wik...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.21.x
All All
: Unprioritized major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 39480
  Show dependency treegraph
 
Reported: 2012-10-18 12:52 UTC by Niklas Laxström
Modified: 2012-11-14 22:36 UTC (History)
7 users (show)

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


Attachments

Description Niklas Laxström 2012-10-18 12:52:34 UTC
/w/api.php   Exception from line 104 of /www/translatewiki.net/w/includes/WikiPage.php: Invalid or virtual namespace -1 given.

Unfortunately API eats the backtrace.

I guess the cause is requests like these:
"POST /w/api.php HTTP/1.1" 200 313 "http://translatewiki.net/w/i.php?title=Special:NewMessages&lqt_method=reply&lqt_operand=27245"
Comment 1 Sam Reed (reedy) 2012-10-23 14:29:30 UTC
2012-10-23 14:23:25 mw70 enwiki: [238f8828] /w/api.php?action=parse&page=Special:WantedCategories&format=json&redirects&prop=text%7Cheaditems%7Cdisplaytitle%7Crevid%7Csections   Exception from line 104 of /usr/local/apache/common-local/php-1.21wmf2/includes/WikiPage.php: Invalid or virtual namespace -1 given

It seems these errors are currently spamming the exception logs on fluorine. Seemingly only enwiki, but I'm not sure of that.

Some extension (?) is creating a load of requests... guess we could do with some referers...

Not quite sure it's an API bug.. Though, the API could handle the error and die properly. The invokers should be the things that need to be fixed...
Comment 2 Sam Reed (reedy) 2012-10-23 14:46:44 UTC
https://gerrit.wikimedia.org/r/29583
Comment 3 Sam Reed (reedy) 2012-10-23 14:56:06 UTC
https://gerrit.wikimedia.org/r/29587

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


Navigation
Links