Ganeshaditya1 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/62338


Change subject: Bug: 43680 added the MediaWiki logo as the default logo.
......................................................................

Bug: 43680 added the MediaWiki logo as the default logo.

Since the current default logo has a english message and provides little
scope for internationalization. This has been replaced with the default
MediaWiki logo.

In the options screen of the installer the administrator is notified that
if he chooses not to upload any logo the default will be used. The section
of the manual which helps the user change this logo later is also
provided.

Change-Id: I0af37086a5f9a934856867f0911209ba864963b5
---
M includes/Setup.php
M includes/installer/Installer.i18n.php
M includes/installer/WebInstallerPage.php
3 files changed, 7 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/38/62338/1

diff --git a/includes/Setup.php b/includes/Setup.php
index 08ab143..c68acca 100644
--- a/includes/Setup.php
+++ b/includes/Setup.php
@@ -72,7 +72,7 @@
 if ( $wgStyleDirectory === false ) $wgStyleDirectory = "$IP/skins";
 if ( $wgExtensionAssetsPath === false ) $wgExtensionAssetsPath = 
"$wgScriptPath/extensions";
 
-if ( $wgLogo === false ) $wgLogo = "$wgStylePath/common/images/wiki.png";
+if ( $wgLogo === false ) $wgLogo = "$wgStylePath/common/images/mediawiki.png";
 
 if ( $wgUploadPath === false ) $wgUploadPath = "$wgScriptPath/images";
 if ( $wgUploadDirectory === false ) $wgUploadDirectory = "$IP/images";
diff --git a/includes/installer/Installer.i18n.php 
b/includes/installer/Installer.i18n.php
index 9119312..4017017 100644
--- a/includes/installer/Installer.i18n.php
+++ b/includes/installer/Installer.i18n.php
@@ -558,6 +558,9 @@
 * [//www.mediawiki.org/wiki/Manual:FAQ MediaWiki FAQ]
 * [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki 
release mailing list]
 * [//www.mediawiki.org/wiki/Localisation#Translation_resources Localise 
MediaWiki for your language]",
+'config-change-logo' => "You can change the logo by refering to the 
[//www.mediawiki.org/wiki/Manual:FAQ#How_do_I_change_the_logo.3F manual]. 
+
+Note that the default Mediawiki logo will be used if the logo is not changed.",
 );
 
 /** Message documentation (Message documentation)
@@ -969,6 +972,7 @@
        'mainpagetext' => 'Along with {{msg-mw|mainpagedocfooter}}, the text 
you will see on the Main Page when your wiki is installed.',
        'mainpagedocfooter' => 'Along with {{msg-mw|mainpagetext}}, the text 
you will see on the Main Page when your wiki is installed.
 This might be a good place to put information about 
<nowiki>{{GRAMMAR:}}</nowiki>. See [[{{NAMESPACE}}:{{BASEPAGENAME}}/fi]] for an 
example. For languages having grammatical distinctions and not having an 
appropriate <nowiki>{{GRAMMAR:}}</nowiki> software available, a suggestion to 
check and possibly amend the messages having <nowiki>{{SITENAME}}</nowiki> may 
be valuable. See [[{{NAMESPACE}}:{{BASEPAGENAME}}/ksh]] for an example.',
+'config-change-logo' => 'Shown on the last page of installation to notify that 
the default mediawiki logo will be used unless a new logo is uploaded. Also a 
link is provided which informs the user on how to change the logo.',
 );
 
 /** Afrikaans (Afrikaans)
diff --git a/includes/installer/WebInstallerPage.php 
b/includes/installer/WebInstallerPage.php
index 3f3e50a..85c199f 100644
--- a/includes/installer/WebInstallerPage.php
+++ b/includes/installer/WebInstallerPage.php
@@ -935,8 +935,8 @@
                );
                // If we're using the default, let the user set it relative to 
$wgScriptPath
                $curLogo = $this->getVar( 'wgLogo' );
-               $logoString = ( $curLogo == 
"/wiki/skins/common/images/wiki.png" ) ?
-                       '$wgStylePath/common/images/wiki.png' : $curLogo;
+               $logoString = ( $curLogo == 
"/wiki/skins/common/images/mediawiki.png" ) ?
+                       '$wgStylePath/common/images/mediawiki.png' : $curLogo;
 
                $uploadwrapperStyle = $this->getVar( 'wgEnableUploads' ) ? '' : 
'display: none';
                $this->addHTML(

-- 
To view, visit https://gerrit.wikimedia.org/r/62338
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0af37086a5f9a934856867f0911209ba864963b5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Ganeshaditya1 <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to