https://bugzilla.wikimedia.org/show_bug.cgi?id=55207
Web browser: --- Bug ID: 55207 Summary: title of ml-site not found in list retrieved via API Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1421/ Reported by: xqt Created on: 2012-03-11 12:59:40 Subject: title of ml-site not found in list retrieved via API Original description: Retrieving pages from ml-wikipedia results in that BUG
Getting 52 pages via API from wikipedia:ml... BUG>> title ????? ??????? ([[ml:????? ???????]]) not found in list Expected one of: [[ml:????????]],[[ml:????]],[[ml:??????????]],[[ml:?????? ????? ]],[[ml:???????]],[[ml:???????]],[[ml:???????]],[[ml:???????????]],[[ml:????]],[ [ml:????]],[[ml:??????]],[[ml:?????? 25]],[[ml:?????]],[[ml:????????]],[[ml:???? ????]],[[ml:??????:?????????]],[[ml:?????]],[[ml:?????????]],[[ml:???????]],[[ml :???????????]],[[ml:?????????????? ??????????? ??? ?????]],[[ml:??????]],[[ml:?? ??????]],[[ml:????]],[[ml:????]],[[ml:??????]],[[ml:?????????]],[[ml:????????]], [[ml:????-????]],[[ml:???????????? ????]],[[ml:???????]],[[ml:?????????]],[[ml:? ?????????????]],[[ml:????]],[[ml:???????]],[[ml:???????????]],[[ml:????????????? ]],[[ml:????????]],[[ml:??????? ?????????]],[[ml:?? ????????]],[[ml:??????????]] ,[[ml:??????????? ???]],[[ml:?????????]],[[ml:?????]],[[ml:?????? ???]],[[ml:??? ???? ????????]],[[ml:??? ??????????]],[[ml:???????]],[[ml:???????????????????]], [[ml:???????? ??????????]],[[ml:?????? ????????]],[[ml:?????? ???]] Traceback (most recent call last): File "C:\pwb\trunk\pagegenerators.py", line 1200, in __iter__ for loaded_page in self.preload(somePages): File "C:\pwb\trunk\pagegenerators.py", line 1223, in preload pywikibot.getall(site, pagesThisSite) File "C:\pwb\trunk\wikipedia.py", line 4472, in getall else: File "C:\pwb\trunk\wikipedia.py", line 4098, in run self.oneDoneApi(vals) File "C:\pwb\trunk\wikipedia.py", line 4375, in oneDoneApi raise PageNotFound PageNotFound
C:\pwb\trunk Pywikipedia trunk/pywikipedia/ (r10009, 2012/03/11, 12:13:26) Python 2.7.2 (default, Jun 12 2011, 14:24:46) [MSC v.1500 64 bit (AMD64)] config-settings: use_api = True use_api_login = True unicode test: ok
https://bugzilla.wikimedia.org/show_bug.cgi?id=55207
Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceforge.net/p/p | |ywikipediabot/bugs/1421
https://bugzilla.wikimedia.org/show_bug.cgi?id=55207
Ricordisamoa ricordisamoa@openmailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |info@gno.de, | |ricordisamoa@openmailbox.or | |g
--- Comment #1 from Ricordisamoa ricordisamoa@openmailbox.org --- Can you provide exact steps to reproduce?
https://bugzilla.wikimedia.org/show_bug.cgi?id=55207
xqt info@gno.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |compat (1.0)
--- Comment #2 from xqt info@gno.de --- I can't. This depends on compat only and is the reason why compat retrieves pages via "old API" special:export and not via API request with query.py The code is already there. I suggest to close as WONTFIX because compat is defacto deprecated and it is time consuming to investigate into this matter for an old system whereas we have a new one and the old code still works with old API.
I guess there might be a spelling difference somewhere and the page titles aren't normalized in the right form.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55207
Amir Ladsgroup ladsgroup@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |ladsgroup@gmail.com Resolution|--- |WONTFIX
pywikipedia-bugs@lists.wikimedia.org