jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/357867 )

Change subject: Use short array syntax
......................................................................


Use short array syntax

Done by phpcbf over composer fix

Change-Id: Ib1f296fa78b67e286a5c80ad651352d17131b8c7
---
M api/ApiFeedLQTThreads.php
M api/ApiQueryLQTThreads.php
M api/ApiThreadAction.php
M i18n/LiquidThreads.magic.php
M i18n/Lqt.alias.php
M i18n/Lqt.namespaces.php
M migrateDatabase.php
M phpcs.xml
8 files changed, 708 insertions(+), 710 deletions(-)

Approvals:
  jenkins-bot: Verified
  Jforrester: Looks good to me, approved



diff --git a/api/ApiFeedLQTThreads.php b/api/ApiFeedLQTThreads.php
index beddbb5..744e928 100644
--- a/api/ApiFeedLQTThreads.php
+++ b/api/ApiFeedLQTThreads.php
@@ -54,14 +54,14 @@
 
                $feedTitle = $this->createFeedTitle( $params );
                $feedClass = $wgFeedClasses[$params['feedformat']];
-               $feedItems = array();
+               $feedItems = [];
 
                $feedUrl = Title::newMainPage()->getFullURL();
 
-               $tables = array( 'thread' );
-               $fields = array( $db->tableName( 'thread' ) . ".*" );
+               $tables = [ 'thread' ];
+               $fields = [ $db->tableName( 'thread' ) . ".*" ];
                $conds = $this->getConditions( $params, $db );
-               $options = array( 'LIMIT' => 200, 'ORDER BY' => 'thread_created 
DESC' );
+               $options = [ 'LIMIT' => 200, 'ORDER BY' => 'thread_created 
DESC' ];
 
                $res = $db->select( $tables, $fields, $conds, __METHOD__, 
$options );
 
@@ -112,7 +112,7 @@
        }
 
        public function createFeedTitle( $params ) {
-               $fromPlaces = array();
+               $fromPlaces = [];
 
                foreach ( (array)$params['thread'] as $thread ) {
                        $t = Title::newFromText( $thread );
@@ -136,7 +136,7 @@
                // What's included?
                $types = (array)$params['type'];
 
-               if ( !count( array_diff( array( 'replies', 'newthreads' ), 
$types ) ) ) {
+               if ( !count( array_diff( [ 'replies', 'newthreads' ], $types ) 
) ) {
                        $msg = 'lqt-feed-title-all';
                } elseif ( in_array( 'replies', $types ) ) {
                        $msg = 'lqt-feed-title-replies';
@@ -159,7 +159,7 @@
         * @return array
         */
        function getConditions( $params, $db ) {
-               $conds = array();
+               $conds = [];
 
                // Types
                $conds['thread_type'] = Threads::TYPE_NORMAL;
@@ -170,22 +170,22 @@
                $conds[] = 'thread_created > ' . $db->addQuotes( $cutoff );
 
                // Talkpage conditions
-               $pageConds = array();
+               $pageConds = [];
 
                $talkpages = (array)$params['talkpage'];
                foreach ( $talkpages as $page ) {
                        $title = Title::newFromText( $page );
                        if ( !$title ) {
                                if ( is_callable( [ $this, 'dieWithError' ] ) ) 
{
-                                       $this->dieWithError( array( 
'apierror-invalidtitle', wfEscapeWikiText( $page ) ) );
+                                       $this->dieWithError( [ 
'apierror-invalidtitle', wfEscapeWikiText( $page ) ] );
                                } else {
-                                       $this->dieUsageMsg( array( 
'invalidtitle', $page ) );
+                                       $this->dieUsageMsg( [ 'invalidtitle', 
$page ] );
                                }
                        }
-                       $pageCond = array(
+                       $pageCond = [
                                'thread_article_namespace' => 
$title->getNamespace(),
                                'thread_article_title' => $title->getDBkey()
-                       );
+                       ];
                        $pageConds[] = $db->makeList( $pageCond, LIST_AND );
                }
 
@@ -199,10 +199,10 @@
                                continue;
                        }
 
-                       $threadCond = array(
+                       $threadCond = [
                                'thread_ancestor' => $thread->id(),
                                'thread_id' => $thread->id()
-                       );
+                       ];
                        $pageConds[] = $db->makeList( $threadCond, LIST_OR );
                }
                if ( count( $pageConds ) ) {
@@ -223,42 +223,42 @@
        public function getAllowedParams() {
                global $wgFeedClasses;
                $feedFormatNames = array_keys( $wgFeedClasses );
-               return array(
-                       'feedformat' => array(
+               return [
+                       'feedformat' => [
                                ApiBase :: PARAM_DFLT => 'rss',
                                ApiBase :: PARAM_TYPE => $feedFormatNames
-                       ),
-                       'days' => array(
+                       ],
+                       'days' => [
                                ApiBase :: PARAM_DFLT => 7,
                                ApiBase :: PARAM_TYPE => 'integer',
                                ApiBase :: PARAM_MIN => 1,
                                ApiBase :: PARAM_MAX => 30,
-                       ),
-                       'type' => array(
+                       ],
+                       'type' => [
                                ApiBase :: PARAM_DFLT => 'newthreads',
-                               ApiBase :: PARAM_TYPE => array( 'replies', 
'newthreads' ),
+                               ApiBase :: PARAM_TYPE => [ 'replies', 
'newthreads' ],
                                ApiBase :: PARAM_ISMULTI => true,
-                       ),
-                       'talkpage' => array(
+                       ],
+                       'talkpage' => [
                                ApiBase :: PARAM_ISMULTI => true,
-                       ),
-                       'thread' => array(
+                       ],
+                       'thread' => [
                                ApiBase :: PARAM_ISMULTI => true,
-                       ),
-               );
+                       ],
+               ];
        }
 
        /**
         * @see ApiBase::getExamplesMessages()
         */
        protected function getExamplesMessages() {
-               return array(
+               return [
                        'action=feedthreads'
                                => 'apihelp-feedthreads-example-1',
                        'action=feedthreads&type=replies&thread=Thread:Foo'
                                => 'apihelp-feedthreads-example-2',
                        
'action=feedthreads&type=newthreads&talkpage=Talk:Main_Page'
                                => 'apihelp-feedthreads-example-3',
-               );
+               ];
        }
 }
diff --git a/api/ApiQueryLQTThreads.php b/api/ApiQueryLQTThreads.php
index b4275bc..f2759e8 100644
--- a/api/ApiQueryLQTThreads.php
+++ b/api/ApiQueryLQTThreads.php
@@ -20,28 +20,28 @@
 
 class ApiQueryLQTThreads extends ApiQueryBase {
        // Property definitions
-       public static $propRelations = array(
+       public static $propRelations = [
                'id' => 'thread_id',
                'subject' => 'thread_subject',
-               'page' => array(
+               'page' => [
                        'namespace' => 'thread_article_namespace',
                        'title' => 'thread_article_title'
-               ),
+               ],
                'parent' => 'thread_parent',
                'ancestor' => 'thread_ancestor',
                'created' => 'thread_created',
                'modified' => 'thread_modified',
-               'author' => array(
+               'author' => [
                        'id' => 'thread_author_id',
                        'name' => 'thread_author_name'
-               ),
+               ],
                'summaryid' => 'thread_summary_page',
                'rootid' => 'thread_root',
                'type' => 'thread_type',
                'signature' => 'thread_signature',
                'reactions' => null, // Handled elsewhere
                'replies' => null, // Handled elsewhere
-       );
+       ];
 
        /** @var array **/
        protected $threadIds;
@@ -65,7 +65,7 @@
                }
 
                // Check for conditions
-               $conditionFields = array( 'page', 'root', 'summary', 'author', 
'id' );
+               $conditionFields = [ 'page', 'root', 'summary', 'author', 'id' 
];
                foreach ( $conditionFields as $field ) {
                        if ( isset( $params[$field] ) ) {
                                $this->handleCondition( $field, $params[$field] 
);
@@ -83,20 +83,20 @@
 
                if ( $params['render'] ) {
                        // All fields
-                       $allFields = array(
+                       $allFields = [
                                'thread_id', 'thread_root', 
'thread_article_namespace',
                                'thread_article_title', 'thread_summary_page', 
'thread_ancestor',
                                'thread_parent', 'thread_modified', 
'thread_created', 'thread_type',
                                'thread_editedness', 'thread_subject', 
'thread_author_id',
                                'thread_author_name', 'thread_signature'
-                       );
+                       ];
 
                        $this->addFields( $allFields );
                }
 
                $res = $this->select( __METHOD__ );
 
-               $ids = array();
+               $ids = [];
                $count = 0;
                foreach ( $res as $row )
                {
@@ -106,7 +106,7 @@
                                break;
                        }
 
-                       $entry = array();
+                       $entry = [];
                        foreach ( $prop as $name => $nothing ) {
                                $fields = self::$propRelations[$name];
                                self::formatProperty( $name, $fields, $row, 
$entry );
@@ -124,8 +124,8 @@
                        $ids[$row->thread_id] = $row->thread_id;
 
                        if ( $entry ) {
-                               $fit = $result->addValue( array( 'query',
-                                               $this->getModuleName() ),
+                               $fit = $result->addValue( [ 'query',
+                                               $this->getModuleName() ],
                                        $row->thread_id, $entry );
                                if ( !$fit ) {
                                        $this->setContinueEnumParameter( 
'startid', $row->thread_id );
@@ -143,12 +143,12 @@
                                'tr_thread',
                                'reactions',
                                function( $row ) {
-                                       return array( 
"{$row->tr_user}_{$row->tr_type}" => array(
+                                       return [ 
"{$row->tr_user}_{$row->tr_type}" => [
                                                'type' => $row->tr_type,
                                                'user-id' => $row->tr_user,
                                                'user-name' => 
$row->tr_user_text,
                                                'value' => $row->tr_value,
-                                       ) );
+                                       ] ];
                                },
                                'reaction'
                        );
@@ -161,13 +161,13 @@
                                'thread_parent',
                                'replies',
                                function ( $row ) {
-                                       return array( $row->thread_id => array( 
'id' => $row->thread_id ) );
+                                       return [ $row->thread_id => [ 'id' => 
$row->thread_id ] ];
                                },
                                'reply'
                        );
                }
 
-               $result->addIndexedTagName( array( 'query', 
$this->getModuleName() ), 'thread' );
+               $result->addIndexedTagName( [ 'query', $this->getModuleName() 
], 'thread' );
        }
 
        protected function addSubItems(
@@ -181,20 +181,20 @@
                $res = $dbr->select(
                        $tableName,
                        $fields,
-                       array(
+                       [
                                $joinField => $this->threadIds
-                       ),
+                       ],
                        __METHOD__
                );
 
                foreach ( $res as $row ) {
                        $output = $handleRow( $row );
 
-                       $path = array(
+                       $path = [
                                'query',
                                $this->getModuleName(),
                                $row->$joinField,
-                       );
+                       ];
 
                        $result->addValue(
                                $path,
@@ -202,7 +202,7 @@
                                $output
                        );
 
-                       $result->addIndexedTagName( array_merge( $path, array( 
$subitemName ) ), $tagName );
+                       $result->addIndexedTagName( array_merge( $path, [ 
$subitemName ] ), $tagName );
                }
        }
 
@@ -231,7 +231,7 @@
                $renderpos = $params['renderthreadpos'];
                $rendercount = $params['renderthreadcount'];
 
-               $options = array();
+               $options = [];
                if ( isset( $params['rendermaxthreadcount'] ) ) {
                        $options['maxCount'] = $params['rendermaxthreadcount'];
                }
@@ -253,7 +253,7 @@
 
        static function formatProperty( $name, $fields, $row, &$entry ) {
                if ( is_null( $fields ) ) {
-                       $entry[$name] = array();
+                       $entry[$name] = [];
                } elseif ( !is_array( $fields ) ) {
                        // Common case.
                        $entry[$name] = $row->$fields;
@@ -276,7 +276,7 @@
                        $cond = $this->getPageCond( $prop, $value[0] );
                        $this->addWhere( $cond );
                } else {
-                       $conds = array();
+                       $conds = [];
                        foreach ( $value as $page ) {
                                $cond = $this->getPageCond( $prop, $page );
                                $conds[] = $this->getDB()->makeList( $cond, 
LIST_AND );
@@ -288,18 +288,18 @@
        }
 
        function getPageCond( $prop, $value ) {
-               $fieldMappings = array(
-                       'page' => array(
+               $fieldMappings = [
+                       'page' => [
                                'namespace' => 'thread_article_namespace',
                                'title' => 'thread_article_title',
-                       ),
-                       'root' => array( 'id' => 'thread_root' ),
-                       'summary' => array( 'id' => 'thread_summary_id' ),
-               );
+                       ],
+                       'root' => [ 'id' => 'thread_root' ],
+                       'summary' => [ 'id' => 'thread_summary_id' ],
+               ];
 
                // Split.
                $t = Title::newFromText( $value );
-               $cond = array();
+               $cond = [];
                foreach ( $fieldMappings[$prop] as $type => $field ) {
                        switch ( $type ) {
                                case 'namespace':
@@ -319,7 +319,7 @@
        }
 
        function handleCondition( $prop, $value ) {
-               $titleParams = array( 'page', 'root', 'summary' );
+               $titleParams = [ 'page', 'root', 'summary' ];
                $fields = self::$propRelations[$prop];
 
                if ( in_array( $prop, $titleParams ) ) {
@@ -343,81 +343,81 @@
        }
 
        public function getAllowedParams() {
-               return array(
-                       'startid' => array(
+               return [
+                       'startid' => [
                                ApiBase :: PARAM_TYPE => 'integer'
-                       ),
-                       'endid' => array(
+                       ],
+                       'endid' => [
                                ApiBase :: PARAM_TYPE => 'integer'
-                       ),
-                       'dir' => array(
-                               ApiBase :: PARAM_TYPE => array(
+                       ],
+                       'dir' => [
+                               ApiBase :: PARAM_TYPE => [
                                        'newer',
                                        'older'
-                               ),
+                               ],
                                ApiBase :: PARAM_DFLT => 'newer',
                                ApiBase::PARAM_HELP_MSG => 
'api-help-param-direction',
-                       ),
+                       ],
                        'showdeleted' => false,
-                       'limit' => array(
+                       'limit' => [
                                ApiBase :: PARAM_DFLT => 10,
                                ApiBase :: PARAM_TYPE => 'limit',
                                ApiBase :: PARAM_MIN => 1,
                                ApiBase :: PARAM_MAX => ApiBase :: LIMIT_BIG1,
                                ApiBase :: PARAM_MAX2 => ApiBase :: LIMIT_BIG2
-                       ),
-                       'prop' => array(
+                       ],
+                       'prop' => [
                                ApiBase :: PARAM_DFLT => 
'id|subject|page|parent|author',
                                ApiBase :: PARAM_TYPE => array_keys( 
self::$propRelations ),
                                ApiBase :: PARAM_ISMULTI => true
-                       ),
+                       ],
 
-                       'page' => array(
+                       'page' => [
                                ApiBase :: PARAM_ISMULTI => true
-                       ),
-                       'author' => array(
+                       ],
+                       'author' => [
                                ApiBase :: PARAM_ISMULTI => true
-                       ),
-                       'root' => array(
+                       ],
+                       'root' => [
                                ApiBase :: PARAM_ISMULTI => true
-                       ),
-                       'summary' => array(
+                       ],
+                       'summary' => [
                                ApiBase :: PARAM_ISMULTI => true
-                       ),
-                       'id' => array(
+                       ],
+                       'id' => [
                                ApiBase :: PARAM_ISMULTI => true
-                       ),
+                       ],
                        'render' => false,
-                       'renderlevel' => array(
+                       'renderlevel' => [
                                ApiBase :: PARAM_DFLT => 0,
-                       ),
-                       'renderthreadpos' => array(
+                       ],
+                       'renderthreadpos' => [
                                ApiBase :: PARAM_DFLT => 1,
-                       ),
-                       'renderthreadcount' => array(
+                       ],
+                       'renderthreadcount' => [
                                ApiBase :: PARAM_DFLT => 1,
-                       ),
-                       'rendermaxthreadcount' => array(
+                       ],
+                       'rendermaxthreadcount' => [
                                ApiBase :: PARAM_DFLT => null,
-                       ),
-                       'rendermaxdepth' => array(
+                       ],
+                       'rendermaxdepth' => [
                                ApiBase :: PARAM_DFLT => null,
-                       ),
-                       'renderstartrepliesat' => array(
+                       ],
+                       'renderstartrepliesat' => [
                                ApiBase :: PARAM_DFLT => null,
-                       ),
-               );
+                       ],
+               ];
        }
 
        /**
         * @see ApiBase::getExamplesMessages()
         */
        protected function getExamplesMessages() {
-               return array(
+               return [
                        'action=query&list=threads&thpage=Talk:Main_Page'
                                => 'apihelp-query+threads-example-1',
                        
'action=query&list=threads&thid=1|2|3|4&thprop=id|subject|modified'
                                => 'apihelp-query+threads-example-2',
-               );
+               ];
        }
 }
diff --git a/api/ApiThreadAction.php b/api/ApiThreadAction.php
index ba2f25d..236dc5f 100644
--- a/api/ApiThreadAction.php
+++ b/api/ApiThreadAction.php
@@ -4,12 +4,12 @@
        public function execute() {
                $params = $this->extractRequestParams();
 
-               $allowedAllActions = array( 'markread' );
-               $actionsAllowedOnNonLqtPage = array( 'markread', 'markunread' );
+               $allowedAllActions = [ 'markread' ];
+               $actionsAllowedOnNonLqtPage = [ 'markread', 'markunread' ];
                $action = $params['threadaction'];
 
                // Pull the threads from the parameters
-               $threads = array();
+               $threads = [];
                if ( !empty( $params['thread'] ) ) {
                        foreach ( $params['thread'] as $thread ) {
                                $threadObj = null;
@@ -17,7 +17,7 @@
                                        $threadObj = Threads::withId( $thread );
                                } elseif ( $thread == 'all' &&
                                                in_array( $action, 
$allowedAllActions ) ) {
-                                       $threads = array( 'all' );
+                                       $threads = [ 'all' ];
                                } else {
                                        $title = Title::newFromText( $thread );
                                        $article = new Article( $title, 0 );
@@ -58,44 +58,44 @@
 
                $method = $actions[$action];
 
-               call_user_func_array( array( $this, $method ), array( $threads, 
$params ) );
+               call_user_func_array( [ $this, $method ], [ $threads, $params ] 
);
        }
 
        public function actionMarkRead( $threads, $params ) {
                $user = $this->getUser();
 
-               $result = array();
+               $result = [];
 
                if ( in_array( 'all', $threads ) ) {
                        NewMessages::markAllReadByUser( $user );
-                       $result[] = array(
+                       $result[] = [
                                'result' => 'Success',
                                'action' => 'markread',
                                'threads' => 'all',
-                               'unreadlink' => array(
+                               'unreadlink' => [
                                        'href' => SpecialPage::getTitleFor( 
'NewMessages' )->getLocalURL(),
                                        'text' => wfMessage( 'lqt_newmessages' 
)->text(),
                                        'active' => false,
-                               )
-                       );
+                               ]
+                       ];
                } else {
                        foreach ( $threads as $t ) {
                                NewMessages::markThreadAsReadByUser( $t, $user 
);
-                               $result[] = array(
+                               $result[] = [
                                        'result' => 'Success',
                                        'action' => 'markread',
                                        'id' => $t->id(),
                                        'title' => 
$t->title()->getPrefixedText()
-                               );
+                               ];
                        }
                        $newMessagesCount = NewMessages::newMessageCount( 
$user, DB_MASTER );
                        $msgNewMessages = $newMessagesCount ? 
'lqt-newmessages-n' : 'lqt_newmessages';
                        // Only bother to put this on the last threadaction
-                       $result[count( $result ) - 1]['unreadlink'] = array(
+                       $result[count( $result ) - 1]['unreadlink'] = [
                                'href' => SpecialPage::getTitleFor( 
'NewMessages' )->getLocalURL(),
                                'text' => wfMessage( $msgNewMessages 
)->numParams( $newMessagesCount )->text(),
                                'active' => $newMessagesCount > 0,
-                       );
+                       ];
                }
 
                $this->getResult()->setIndexedTagName( $result, 'thread' );
@@ -103,18 +103,18 @@
        }
 
        public function actionMarkUnread( $threads, $params ) {
-               $result = array();
+               $result = [];
 
                $user = $this->getUser();
                foreach ( $threads as $t ) {
                        NewMessages::markThreadAsUnreadByUser( $t, $user );
 
-                       $result[] = array(
+                       $result[] = [
                                'result' => 'Success',
                                'action' => 'markunread',
                                'id' => $t->id(),
                                'title' => $t->title()->getPrefixedText()
-                       );
+                       ];
                }
 
                $this->getResult()->setIndexedTagName( $result, 'thread' );
@@ -193,14 +193,14 @@
                // Do the split
                $thread->split( $subject, $reason, $sortkey );
 
-               $result = array();
-               $result[] = array(
+               $result = [];
+               $result[] = [
                        'result' => 'Success',
                        'action' => 'split',
                        'id' => $thread->id(),
                        'title' => $thread->title()->getPrefixedText(),
                        'newsubject' => $subject,
-               );
+               ];
 
                $this->getResult()->setIndexedTagName( $result, 'thread' );
                $this->getResult()->addValue( null, 'threadaction', $result );
@@ -259,11 +259,11 @@
                        $reason = $params['reason'];
                }
 
-               $result = array();
+               $result = [];
 
                foreach ( $threads as $thread ) {
                        $thread->moveToParent( $newParent, $reason );
-                       $result[] = array(
+                       $result[] = [
                                'result' => 'Success',
                                'action' => 'merge',
                                'id' => $thread->id(),
@@ -272,7 +272,7 @@
                                'new-parent-title' => 
$newParent->title()->getPrefixedText(),
                                'new-ancestor-id' => 
$newParent->topmostThread()->id(),
                                'new-ancestor-title' => 
$newParent->topmostThread()->title()->getPrefixedText(),
-                       );
+                       ];
                }
 
                $this->getResult()->setIndexedTagName( $result, 'thread' );
@@ -283,9 +283,9 @@
                // Validate talkpage parameters
                if ( !count( $params['talkpage'] ) ) {
                        if ( is_callable( [ $this, 'dieWithError' ] ) ) {
-                               $this->dieWithError( array( 
'apierror-missingparam', 'talkpage' ) );
+                               $this->dieWithError( [ 'apierror-missingparam', 
'talkpage' ] );
                        } else {
-                               $this->dieUsageMsg( array( 'missingparam', 
'talkpage' ) );
+                               $this->dieUsageMsg( [ 'missingparam', 
'talkpage' ] );
                        }
                }
 
@@ -316,9 +316,9 @@
                // Validate subject, generate a title
                if ( empty( $params['subject'] ) ) {
                        if ( is_callable( [ $this, 'dieWithError' ] ) ) {
-                               $this->dieWithError( array( 
'apierror-missingparam', 'subject' ) );
+                               $this->dieWithError( [ 'apierror-missingparam', 
'subject' ] );
                        } else {
-                               $this->dieUsageMsg( array( 'missingparam', 
'subject' ) );
+                               $this->dieUsageMsg( [ 'missingparam', 'subject' 
] );
                        }
                }
 
@@ -367,7 +367,7 @@
                $token = $params['token'];
 
                // All seems in order. Construct an API edit request
-               $requestData = array(
+               $requestData = [
                        'action' => 'edit',
                        'title' => $title->getPrefixedText(),
                        'text' => $text,
@@ -376,7 +376,7 @@
                        'basetimestamp' => wfTimestampNow(),
                        'minor' => 0,
                        'format' => 'json',
-               );
+               ];
 
                if ( $user->isAllowed( 'bot' ) ) {
                        $requestData['bot'] = true;
@@ -388,7 +388,7 @@
                $editResult = $internalApi->getResult()->getResultData();
 
                if ( $editResult['edit']['result'] != 'Success' ) {
-                       $result = array( 'result' => 'EditFailure', 'details' 
=> $editResult );
+                       $result = [ 'result' => 'EditFailure', 'details' => 
$editResult ];
                        $this->getResult()->addValue( null, 
$this->getModuleName(), $result );
                        return;
                }
@@ -399,27 +399,27 @@
                $title->resetArticleID( $articleId );
 
                $thread = LqtView::newPostMetadataUpdates(
-                       array(
+                       [
                                'root' => $article,
                                'talkpage' => $talkpage,
                                'subject' => $subject,
                                'signature' => $signature,
                                'summary' => $summary,
                                'text' => $text,
-                       ) );
+                       ] );
 
-               $result = array(
+               $result = [
                        'result' => 'Success',
                        'thread-id' => $thread->id(),
                        'thread-title' => $title->getPrefixedText(),
                        'modified' => $thread->modified(),
-               );
+               ];
 
                if ( !empty( $params['render'] ) ) {
                        $result['html'] = $this->renderThreadPostAction( 
$thread );
                }
 
-               $result = array( 'thread' => $result );
+               $result = [ 'thread' => $result ];
 
                $this->getResult()->addValue( null, $this->getModuleName(), 
$result );
        }
@@ -499,7 +499,7 @@
                $token = $params['token'];
 
                // All seems in order. Construct an API edit request
-               $requestData = array(
+               $requestData = [
                        'action' => 'edit',
                        'title' => $title->getPrefixedText(),
                        'text' => $text,
@@ -508,7 +508,7 @@
                        'minor' => 0,
                        'basetimestamp' => wfTimestampNow(),
                        'format' => 'json',
-               );
+               ];
 
                if ( $this->getUser()->isAllowed( 'bot' ) ) {
                        $requestData['bot'] = true;
@@ -521,13 +521,13 @@
                $editResult = $internalApi->getResult()->getResultData();
 
                if ( $editResult['edit']['result'] != 'Success' ) {
-                       $result = array( 'result' => 'EditFailure', 'details' 
=> $editResult );
+                       $result = [ 'result' => 'EditFailure', 'details' => 
$editResult ];
                        $this->getResult()->addValue( null, 
$this->getModuleName(), $result );
                        return;
                }
 
                $thread = LqtView::editMetadataUpdates(
-                       array(
+                       [
                                'root' => $article,
                                'thread' => $thread,
                                'subject' => $subject,
@@ -535,20 +535,20 @@
                                'summary' => $summary,
                                'text' => $text,
                                'bump' => $bump,
-                       ) );
+                       ] );
 
-               $result = array(
+               $result = [
                        'result' => 'Success',
                        'thread-id' => $thread->id(),
                        'thread-title' => $title->getPrefixedText(),
                        'modified' => $thread->modified(),
-               );
+               ];
 
                if ( !empty( $params['render'] ) ) {
                        $result['html'] = $this->renderThreadPostAction( 
$thread );
                }
 
-               $result = array( 'thread' => $result );
+               $result = [ 'thread' => $result ];
 
                $this->getResult()->addValue( null, $this->getModuleName(), 
$result );
        }
@@ -634,7 +634,7 @@
                $token = $params['token'];
 
                // All seems in order. Construct an API edit request
-               $requestData = array(
+               $requestData = [
                        'action' => 'edit',
                        'title' => $title->getPrefixedText(),
                        'text' => $text,
@@ -643,7 +643,7 @@
                        'basetimestamp' => wfTimestampNow(),
                        'minor' => 0,
                        'format' => 'json',
-               );
+               ];
 
                if ( $user->isAllowed( 'bot' ) ) {
                        $requestData['bot'] = true;
@@ -656,7 +656,7 @@
                $editResult = $internalApi->getResult()->getResultData();
 
                if ( $editResult['edit']['result'] != 'Success' ) {
-                       $result = array( 'result' => 'EditFailure', 'details' 
=> $editResult );
+                       $result = [ 'result' => 'EditFailure', 'details' => 
$editResult ];
                        $this->getResult()->addValue( null, 
$this->getModuleName(), $result );
                        return;
                }
@@ -666,16 +666,16 @@
                $title->resetArticleID( $articleId );
 
                $thread = LqtView::replyMetadataUpdates(
-                       array(
+                       [
                                'root' => $article,
                                'replyTo' => $replyTo,
                                'signature' => $signature,
                                'summary' => $summary,
                                'text' => $text,
                                'bump' => $bump,
-                       ) );
+                       ] );
 
-               $result = array(
+               $result = [
                        'action' => 'reply',
                        'result' => 'Success',
                        'thread-id' => $thread->id(),
@@ -685,13 +685,13 @@
                        'ancestor-id' => $replyTo->topmostThread()->id(),
                        'ancestor-title' => 
$replyTo->topmostThread()->title()->getPrefixedText(),
                        'modified' => $thread->modified(),
-               );
+               ];
 
                if ( !empty( $params['render'] ) ) {
                        $result['html'] = $this->renderThreadPostAction( 
$thread );
                }
 
-               $result = array( 'thread' => $result );
+               $result = [ 'thread' => $result ];
 
                $this->getResult()->addValue( null, $this->getModuleName(), 
$result );
        }
@@ -757,9 +757,9 @@
                // Validate subject
                if ( empty( $params['subject'] ) ) {
                        if ( is_callable( [ $this, 'dieWithError' ] ) ) {
-                               $this->dieWithError( array( 
'apierror-missingparam', 'subject' ) );
+                               $this->dieWithError( [ 'apierror-missingparam', 
'subject' ] );
                        } else {
-                               $this->dieUsageMsg( array( 'missingparam', 
'subject' ) );
+                               $this->dieUsageMsg( [ 'missingparam', 'subject' 
] );
                        }
                }
 
@@ -789,15 +789,15 @@
                        $thread->commitRevision( 
Threads::CHANGE_EDITED_SUBJECT, $thread, $reason );
                }
 
-               $result = array(
+               $result = [
                        'action' => 'setsubject',
                        'result' => 'success',
                        'thread-id' => $thread->id(),
                        'thread-title' => $thread->title()->getPrefixedText(),
                        'new-subject' => $subject,
-               );
+               ];
 
-               $result = array( 'thread' => $result );
+               $result = [ 'thread' => $result ];
 
                $this->getResult()->addValue( null, $this->getModuleName(), 
$result );
        }
@@ -863,15 +863,15 @@
                $thread->setSortkey( $ts );
                $thread->commitRevision( Threads::CHANGE_ADJUSTED_SORTKEY, 
null, $reason );
 
-               $result = array(
+               $result = [
                        'action' => 'setsortkey',
                        'result' => 'success',
                        'thread-id' => $thread->id(),
                        'thread-title' => $thread->title()->getPrefixedText(),
                        'new-sortkey' => $ts,
-               );
+               ];
 
-               $result = array( 'thread' => $result );
+               $result = [ 'thread' => $result ];
 
                $this->getResult()->addValue( null, $this->getModuleName(), 
$result );
        }
@@ -894,7 +894,7 @@
                        }
                }
 
-               $required = array( 'type', 'value' );
+               $required = [ 'type', 'value' ];
 
                if ( count( array_diff( $required, array_keys( $params ) ) ) ) {
                        if ( is_callable( [ $this, 'dieWithError' ] ) ) {
@@ -905,16 +905,16 @@
                        }
                }
 
-               $result = array();
+               $result = [];
 
                foreach ( $threads as $thread ) {
                        $thread->addReaction( $this->getUser(), 
$params['type'], $params['value'] );
 
-                       $result[] = array(
+                       $result[] = [
                                'result' => 'Success',
                                'action' => 'addreaction',
                                'id' => $thread->id(),
-                       );
+                       ];
                }
 
                $this->getResult()->setIndexedTagName( $result, 'thread' );
@@ -940,7 +940,7 @@
                        }
                }
 
-               $required = array( 'type', 'value' );
+               $required = [ 'type', 'value' ];
 
                if ( count( array_diff( $required, array_keys( $params ) ) ) ) {
                        if ( is_callable( [ $this, 'dieWithError' ] ) ) {
@@ -951,16 +951,16 @@
                        }
                }
 
-               $result = array();
+               $result = [];
 
                foreach ( $threads as $thread ) {
                        $thread->deleteReaction( $user, $params['type'] );
 
-                       $result[] = array(
+                       $result[] = [
                                'result' => 'Success',
                                'action' => 'deletereaction',
                                'id' => $thread->id(),
-                       );
+                       ];
                }
 
                $this->getResult()->setIndexedTagName( $result, 'thread' );
@@ -991,7 +991,7 @@
 
                $output = LqtView::getInlineEditForm( $talkpage, $method, 
$operand );
 
-               $result = array( 'inlineeditform' => array( 'html' => $output ) 
);
+               $result = [ 'inlineeditform' => [ 'html' => $output ] ];
 
                /* FIXME
                $result['resources'] = LqtView::getJSandCSS();
@@ -1002,7 +1002,7 @@
        }
 
        public function getActions() {
-               return array(
+               return [
                        'markread' => 'actionMarkRead',
                        'markunread' => 'actionMarkUnread',
                        'split' => 'actionSplit',
@@ -1015,15 +1015,15 @@
                        'addreaction' => 'actionAddReaction',
                        'deletereaction' => 'actionDeleteReaction',
                        'inlineeditform' => 'actionInlineEditForm',
-               );
+               ];
        }
 
        /**
         * @see ApiBase::getExamplesMessages()
         */
        protected function getExamplesMessages() {
-               return array(
-               );
+               return [
+               ];
        }
 
        public function needsToken() {
@@ -1031,15 +1031,15 @@
        }
 
        public function getAllowedParams() {
-               return array(
-                       'thread' => array(
+               return [
+                       'thread' => [
                                ApiBase::PARAM_ISMULTI => true,
-                       ),
+                       ],
                        'talkpage' => null,
-                       'threadaction' => array(
+                       'threadaction' => [
                                ApiBase::PARAM_REQUIRED => true,
                                ApiBase::PARAM_TYPE => array_keys( 
$this->getActions() ),
-                       ),
+                       ],
                        'token' => null,
                        'subject' => null,
                        'reason' => null,
@@ -1053,7 +1053,7 @@
                        'value' => null,
                        'method' => null,
                        'operand' => null,
-               );
+               ];
        }
 
        public function mustBePosted() {
diff --git a/i18n/LiquidThreads.magic.php b/i18n/LiquidThreads.magic.php
index 7512d1f..a51cae9 100644
--- a/i18n/LiquidThreads.magic.php
+++ b/i18n/LiquidThreads.magic.php
@@ -3,121 +3,121 @@
  *
  */
 
-$magicWords = array();
+$magicWords = [];
 
 /** English (English) */
-$magicWords['en'] = array(
-       'useliquidthreads' => array( 0, 'UseLiquidThreads' ),
-       'lqtpagelimit' => array( 0, 'lqtpagelimit' ),
-);
+$magicWords['en'] = [
+       'useliquidthreads' => [ 0, 'UseLiquidThreads' ],
+       'lqtpagelimit' => [ 0, 'lqtpagelimit' ],
+];
 
 /** Arabic (العربية) */
-$magicWords['ar'] = array(
-       'useliquidthreads' => array( 0, 'استخدم_الخيوط_السائلة' ),
-       'lqtpagelimit' => array( 0, 'حد_صفحة_خس' ),
-);
+$magicWords['ar'] = [
+       'useliquidthreads' => [ 0, 'استخدم_الخيوط_السائلة' ],
+       'lqtpagelimit' => [ 0, 'حد_صفحة_خس' ],
+];
 
 /** Egyptian Arabic (مصرى) */
-$magicWords['arz'] = array(
-       'useliquidthreads' => array( 0, 'استخدم_الخيوط_السائلة' ),
-       'lqtpagelimit' => array( 0, 'حد_صفحة_خس' ),
-);
+$magicWords['arz'] = [
+       'useliquidthreads' => [ 0, 'استخدم_الخيوط_السائلة' ],
+       'lqtpagelimit' => [ 0, 'حد_صفحة_خس' ],
+];
 
 /** Bosnian (bosanski) */
-$magicWords['bs'] = array(
-       'useliquidthreads' => array( 0, 'KoristiTekuceNizove' ),
-       'lqtpagelimit' => array( 0, 'tnogranicenjestranica' ),
-);
+$magicWords['bs'] = [
+       'useliquidthreads' => [ 0, 'KoristiTekuceNizove' ],
+       'lqtpagelimit' => [ 0, 'tnogranicenjestranica' ],
+];
 
 /** Chechen (нохчийн) */
-$magicWords['ce'] = array(
-       'useliquidthreads' => array( 0, 'ЛелайеLiquidThreads', 
'ИспользоватьLiquidThreads' ),
-);
+$magicWords['ce'] = [
+       'useliquidthreads' => [ 0, 'ЛелайеLiquidThreads', 
'ИспользоватьLiquidThreads' ],
+];
 
 /** German (Deutsch) */
-$magicWords['de'] = array(
-       'useliquidthreads' => array( 0, 'themenverwenden' ),
-       'lqtpagelimit' => array( 0, 'lqtseitenbegrenzung' ),
-);
+$magicWords['de'] = [
+       'useliquidthreads' => [ 0, 'themenverwenden' ],
+       'lqtpagelimit' => [ 0, 'lqtseitenbegrenzung' ],
+];
 
 /** Zazaki (Zazaki) */
-$magicWords['diq'] = array(
-       'useliquidthreads' => array( 0, 'ZelalPineAkarfi' ),
-       'lqtpagelimit' => array( 0, 'Iqtsinorêpela' ),
-);
+$magicWords['diq'] = [
+       'useliquidthreads' => [ 0, 'ZelalPineAkarfi' ],
+       'lqtpagelimit' => [ 0, 'Iqtsinorêpela' ],
+];
 
 /** Spanish (español) */
-$magicWords['es'] = array(
-       'useliquidthreads' => array( 0, 'UsarHilosLiquidos', 
'UsarHilosLíquidos' ),
-       'lqtpagelimit' => array( 0, 'limitedepaginasdehlq', 
'límitedepáginasdehlq' ),
-);
+$magicWords['es'] = [
+       'useliquidthreads' => [ 0, 'UsarHilosLiquidos', 'UsarHilosLíquidos' ],
+       'lqtpagelimit' => [ 0, 'limitedepaginasdehlq', 'límitedepáginasdehlq' ],
+];
 
 /** French (français) */
-$magicWords['fr'] = array(
-       'useliquidthreads' => array( 0, 'UtilliserLiquidThreads' ),
-       'lqtpagelimit' => array( 0, 'limitepagelqt' ),
-);
+$magicWords['fr'] = [
+       'useliquidthreads' => [ 0, 'UtilliserLiquidThreads' ],
+       'lqtpagelimit' => [ 0, 'limitepagelqt' ],
+];
 
 /** Italian (italiano) */
-$magicWords['it'] = array(
-       'useliquidthreads' => array( 0, 'UsaLiquidThreads' ),
-);
+$magicWords['it'] = [
+       'useliquidthreads' => [ 0, 'UsaLiquidThreads' ],
+];
 
 /** Japanese (日本語) */
-$magicWords['ja'] = array(
-       'useliquidthreads' => array( 0, 'スレッド使用' ),
-       'lqtpagelimit' => array( 0, 'lqtページ制限' ),
-);
+$magicWords['ja'] = [
+       'useliquidthreads' => [ 0, 'スレッド使用' ],
+       'lqtpagelimit' => [ 0, 'lqtページ制限' ],
+];
 
 /** Korean (한국어) */
-$magicWords['ko'] = array(
-       'useliquidthreads' => array( 0, '리퀴드스레드사용' ),
-       'lqtpagelimit' => array( 0, 'lqt문서제한' ),
-);
+$magicWords['ko'] = [
+       'useliquidthreads' => [ 0, '리퀴드스레드사용' ],
+       'lqtpagelimit' => [ 0, 'lqt문서제한' ],
+];
 
 /** Macedonian (македонски) */
-$magicWords['mk'] = array(
-       'useliquidthreads' => array( 0, 'КористиТечниНишки' ),
-       'lqtpagelimit' => array( 0, 'ОгранСтранТечниНишки' ),
-);
+$magicWords['mk'] = [
+       'useliquidthreads' => [ 0, 'КористиТечниНишки' ],
+       'lqtpagelimit' => [ 0, 'ОгранСтранТечниНишки' ],
+];
 
 /** Low Saxon (Netherlands) (Nedersaksies) */
-$magicWords['nds-nl'] = array(
-       'useliquidthreads' => array( 0, 'LiquidThreads_gebruken' ),
-);
+$magicWords['nds-nl'] = [
+       'useliquidthreads' => [ 0, 'LiquidThreads_gebruken' ],
+];
 
 /** Dutch (Nederlands) */
-$magicWords['nl'] = array(
-       'useliquidthreads' => array( 0, 'LiquidThreadsGebruiken' ),
-       'lqtpagelimit' => array( 0, 'lqtaginalimiet' ),
-);
+$magicWords['nl'] = [
+       'useliquidthreads' => [ 0, 'LiquidThreadsGebruiken' ],
+       'lqtpagelimit' => [ 0, 'lqtaginalimiet' ],
+];
 
 /** Russian (русский) */
-$magicWords['ru'] = array(
-       'useliquidthreads' => array( 0, 'ИспользоватьLiquidThreads' ),
-       'lqtpagelimit' => array( 0, 'ограничение_страниц_lqt' ),
-);
+$magicWords['ru'] = [
+       'useliquidthreads' => [ 0, 'ИспользоватьLiquidThreads' ],
+       'lqtpagelimit' => [ 0, 'ограничение_страниц_lqt' ],
+];
 
 /** Serbian (Latin script) (srpski (latinica)‎) */
-$magicWords['sr-el'] = array(
-       'useliquidthreads' => array( 0, 'UseLiquidThreads' ),
-       'lqtpagelimit' => array( 0, 'lqtpagelimit' ),
-);
+$magicWords['sr-el'] = [
+       'useliquidthreads' => [ 0, 'UseLiquidThreads' ],
+       'lqtpagelimit' => [ 0, 'lqtpagelimit' ],
+];
 
 /** Turkish (Türkçe) */
-$magicWords['tr'] = array(
-       'useliquidthreads' => array( 0, 'LiquidThreadEtkin' ),
-       'lqtpagelimit' => array( 0, 'lqtsayfasınırı' ),
-);
+$magicWords['tr'] = [
+       'useliquidthreads' => [ 0, 'LiquidThreadEtkin' ],
+       'lqtpagelimit' => [ 0, 'lqtsayfasınırı' ],
+];
 
 /** Ukrainian (українська) */
-$magicWords['uk'] = array(
-       'useliquidthreads' => array( 0, 'ВикористатиLiquidThreads' ),
-       'lqtpagelimit' => array( 0, 'обмеження_сторінок_lqt' ),
-);
+$magicWords['uk'] = [
+       'useliquidthreads' => [ 0, 'ВикористатиLiquidThreads' ],
+       'lqtpagelimit' => [ 0, 'обмеження_сторінок_lqt' ],
+];
 
 /** Simplified Chinese (中文(简体)‎) */
-$magicWords['zh-hans'] = array(
-       'useliquidthreads' => array( 0, '使用LiquidThreads' ),
-       'lqtpagelimit' => array( 0, 'lqt页面限制' ),
-);
+$magicWords['zh-hans'] = [
+       'useliquidthreads' => [ 0, '使用LiquidThreads' ],
+       'lqtpagelimit' => [ 0, 'lqt页面限制' ],
+];
diff --git a/i18n/Lqt.alias.php b/i18n/Lqt.alias.php
index b1261ad..1355502 100644
--- a/i18n/Lqt.alias.php
+++ b/i18n/Lqt.alias.php
@@ -6,571 +6,571 @@
  * @ingroup Extensions
  */
 
-$specialPageAliases = array();
+$specialPageAliases = [];
 
 /** English (English) */
-$specialPageAliases['en'] = array(
-       'DeleteThread' => array( 'DeleteThread' ),
-       'MoveThread' => array( 'MoveThread' ),
-       'NewMessages' => array( 'NewMessages' ),
-       'SplitThread' => array( 'SplitThread' ),
-       'MergeThread' => array( 'MergeThread' ),
-);
+$specialPageAliases['en'] = [
+       'DeleteThread' => [ 'DeleteThread' ],
+       'MoveThread' => [ 'MoveThread' ],
+       'NewMessages' => [ 'NewMessages' ],
+       'SplitThread' => [ 'SplitThread' ],
+       'MergeThread' => [ 'MergeThread' ],
+];
 
 /** Arabic (العربية) */
-$specialPageAliases['ar'] = array(
-       'DeleteThread' => array( 'حذف_الخيط' ),
-       'MoveThread' => array( 'نقل_الخيط' ),
-       'NewMessages' => array( 'رسائل_جديدة' ),
-       'SplitThread' => array( 'فصل_الخيط' ),
-       'MergeThread' => array( 'دمج_الخيط' ),
-);
+$specialPageAliases['ar'] = [
+       'DeleteThread' => [ 'حذف_الخيط' ],
+       'MoveThread' => [ 'نقل_الخيط' ],
+       'NewMessages' => [ 'رسائل_جديدة' ],
+       'SplitThread' => [ 'فصل_الخيط' ],
+       'MergeThread' => [ 'دمج_الخيط' ],
+];
 
 /** Egyptian Arabic (مصرى) */
-$specialPageAliases['arz'] = array(
-       'DeleteThread' => array( 'مسح_جروپ_الرسايل' ),
-       'MoveThread' => array( 'نقل_جروپ_الرسايل' ),
-       'NewMessages' => array( 'رسايل_جديده' ),
-       'SplitThread' => array( 'فصل_الخيط' ),
-       'MergeThread' => array( 'دمج_الخيط' ),
-);
+$specialPageAliases['arz'] = [
+       'DeleteThread' => [ 'مسح_جروپ_الرسايل' ],
+       'MoveThread' => [ 'نقل_جروپ_الرسايل' ],
+       'NewMessages' => [ 'رسايل_جديده' ],
+       'SplitThread' => [ 'فصل_الخيط' ],
+       'MergeThread' => [ 'دمج_الخيط' ],
+];
 
 /** Assamese (অসমীয়া) */
-$specialPageAliases['as'] = array(
-       'NewMessages' => array( 'নতুন_সংবাদসমূহ' ),
-);
+$specialPageAliases['as'] = [
+       'NewMessages' => [ 'নতুন_সংবাদসমূহ' ],
+];
 
 /** Western Balochi (بلوچی رخشانی) */
-$specialPageAliases['bgn'] = array(
-       'DeleteThread' => array( 'رشته_ئی_پاک_کورتین' ),
-       'MoveThread' => array( 'رشته_ئی_انتقال_داتین' ),
-       'NewMessages' => array( 'نۆکین_پیامان' ),
-       'SplitThread' => array( 'رشته_ئی_سیستین' ),
-       'MergeThread' => array( 'رشته_ئی_ادغام_کورتین' ),
-);
+$specialPageAliases['bgn'] = [
+       'DeleteThread' => [ 'رشته_ئی_پاک_کورتین' ],
+       'MoveThread' => [ 'رشته_ئی_انتقال_داتین' ],
+       'NewMessages' => [ 'نۆکین_پیامان' ],
+       'SplitThread' => [ 'رشته_ئی_سیستین' ],
+       'MergeThread' => [ 'رشته_ئی_ادغام_کورتین' ],
+];
 
 /** Banjar (Bahasa Banjar) */
-$specialPageAliases['bjn'] = array(
-       'DeleteThread' => array( 'Hapus_tupik' ),
-       'MoveThread' => array( 'Pindahakan_tupik' ),
-       'NewMessages' => array( 'Pasan_hanyar' ),
-       'SplitThread' => array( 'Pisah_tupik' ),
-       'MergeThread' => array( 'Gabung_tupik' ),
-);
+$specialPageAliases['bjn'] = [
+       'DeleteThread' => [ 'Hapus_tupik' ],
+       'MoveThread' => [ 'Pindahakan_tupik' ],
+       'NewMessages' => [ 'Pasan_hanyar' ],
+       'SplitThread' => [ 'Pisah_tupik' ],
+       'MergeThread' => [ 'Gabung_tupik' ],
+];
 
 /** Breton (brezhoneg) */
-$specialPageAliases['br'] = array(
-       'DeleteThread' => array( 'DiverkañNeudennad' ),
-       'MoveThread' => array( 'Dilec\'hiañNeudennad' ),
-       'NewMessages' => array( 'KemennoùNevez' ),
-       'SplitThread' => array( 'DispartiañNeudennad' ),
-       'MergeThread' => array( 'KendeuziñNeudennad' ),
-);
+$specialPageAliases['br'] = [
+       'DeleteThread' => [ 'DiverkañNeudennad' ],
+       'MoveThread' => [ 'Dilec\'hiañNeudennad' ],
+       'NewMessages' => [ 'KemennoùNevez' ],
+       'SplitThread' => [ 'DispartiañNeudennad' ],
+       'MergeThread' => [ 'KendeuziñNeudennad' ],
+];
 
 /** Bosnian (bosanski) */
-$specialPageAliases['bs'] = array(
-       'DeleteThread' => array( 'ObrisiTok' ),
-       'MoveThread' => array( 'PremjestiTok' ),
-       'NewMessages' => array( 'NovePoruke' ),
-       'SplitThread' => array( 'RazdvojiTok' ),
-       'MergeThread' => array( 'SpojiTok' ),
-);
+$specialPageAliases['bs'] = [
+       'DeleteThread' => [ 'ObrisiTok' ],
+       'MoveThread' => [ 'PremjestiTok' ],
+       'NewMessages' => [ 'NovePoruke' ],
+       'SplitThread' => [ 'RazdvojiTok' ],
+       'MergeThread' => [ 'SpojiTok' ],
+];
 
 /** Min Dong Chinese (Mìng-dĕ̤ng-ngṳ̄) */
-$specialPageAliases['cdo'] = array(
-       'DeleteThread' => array( '刪囇話題' ),
-       'MoveThread' => array( '移動話題' ),
-       'NewMessages' => array( '新其話題' ),
-       'SplitThread' => array( '分開話題' ),
-       'MergeThread' => array( '合併話題' ),
-);
+$specialPageAliases['cdo'] = [
+       'DeleteThread' => [ '刪囇話題' ],
+       'MoveThread' => [ '移動話題' ],
+       'NewMessages' => [ '新其話題' ],
+       'SplitThread' => [ '分開話題' ],
+       'MergeThread' => [ '合併話題' ],
+];
 
 /** Czech (čeština) */
-$specialPageAliases['cs'] = array(
-       'DeleteThread' => array( 'Smazat_vlákno', 'Smazat_vlakno' ),
-       'MoveThread' => array( 'Přesunout_vlákno', 'Presunout_vlakno' ),
-       'NewMessages' => array( 'Nové_zprávy', 'Nove_zpravy' ),
-       'SplitThread' => array( 'Oddělit_vlákno', 'Oddelit_vlakno' ),
-       'MergeThread' => array( 'Sloučit_vlákno', 'Sloucit_vlakno' ),
-);
+$specialPageAliases['cs'] = [
+       'DeleteThread' => [ 'Smazat_vlákno', 'Smazat_vlakno' ],
+       'MoveThread' => [ 'Přesunout_vlákno', 'Presunout_vlakno' ],
+       'NewMessages' => [ 'Nové_zprávy', 'Nove_zpravy' ],
+       'SplitThread' => [ 'Oddělit_vlákno', 'Oddelit_vlakno' ],
+       'MergeThread' => [ 'Sloučit_vlákno', 'Sloucit_vlakno' ],
+];
 
 /** German (Deutsch) */
-$specialPageAliases['de'] = array(
-       'DeleteThread' => array( 'Thema_löschen', 'Thread_löschen' ),
-       'MoveThread' => array( 'Thema_verschieben', 'Thread_verschieben' ),
-       'NewMessages' => array( 'Neue_Nachrichten' ),
-       'SplitThread' => array( 'Thema_aufteilen' ),
-       'MergeThread' => array( 'Themen_zusammenführen', 'Thema_zusammenführen' 
),
-);
+$specialPageAliases['de'] = [
+       'DeleteThread' => [ 'Thema_löschen', 'Thread_löschen' ],
+       'MoveThread' => [ 'Thema_verschieben', 'Thread_verschieben' ],
+       'NewMessages' => [ 'Neue_Nachrichten' ],
+       'SplitThread' => [ 'Thema_aufteilen' ],
+       'MergeThread' => [ 'Themen_zusammenführen', 'Thema_zusammenführen' ],
+];
 
 /** Zazaki (Zazaki) */
-$specialPageAliases['diq'] = array(
-       'DeleteThread' => array( 'SernameBestere' ),
-       'MoveThread' => array( 'SernameBere' ),
-       'NewMessages' => array( 'MesacêNeweyi' ),
-       'SplitThread' => array( 'SernameLeteyKe' ),
-       'MergeThread' => array( 'SernameYewKe' ),
-);
+$specialPageAliases['diq'] = [
+       'DeleteThread' => [ 'SernameBestere' ],
+       'MoveThread' => [ 'SernameBere' ],
+       'NewMessages' => [ 'MesacêNeweyi' ],
+       'SplitThread' => [ 'SernameLeteyKe' ],
+       'MergeThread' => [ 'SernameYewKe' ],
+];
 
 /** Lower Sorbian (dolnoserbski) */
-$specialPageAliases['dsb'] = array(
-       'DeleteThread' => array( 'Nitku_lašowaś' ),
-       'MoveThread' => array( 'Nitku_pśesunuś' ),
-       'NewMessages' => array( 'Nowe_powěsći' ),
-);
+$specialPageAliases['dsb'] = [
+       'DeleteThread' => [ 'Nitku_lašowaś' ],
+       'MoveThread' => [ 'Nitku_pśesunuś' ],
+       'NewMessages' => [ 'Nowe_powěsći' ],
+];
 
 /** Greek (Ελληνικά) */
-$specialPageAliases['el'] = array(
-       'DeleteThread' => array( 'ΔιαγραφήΝήματος' ),
-       'MoveThread' => array( 'ΜετακίνησηΝήματος' ),
-       'NewMessages' => array( 'ΝέαΜηνύματα' ),
-       'SplitThread' => array( 'ΔιαχωρισμόςΝήματος' ),
-       'MergeThread' => array( 'ΣυγχώνευσηΝήματος' ),
-);
+$specialPageAliases['el'] = [
+       'DeleteThread' => [ 'ΔιαγραφήΝήματος' ],
+       'MoveThread' => [ 'ΜετακίνησηΝήματος' ],
+       'NewMessages' => [ 'ΝέαΜηνύματα' ],
+       'SplitThread' => [ 'ΔιαχωρισμόςΝήματος' ],
+       'MergeThread' => [ 'ΣυγχώνευσηΝήματος' ],
+];
 
 /** Esperanto (Esperanto) */
-$specialPageAliases['eo'] = array(
-       'DeleteThread' => array( 'Forigi_fadenon' ),
-       'MoveThread' => array( 'Movi_fadenon' ),
-       'NewMessages' => array( 'Novaj_mesaĝoj' ),
-       'SplitThread' => array( 'Disigi_fadenon' ),
-       'MergeThread' => array( 'Kunigi_fadenon', 'Unuigi_fadenon' ),
-);
+$specialPageAliases['eo'] = [
+       'DeleteThread' => [ 'Forigi_fadenon' ],
+       'MoveThread' => [ 'Movi_fadenon' ],
+       'NewMessages' => [ 'Novaj_mesaĝoj' ],
+       'SplitThread' => [ 'Disigi_fadenon' ],
+       'MergeThread' => [ 'Kunigi_fadenon', 'Unuigi_fadenon' ],
+];
 
 /** Spanish (español) */
-$specialPageAliases['es'] = array(
-       'DeleteThread' => array( 'BorrarHilo', 'Borrar_hilo' ),
-       'MoveThread' => array( 'MoverHilo', 'Mover_hilo' ),
-       'NewMessages' => array( 'MensajesNuevos', 'Mensajes_nuevos' ),
-       'SplitThread' => array( 'SepararHilo', 'Separar_hilo' ),
-       'MergeThread' => array( 'FusionarHilo', 'Fusionar_hilo' ),
-);
+$specialPageAliases['es'] = [
+       'DeleteThread' => [ 'BorrarHilo', 'Borrar_hilo' ],
+       'MoveThread' => [ 'MoverHilo', 'Mover_hilo' ],
+       'NewMessages' => [ 'MensajesNuevos', 'Mensajes_nuevos' ],
+       'SplitThread' => [ 'SepararHilo', 'Separar_hilo' ],
+       'MergeThread' => [ 'FusionarHilo', 'Fusionar_hilo' ],
+];
 
 /** Estonian (eesti) */
-$specialPageAliases['et'] = array(
-       'DeleteThread' => array( 'Lõime_kustutamine' ),
-       'MoveThread' => array( 'Lõime_teisaldamine' ),
-       'NewMessages' => array( 'Uued_sõnumid' ),
-       'SplitThread' => array( 'Lõime_jagamine' ),
-       'MergeThread' => array( 'Lõime_liitmine' ),
-);
+$specialPageAliases['et'] = [
+       'DeleteThread' => [ 'Lõime_kustutamine' ],
+       'MoveThread' => [ 'Lõime_teisaldamine' ],
+       'NewMessages' => [ 'Uued_sõnumid' ],
+       'SplitThread' => [ 'Lõime_jagamine' ],
+       'MergeThread' => [ 'Lõime_liitmine' ],
+];
 
 /** Basque (euskara) */
-$specialPageAliases['eu'] = array(
-       'NewMessages' => array( 'MezuBerriak' ),
-);
+$specialPageAliases['eu'] = [
+       'NewMessages' => [ 'MezuBerriak' ],
+];
 
 /** Persian (فارسی) */
-$specialPageAliases['fa'] = array(
-       'DeleteThread' => array( 'حذف_رشته' ),
-       'MoveThread' => array( 'انتقال_رشته' ),
-       'NewMessages' => array( 'پیام‌های_جدید' ),
-       'SplitThread' => array( 'گسستن_رشته' ),
-       'MergeThread' => array( 'ادغام_رشته' ),
-);
+$specialPageAliases['fa'] = [
+       'DeleteThread' => [ 'حذف_رشته' ],
+       'MoveThread' => [ 'انتقال_رشته' ],
+       'NewMessages' => [ 'پیام‌های_جدید' ],
+       'SplitThread' => [ 'گسستن_رشته' ],
+       'MergeThread' => [ 'ادغام_رشته' ],
+];
 
 /** Finnish (suomi) */
-$specialPageAliases['fi'] = array(
-       'DeleteThread' => array( 'Poista_keskusteluketju' ),
-       'MoveThread' => array( 'Siirrä_keskusteluketju' ),
-       'NewMessages' => array( 'Uudet_viestit' ),
-       'SplitThread' => array( 'Pilko_keskustelu' ),
-       'MergeThread' => array( 'Yhdistä_keskusteluja' ),
-);
+$specialPageAliases['fi'] = [
+       'DeleteThread' => [ 'Poista_keskusteluketju' ],
+       'MoveThread' => [ 'Siirrä_keskusteluketju' ],
+       'NewMessages' => [ 'Uudet_viestit' ],
+       'SplitThread' => [ 'Pilko_keskustelu' ],
+       'MergeThread' => [ 'Yhdistä_keskusteluja' ],
+];
 
 /** French (français) */
-$specialPageAliases['fr'] = array(
-       'NewMessages' => array( 'NouveauxMessages', 'Nouveaux_Messages' ),
-);
+$specialPageAliases['fr'] = [
+       'NewMessages' => [ 'NouveauxMessages', 'Nouveaux_Messages' ],
+];
 
 /** Arpitan (arpetan) */
-$specialPageAliases['frp'] = array(
-       'DeleteThread' => array( 'Èfaciér_lo_fil', 'ÈfaciérLoFil' ),
-       'MoveThread' => array( 'Dèplaciér_lo_fil', 'DèplaciérLoFil' ),
-       'NewMessages' => array( 'Mèssâjos_novéls', 'MèssâjosNovéls' ),
-);
+$specialPageAliases['frp'] = [
+       'DeleteThread' => [ 'Èfaciér_lo_fil', 'ÈfaciérLoFil' ],
+       'MoveThread' => [ 'Dèplaciér_lo_fil', 'DèplaciérLoFil' ],
+       'NewMessages' => [ 'Mèssâjos_novéls', 'MèssâjosNovéls' ],
+];
 
 /** Gagauz (Gagauz) */
-$specialPageAliases['gag'] = array(
-       'NewMessages' => array( 'EniSözleşmäkler' ),
-);
+$specialPageAliases['gag'] = [
+       'NewMessages' => [ 'EniSözleşmäkler' ],
+];
 
 /** Galician (galego) */
-$specialPageAliases['gl'] = array(
-       'DeleteThread' => array( 'Eliminar_o_fío' ),
-       'MoveThread' => array( 'Mover_o_fío' ),
-       'NewMessages' => array( 'Mensaxes_novas' ),
-       'SplitThread' => array( 'Separar_o_fío' ),
-       'MergeThread' => array( 'Fusionar_o_fío' ),
-);
+$specialPageAliases['gl'] = [
+       'DeleteThread' => [ 'Eliminar_o_fío' ],
+       'MoveThread' => [ 'Mover_o_fío' ],
+       'NewMessages' => [ 'Mensaxes_novas' ],
+       'SplitThread' => [ 'Separar_o_fío' ],
+       'MergeThread' => [ 'Fusionar_o_fío' ],
+];
 
 /** Swiss German (Alemannisch) */
-$specialPageAliases['gsw'] = array(
-       'DeleteThread' => array( 'Thread_lesche' ),
-       'MoveThread' => array( 'Thread_verschiebe' ),
-       'NewMessages' => array( 'Neji_Nochrichte' ),
-       'SplitThread' => array( 'Thema_uffdeile' ),
-       'MergeThread' => array( 'Thema_zämmelege' ),
-);
+$specialPageAliases['gsw'] = [
+       'DeleteThread' => [ 'Thread_lesche' ],
+       'MoveThread' => [ 'Thread_verschiebe' ],
+       'NewMessages' => [ 'Neji_Nochrichte' ],
+       'SplitThread' => [ 'Thema_uffdeile' ],
+       'MergeThread' => [ 'Thema_zämmelege' ],
+];
 
 /** Hebrew (עברית) */
-$specialPageAliases['he'] = array(
-       'DeleteThread' => array( 'מחיקת_שרשור' ),
-       'MoveThread' => array( 'העברת_שרשור' ),
-       'NewMessages' => array( 'הודעות_חדשות' ),
-       'SplitThread' => array( 'פיצול_שרשור' ),
-       'MergeThread' => array( 'מיזוג_שרשור' ),
-);
+$specialPageAliases['he'] = [
+       'DeleteThread' => [ 'מחיקת_שרשור' ],
+       'MoveThread' => [ 'העברת_שרשור' ],
+       'NewMessages' => [ 'הודעות_חדשות' ],
+       'SplitThread' => [ 'פיצול_שרשור' ],
+       'MergeThread' => [ 'מיזוג_שרשור' ],
+];
 
 /** Upper Sorbian (hornjoserbsce) */
-$specialPageAliases['hsb'] = array(
-       'DeleteThread' => array( 'Nitku_wušmórnyć' ),
-       'MoveThread' => array( 'Nitku_přesunyć' ),
-       'NewMessages' => array( 'Nowe_powěsće' ),
-       'SplitThread' => array( 'Temu_rozdźělić' ),
-       'MergeThread' => array( 'Temy_zjednoćić' ),
-);
+$specialPageAliases['hsb'] = [
+       'DeleteThread' => [ 'Nitku_wušmórnyć' ],
+       'MoveThread' => [ 'Nitku_přesunyć' ],
+       'NewMessages' => [ 'Nowe_powěsće' ],
+       'SplitThread' => [ 'Temu_rozdźělić' ],
+       'MergeThread' => [ 'Temy_zjednoćić' ],
+];
 
 /** Haitian (Kreyòl ayisyen) */
-$specialPageAliases['ht'] = array(
-       'DeleteThread' => array( 'EfaseFil' ),
-       'MoveThread' => array( 'DeplaseFil' ),
-       'NewMessages' => array( 'NouvoMesaj' ),
-       'SplitThread' => array( 'SepareFil' ),
-       'MergeThread' => array( 'FizyoneFil' ),
-);
+$specialPageAliases['ht'] = [
+       'DeleteThread' => [ 'EfaseFil' ],
+       'MoveThread' => [ 'DeplaseFil' ],
+       'NewMessages' => [ 'NouvoMesaj' ],
+       'SplitThread' => [ 'SepareFil' ],
+       'MergeThread' => [ 'FizyoneFil' ],
+];
 
 /** Hungarian (magyar) */
-$specialPageAliases['hu'] = array(
-       'DeleteThread' => array( 'Szál_törlése' ),
-       'MoveThread' => array( 'Szál_mozgatása' ),
-       'NewMessages' => array( 'Új_üzenetek' ),
-       'SplitThread' => array( 'Szál_felosztása' ),
-       'MergeThread' => array( 'Szál_egyesítése' ),
-);
+$specialPageAliases['hu'] = [
+       'DeleteThread' => [ 'Szál_törlése' ],
+       'MoveThread' => [ 'Szál_mozgatása' ],
+       'NewMessages' => [ 'Új_üzenetek' ],
+       'SplitThread' => [ 'Szál_felosztása' ],
+       'MergeThread' => [ 'Szál_egyesítése' ],
+];
 
 /** Interlingua (interlingua) */
-$specialPageAliases['ia'] = array(
-       'DeleteThread' => array( 'Deler_filo' ),
-       'MoveThread' => array( 'Displaciar_filo' ),
-       'NewMessages' => array( 'Nove_messages' ),
-       'SplitThread' => array( 'Separar_filo' ),
-       'MergeThread' => array( 'Fusionar_filo' ),
-);
+$specialPageAliases['ia'] = [
+       'DeleteThread' => [ 'Deler_filo' ],
+       'MoveThread' => [ 'Displaciar_filo' ],
+       'NewMessages' => [ 'Nove_messages' ],
+       'SplitThread' => [ 'Separar_filo' ],
+       'MergeThread' => [ 'Fusionar_filo' ],
+];
 
 /** Indonesian (Bahasa Indonesia) */
-$specialPageAliases['id'] = array(
-       'DeleteThread' => array( 'Hapus_topik', 'HapusTopik', 'Hapus_utas', 
'HapusUtas' ),
-       'MoveThread' => array( 'Pindahkan_topik', 'PindahkanTopik', 
'Pindahkan_utas', 'PindahkanUtas' ),
-       'NewMessages' => array( 'Pesan_baru', 'PesanBaru' ),
-       'SplitThread' => array( 'Pisah_topik', 'PisahTopik', 'Pisah_utas', 
'PisahUtas' ),
-       'MergeThread' => array( 'Gabung_topik', 'GabungTopik', 'Gabung_utas', 
'GabungUtas' ),
-);
+$specialPageAliases['id'] = [
+       'DeleteThread' => [ 'Hapus_topik', 'HapusTopik', 'Hapus_utas', 
'HapusUtas' ],
+       'MoveThread' => [ 'Pindahkan_topik', 'PindahkanTopik', 
'Pindahkan_utas', 'PindahkanUtas' ],
+       'NewMessages' => [ 'Pesan_baru', 'PesanBaru' ],
+       'SplitThread' => [ 'Pisah_topik', 'PisahTopik', 'Pisah_utas', 
'PisahUtas' ],
+       'MergeThread' => [ 'Gabung_topik', 'GabungTopik', 'Gabung_utas', 
'GabungUtas' ],
+];
 
 /** Italian (italiano) */
-$specialPageAliases['it'] = array(
-       'DeleteThread' => array( 'CancellaDiscussione' ),
-       'MoveThread' => array( 'SpostaDiscussione' ),
-       'NewMessages' => array( 'NuoviMessaggi' ),
-       'SplitThread' => array( 'DividiDiscussione' ),
-       'MergeThread' => array( 'UnisciDiscussioni' ),
-);
+$specialPageAliases['it'] = [
+       'DeleteThread' => [ 'CancellaDiscussione' ],
+       'MoveThread' => [ 'SpostaDiscussione' ],
+       'NewMessages' => [ 'NuoviMessaggi' ],
+       'SplitThread' => [ 'DividiDiscussione' ],
+       'MergeThread' => [ 'UnisciDiscussioni' ],
+];
 
 /** Japanese (日本語) */
-$specialPageAliases['ja'] = array(
-       'DeleteThread' => array( 'スレッド削除' ),
-       'MoveThread' => array( 'スレッド移動' ),
-       'NewMessages' => array( '新規投稿', '新しい伝言' ),
-       'SplitThread' => array( 'スレッド分割' ),
-       'MergeThread' => array( 'スレッド統合' ),
-);
+$specialPageAliases['ja'] = [
+       'DeleteThread' => [ 'スレッド削除' ],
+       'MoveThread' => [ 'スレッド移動' ],
+       'NewMessages' => [ '新規投稿', '新しい伝言' ],
+       'SplitThread' => [ 'スレッド分割' ],
+       'MergeThread' => [ 'スレッド統合' ],
+];
 
 /** Georgian (ქართული) */
-$specialPageAliases['ka'] = array(
-       'NewMessages' => array( 'ახალი_წერილები' ),
-);
+$specialPageAliases['ka'] = [
+       'NewMessages' => [ 'ახალი_წერილები' ],
+];
 
 /** Khmer (ភាសាខ្មែរ) */
-$specialPageAliases['km'] = array(
-       'NewMessages' => array( 'សារថ្មីៗ' ),
-);
+$specialPageAliases['km'] = [
+       'NewMessages' => [ 'សារថ្មីៗ' ],
+];
 
 /** Korean (한국어) */
-$specialPageAliases['ko'] = array(
-       'DeleteThread' => array( '스레드삭제' ),
-       'MoveThread' => array( '스레드이동' ),
-       'NewMessages' => array( '새메시지' ),
-       'SplitThread' => array( '스레드분할', '스레드나누기' ),
-       'MergeThread' => array( '스레드병합' ),
-);
+$specialPageAliases['ko'] = [
+       'DeleteThread' => [ '스레드삭제' ],
+       'MoveThread' => [ '스레드이동' ],
+       'NewMessages' => [ '새메시지' ],
+       'SplitThread' => [ '스레드분할', '스레드나누기' ],
+       'MergeThread' => [ '스레드병합' ],
+];
 
 /** Colognian (Ripoarisch) */
-$specialPageAliases['ksh'] = array(
-       'DeleteThread' => array( 'JeschprääschßfäddemFottschmiiße' ),
-       'MoveThread' => array( 'JeschprääschßfäddemÖmträke' ),
-       'NewMessages' => array( 'NeuJeschprääschßfäddeme' ),
-       'SplitThread' => array( 'JeschprääschßfäddemOpdeile' ),
-);
+$specialPageAliases['ksh'] = [
+       'DeleteThread' => [ 'JeschprääschßfäddemFottschmiiße' ],
+       'MoveThread' => [ 'JeschprääschßfäddemÖmträke' ],
+       'NewMessages' => [ 'NeuJeschprääschßfäddeme' ],
+       'SplitThread' => [ 'JeschprääschßfäddemOpdeile' ],
+];
 
 /** Cornish (kernowek) */
-$specialPageAliases['kw'] = array(
-       'NewMessages' => array( 'MessajysNowyth' ),
-);
+$specialPageAliases['kw'] = [
+       'NewMessages' => [ 'MessajysNowyth' ],
+];
 
 /** Ladino (Ladino) */
-$specialPageAliases['lad'] = array(
-       'DeleteThread' => array( 'EfassarTítůlos' ),
-       'MoveThread' => array( 'TaxirearTítůlo' ),
-       'NewMessages' => array( 'MessajesNuevos' ),
-       'SplitThread' => array( 'EspartirTítůlo' ),
-       'MergeThread' => array( 'AjuntarTítůlo' ),
-);
+$specialPageAliases['lad'] = [
+       'DeleteThread' => [ 'EfassarTítůlos' ],
+       'MoveThread' => [ 'TaxirearTítůlo' ],
+       'NewMessages' => [ 'MessajesNuevos' ],
+       'SplitThread' => [ 'EspartirTítůlo' ],
+       'MergeThread' => [ 'AjuntarTítůlo' ],
+];
 
 /** Luxembourgish (Lëtzebuergesch) */
-$specialPageAliases['lb'] = array(
-       'DeleteThread' => array( 'Rubrik_läschen' ),
-       'MoveThread' => array( 'Rubrik_réckelen' ),
-       'NewMessages' => array( 'Nei_Messagen' ),
-       'SplitThread' => array( 'Rubrik_opdeelen' ),
-       'MergeThread' => array( 'Rubrike_fusionéieren' ),
-);
+$specialPageAliases['lb'] = [
+       'DeleteThread' => [ 'Rubrik_läschen' ],
+       'MoveThread' => [ 'Rubrik_réckelen' ],
+       'NewMessages' => [ 'Nei_Messagen' ],
+       'SplitThread' => [ 'Rubrik_opdeelen' ],
+       'MergeThread' => [ 'Rubrike_fusionéieren' ],
+];
 
 /** Macedonian (македонски) */
-$specialPageAliases['mk'] = array(
-       'DeleteThread' => array( 'НишкаНаБришење' ),
-       'MoveThread' => array( 'НишкаНаПреместување' ),
-       'NewMessages' => array( 'НовиПораки' ),
-       'SplitThread' => array( 'РазделенаНишка' ),
-       'MergeThread' => array( 'СпоенаНишка' ),
-);
+$specialPageAliases['mk'] = [
+       'DeleteThread' => [ 'НишкаНаБришење' ],
+       'MoveThread' => [ 'НишкаНаПреместување' ],
+       'NewMessages' => [ 'НовиПораки' ],
+       'SplitThread' => [ 'РазделенаНишка' ],
+       'MergeThread' => [ 'СпоенаНишка' ],
+];
 
 /** Malayalam (മലയാളം) */
-$specialPageAliases['ml'] = array(
-       'DeleteThread' => array( 'ചരട്‌_മായ്ക്കുക' ),
-       'MoveThread' => array( 'ചരട്‌_മാറ്റുക' ),
-       'NewMessages' => array( 'പുതുസന്ദേശങ്ങൾ' ),
-       'SplitThread' => array( 'ചരട്_വിഘടിപ്പിക്കുക' ),
-       'MergeThread' => array( 'ചരട്_സംയോജിപ്പിക്കുക' ),
-);
+$specialPageAliases['ml'] = [
+       'DeleteThread' => [ 'ചരട്‌_മായ്ക്കുക' ],
+       'MoveThread' => [ 'ചരട്‌_മാറ്റുക' ],
+       'NewMessages' => [ 'പുതുസന്ദേശങ്ങൾ' ],
+       'SplitThread' => [ 'ചരട്_വിഘടിപ്പിക്കുക' ],
+       'MergeThread' => [ 'ചരട്_സംയോജിപ്പിക്കുക' ],
+];
 
 /** Marathi (मराठी) */
-$specialPageAliases['mr'] = array(
-       'NewMessages' => array( 'नवीनसंदेश' ),
-);
+$specialPageAliases['mr'] = [
+       'NewMessages' => [ 'नवीनसंदेश' ],
+];
 
 /** Maltese (Malti) */
-$specialPageAliases['mt'] = array(
-       'NewMessages' => array( 'MessaġġiĠodda' ),
-);
+$specialPageAliases['mt'] = [
+       'NewMessages' => [ 'MessaġġiĠodda' ],
+];
 
 /** Erzya (эрзянь) */
-$specialPageAliases['myv'] = array(
-       'DeleteThread' => array( 'НардамсСуре' ),
-       'MoveThread' => array( 'ПечтевтемсСуре' ),
-       'NewMessages' => array( 'ОдПачтямнэть' ),
-       'MergeThread' => array( 'ПальдямсСуре' ),
-);
+$specialPageAliases['myv'] = [
+       'DeleteThread' => [ 'НардамсСуре' ],
+       'MoveThread' => [ 'ПечтевтемсСуре' ],
+       'NewMessages' => [ 'ОдПачтямнэть' ],
+       'MergeThread' => [ 'ПальдямсСуре' ],
+];
 
 /** Norwegian Bokmål (norsk bokmål) */
-$specialPageAliases['nb'] = array(
-       'DeleteThread' => array( 'Slett_tråd' ),
-       'MoveThread' => array( 'Flytt_tråd' ),
-       'NewMessages' => array( 'Nye_beskjeder' ),
-       'SplitThread' => array( 'Splitt_tråd' ),
-       'MergeThread' => array( 'Slå_sammen_tråd' ),
-);
+$specialPageAliases['nb'] = [
+       'DeleteThread' => [ 'Slett_tråd' ],
+       'MoveThread' => [ 'Flytt_tråd' ],
+       'NewMessages' => [ 'Nye_beskjeder' ],
+       'SplitThread' => [ 'Splitt_tråd' ],
+       'MergeThread' => [ 'Slå_sammen_tråd' ],
+];
 
 /** Low Saxon (Netherlands) (Nedersaksies) */
-$specialPageAliases['nds-nl'] = array(
-       'DeleteThread' => array( 'Draod_vortdoon' ),
-       'MoveThread' => array( 'Draod_verplaotsen' ),
-       'NewMessages' => array( 'Nieje_berichten' ),
-       'SplitThread' => array( 'Onderwarp_splitsen' ),
-       'MergeThread' => array( 'Draod_samenvoegen' ),
-);
+$specialPageAliases['nds-nl'] = [
+       'DeleteThread' => [ 'Draod_vortdoon' ],
+       'MoveThread' => [ 'Draod_verplaotsen' ],
+       'NewMessages' => [ 'Nieje_berichten' ],
+       'SplitThread' => [ 'Onderwarp_splitsen' ],
+       'MergeThread' => [ 'Draod_samenvoegen' ],
+];
 
 /** Dutch (Nederlands) */
-$specialPageAliases['nl'] = array(
-       'DeleteThread' => array( 'OnderwerpVerwijderen' ),
-       'MoveThread' => array( 'OnderwerpVerplaatsen' ),
-       'NewMessages' => array( 'NieuweBerichten' ),
-       'SplitThread' => array( 'OnderwerpSplitsen' ),
-       'MergeThread' => array( 'OnderwerpSamenvoegen' ),
-);
+$specialPageAliases['nl'] = [
+       'DeleteThread' => [ 'OnderwerpVerwijderen' ],
+       'MoveThread' => [ 'OnderwerpVerplaatsen' ],
+       'NewMessages' => [ 'NieuweBerichten' ],
+       'SplitThread' => [ 'OnderwerpSplitsen' ],
+       'MergeThread' => [ 'OnderwerpSamenvoegen' ],
+];
 
 /** Norwegian Nynorsk (norsk nynorsk) */
-$specialPageAliases['nn'] = array(
-       'DeleteThread' => array( 'Slett_tråd' ),
-       'MoveThread' => array( 'Flytt_tråd' ),
-       'NewMessages' => array( 'Nye_meldingar' ),
-);
+$specialPageAliases['nn'] = [
+       'DeleteThread' => [ 'Slett_tråd' ],
+       'MoveThread' => [ 'Flytt_tråd' ],
+       'NewMessages' => [ 'Nye_meldingar' ],
+];
 
 /** Occitan (occitan) */
-$specialPageAliases['oc'] = array(
-       'NewMessages' => array( 'Messatges_novèls', 'MessatgesNovèls' ),
-);
+$specialPageAliases['oc'] = [
+       'NewMessages' => [ 'Messatges_novèls', 'MessatgesNovèls' ],
+];
 
 /** Polish (polski) */
-$specialPageAliases['pl'] = array(
-       'DeleteThread' => array( 'Usuwanie_wątku' ),
-       'MoveThread' => array( 'Przenoszenie_wątku' ),
-       'NewMessages' => array( 'Nowe_wiadomości' ),
-       'SplitThread' => array( 'Rodzielanie_wątku' ),
-       'MergeThread' => array( 'Łączenie_wątku' ),
-);
+$specialPageAliases['pl'] = [
+       'DeleteThread' => [ 'Usuwanie_wątku' ],
+       'MoveThread' => [ 'Przenoszenie_wątku' ],
+       'NewMessages' => [ 'Nowe_wiadomości' ],
+       'SplitThread' => [ 'Rodzielanie_wątku' ],
+       'MergeThread' => [ 'Łączenie_wątku' ],
+];
 
 /** Pashto (پښتو) */
-$specialPageAliases['ps'] = array(
-       'NewMessages' => array( 'نوي_پيغامونه' ),
-);
+$specialPageAliases['ps'] = [
+       'NewMessages' => [ 'نوي_پيغامونه' ],
+];
 
 /** Portuguese (português) */
-$specialPageAliases['pt'] = array(
-       'DeleteThread' => array( 'Eliminar_tópico' ),
-       'MoveThread' => array( 'Mover_tópico' ),
-       'NewMessages' => array( 'Mensagens_novas' ),
-       'SplitThread' => array( 'Dividir_tópico' ),
-       'MergeThread' => array( 'Fundir_tópico' ),
-);
+$specialPageAliases['pt'] = [
+       'DeleteThread' => [ 'Eliminar_tópico' ],
+       'MoveThread' => [ 'Mover_tópico' ],
+       'NewMessages' => [ 'Mensagens_novas' ],
+       'SplitThread' => [ 'Dividir_tópico' ],
+       'MergeThread' => [ 'Fundir_tópico' ],
+];
 
 /** Brazilian Portuguese (português do Brasil) */
-$specialPageAliases['pt-br'] = array(
-       'NewMessages' => array( 'Novas_mensagens' ),
-);
+$specialPageAliases['pt-br'] = [
+       'NewMessages' => [ 'Novas_mensagens' ],
+];
 
 /** Sanskrit (संस्कृतम्) */
-$specialPageAliases['sa'] = array(
-       'DeleteThread' => array( 'सूत्रपरित्यजति' ),
-       'MoveThread' => array( 'सूत्रस्थानान्तर' ),
-       'NewMessages' => array( 'नूतनसन्देश' ),
-);
+$specialPageAliases['sa'] = [
+       'DeleteThread' => [ 'सूत्रपरित्यजति' ],
+       'MoveThread' => [ 'सूत्रस्थानान्तर' ],
+       'NewMessages' => [ 'नूतनसन्देश' ],
+];
 
 /** Sicilian (sicilianu) */
-$specialPageAliases['scn'] = array(
-       'DeleteThread' => array( 'CancellaDiscussione' ),
-       'MoveThread' => array( 'SpostaDiscussione' ),
-       'NewMessages' => array( 'NuoviMessaggi' ),
-       'SplitThread' => array( 'DividiDiscussione' ),
-       'MergeThread' => array( 'UnisciThread' ),
-);
+$specialPageAliases['scn'] = [
+       'DeleteThread' => [ 'CancellaDiscussione' ],
+       'MoveThread' => [ 'SpostaDiscussione' ],
+       'NewMessages' => [ 'NuoviMessaggi' ],
+       'SplitThread' => [ 'DividiDiscussione' ],
+       'MergeThread' => [ 'UnisciThread' ],
+];
 
 /** Sinhala (සිංහල) */
-$specialPageAliases['si'] = array(
-       'NewMessages' => array( 'නවපණිවුඩ' ),
-);
+$specialPageAliases['si'] = [
+       'NewMessages' => [ 'නවපණිවුඩ' ],
+];
 
 /** Slovak (slovenčina) */
-$specialPageAliases['sk'] = array(
-       'DeleteThread' => array( 'ZmazaťVlákno' ),
-       'MoveThread' => array( 'PresunúťVlákno' ),
-       'NewMessages' => array( 'NovéSprávy' ),
-       'SplitThread' => array( 'RozdeliťVlákno' ),
-);
+$specialPageAliases['sk'] = [
+       'DeleteThread' => [ 'ZmazaťVlákno' ],
+       'MoveThread' => [ 'PresunúťVlákno' ],
+       'NewMessages' => [ 'NovéSprávy' ],
+       'SplitThread' => [ 'RozdeliťVlákno' ],
+];
 
 /** Serbian (Cyrillic script) (српски (ћирилица)‎) */
-$specialPageAliases['sr-ec'] = array(
-       'DeleteThread' => array( 'ОбришиТему', 'Обриши_тему' ),
-       'MoveThread' => array( 'ПреместиТему', 'Премести_тему' ),
-       'NewMessages' => array( 'НовеПоруке', 'Нове_поруке' ),
-       'SplitThread' => array( 'РаздвојиТему', 'Раздвоји_тему' ),
-       'MergeThread' => array( 'СпојиТему', 'Споји_тему' ),
-);
+$specialPageAliases['sr-ec'] = [
+       'DeleteThread' => [ 'ОбришиТему', 'Обриши_тему' ],
+       'MoveThread' => [ 'ПреместиТему', 'Премести_тему' ],
+       'NewMessages' => [ 'НовеПоруке', 'Нове_поруке' ],
+       'SplitThread' => [ 'РаздвојиТему', 'Раздвоји_тему' ],
+       'MergeThread' => [ 'СпојиТему', 'Споји_тему' ],
+];
 
 /** Swedish (svenska) */
-$specialPageAliases['sv'] = array(
-       'DeleteThread' => array( 'Radera_tråd' ),
-       'MoveThread' => array( 'Flytta_tråd' ),
-       'NewMessages' => array( 'Nya_meddelanden' ),
-       'SplitThread' => array( 'Dela_tråd' ),
-       'MergeThread' => array( 'Slå_ihop_tråd' ),
-);
+$specialPageAliases['sv'] = [
+       'DeleteThread' => [ 'Radera_tråd' ],
+       'MoveThread' => [ 'Flytta_tråd' ],
+       'NewMessages' => [ 'Nya_meddelanden' ],
+       'SplitThread' => [ 'Dela_tråd' ],
+       'MergeThread' => [ 'Slå_ihop_tråd' ],
+];
 
 /** Swahili (Kiswahili) */
-$specialPageAliases['sw'] = array(
-       'NewMessages' => array( 'MijumbeMipya' ),
-);
+$specialPageAliases['sw'] = [
+       'NewMessages' => [ 'MijumbeMipya' ],
+];
 
 /** Thai (ไทย) */
-$specialPageAliases['th'] = array(
-       'NewMessages' => array( 'ข้อความใหม่' ),
-);
+$specialPageAliases['th'] = [
+       'NewMessages' => [ 'ข้อความใหม่' ],
+];
 
 /** Tagalog (Tagalog) */
-$specialPageAliases['tl'] = array(
-       'DeleteThread' => array( 'Burahin_ang_bagting' ),
-       'MoveThread' => array( 'Ilipat_ang_bagting' ),
-       'NewMessages' => array( 'Bagong_mga_mensahe' ),
-);
+$specialPageAliases['tl'] = [
+       'DeleteThread' => [ 'Burahin_ang_bagting' ],
+       'MoveThread' => [ 'Ilipat_ang_bagting' ],
+       'NewMessages' => [ 'Bagong_mga_mensahe' ],
+];
 
 /** Turkish (Türkçe) */
-$specialPageAliases['tr'] = array(
-       'DeleteThread' => array( 'BaşlıkSil' ),
-       'MoveThread' => array( 'BaşlıkTaşı' ),
-       'NewMessages' => array( 'YeniMesajlar', 'Yeniİletiler' ),
-       'SplitThread' => array( 'BaşlıkBöl' ),
-       'MergeThread' => array( 'BaşlıkBirleştir' ),
-);
+$specialPageAliases['tr'] = [
+       'DeleteThread' => [ 'BaşlıkSil' ],
+       'MoveThread' => [ 'BaşlıkTaşı' ],
+       'NewMessages' => [ 'YeniMesajlar', 'Yeniİletiler' ],
+       'SplitThread' => [ 'BaşlıkBöl' ],
+       'MergeThread' => [ 'BaşlıkBirleştir' ],
+];
 
 /** Tatar (Cyrillic script) (татарча) */
-$specialPageAliases['tt-cyrl'] = array(
-       'NewMessages' => array( 'Яңа_хатлар' ),
-);
+$specialPageAliases['tt-cyrl'] = [
+       'NewMessages' => [ 'Яңа_хатлар' ],
+];
 
 /** Ukrainian (українська) */
-$specialPageAliases['uk'] = array(
-       'DeleteThread' => array( 'Вилучити_гілку_повідомлень' ),
-       'MoveThread' => array( 'Перейменувати_гілку_повідомлень' ),
-       'NewMessages' => array( 'Нові_повідомлення' ),
-       'SplitThread' => array( 'Розділити_гілку_повідомлень' ),
-       'MergeThread' => array( 'Об\'єднати_гілки_повідомлень' ),
-);
+$specialPageAliases['uk'] = [
+       'DeleteThread' => [ 'Вилучити_гілку_повідомлень' ],
+       'MoveThread' => [ 'Перейменувати_гілку_повідомлень' ],
+       'NewMessages' => [ 'Нові_повідомлення' ],
+       'SplitThread' => [ 'Розділити_гілку_повідомлень' ],
+       'MergeThread' => [ 'Об\'єднати_гілки_повідомлень' ],
+];
 
 /** Venetian (vèneto) */
-$specialPageAliases['vec'] = array(
-       'DeleteThread' => array( 'ScancelaArgomento' ),
-       'MoveThread' => array( 'SpostaArgomento' ),
-       'NewMessages' => array( 'MessagiNovi' ),
-       'SplitThread' => array( 'DividiArgomento' ),
-       'MergeThread' => array( 'UnissiArgomento' ),
-);
+$specialPageAliases['vec'] = [
+       'DeleteThread' => [ 'ScancelaArgomento' ],
+       'MoveThread' => [ 'SpostaArgomento' ],
+       'NewMessages' => [ 'MessagiNovi' ],
+       'SplitThread' => [ 'DividiArgomento' ],
+       'MergeThread' => [ 'UnissiArgomento' ],
+];
 
 /** Vietnamese (Tiếng Việt) */
-$specialPageAliases['vi'] = array(
-       'DeleteThread' => array( 'Xóa_luồng', 'Xoá_luồng' ),
-       'MoveThread' => array( 'Di_chuyển_luồng' ),
-       'NewMessages' => array( 'Tin_nhắn_mới' ),
-       'SplitThread' => array( 'Chia_luồng' ),
-       'MergeThread' => array( 'Hợp_nhất_luồng' ),
-);
+$specialPageAliases['vi'] = [
+       'DeleteThread' => [ 'Xóa_luồng', 'Xoá_luồng' ],
+       'MoveThread' => [ 'Di_chuyển_luồng' ],
+       'NewMessages' => [ 'Tin_nhắn_mới' ],
+       'SplitThread' => [ 'Chia_luồng' ],
+       'MergeThread' => [ 'Hợp_nhất_luồng' ],
+];
 
 /** Yiddish (ייִדיש) */
-$specialPageAliases['yi'] = array(
-       'NewMessages' => array( 'נייע_מעלדונגנען' ),
-);
+$specialPageAliases['yi'] = [
+       'NewMessages' => [ 'נייע_מעלדונגנען' ],
+];
 
 /** Chinese (中文) */
-$specialPageAliases['zh'] = array(
-       'DeleteThread' => array( '删除话题', '刪除話題' ),
-       'MoveThread' => array( '移动话题', '移動話題' ),
-       'NewMessages' => array( '新消息', '新訊息' ),
-       'SplitThread' => array( '分割话题', '分割話題' ),
-       'MergeThread' => array( '合并话题', '合併話題' ),
-);
+$specialPageAliases['zh'] = [
+       'DeleteThread' => [ '删除话题', '刪除話題' ],
+       'MoveThread' => [ '移动话题', '移動話題' ],
+       'NewMessages' => [ '新消息', '新訊息' ],
+       'SplitThread' => [ '分割话题', '分割話題' ],
+       'MergeThread' => [ '合并话题', '合併話題' ],
+];
 
 /** Simplified Chinese (中文(简体)‎) */
-$specialPageAliases['zh-hans'] = array(
-       'DeleteThread' => array( '删除话题' ),
-       'MoveThread' => array( '移动话题' ),
-       'NewMessages' => array( '新信息' ),
-       'SplitThread' => array( '分割话题' ),
-       'MergeThread' => array( '合并话题' ),
-);
+$specialPageAliases['zh-hans'] = [
+       'DeleteThread' => [ '删除话题' ],
+       'MoveThread' => [ '移动话题' ],
+       'NewMessages' => [ '新信息' ],
+       'SplitThread' => [ '分割话题' ],
+       'MergeThread' => [ '合并话题' ],
+];
 
 /** Traditional Chinese (中文(繁體)‎) */
-$specialPageAliases['zh-hant'] = array(
-       'DeleteThread' => array( '刪除討論串' ),
-       'MoveThread' => array( '移動討論串' ),
-       'NewMessages' => array( '新訊息' ),
-       'SplitThread' => array( '分割討論串' ),
-       'MergeThread' => array( '合併討論串' ),
-);
+$specialPageAliases['zh-hant'] = [
+       'DeleteThread' => [ '刪除討論串' ],
+       'MoveThread' => [ '移動討論串' ],
+       'NewMessages' => [ '新訊息' ],
+       'SplitThread' => [ '分割討論串' ],
+       'MergeThread' => [ '合併討論串' ],
+];
diff --git a/i18n/Lqt.namespaces.php b/i18n/Lqt.namespaces.php
index df18b23..397a1ec 100644
--- a/i18n/Lqt.namespaces.php
+++ b/i18n/Lqt.namespaces.php
@@ -1,6 +1,6 @@
 <?php
 
-$namespaceNames = array();
+$namespaceNames = [];
 
 // For wikis without LiquidThreads installed.
 if ( !defined( 'NS_LQT_THREAD' ) ) {
@@ -10,72 +10,72 @@
        define( 'NS_LQT_SUMMARY_TALK', 93 );
 }
 
-$namespaceNames['en'] = array(
+$namespaceNames['en'] = [
        NS_LQT_THREAD       => 'Thread',
        NS_LQT_THREAD_TALK  => 'Thread_talk',
        NS_LQT_SUMMARY      => 'Summary',
        NS_LQT_SUMMARY_TALK => 'Summary_talk',
-);
+];
 
-$namespaceNames['de'] = array(
+$namespaceNames['de'] = [
        NS_LQT_THREAD       => 'Thema',
        NS_LQT_THREAD_TALK  => 'Thema_Diskussion',
        NS_LQT_SUMMARY      => 'Themazusammenfassung',
        NS_LQT_SUMMARY_TALK => 'Themazusammenfassung_Diskussion',
-);
+];
 
-$namespaceNames['fi'] = array(
+$namespaceNames['fi'] = [
        NS_LQT_THREAD       => 'Viestiketju',
        NS_LQT_THREAD_TALK  => 'Keskustelu_viestiketjusta',
        NS_LQT_SUMMARY      => 'Yhteenveto',
        NS_LQT_SUMMARY_TALK => 'Keskustelu_yhteenvedosta',
-);
+];
 
-$namespaceNames['hu'] = array(
+$namespaceNames['hu'] = [
        NS_LQT_THREAD => 'Szál',
        NS_LQT_THREAD_TALK => 'Szálvita',
        NS_LQT_SUMMARY => 'Összefoglaló',
        NS_LQT_SUMMARY_TALK => 'Összefoglaló-vita',
-);
+];
 
-$namespaceNames['id'] = array(
+$namespaceNames['id'] = [
        NS_LQT_THREAD       => 'Utas',
        NS_LQT_THREAD_TALK  => 'Pembicaraan_Utas',
        NS_LQT_SUMMARY      => 'Ringkasan',
        NS_LQT_SUMMARY_TALK => 'Pembicaraan_Ringkasan',
-);
+];
 
-$namespaceNames['nl'] = array(
+$namespaceNames['nl'] = [
        NS_LQT_THREAD       => 'Onderwerp',
        NS_LQT_THREAD_TALK  => 'Overleg_onderwerp',
        NS_LQT_SUMMARY      => 'Samenvatting',
        NS_LQT_SUMMARY_TALK => 'Overleg_samenvatting',
-);
+];
 
-$namespaceNames['pt'] = array(
+$namespaceNames['pt'] = [
        NS_LQT_THREAD => 'Tópico',
        NS_LQT_THREAD_TALK => 'Tópico_discussão',
        NS_LQT_SUMMARY => 'Resumo',
        NS_LQT_SUMMARY_TALK => 'Resumo_discussão',
-);
+];
 
-$namespaceNames['sv'] = array(
+$namespaceNames['sv'] = [
        NS_LQT_THREAD => 'Tråd',
        NS_LQT_THREAD_TALK => 'Tråddiskussion',
        NS_LQT_SUMMARY => 'Summering',
        NS_LQT_SUMMARY_TALK => 'Summeringsdiskussion',
-);
+];
 
-$namespaceNames['zh-hans'] = array(
+$namespaceNames['zh-hans'] = [
        NS_LQT_THREAD       => '主题',
        NS_LQT_THREAD_TALK  => '主题讨论',
        NS_LQT_SUMMARY      => '摘要',
        NS_LQT_SUMMARY_TALK => '摘要讨论',
-);
+];
 
-$namespaceNames['zh-hant'] = array(
+$namespaceNames['zh-hant'] = [
        NS_LQT_THREAD       => '主題',
        NS_LQT_THREAD_TALK  => '主題討論',
        NS_LQT_SUMMARY      => '摘要',
        NS_LQT_SUMMARY_TALK => '摘要討論',
-);
+];
diff --git a/migrateDatabase.php b/migrateDatabase.php
index b78f291..a170eda 100644
--- a/migrateDatabase.php
+++ b/migrateDatabase.php
@@ -12,7 +12,7 @@
 $wgTitle = SpecialPage::getTitleFor( 'LiquidThreads' );
 
 // Do database updates
-$threadFieldUpdates = array(
+$threadFieldUpdates = [
        'thread_article_namespace' => 'split-thread_article.sql',
        'thread_article_title' => 'split-thread_article.sql',
        'thread_ancestor' => 'normalise-ancestry.sql',
@@ -26,11 +26,11 @@
        'thread_sortkey' => 'new-sortkey.sql',
        'thread_replies' => 'store_reply_count.sql',
        'thread_article_id' => 'store_article_id.sql',
-);
+];
 
-$threadIndexUpdates = array( 'thread_summary_page' => 'index-summary_page.sql' 
);
+$threadIndexUpdates = [ 'thread_summary_page' => 'index-summary_page.sql' ];
 
-$newTableUpdates = array( 'thread_history' => 'thread_history_table.sql' );
+$newTableUpdates = [ 'thread_history' => 'thread_history_table.sql' ];
 
 foreach ( $threadFieldUpdates as $field => $patch ) {
        if ( !$db->fieldExists( 'thread', $field, 'lqt-update-script' ) ) {
@@ -60,9 +60,9 @@
 
        // Read 500 rows
        $res = $db->select(
-               'thread', '*', array( 'thread_id>' . $db->addQuotes( $upTo ) ),
+               'thread', '*', [ 'thread_id>' . $db->addQuotes( $upTo ) ],
                'lqt-update-script',
-               array( 'LIMIT' => 500, 'FOR UPDATE', 'ORDER BY' => 'thread_id 
asc' )
+               [ 'LIMIT' => 500, 'FOR UPDATE', 'ORDER BY' => 'thread_id asc' ]
        );
 
        $threads = Threads::loadFromResult( $res, $db );
diff --git a/phpcs.xml b/phpcs.xml
index a7db260..1827d24 100644
--- a/phpcs.xml
+++ b/phpcs.xml
@@ -1,8 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <ruleset>
-       <rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
-               <exclude name="Generic.Arrays.DisallowLongArraySyntax.Found"/>
-       </rule>
+       <rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki"/>
        <rule ref="MediaWiki.NamingConventions.ValidGlobalName">
                <properties>
                        <property name="ignoreList" type="array" 
value="$subject,$rootPost,$article" />

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib1f296fa78b67e286a5c80ad651352d17131b8c7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/LiquidThreads
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <[email protected]>
Gerrit-Reviewer: Jforrester <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to