* Moved post-deletion code from WikiPage::doDeleteArticle() to WikiPage::doDeleteUpda...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 30 Dec 2011 15:54:11 +0000 (15:54 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 30 Dec 2011 15:54:11 +0000 (15:54 +0000)
commit40addf3204629cad7df8132046a866d5d6307c40
treee9e4fe6e084f8a9535dfa71d1a87465deaf1da9b
parent276a04e37aa35e8aa3025d2d753f549e51ab4a35
* Moved post-deletion code from WikiPage::doDeleteArticle() to WikiPage::doDeleteUpdates() so that it can be shared with page move
* Use WikiPage::doEditUpdates() and WikiPage::onArticleDelete() to do updates instead of reimplementing the whole thing in Title::moveTo(); avoids some bugs since the implementation differs from the one from WikiPage (notably the page and article count). This adds some more cache clearing, but they are needed depending on parameters (e.g. if the redirect is not created).
includes/Title.php
includes/WikiPage.php