HomePhabricator

Updated mediawiki/extensions Project: mediawiki/extensions/WhoIsWatching…

Description

Updated mediawiki/extensions Project: mediawiki/extensions/WhoIsWatching ed373ffe8871dc5904f7dcc17b8253928383bd37 null Rework outdated code of WhoIsWatching extension.

  • Use autoload instead of require()'s
  • Use edit token instead of constant sha1('whoiswatching')
  • Use Title::newFromText() instead of parsing namespace using $wgCanonicalNamespaceNames
  • Use MW $db->select() instead of literal SQL
  • Really check $whoiswatching_allowaddingpeople when actually adding people
  • Do redirect after adding watchers

Change-Id: Ia203548b96d47a07bc6c692dc825e2f1da4a59ad

Details

Provenance
VitaliyFilippovAuthored on
Gerrit Code ReviewCommitted on Dec 13 2012, 2:56 PM
Parents
rMEXTaa8b2074b779: Updated mediawiki/extensions Project: mediawiki/extensions/Translate…
Branches
Unknown
Tags
Unknown
ChangeId
Ia203548b96d47a07bc6c692dc825e2f1da4a59ad