HomePhabricator

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

Details