* Changed OutputPage::$mIsArticle flag to be false by default. A lot of actions don...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 27 Jul 2011 13:14:28 +0000 (13:14 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 27 Jul 2011 13:14:28 +0000 (13:14 +0000)
commitba840115260d727abc96aa03dfb581e3fd8dc013
tree62f4859451844d0d733e789dc9120f5b1b0baf1c
parentb1c2025060156e7398533401d83b3c973179c6af
* Changed OutputPage::$mIsArticle flag to be false by default. A lot of actions don't change that flag when they should, since about only action=view should have it to true.
* Put OutputPage::$mIsArticleRelated declaration just below $mIsArticle's one since they are related
* Made DifferenceEngine consistent with action=view, i.e. setting that flag to true when displaying any version of the page, current or not
* Made Skin::getCopyright() always use history_copyright when displaying an old version, regardless to the diff parameter
* Changed some checks from namespace != NS_SPECIAL && action=view to isArticle() so that they don't get executed when e.g. throwing an Exception (or similar things)
includes/Article.php
includes/EditPage.php
includes/OutputPage.php
includes/Skin.php
includes/SkinTemplate.php
includes/diff/DifferenceEngine.php