Fixes for r88113 and some realted changes:
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 30 Jun 2011 15:26:26 +0000 (15:26 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 30 Jun 2011 15:26:26 +0000 (15:26 +0000)
commit931bdf8d2d29b925e3e42ec9b9940a83eae5413f
treee4645211120eec6972084b9137c3fecc38a76d7d
parent9b9dc2fdfdf2ec6d749bb8e73da554c8f8db853e
Fixes for r88113 and some realted changes:
* Modified <s>Article::editUpdates()</s> WikiPage::doEditUpdates() arguments to take a Revision object, an User object and options (much more readable that those boolean parameters)
* Call isCountable() on the old content and pass it to WikiPage::doEditUpdates() with the 'oldcountable' option so that it really reflects the old state of the page
* Updated all calls (no one in extensions) and removed the wrapper WikiPage::editUpdates()
* Call onArticleEdit() and onArticleCreate() (the one that is of course) from doEditUpdates()
* Removed $wgTitle hack from Import.php
includes/Import.php
includes/WikiPage.php
includes/specials/SpecialUndelete.php