jenkins-bot has submitted this change and it was merged.

Change subject: Show a tip at the end of the installer to prompt about 
extensions
......................................................................


Show a tip at the end of the installer to prompt about extensions

Almost every wiki install is going to want one or more extensions to
enhance their users' experience. Give the wiki admin as much info
as possible so they can find extensions that may be useful to them.

This is shown as an info box on the final page of installation.

Bug: 43504
Change-Id: Iba5d53a485d7b0b04cb9104d7d964fc01a1c1cae
---
M includes/installer/Installer.i18n.php
M includes/installer/WebInstallerPage.php
2 files changed, 7 insertions(+), 0 deletions(-)

Approvals:
  Demon: Looks good to me, approved
  Timboven: Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/includes/installer/Installer.i18n.php 
b/includes/installer/Installer.i18n.php
index 61886b2..6c1e54d 100644
--- a/includes/installer/Installer.i18n.php
+++ b/includes/installer/Installer.i18n.php
@@ -552,6 +552,9 @@
        'config-download-localsettings' => 'Download 
<code>LocalSettings.php</code>',
        'config-help' => 'help',
        'config-nofile'     => 'File "$1" could not be found. Has it been 
deleted?',
+       'config-extension-link' => 'Did you know that your wiki supports 
[//www.mediawiki.org/wiki/Manual:Extensions extensions]?
+
+You can browse [//www.mediawiki.org/wiki/Category:Extensions_by_category 
extensions by category] or the [//www.mediawiki.org/wiki/Extension_Matrix 
Extension Matrix] to see the full list of extensions.',
        'mainpagetext'      => "'''MediaWiki has been successfully 
installed.'''",
        'mainpagedocfooter' => "Consult the 
[//meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using 
the wiki software.
 
@@ -972,6 +975,7 @@
 {{Identical|Help}}',
        'config-nofile' => 'Used as failure message. Parameters:
 * $1 - filename',
+       'config-extension-link' => 'Shown on last page of installation to 
inform about possible extensions.',
        '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.',
diff --git a/includes/installer/WebInstallerPage.php 
b/includes/installer/WebInstallerPage.php
index b640fb8..b4fd723 100644
--- a/includes/installer/WebInstallerPage.php
+++ b/includes/installer/WebInstallerPage.php
@@ -1265,6 +1265,9 @@
                                )->plain(), 'tick-32.png'
                        )
                );
+               $this->addHTML( $this->parent->getInfoBox(
+                       wfMessage( 'config-extension-link' )->text() ) );
+
                $this->parent->restoreLinkPopups();
                $this->endForm( false, false );
        }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iba5d53a485d7b0b04cb9104d7d964fc01a1c1cae
Gerrit-PatchSet: 19
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Ganeshaditya1 <[email protected]>
Gerrit-Reviewer: Aklapper <[email protected]>
Gerrit-Reviewer: Demon <[email protected]>
Gerrit-Reviewer: Ganeshaditya1 <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: Krinkle <[email protected]>
Gerrit-Reviewer: MaxSem <[email protected]>
Gerrit-Reviewer: Peachey88 <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: Sumanah <[email protected]>
Gerrit-Reviewer: Timboven <[email protected]>
Gerrit-Reviewer: Waldir <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to