https://bugzilla.wikimedia.org/show_bug.cgi?id=36573
Web browser: ---
Bug #: 36573
Summary: handle wikis which have API for siteinfo but do not
have siprop statistics
Product: Wikimedia Labs
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: wikistats
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
Due to different API capabilities in different MW versions we have a group of
wikis which do offer api.php URLs and we can fetch siteinfo from, but they do
not have statistics via API.
e.g. <error code="siunknown_siprop" info="Unrecognised value for parameter
'siprop'">
That's the wikis where you can see name/license but no values for good,total,
etc..
There are new error codes introduced in the siteinfo fetching. (892,893,894)
for debugging. Those that are http 200 but show no stats numbers fall into this
category.
Also code is changed to try fetching siteinfo even if fetching statistics
fails, before it was skipped.
Introduce new method "7" for those that are "siteinfo yes","statistics no", use
API for siteinfo and try replacing api.php URL with
Special:Statistics?action=raw and method 0 when fetching statistics.
--
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