Revert r28030: the example is valid. The fact that it doesn't work on Wikipedia is...
authorRoan Kattouw <catrope@users.mediawiki.org>
Sat, 1 Dec 2007 17:53:42 +0000 (17:53 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Sat, 1 Dec 2007 17:53:42 +0000 (17:53 +0000)
includes/api/ApiQueryRevisions.php

index bf0f359..dc75c21 100644 (file)
@@ -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":',