From: Roan Kattouw Date: Sat, 1 Dec 2007 17:53:42 +0000 (+0000) Subject: Revert r28030: the example is valid. The fact that it doesn't work on Wikipedia is... X-Git-Tag: 1.31.0-rc.0~50629 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=7e6bcd9e5a7cda4dc65f02c494fb471df7a7aecb;p=lhc%2Fweb%2Fwiklou.git Revert r28030: the example is valid. The fact that it doesn't work on Wikipedia is a bug that has been fixed on trunk already. --- diff --git a/includes/api/ApiQueryRevisions.php b/includes/api/ApiQueryRevisions.php index bf0f359c1e..dc75c21fd3 100644 --- a/includes/api/ApiQueryRevisions.php +++ b/includes/api/ApiQueryRevisions.php @@ -481,8 +481,8 @@ class ApiQueryRevisions extends ApiQueryBase { protected function getExamples() { return array ( - 'Get data with content for the last revision of the "Main Page":', - ' api.php?action=query&prop=revisions&titles=Main%20Page&rvprop=timestamp|user|comment|content', + 'Get data with content for the last revision of titles "API" and "Main Page":', + ' api.php?action=query&prop=revisions&titles=API|Main%20Page&rvprop=timestamp|user|comment|content', 'Get last 5 revisions of the "Main Page":', ' api.php?action=query&prop=revisions&titles=Main%20Page&rvlimit=5&rvprop=timestamp|user|comment', 'Get first 5 revisions of the "Main Page":',