Last modified: 2011-01-25 00:38:20 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 T22700, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20700 - Show default messages in ApiQueryAllmessages
Show default messages in ApiQueryAllmessages
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.16.x
All All
: Normal major with 3 votes (vote)
: ---
Assigned To: Roan Kattouw
http://test.wikipedia.org/w/index.php...
: code-update-regression
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-09-17 19:47 UTC by Platonides
Modified: 2011-01-25 00:38 UTC (History)
9 users (show)

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


Attachments

Description Platonides 2009-09-17 19:47:54 UTC
The old Special:Allmessages allowed to access the in php and xml formats apart from the normal html.
This is now gone with the new Special:Allmessages.

The main usage of the xml export was probably pywikipediabot, which is now broken.
Comment 1 Chad H. 2009-09-17 22:18:39 UTC
Cf bug 16497 and r53286.
Comment 2 Niklas Laxström 2009-09-18 06:01:05 UTC
They can use the real API.
Comment 3 Jcb 2009-09-18 12:22:59 UTC
Pleas fix it as soon as possible, all standard pywikipediabots are broken now. ~~~~
Comment 4 Chad H. 2009-09-18 12:26:27 UTC
Is there some compelling reason pywikipediabot can't use the API?
Comment 5 Jcb 2009-09-18 12:30:35 UTC
Erwin (bot tech) states at NL.wikipedia that the API is no alternative, for the API only shows modified messages.
Comment 6 Chad H. 2009-09-18 12:43:45 UTC
(In reply to comment #5)
> Erwin (bot tech) states at NL.wikipedia that the API is no alternative, for the
> API only shows modified messages.
> 

Are you sure? I just tried api.php?action=query&meta=allmessages&amlang=jbo on my localhost (Jbo is the smallest lang file), and it returned the full set of messages. This is running trunk.
Comment 7 Chad H. 2009-09-18 12:55:34 UTC
Ignore me, I'm an idiot. 

We need to be able to show modified vs. defaults in the API (which apparently Roan is going to add). Retitling/assigning bug appropriately.
Comment 8 Jcb 2009-09-18 13:18:33 UTC
After that, do I need to apply any changes to the bot scripts?
Comment 9 Roan Kattouw 2009-09-18 13:19:47 UTC
(In reply to comment #8)
> After that, do I need to apply any changes to the bot scripts?
> 

That depends what you mean by "bot scripts"; if you're referring to code using the pywikipediabot framework, probably not. If you're referring to the pywikipediabot framework itself, yes that code needs to be changed.
Comment 10 Roan Kattouw 2009-09-18 15:24:46 UTC
Fixed in r56606; see commit summary for usage details.

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


Navigation
Links