API talk:Purge

From mediawiki.org
Latest comment: 10 years ago by 87.68.239.228 in topic Purging help

forcelinkupdate[edit]

forcelinkupdate seems to be an undocumented valueless parameter to accompany action=purge. See Manual talk:Purge#forcelinkupdate. — Richardguk (talk) 04:42, 7 December 2012 (UTC)Reply

It's only undocumented as far as this wiki is concerned (it often doesn't really reflect the API accurately), the auto-generated documentation shows it. – Giftpflanze (talk) 19:59, 9 December 2012 (UTC)Reply
Agreed that it is mentioned at the http://www.mediawiki.org/w/api.php auto-generated documentation page (though this is not indexed like the wiki pages). Also, thanks for adding it here at API:Purge#Parameters. But the lack of documentation at Manual:Purge and Manual:Parameters to index.php means that it remains unclear whether &forcelinkupdate is accessible via index.php. It also makes it harder for people to discover and understand the extra parameter. — Richardguk (talk) 00:34, 10 December 2012 (UTC)Reply
I've now updated Manual:Purge and Manual:Parameters to index.php. — Richardguk (talk) 02:28, 4 January 2013 (UTC)Reply

Purging help[edit]

Is there a way to request the content of a page in the following way:

/api.php?action=query&format=json&prop=revisions&rvprop=content&titles=Foo

Yet i want the content of the page to be update, so for example, if i entered some page, on which i requested the content of Foo, and while i am in that page, someone edits the page Foo and then i request again the content. It seems like the API query doesn't give the updated version, yet i need the updated version. How can i achive that? 87.68.239.228 09:07, 23 September 2013 (UTC)Reply