https://bugzilla.wikimedia.org/show_bug.cgi?id=41042
Dereckson <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Dereckson <[email protected]> 2012-10-15 21:37:39 UTC --- The error returned by an API call against a special page doesn't mean the page doesn't exist but you can't create a WikiPage object from some namespaces (in default install, media and special). If you read the http://en.wikinews.org/w/api.php?action=parse&format=xml&prop=sections&page=Special:doesnotexist error text, you'll see: <error code="internal_api_error_MWException" info="Exception Caught: Invalid or virtual namespace -1 given." xml:space="preserve"/> This is an exception thrown by WikiPage::Factory method. Note the same error will be thrown by API calls requesting sections from *existing* special pages: https://en.wikinews.org/w/api.php?action=parse&format=xml&prop=sections&page=Special:Version -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
