r72613 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r72612‎ | r72613 | r72614 >
Date:22:09, 8 September 2010
Author:kaldari
Status:ok
Tags:
Comment:
fixing script call per comment at r72339
Modified paths:
  • /trunk/extensions/CentralNotice/SpecialBannerLoader.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralNotice/SpecialBannerLoader.php
@@ -56,6 +56,8 @@
5757 * Generate the HTML for the requested banner
5858 */
5959 function getHtmlNotice( $bannerName, $standAlone = false ) {
 60+ global $wgStylePath;
 61+
6062 // Make sure the banner exists
6163 if ( SpecialNoticeTemplate::templateExists( $bannerName ) ) {
6264 $this->bannerName = $bannerName;
@@ -64,7 +66,7 @@
6567 $bannerHtml .= <<<EOT
6668 <html>
6769 <head>
68 - <script type="text/javascript" src="http://bits.wikimedia.org/skins-1.5/common/jquery.min.js"></script>
 70+ <script type="text/javascript" src="$wgStylePath/common/jquery.min.js"></script>
6971 </head>
7072 <body>
7173 EOT;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r72339adding support for stand alone banner loadingkaldari00:49, 4 September 2010

Status & tagging log