* Now requires MediaWiki 1.18 or later.
* Use strict in JavaScript and update with JSHint/JSLint suggestions.
* Deglobalisation.
* Replace deprecated methods, remove pre 1.18 BC code.
* Update docs.
* Break long lines.
* Add FIXME where needed.
Change-Id: If9fe1e314937438227458cb07cda7f734043801f
* ./MultilingualLiquidThreads/LiquidThreads/classes/Thread.php
* ./extensions/LiquidThreads/classes/Thread.php
* ./extensions/MetavidWiki/includes/articlepages/MV_DataPage.php
** MV_DataPage.php: Per r86041 I replaced the second watch-call in MV_DataPage.php with an unwatch call.
* ./extensions/ReplaceText/ReplaceTextJob.php
* Article constructor needs to be called with zero as second parameter
* Run stylize.php over new files
* Add Action::getLang() for consistency with other context accessors
* Fix declaration of FormAction::alterForm(), doesn't need to be passed by reference
* Fix inline use of Credits::getCredits() in SkinTemplate and SkinLegacy
* Actions come in two flavours: the show-a-form-then-do-something-with-the-result (delete, protect, edit, etc) and the just-do-something (watch, rollback, patrol, etc). Create abstract base classes Action and FormlessAction to support these two cases. HTMLForm is an integral part of the form-based structure.
* Look mum, no globals! :D Fully context-based.
* Implement watch/unwatch, credits and delete actions in the new system as proof-of-concept. This also gives the delete frontend a much-needed overhaul.
* Stub out the newly-deprecated functions from Article.php. This already reduces its linecount by about 15%, and there are plenty more actions still to do.
* Centralising actions like this is going to render a lot of hooks type-incompatible. There's simply nowhere you can put the ArticleConfirmDelete hook, for instance, where it can be passed an OutputPage as the second parameter. On the other hand, we can implement new hooks like ActionModifyFormFields and ActionBeforeFormDisplay, which can do much prettier stuff to the forms, like adding extra fields the 'right' way. Update LiquidThreads to use these new hooks where appropriate.