aboutsummaryrefslogtreecommitdiffstats
path: root/includes/api/ApiQueryLangLinks.php
diff options
context:
space:
mode:
authorSam Reed <reedy@users.mediawiki.org>2011-12-27 16:22:35 +0000
committerSam Reed <reedy@users.mediawiki.org>2011-12-27 16:22:35 +0000
commit6115b93df8e03951cbbcd894ec865b6742786142 (patch)
tree397f6481485f3daceeaaeab600aa56040a909677 /includes/api/ApiQueryLangLinks.php
parentf8491a9b5544e33ab1d1503c0b82c33bcec1b502 (diff)
downloadmediawikicore-6115b93df8e03951cbbcd894ec865b6742786142.tar.gz
mediawikicore-6115b93df8e03951cbbcd894ec865b6742786142.zip
Re-instate most of the revisions for bug 33147 "API examples should explain what they do"
Using this to sync up my working copies Should have the little niggles tidied up though
Notes
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/107393
Diffstat (limited to 'includes/api/ApiQueryLangLinks.php')
-rw-r--r--includes/api/ApiQueryLangLinks.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/api/ApiQueryLangLinks.php b/includes/api/ApiQueryLangLinks.php
index 9d220ffa8a20..fdba8465e334 100644
--- a/includes/api/ApiQueryLangLinks.php
+++ b/includes/api/ApiQueryLangLinks.php
@@ -171,8 +171,7 @@ class ApiQueryLangLinks extends ApiQueryBase {
public function getExamples() {
return array(
- 'Get interlanguage links from the [[Main Page]]:',
- ' api.php?action=query&prop=langlinks&titles=Main%20Page&redirects=',
+ 'api.php?action=query&prop=langlinks&titles=Main%20Page&redirects=' => 'Get interlanguage links from the [[Main Page]]',
);
}