jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/392866 )
Change subject: API:Siteinfo: Include wgCategoryCollation in Siteinfo response
......................................................................
API:Siteinfo: Include wgCategoryCollation in Siteinfo response
Include the value of $wgCategoryCollation in the siteinfo general array. This
will allow AWB to get this information without needing to scrape the NOC
InitialiseSettings.php.txt file.
Bug: T179795
Change-Id: I76f85c71d2fe0d7a0482fb5eda0458708057e48d
---
M includes/api/ApiQuerySiteinfo.php
1 file changed, 2 insertions(+), 0 deletions(-)
Approvals:
Reedy: Looks good to me, approved
jenkins-bot: Verified
Anomie: Looks good to me, but someone else must approve
diff --git a/includes/api/ApiQuerySiteinfo.php
b/includes/api/ApiQuerySiteinfo.php
index 6b896c9..2e9e69c 100644
--- a/includes/api/ApiQuerySiteinfo.php
+++ b/includes/api/ApiQuerySiteinfo.php
@@ -283,6 +283,8 @@
$data['interwikimagic'] = (bool)$config->get( 'InterwikiMagic'
);
$data['magiclinks'] = $config->get( 'EnableMagicLinks' );
+ $data['categorycollation'] = $config->get( 'CategoryCollation'
);
+
Hooks::run( 'APIQuerySiteInfoGeneralInfo', [ $this, &$data ] );
return $this->getResult()->addValue( 'query', $property, $data
);
--
To view, visit https://gerrit.wikimedia.org/r/392866
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I76f85c71d2fe0d7a0482fb5eda0458708057e48d
Gerrit-PatchSet: 5
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Imarlier <[email protected]>
Gerrit-Reviewer: Anomie <[email protected]>
Gerrit-Reviewer: Imarlier <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits