summaryrefslogtreecommitdiff
path: root/includes/api/ApiQueryAllMessages.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2015-12-17 09:15:42 +0100
committerPierre Schmitz <pierre@archlinux.de>2015-12-17 09:44:51 +0100
commita1789ddde42033f1b05cc4929491214ee6e79383 (patch)
tree63615735c4ddffaaabf2428946bb26f90899f7bf /includes/api/ApiQueryAllMessages.php
parent9e06a62f265e3a2aaabecc598d4bc617e06fa32d (diff)
Update to MediaWiki 1.26.0
Diffstat (limited to 'includes/api/ApiQueryAllMessages.php')
-rw-r--r--includes/api/ApiQueryAllMessages.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/includes/api/ApiQueryAllMessages.php b/includes/api/ApiQueryAllMessages.php
index 44af83d0..152711f8 100644
--- a/includes/api/ApiQueryAllMessages.php
+++ b/includes/api/ApiQueryAllMessages.php
@@ -136,7 +136,11 @@ class ApiQueryAllMessages extends ApiQueryBase {
}
if ( !$skip ) {
- $a = array( 'name' => $message );
+ $a = array(
+ 'name' => $message,
+ 'normalizedname' => MessageCache::normalizeKey( $message ),
+ );
+
$args = array();
if ( isset( $params['args'] ) && count( $params['args'] ) != 0 ) {
$args = $params['args'];
@@ -245,6 +249,6 @@ class ApiQueryAllMessages extends ApiQueryBase {
}
public function getHelpUrls() {
- return 'https://www.mediawiki.org/wiki/API:Meta#allmessages_.2F_am';
+ return 'https://www.mediawiki.org/wiki/API:Allmessages';
}
}