Siebrand has uploaded a new change for review.

Change subject: Maintenance for CentralNotice.
......................................................................

Maintenance for CentralNotice.

* Replace deprecated methods.
* Use context instead of global methods where available.
* Remove unneeded local variable assignments.
* Remove unused local variables and globals.
* Escaped output in a few obvious cases where it wasn't yet escaped.
* Update documentation and type hints.
* Remove superfluous newlines.
* Remove unneeded MEDIAWIKI constant checks.

Didn't address deglobalisation in this patch set. It's big already.

Change-Id: I897d1cc426dc756bc29886423d3da85a71b3b8f0
---
M CentralNoticeBannerLogPager.php
M CentralNoticeCampaignLogPager.php
M CentralNoticePageLogPager.php
M CentralNoticePager.php
M TemplatePager.php
M api/ApiCentralNoticeAllocations.php
M modules/ext.centralNotice.bannerController/bannerController.js
M special/SpecialBannerAllocation.php
M special/SpecialBannerListLoader.php
M special/SpecialBannerLoader.php
M special/SpecialCentralNotice.php
M special/SpecialCentralNoticeLogs.php
M special/SpecialNoticeTemplate.php
M tests/CentralNoticeTest.php
14 files changed, 485 insertions(+), 422 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralNotice 
refs/changes/23/22423/1
--
To view, visit https://gerrit.wikimedia.org/r/22423
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I897d1cc426dc756bc29886423d3da85a71b3b8f0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralNotice
Gerrit-Branch: master
Gerrit-Owner: Siebrand <[email protected]>

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

Reply via email to