Index: branches/CentralNotice-SpecialPage-Integration/CentralNotice.php |
— | — | @@ -4,7 +4,7 @@ |
5 | 5 | /// This guy gets loaded from every page on every wiki, and is heavily cached. |
6 | 6 | /// Its contents are small, and just load up another cached JS page, but this |
7 | 7 | /// allows us to update everything with a single purge. Nice, eh? |
8 | | -$wgNoticeLoader = 'http://192.168.250.130/mediawiki-1.13.2/index.php/Special:NoticeLoader'; |
| 8 | +$wgNoticeLoader = $IP . '/Special:NoticeLoader'; |
9 | 9 | |
10 | 10 | /// Override these per-wiki to pass on via the loader to the text system |
11 | 11 | /// for localization by language and project. |
— | — | @@ -27,7 +27,7 @@ |
28 | 28 | /// URL prefix to the raw-text loader special. |
29 | 29 | /// Project/language and timestamp epoch keys get appended to this |
30 | 30 | /// via the loader stub. |
31 | | -$wgNoticeText = 'http://192.168.250.130/mediawiki-1.13.2/index.php/Special:NoticeText'; |
| 31 | +$wgNoticeText = $IP . '/Special:NoticeText'; |
32 | 32 | |
33 | 33 | /// If true, notice only displays if 'sitenotice=yes' is in the query string |
34 | 34 | $wgNoticeTestMode = false; |