Page MenuHomePhabricator

Configuration problem with Mediawiki.org configurage
Closed, InvalidPublic

Description

Whereas en.wikipedia.org gives me an answer:
https://en.wikipedia.org/w/api.php?action=query&titles=MediaWiki:Cite_error_ref_numeric_key&prop=revisions&format=xml&rvprop=content|ids|user

www.mediawiki.org does not:
https://www.mediawiki.org/w/api.php?action=query&titles=MediaWiki:Cite_error_ref_numeric_key&prop=revisions&format=xml&rvprop=content|ids|user

I get:

<api batchcomplete=""><query><normalized><n from="MediaWiki:Cite_error_ref_numeric_key" to="MediaWiki:Cite error ref numeric key"/></normalized><pages><page _idx="-1" ns="8" title="MediaWiki:Cite error ref numeric key" missing=""/></pages></query></api>

Event Timeline

If a MediaWiki message isn't overriden locally, then it won't exist as a page, so prop=revisions won't work. Does the output of https://www.mediawiki.org/w/api.php?action=query&meta=allmessages&ammessages=cite_error_ref_numeric_key work for you? That API query will return the message text regardless of whether the page exists or not.

@Legoktm Thank you, works for me!

Urbanecm changed the task status from Declined to Invalid.Aug 29 2016, 9:03 AM