Changed to calls to Article::getContent() to Article::getRawText():
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 9 Jan 2011 11:46:15 +0000 (11:46 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 9 Jan 2011 11:46:15 +0000 (11:46 +0000)
commita0d541474d1e5cd1d36e955c461c49c0e52446b3
tree83c21799d0e667488427dfcacb38e4e8861bd538
parent7de66bd84f79da536e83a27d9650d2bb8b1b671d
Changed to calls to Article::getContent() to Article::getRawText():
- in Article::insertRedirect(): if this will be saved in the redirect table, it should only be checked with the current text (in fact this is never called when viewing an old revision, but just in case someone breaks this)
- in Article::prepareTextForEdit(): as for Article::doEdit() this should be actual page's contents
includes/Article.php