Update CheckUser for MediaWiki 1.27

Authored by Anomie on May 25 2016, 5:35 PM.

Description

Update CheckUser for MediaWiki 1.27

[[mw:Extension:CheckUser]] states that master might require a master
version of MediaWiki, so let's get rid of some old stuff.

  • Replace CheckUser.php with the extension registration shim.
  • Replace AuthPluginAutoCreate and AddNewAccount hooks with LocalUserCreated.
  • Use CentralIdLookup instead of AuthPlugin to decide if the user is centralized.
  • Remove deprecated API methods and checks for constants.

Bug: T110287
Change-Id: I46fbdbcd8e993fa7d1a28049ea72d7d31ea9d699
(cherry-picked from d2bf615a46cbe27de60280adead5d2847dcbe7cb)

Details

Committed
Kunal Mehta <legoktm@member.fsf.org>May 26 2016, 8:05 PM
Parents
rECHU7412a8769573: Creating new REL1_27 branch
Branches
Unknown
Tags
Unknown
References
REL1_27, refs/changes/35/291035/1
ChangeId
I46fbdbcd8e993fa7d1a28049ea72d7d31ea9d699
Kunal Mehta <legoktm@member.fsf.org> committed rECHUfd5c25f5b1ad: Update CheckUser for MediaWiki 1.27 (authored by Anomie).May 26 2016, 8:05 PM