Page MenuHomePhabricator

Show default messages in ApiQueryAllmessages
Closed, ResolvedPublic

Description

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.


Version: 1.16.x
Severity: major
URL: http://test.wikipedia.org/w/index.php?title=Special:Allmessages&ot=xml

Details

Reference
bz20700

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:54 PM
bzimport added a project: MediaWiki-API.
bzimport set Reference to bz20700.

Cf bug 16497 and r53286.

They can use the real API.

Jcb added a comment.Sep 18 2009, 12:22 PM

Pleas fix it as soon as possible, all standard pywikipediabots are broken now. ~~~~

Is there some compelling reason pywikipediabot can't use the API?

Jcb added a comment.Sep 18 2009, 12:30 PM

Erwin (bot tech) states at NL.wikipedia that the API is no alternative, for the API only shows modified messages.

(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.

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.

Jcb added a comment.Sep 18 2009, 1:18 PM

After that, do I need to apply any changes to the bot scripts?

(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.

Fixed in r56606; see commit summary for usage details.