aboutsummaryrefslogtreecommitdiffstats
path: root/includes/api/ApiDelete.php
diff options
context:
space:
mode:
authorSam Reed <reedy@users.mediawiki.org>2011-12-17 19:10:33 +0000
committerSam Reed <reedy@users.mediawiki.org>2011-12-17 19:10:33 +0000
commitb0818acd868d7e5851fccd3c7d77f1c0b28b075b (patch)
treea4c973919f7b58437c3998451b20c5288e5470ab /includes/api/ApiDelete.php
parentbca521187e7965450844d15eaf5786ccd2d42d10 (diff)
downloadmediawikicore-b0818acd868d7e5851fccd3c7d77f1c0b28b075b.tar.gz
mediawikicore-b0818acd868d7e5851fccd3c7d77f1c0b28b075b.zip
More example conversions/additions
Ping r106439
Notes
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/106521
Diffstat (limited to 'includes/api/ApiDelete.php')
-rw-r--r--includes/api/ApiDelete.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/api/ApiDelete.php b/includes/api/ApiDelete.php
index 6d9a3004bdfb..fe53b02b0cee 100644
--- a/includes/api/ApiDelete.php
+++ b/includes/api/ApiDelete.php
@@ -268,8 +268,8 @@ class ApiDelete extends ApiBase {
public function getExamples() {
return array(
- 'api.php?action=delete&title=Main%20Page&token=123ABC',
- 'api.php?action=delete&title=Main%20Page&token=123ABC&reason=Preparing%20for%20move'
+ 'api.php?action=delete&title=Main%20Page&token=123ABC' => 'Deletes the Main Page',
+ 'api.php?action=delete&title=Main%20Page&token=123ABC&reason=Preparing%20for%20move' => 'Deletes the Main Page with the reason "Preparing for move"',
);
}