Index: trunk/extensions/CentralNotice/SpecialBannerLoader.php |
— | — | @@ -56,6 +56,8 @@ |
57 | 57 | * Generate the HTML for the requested banner |
58 | 58 | */ |
59 | 59 | function getHtmlNotice( $bannerName, $standAlone = false ) { |
| 60 | + global $wgStylePath; |
| 61 | + |
60 | 62 | // Make sure the banner exists |
61 | 63 | if ( SpecialNoticeTemplate::templateExists( $bannerName ) ) { |
62 | 64 | $this->bannerName = $bannerName; |
— | — | @@ -64,7 +66,7 @@ |
65 | 67 | $bannerHtml .= <<<EOT |
66 | 68 | <html> |
67 | 69 | <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> |
69 | 71 | </head> |
70 | 72 | <body> |
71 | 73 | EOT; |