jenkins-bot has submitted this change and it was merged. Change subject: Sort namespace aliases by id in appendNamespaceAliases for pretty output ......................................................................
Sort namespace aliases by id in appendNamespaceAliases for pretty output Bug: 45382 Change-Id: I8850eac676f219482d380a0c4a9cad1009285c68 --- M includes/api/ApiQuerySiteinfo.php 1 file changed, 2 insertions(+), 0 deletions(-) Approvals: Anomie: Looks good to me, approved jenkins-bot: Verified diff --git a/includes/api/ApiQuerySiteinfo.php b/includes/api/ApiQuerySiteinfo.php index 9abfc78..e14baa6 100644 --- a/includes/api/ApiQuerySiteinfo.php +++ b/includes/api/ApiQuerySiteinfo.php @@ -295,6 +295,8 @@ $data[] = $item; } + sort( $data ); + $this->getResult()->setIndexedTagName( $data, 'ns' ); return $this->getResult()->addValue( 'query', $property, $data ); } -- To view, visit https://gerrit.wikimedia.org/r/79173 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I8850eac676f219482d380a0c4a9cad1009285c68 Gerrit-PatchSet: 6 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Fantasticfears <fantasticfe...@gmail.com> Gerrit-Reviewer: Anomie <bjor...@wikimedia.org> Gerrit-Reviewer: Liangent <liang...@gmail.com> Gerrit-Reviewer: Umherirrender <umherirrender_de...@web.de> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits