Hi. I'm the author of a tool to fix syntax problems in MediaWiki wikis, WPCleaner. I want to use it on Meta also, but edits on translated page through action=edit is not possible, so I would like to be able to know in advance if the page will be editable. How can I do it through the API in a portable way between wikis?
Topic on Extension talk:Translate
That is a good question. I could not find any generic method in MediaWiki to check if page is editable. You can get a list of translatable pages (if Translate is installed). Example: https://meta.wikimedia.org/wiki/Special:ApiSandbox#action=query&format=json&meta=messagegroups&mgfilter=page-*&mgprop=id
Thanks for the answer, but not very practical to have to do another API call just to get that information... I hope there's something can be retrieved when asking for information about pages
That information could be stored in pageprops, but that would be a feature request.
I got an answer on the mailing list for the API, it seems possible with https://meta.wikimedia.org/wiki/Special:ApiSandbox#action=query&format=json&prop=info&titles=Mission%7CMission%2Fpl&intestactions=edit&intestactionsdetail=full
Oh I didn't know that exists!