r43100 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r43099‎ | r43100 | r43101 >
Date:23:05, 2 November 2008
Author:siebrand
Status:old
Tags:
Comment:
(bug 15903) Add upload link to Nostalgia skin. Patch by Nikolaos S. Karastathis.
Modified paths:
  • /trunk/phase3/CREDITS (modified) (history)
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/skins/Nostalgia.php (modified) (history)

Diff [purge]

Index: trunk/phase3/skins/Nostalgia.php
@@ -53,7 +53,7 @@
5454 }
5555
5656 function topLinks() {
57 - global $wgOut, $wgUser;
 57+ global $wgOut, $wgUser, $wgEnableUploads;
5858 $sep = " |\n";
5959
6060 $s = $this->mainPageLink() . $sep
@@ -71,6 +71,9 @@
7272 if ( $wgUser->isAnon() ) {
7373 $s .= $sep . $this->specialLink( "userlogin" );
7474 } else {
 75+ if ( $wgEnableUploads ) {
 76+ $s .= $sep . $this->specialLink( "upload" );
 77+ }
7578 $s .= $sep . $this->specialLink( "userlogout" );
7679 }
7780
Index: trunk/phase3/CREDITS
@@ -58,6 +58,7 @@
5959 * Mormegil
6060 * Nathaniel Herman
6161 * Nathan Larson
 62+* Nikolaos S. Karastathis
6263 * Paul Copperman
6364 * RememberTheDot
6465 * ST47
Index: trunk/phase3/RELEASE-NOTES
@@ -189,6 +189,7 @@
190190 * (bug 15125) Add Public Domain to default options when installing. Patch by Nathan Larson.
191191 * Set a special temporary directory for ImageMagick with $wgImageMagickTempDir
192192 * (bug 16113) Show/hide for redirects in Special:NewPages
 193+* (bug 15903) Upload link was added to Nostalgia skin
193194
194195 === Bug fixes in 1.14 ===
195196

Status & tagging log