jenkins-bot has submitted this change and it was merged.
Change subject: [FIX] Example extension API help URLs to exclude "api.php?".
......................................................................
[FIX] Example extension API help URLs to exclude "api.php?".
After converting this module's API help for i18n with change If26fcf28
I realized that I had forgot to exclude "api.php?" from the example
URLs.
Change-Id: Ia5e6378297d5e3fe0f39aae40e96f8430a417e50
---
M Example/api/ApiQueryExample.php
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Legoktm: Looks good to me, approved
jenkins-bot: Verified
diff --git a/Example/api/ApiQueryExample.php b/Example/api/ApiQueryExample.php
index ba9aa90..0a72741 100644
--- a/Example/api/ApiQueryExample.php
+++ b/Example/api/ApiQueryExample.php
@@ -52,9 +52,9 @@
protected function getExamplesMessages() {
return array(
- 'api.php?action=query&list=example'
+ 'action=query&list=example'
=> 'apihelp-query+example-example-1',
- 'api.php?action=query&list=example&key=do'
+ 'action=query&list=example&key=do'
=> 'apihelp-query+example-example-2',
);
}
--
To view, visit https://gerrit.wikimedia.org/r/181351
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia5e6378297d5e3fe0f39aae40e96f8430a417e50
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/examples
Gerrit-Branch: master
Gerrit-Owner: Unicornisaurous <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: Wctaiwan <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits