Fix more concatenation errors
authorBrad Jorsch <bjorsch@wikimedia.org>
Sun, 29 Dec 2013 20:08:46 +0000 (15:08 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Sun, 29 Dec 2013 20:08:46 +0000 (15:08 -0500)
Errors were introduced in I763f79c6 and Id5fd7180.

Change-Id: Ieb5189636eb3df54290aaf998834988c81099eb3

includes/api/ApiQueryCategoryMembers.php
includes/api/ApiUnblock.php

index e78c577..f7bd59a 100644 (file)
@@ -345,8 +345,8 @@ class ApiQueryCategoryMembers extends ApiQueryGeneratorBase {
                        'dir' => 'In which direction to sort',
                        'start' => "Timestamp to start listing from. Can only be used with {$p}sort=timestamp",
                        'end' => "Timestamp to end listing at. Can only be used with {$p}sort=timestamp",
-                       'startsortkey' => "Sortkey to start listing from. Must be given in ' .
-                               'binary format. Can only be used with {$p}sort=sortkey",
+                       'startsortkey' => "Sortkey to start listing from. Must be given in " .
+                               "binary format. Can only be used with {$p}sort=sortkey",
                        'endsortkey' => "Sortkey to end listing at. Must be given in binary " .
                                "format. Can only be used with {$p}sort=sortkey",
                        'startsortkeyprefix' => "Sortkey prefix to start listing from. Can " .
index dabb8da..46e2f6e 100644 (file)
@@ -98,10 +98,10 @@ class ApiUnblock extends ApiBase {
                $p = $this->getModulePrefix();
 
                return array(
-                       'id' => "ID of the block you want to unblock (obtained through list=blocks). ' .
-                               'Cannot be used together with {$p}user",
-                       'user' => "Username, IP address or IP range you want to unblock. ' .
-                               'Cannot be used together with {$p}id",
+                       'id' => "ID of the block you want to unblock (obtained through list=blocks). " .
+                               "Cannot be used together with {$p}user",
+                       'user' => "Username, IP address or IP range you want to unblock. " .
+                               "Cannot be used together with {$p}id",
                        'token' => "An unblock token previously obtained through prop=info",
                        'reason' => 'Reason for unblock',
                );