https://bugzilla.wikimedia.org/show_bug.cgi?id=64305
Bug ID: 64305
Summary: mobileview fails on content pages redirecting to
special pages
Product: MobileFrontend
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: stable
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected],
[email protected]
Web browser: ---
Mobile Platform: ---
Example:
https://en.wikipedia.org/w/api.php?action=mobileview&page=User%3APurplebackpack89%2FC&redirects=yes&prop=sections%7Ctext§ions=§ionprop=level%7Cline&noheadings=yes&format=json
returns
{"servedby":"mw1125","error":{"code":"internal_api_error_MWException","info":"Exception
Caught: Invalid or virtual namespace -1 given.","*":""}} because the page in
question, https://en.wikipedia.org/wiki/User:Purplebackpack89/C , is a redirect
to Special:Contributions/Purplebackpack89.
Suggestions what to return in such cases are welcome.
--
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