From 7e6bcd9e5a7cda4dc65f02c494fb471df7a7aecb Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Sat, 1 Dec 2007 17:53:42 +0000 Subject: [PATCH] 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. --- includes/api/ApiQueryRevisions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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":', -- 2.20.1