* Create all items in $nav_urls at the beginning so that we don't need to bother...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 1 Nov 2011 16:09:27 +0000 (16:09 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 1 Nov 2011 16:09:27 +0000 (16:09 +0000)
commit347636fa0a5b58fc1a010f5ef1b44da36126c1a1
tree5ff9f15af29116b34d65cf05d6c8aad55cac7c4d
parent1323554417ed82c892aed13198b58b188f81284a
* Create all items in $nav_urls at the beginning so that we don't need to bother if they are set or not after that
* Don't show 'whatlinkshere', 'recentchangeslinked' and 'trackbacklink' items if OutputPage::isArticleRelated() is false
* Simplify the code to check if we show show user related items since the actual code is just to check if we have an User object
* Moved the showEmailUser() check to the same location as other related user checks
* Made Skin::showEmailUser() accept an User object instead of doing object -> int -> object conversion
* Check if the items are present in BaseTemplate::getToolbox() instead of 'notspecialpage' and removed some empty() or isset() checks since all of these items are now set
includes/Skin.php
includes/SkinTemplate.php