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

Change subject: Replace the Nostalgia extension with the Nostalgia skin
......................................................................


Replace the Nostalgia extension with the Nostalgia skin

Bug: 61256
Change-Id: I149bd81c1b698baee408312a6a21dd618d701b12
---
M wmf-config/CommonSettings.php
1 file changed, 5 insertions(+), 1 deletion(-)

Approvals:
  Chad: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 4fc57c2..bff75af 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -865,7 +865,11 @@
        $wgDefaultUserOptions['highlightbroken'] = 0;
 
        // Nostalgia skin
-       include( "$IP/extensions/Nostalgia/Nostalgia.php" );
+       if ( file_exists( "$IP/skins/Nostalgia/Nostalgia.php" ) ) {
+               require_once "$IP/skins/Nostalgia/Nostalgia.php";
+       } else {
+               include( "$IP/extensions/Nostalgia/Nostalgia.php" );
+       }
 }
 
 $wgUseHashTable = true;

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I149bd81c1b698baee408312a6a21dd618d701b12
Gerrit-PatchSet: 2
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Bartosz DziewoƄski <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to