Anomie has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/320847

Change subject: Fix getExamplesMessages() return value
......................................................................

Fix getExamplesMessages() return value

The keys in the returned array must not begin with "api.php?".

Change-Id: I8bfbf2b19d04ad60892d81f8350c5b7ffcfb9213
---
M api/GetNew.api.php
M api/Kick.api.php
M api/Send.api.php
M api/SendPM.api.php
4 files changed, 4 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MediaWikiChat 
refs/changes/47/320847/1

diff --git a/api/GetNew.api.php b/api/GetNew.api.php
index e95a4ee..1afe23c 100644
--- a/api/GetNew.api.php
+++ b/api/GetNew.api.php
@@ -26,7 +26,7 @@
 
        public function getExamplesMessages() {
                return array(
-                               'api.php?action=chatgetnew'
+                               'action=chatgetnew'
                                => 'apihelp-chatgetnew-example-1'
                );
        }
diff --git a/api/Kick.api.php b/api/Kick.api.php
index cb32d99..8f897fb 100644
--- a/api/Kick.api.php
+++ b/api/Kick.api.php
@@ -69,7 +69,7 @@
 
        public function getExamplesMessages() {
                return array(
-                       'api.php?action=chatkick&id=1'
+                       'action=chatkick&id=1'
                                => 'apihelp-chatkick-example-1'
                );
        }
diff --git a/api/Send.api.php b/api/Send.api.php
index 6ec9b79..945b7e3 100644
--- a/api/Send.api.php
+++ b/api/Send.api.php
@@ -88,7 +88,7 @@
 
        public function getExamplesMessages() {
                return array(
-                       'api.php?action=chatsend&message=Hello%20World!'
+                       'action=chatsend&message=Hello%20World!'
                                => 'apihelp-chatsend-example-1'
                );
        }
diff --git a/api/SendPM.api.php b/api/SendPM.api.php
index 3e58d40..b99ef99 100644
--- a/api/SendPM.api.php
+++ b/api/SendPM.api.php
@@ -85,7 +85,7 @@
 
        public function getExamplesMessages() {
                return array(
-                       'api.php?action=chatsendpm&id=5&message=Hello%20World!'
+                       'action=chatsendpm&id=5&message=Hello%20World!'
                                => 'apihelp-chatsendpm-example-1'
                );
        }

-- 
To view, visit https://gerrit.wikimedia.org/r/320847
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8bfbf2b19d04ad60892d81f8350c5b7ffcfb9213
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MediaWikiChat
Gerrit-Branch: master
Gerrit-Owner: Anomie <bjor...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to