* Add link to Special:Log into MonoBook toolbox
authorAndrew Garrett <werdna@users.mediawiki.org>
Wed, 11 Jul 2007 00:34:38 +0000 (00:34 +0000)
committerAndrew Garrett <werdna@users.mediawiki.org>
Wed, 11 Jul 2007 00:34:38 +0000 (00:34 +0000)
RELEASE-NOTES
includes/SkinTemplate.php
skins/MonoBook.php

index 2df41d8..01d051d 100644 (file)
@@ -131,6 +131,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 9936) Per-edit suppression of preview-on-first edit with "preview=no"
 * Allow showing a one-off preview on first edit with "preview=yes"
 * (bug 9151) Remove timed redirects on "Return to X" pages for accessibility.
+* Add link to Special:Log into MonoBook toolbox
 
 == Bugfixes since 1.10 ==
 
index fcee523..b6f6861 100644 (file)
@@ -839,6 +839,7 @@ class SkinTemplate extends Skin {
                                $nav_urls['upload'] = false;
                }
                $nav_urls['specialpages'] = array( 'href' => self::makeSpecialUrl( 'Specialpages' ) );
+               $nav_urls['log'] = array( 'href' => self::makeSpecialUrl( 'Log' ) );
 
                // default permalink to being off, will override it as required below.
                $nav_urls['permalink'] = false;
index 48304b8..7246791 100644 (file)
@@ -203,7 +203,7 @@ class MonoBookTemplate extends QuickTemplate {
                                        <?php } ?></li><?php
                }
 
-               foreach( array('contributions', 'blockip', 'emailuser', 'upload', 'specialpages') as $special ) {
+               foreach( array('contributions', 'blockip', 'emailuser', 'upload', 'specialpages', 'log') as $special ) {
 
                        if($this->data['nav_urls'][$special]) {
                                ?><li id="t-<?php echo $special ?>"><a href="<?php echo htmlspecialchars($this->data['nav_urls'][$special]['href'])