From bb9241b54f3ccead9bf0a718533f06a9c6630ce7 Mon Sep 17 00:00:00 2001 From: Reedy Date: Wed, 30 Jan 2013 19:19:18 +0000 Subject: [PATCH] Fix double colons in api help output Get links from the [[Main Page]]:: api.php?action=query&prop=links&titles=Main%20Page Get information about the link pages in the [[Main Page]]:: api.php?action=query&generator=links&titles=Main%20Page&prop=info Get links from the Main Page in the User and Template namespaces:: api.php?action=query&prop=links&titles=Main%20Page&plnamespace=2|10 Change-Id: I3645bd72d80aef3f99da7f8f5fa1d63a1b28ad78 --- includes/api/ApiQueryLinks.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/api/ApiQueryLinks.php b/includes/api/ApiQueryLinks.php index 138d79b201..69d81ae365 100644 --- a/includes/api/ApiQueryLinks.php +++ b/includes/api/ApiQueryLinks.php @@ -238,9 +238,9 @@ class ApiQueryLinks extends ApiQueryGeneratorBase { $desc = $this->description; $name = $this->getModuleName(); return array( - "api.php?action=query&prop={$name}&titles=Main%20Page" => "Get {$desc}s from the [[Main Page]]:", - "api.php?action=query&generator={$name}&titles=Main%20Page&prop=info" => "Get information about the {$desc} pages in the [[Main Page]]:", - "api.php?action=query&prop={$name}&titles=Main%20Page&{$this->prefix}namespace=2|10" => "Get {$desc}s from the Main Page in the User and Template namespaces:", + "api.php?action=query&prop={$name}&titles=Main%20Page" => "Get {$desc}s from the [[Main Page]]", + "api.php?action=query&generator={$name}&titles=Main%20Page&prop=info" => "Get information about the {$desc} pages in the [[Main Page]]", + "api.php?action=query&prop={$name}&titles=Main%20Page&{$this->prefix}namespace=2|10" => "Get {$desc}s from the Main Page in the User and Template namespaces", ); } -- 2.20.1