Remove invalid example from ApiQueryRevisions
authorVictor Vasiliev <vasilievvv@users.mediawiki.org>
Sat, 1 Dec 2007 17:48:49 +0000 (17:48 +0000)
committerVictor Vasiliev <vasilievvv@users.mediawiki.org>
Sat, 1 Dec 2007 17:48:49 +0000 (17:48 +0000)
includes/api/ApiQueryRevisions.php

index dc75c21..bf0f359 100644 (file)
@@ -481,8 +481,8 @@ class ApiQueryRevisions extends ApiQueryBase {
 
        protected function getExamples() {
                return array (
-                       '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 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 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":',