Index: branches/REL1_18/phase3/maintenance/archives/patch-user_email_index.sql |
— | — | @@ -1 +1 @@ |
2 | | - ALTER TABLE /*$wgDBprefix*/user ADD INDEX ( `user_email`(50), `user_name` ); |
\ No newline at end of file |
| 2 | +CREATE INDEX /*i*/user_email ON /*_*/user (user_email(50),user_name); |
\ No newline at end of file |
Property changes on: branches/REL1_18/phase3/maintenance/archives/patch-user_email_index.sql |
___________________________________________________________________ |
Added: svn:mergeinfo |
3 | 3 | Merged /branches/sqlite/maintenance/archives/patch-user_email_index.sql:r58211-58321 |
4 | 4 | Merged /trunk/phase3/maintenance/archives/patch-user_email_index.sql:r87627-87628,87630,87998,88134,88231-88232,88250,88513,89099,89108,90125,90602,90612,90618,90626,90630-90631,90637,90655,90657,90666,90812 |
5 | 5 | Merged /branches/iwtransclusion/phase3/maintenance/archives/patch-user_email_index.sql:r69540 |
6 | 6 | Merged /branches/new-installer/phase3/maintenance/archives/patch-user_email_index.sql:r43664-66004 |
7 | 7 | Merged /branches/REL1_15/phase3/maintenance/archives/patch-user_email_index.sql:r51646 |
Index: branches/REL1_18/phase3/maintenance/upgrade1_5.php |
— | — | @@ -1324,4 +1324,4 @@ |
1325 | 1325 | } |
1326 | 1326 | |
1327 | 1327 | $maintClass = 'FiveUpgrade'; |
1328 | | -require( RUN_MAINTENANCE_IF_MAIN ); |
| 1328 | +require_once( RUN_MAINTENANCE_IF_MAIN ); |
Property changes on: branches/REL1_18/phase3/maintenance/upgrade1_5.php |
___________________________________________________________________ |
Added: svn:mergeinfo |
1329 | 1329 | Merged /branches/new-installer/phase3/maintenance/upgrade1_5.php:r43664-66004 |
1330 | 1330 | Merged /branches/REL1_15/phase3/maintenance/upgrade1_5.php:r51646 |
1331 | 1331 | Merged /branches/REL1_17/phase3/maintenance/upgrade1_5.php:r81445,81448 |
1332 | 1332 | Merged /branches/sqlite/maintenance/upgrade1_5.php:r58211-58321 |
1333 | 1333 | Merged /trunk/phase3/maintenance/upgrade1_5.php:r87586,87627-87628,87630,87632,87636,87640,87644,87840,87998,88085,88118,88124,88134,88231-88232,88250,88492,88498,88513,88750,89099,89108,90602,90612,90618,90626,90630-90631,90637,90655,90657,90666,90812,90835 |
Index: branches/REL1_18/phase3/maintenance/preprocessDump.php |
— | — | @@ -24,7 +24,7 @@ |
25 | 25 | * @file |
26 | 26 | * @ingroup Maintenance |
27 | 27 | */ |
28 | | - |
| 28 | + |
29 | 29 | require_once( dirname( __FILE__ ) . '/Maintenance.php' ); |
30 | 30 | |
31 | 31 | class PreprocessDump extends Maintenance { |
— | — | @@ -40,7 +40,7 @@ |
41 | 41 | global $wgParser; |
42 | 42 | return $wgParser->getStripList(); |
43 | 43 | } |
44 | | - |
| 44 | + |
45 | 45 | public function __construct() { |
46 | 46 | parent::__construct(); |
47 | 47 | $this->saveFailed = false; |
— | — | @@ -83,7 +83,7 @@ |
84 | 84 | $wgPreprocessorCacheThreshold = false; |
85 | 85 | $this->saveFailed = $this->getOption('save-failed'); |
86 | 86 | } |
87 | | - |
| 87 | + |
88 | 88 | if ( $this->hasOption( 'preprocessor' ) ) { |
89 | 89 | $name = $this->getOption( 'preprocessor' ); |
90 | 90 | } elseif ( isset( $wgParserConf['preprocessorClass'] ) ) { |
— | — | @@ -129,7 +129,7 @@ |
130 | 130 | # It is only available since 5.2.0 (since 5.2.1 if you haven't compiled with --enable-memory-limit) |
131 | 131 | $this->error( "Memory peak usage of " . memory_get_peak_usage() . " bytes\n" ); |
132 | 132 | } |
133 | | - |
| 133 | + |
134 | 134 | /** |
135 | 135 | * Callback function for each revision, preprocessToObj() |
136 | 136 | * @param $rev Revision |
Property changes on: branches/REL1_18/phase3/maintenance/preprocessDump.php |
___________________________________________________________________ |
Added: svn:mergeinfo |
137 | 137 | Merged /branches/REL1_15/phase3/maintenance/preprocessDump.php:r51646 |
138 | 138 | Merged /branches/REL1_17/phase3/maintenance/preprocessDump.php:r81445,81448 |
139 | 139 | Merged /branches/sqlite/maintenance/preprocessDump.php:r58211-58321 |
140 | 140 | Merged /trunk/phase3/maintenance/preprocessDump.php:r87586,87627-87628,87630,87632,87636,87640,87644,87840,87998,88085,88118,88124,88134,88231-88232,88250,88492,88498,88513,88750,89099,89108,90602,90612,90618,90626,90630-90631,90637,90655,90657,90666,90812,90835 |
141 | 141 | Merged /branches/new-installer/phase3/maintenance/preprocessDump.php:r43664-66004 |
Index: branches/REL1_18/phase3/maintenance/rebuildImages.php |
— | — | @@ -219,4 +219,4 @@ |
220 | 220 | } |
221 | 221 | |
222 | 222 | $maintClass = 'ImageBuilder'; |
223 | | -require( RUN_MAINTENANCE_IF_MAIN ); |
| 223 | +require_once( RUN_MAINTENANCE_IF_MAIN ); |
Property changes on: branches/REL1_18/phase3/maintenance/rebuildImages.php |
___________________________________________________________________ |
Added: svn:mergeinfo |
224 | 224 | Merged /branches/new-installer/phase3/maintenance/rebuildImages.php:r43664-66004 |
225 | 225 | Merged /branches/REL1_15/phase3/maintenance/rebuildImages.php:r51646 |
226 | 226 | Merged /branches/REL1_17/phase3/maintenance/rebuildImages.php:r81445,81448 |
227 | 227 | Merged /branches/sqlite/maintenance/rebuildImages.php:r58211-58321 |
228 | 228 | Merged /trunk/phase3/maintenance/rebuildImages.php:r87586,87627-87628,87630,87632,87636,87640,87644,87840,87998,88085,88118,88124,88134,88231-88232,88250,88492,88498,88513,88750,89099,89108,90602,90612,90618,90626,90630-90631,90637,90655,90657,90666,90812,90835 |
Property changes on: branches/REL1_18/phase3/maintenance/compareParsers.php |
___________________________________________________________________ |
Added: svn:mergeinfo |
229 | 229 | Merged /branches/REL1_17/phase3/maintenance/compareParsers.php:r81445,81448 |
230 | 230 | Merged /branches/sqlite/maintenance/compareParsers.php:r58211-58321 |
231 | 231 | Merged /trunk/phase3/maintenance/compareParsers.php:r87586,87627-87628,87630,87632,87636,87640,87644,87840,87998,88085,88118,88124,88134,88231-88232,88250,88492,88498,88513,88750,89099,89108,90602,90612,90618,90626,90630-90631,90637,90655,90657,90666,90812,90835 |
232 | 232 | Merged /branches/new-installer/phase3/maintenance/compareParsers.php:r43664-66004 |
233 | 233 | Merged /branches/REL1_15/phase3/maintenance/compareParsers.php:r51646 |
Index: branches/REL1_18/phase3/includes/Article.php |
— | — | @@ -45,7 +45,7 @@ |
46 | 46 | var $mRedirectTarget = null; |
47 | 47 | |
48 | 48 | /** |
49 | | - * @var Title |
| 49 | + * @var mixed: boolean false or URL string |
50 | 50 | */ |
51 | 51 | var $mRedirectUrl = false; // !< |
52 | 52 | var $mRevIdFetched = 0; // !< |
Property changes on: branches/REL1_18/phase3/includes/Article.php |
___________________________________________________________________ |
Added: svn:mergeinfo |
53 | 53 | Merged /branches/sqlite/includes/Article.php:r58211-58321 |
54 | 54 | Merged /trunk/phase3/includes/Article.php:r87586,87627-87628,87630,87840,87998,88085,88118,88124,88134,88231-88232,88250,88492,88498,88513,89099,89108,90087,90602,90612,90618,90626,90630-90631,90637,90655,90657,90666,90812 |
55 | 55 | Merged /branches/new-installer/phase3/includes/Article.php:r43664-66004 |
56 | 56 | Merged /branches/wmf-deployment/includes/Article.php:r53381 |
57 | 57 | Merged /branches/REL1_15/phase3/includes/Article.php:r51646 |
Index: branches/REL1_18/phase3/includes/OutputPage.php |
— | — | @@ -2661,7 +2661,6 @@ |
2662 | 2662 | 'wgUserGroups' => $this->getUser()->getEffectiveGroups(), |
2663 | 2663 | 'wgCategories' => $this->getCategories(), |
2664 | 2664 | 'wgBreakFrames' => $this->getFrameOptions() == 'DENY', |
2665 | | - 'wgIsMainPage' => $title->isMainPage(), |
2666 | 2665 | ); |
2667 | 2666 | if ( $wgContLang->hasVariants() ) { |
2668 | 2667 | $vars['wgUserVariant'] = $wgContLang->getPreferredVariant(); |
— | — | @@ -2672,6 +2671,9 @@ |
2673 | 2672 | if ( $wgUseAjax && $wgEnableMWSuggest && !$this->getUser()->getOption( 'disablesuggest', false ) ) { |
2674 | 2673 | $vars['wgSearchNamespaces'] = SearchEngine::userNamespaces( $this->getUser() ); |
2675 | 2674 | } |
| 2675 | + if ( $title->isMainPage() ) { |
| 2676 | + $vars['wgIsMainPage'] = true; |
| 2677 | + } |
2676 | 2678 | |
2677 | 2679 | // Allow extensions to add their custom variables to the global JS variables |
2678 | 2680 | wfRunHooks( 'MakeGlobalVariablesScript', array( &$vars ) ); |
Property changes on: branches/REL1_18/phase3/includes/OutputPage.php |
___________________________________________________________________ |
Modified: svn:mergeinfo |
2679 | 2681 | Merged /trunk/phase3/includes/OutputPage.php:r90099,90102 |
Index: branches/REL1_18/phase3/includes/installer/Installer.php |
— | — | @@ -1219,7 +1219,6 @@ |
1220 | 1220 | global $IP; |
1221 | 1221 | $exts = $this->getVar( '_Extensions' ); |
1222 | 1222 | $IP = $this->getVar( 'IP' ); |
1223 | | - $path = $IP . '/extensions'; |
1224 | 1223 | |
1225 | 1224 | /** |
1226 | 1225 | * We need to include DefaultSettings before including extensions to avoid |
— | — | @@ -1235,7 +1234,7 @@ |
1236 | 1235 | require( "$IP/includes/DefaultSettings.php" ); |
1237 | 1236 | |
1238 | 1237 | foreach( $exts as $e ) { |
1239 | | - require_once( "$path/$e/$e.php" ); |
| 1238 | + require_once( "$IP/extensions/$e/$e.php" ); |
1240 | 1239 | } |
1241 | 1240 | |
1242 | 1241 | $hooksWeWant = isset( $wgHooks['LoadExtensionSchemaUpdates'] ) ? |
Property changes on: branches/REL1_18/phase3/includes/installer/Installer.php |
___________________________________________________________________ |
Added: svn:mergeinfo |
1243 | 1242 | Merged /branches/new-installer/phase3/includes/installer/Installer.php:r43664-66004 |
1244 | 1243 | Merged /branches/wmf-deployment/includes/installer/Installer.php:r53381 |
1245 | 1244 | Merged /branches/REL1_15/phase3/includes/installer/Installer.php:r51646 |
1246 | 1245 | Merged /branches/sqlite/includes/installer/Installer.php:r58211-58321 |
1247 | 1246 | Merged /trunk/phase3/includes/installer/Installer.php:r87586,87627-87628,87630,87706,87840,87998,88085,88118,88124,88134,88231-88232,88250,88492,88498,88513,88658,89099,89108,89707-89708,90602,90612,90618,90626,90630-90631,90637,90655,90657,90666,90812 |
Index: branches/REL1_18/phase3/includes/installer/SqliteUpdater.php |
— | — | @@ -52,6 +52,9 @@ |
53 | 53 | array( 'doCollationUpdate' ), |
54 | 54 | array( 'addTable', 'msg_resource', 'patch-msg_resource.sql' ), |
55 | 55 | array( 'addTable', 'module_deps', 'patch-module_deps.sql' ), |
| 56 | + |
| 57 | + // 1.18 |
| 58 | + array( 'addIndex', 'user', 'user_email', 'patch-user_email_index.sql' ), |
56 | 59 | ); |
57 | 60 | } |
58 | 61 | |
Property changes on: branches/REL1_18/phase3/includes/installer/SqliteUpdater.php |
___________________________________________________________________ |
Added: svn:mergeinfo |
59 | 62 | Merged /branches/sqlite/includes/installer/SqliteUpdater.php:r58211-58321 |
60 | 63 | Merged /trunk/phase3/includes/installer/SqliteUpdater.php:r87586,87627-87628,87630,87706,87840,87998,88085,88118,88124,88134,88231-88232,88250,88492,88498,88513,88658,89099,89108,90125,90602,90612,90618,90626,90630-90631,90637,90655,90657,90666,90812 |
61 | 64 | Merged /branches/new-installer/phase3/includes/installer/SqliteUpdater.php:r43664-66004 |
62 | 65 | Merged /branches/wmf-deployment/includes/installer/SqliteUpdater.php:r53381 |
63 | 66 | Merged /branches/REL1_15/phase3/includes/installer/SqliteUpdater.php:r51646 |
Index: branches/REL1_18/phase3/includes/BacklinkCache.php |
— | — | @@ -253,7 +253,7 @@ |
254 | 254 | |
255 | 255 | /** |
256 | 256 | * Partition the backlinks into batches. |
257 | | - * Returns an array giving the start and end of each range. The firsti |
| 257 | + * Returns an array giving the start and end of each range. The first |
258 | 258 | * batch has a start of false, and the last batch has an end of false. |
259 | 259 | * |
260 | 260 | * @param $table String: the links table name |
— | — | @@ -262,7 +262,7 @@ |
263 | 263 | */ |
264 | 264 | public function partition( $table, $batchSize ) { |
265 | 265 | |
266 | | - // 1) try this per process cache first |
| 266 | + // 1) try partition cache ... |
267 | 267 | |
268 | 268 | if ( isset( $this->partitionCache[$table][$batchSize] ) ) { |
269 | 269 | wfDebug( __METHOD__ . ": got from partition cache\n" ); |
— | — | @@ -272,7 +272,7 @@ |
273 | 273 | $this->partitionCache[$table][$batchSize] = false; |
274 | 274 | $cacheEntry =& $this->partitionCache[$table][$batchSize]; |
275 | 275 | |
276 | | - // 2) try full result cache |
| 276 | + // 2) ... then try full result cache ... |
277 | 277 | |
278 | 278 | if ( isset( $this->fullResultCache[$table] ) ) { |
279 | 279 | $cacheEntry = $this->partitionResult( $this->fullResultCache[$table], $batchSize ); |
Property changes on: branches/REL1_18/phase3/includes/BacklinkCache.php |
___________________________________________________________________ |
Added: svn:mergeinfo |
280 | 280 | Merged /branches/sqlite/includes/BacklinkCache.php:r58211-58321 |
281 | 281 | Merged /trunk/phase3/includes/BacklinkCache.php:r87586,87627-87628,87630,87840,87998,88085,88118,88124,88134,88231-88232,88250,88492,88498,88513,89099,89108,90602,90612,90618,90626,90630-90631,90637,90655,90657,90666,90812,90826 |
282 | 282 | Merged /branches/new-installer/phase3/includes/BacklinkCache.php:r43664-66004 |
283 | 283 | Merged /branches/wmf-deployment/includes/BacklinkCache.php:r53381 |
284 | 284 | Merged /branches/REL1_15/phase3/includes/BacklinkCache.php:r51646 |
Index: branches/REL1_18/phase3/languages/Names.php |
— | — | @@ -249,7 +249,7 @@ |
250 | 250 | 'oc' => 'Occitan', # Occitan |
251 | 251 | 'om' => 'Oromoo', # Oromo |
252 | 252 | 'or' => 'ଓଡ଼ିଆ', # Oriya |
253 | | - 'os' => 'Иронау', # Ossetic |
| 253 | + 'os' => 'Ирон', # Ossetic -- fixed per bug 29091 |
254 | 254 | 'pa' => 'ਪੰਜਾਬੀ', # Eastern Punjabi (Gurmukhi script) (pan) |
255 | 255 | 'pag' => 'Pangasinan', # Pangasinan |
256 | 256 | 'pam' => 'Kapampangan', # Pampanga |
Property changes on: branches/REL1_18/phase3/languages/Names.php |
___________________________________________________________________ |
Added: svn:mergeinfo |
257 | 257 | Merged /branches/REL1_17/phase3/languages/Names.php:r81445,81448 |
258 | 258 | Merged /branches/nikola/phase3/languages/Names.php:r85224,85239,85308 |
259 | 259 | Merged /branches/sqlite/languages/Names.php:r58211-58321 |
260 | 260 | Merged /trunk/phase3/languages/Names.php:r87627-87628,87630,87632,87636,87640,87644,87998,88134,88231-88232,88250,88513,89099,89108,90217,90602,90612,90618,90626,90630-90631,90637,90655,90657,90666,90812 |
261 | 261 | Merged /branches/new-installer/phase3/languages/Names.php:r43664-66004 |
262 | 262 | Merged /branches/REL1_15/phase3/languages/Names.php:r51646 |
Index: branches/REL1_18/phase3/resources/Resources.php |
— | — | @@ -17,45 +17,45 @@ |
18 | 18 | 'styles' => array( 'vector/screen.css' => array( 'media' => 'screen' ) ), |
19 | 19 | 'scripts' => 'vector/vector.js', |
20 | 20 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
21 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 21 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
22 | 22 | ), |
23 | 23 | 'skins.monobook' => array( |
24 | 24 | 'styles' => array( |
25 | 25 | 'monobook/main.css' => array( 'media' => 'screen' ), |
26 | 26 | ), |
27 | 27 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
28 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 28 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
29 | 29 | ), |
30 | 30 | 'skins.simple' => array( |
31 | 31 | 'styles' => array( 'simple/main.css' => array( 'media' => 'screen' ) ), |
32 | 32 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
33 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 33 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
34 | 34 | ), |
35 | 35 | 'skins.chick' => array( |
36 | 36 | 'styles' => array( 'chick/main.css' => array( 'media' => 'screen,handheld' ) ), |
37 | 37 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
38 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 38 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
39 | 39 | ), |
40 | 40 | 'skins.modern' => array( |
41 | 41 | 'styles' => array( 'modern/main.css' => array( 'media' => 'screen' ), |
42 | 42 | 'modern/print.css' => array( 'media' => 'print' ) ), |
43 | 43 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
44 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 44 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
45 | 45 | ), |
46 | 46 | 'skins.cologneblue' => array( |
47 | 47 | 'styles' => array( 'common/cologneblue.css' => array( 'media' => 'screen' ) ), |
48 | 48 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
49 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 49 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
50 | 50 | ), |
51 | 51 | 'skins.nostalgia' => array( |
52 | 52 | 'styles' => array( 'common/nostalgia.css' => array( 'media' => 'screen' ) ), |
53 | 53 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
54 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 54 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
55 | 55 | ), |
56 | 56 | 'skins.standard' => array( |
57 | 57 | 'styles' => array( 'common/wikistandard.css' => array( 'media' => 'screen' ) ), |
58 | 58 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
59 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 59 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
60 | 60 | ), |
61 | 61 | |
62 | 62 | /* jQuery */ |
— | — | @@ -535,7 +535,7 @@ |
536 | 536 | 'mediawiki.legacy.ajax' => array( |
537 | 537 | 'scripts' => 'common/ajax.js', |
538 | 538 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
539 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 539 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
540 | 540 | 'messages' => array( |
541 | 541 | 'watch', |
542 | 542 | 'unwatch', |
— | — | @@ -549,13 +549,13 @@ |
550 | 550 | 'mediawiki.legacy.commonPrint' => array( |
551 | 551 | 'styles' => array( 'common/commonPrint.css' => array( 'media' => 'print' ) ), |
552 | 552 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
553 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 553 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
554 | 554 | ), |
555 | 555 | 'mediawiki.legacy.config' => array( |
556 | 556 | 'scripts' => 'common/config.js', |
557 | 557 | 'styles' => array( 'common/config.css', 'common/config-cc.css' ), |
558 | 558 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
559 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 559 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
560 | 560 | 'dependencies' => 'mediawiki.legacy.wikibits', |
561 | 561 | ), |
562 | 562 | 'mediawiki.legacy.diff' => array( |
— | — | @@ -563,39 +563,39 @@ |
564 | 564 | 'styles' => 'common/diff.css', |
565 | 565 | 'group' => 'mediawiki.action.history', |
566 | 566 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
567 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 567 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
568 | 568 | 'dependencies' => 'mediawiki.legacy.wikibits', |
569 | 569 | 'position' => 'top', |
570 | 570 | ), |
571 | 571 | 'mediawiki.legacy.edit' => array( |
572 | 572 | 'scripts' => 'common/edit.js', |
573 | 573 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
574 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 574 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
575 | 575 | 'dependencies' => 'mediawiki.legacy.wikibits', |
576 | 576 | ), |
577 | 577 | 'mediawiki.legacy.IEFixes' => array( |
578 | 578 | 'scripts' => 'common/IEFixes.js', |
579 | 579 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
580 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 580 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
581 | 581 | 'dependencies' => 'mediawiki.legacy.wikibits', |
582 | 582 | ), |
583 | 583 | 'mediawiki.legacy.mwsuggest' => array( |
584 | 584 | 'scripts' => 'common/mwsuggest.js', |
585 | 585 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
586 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 586 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
587 | 587 | 'dependencies' => array( 'mediawiki.legacy.wikibits', 'jquery.client' ), |
588 | 588 | 'messages' => array( 'search-mwsuggest-enabled', 'search-mwsuggest-disabled' ), |
589 | 589 | ), |
590 | 590 | 'mediawiki.legacy.preview' => array( |
591 | 591 | 'scripts' => 'common/preview.js', |
592 | 592 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
593 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 593 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
594 | 594 | 'dependencies' => 'mediawiki.legacy.wikibits', |
595 | 595 | ), |
596 | 596 | 'mediawiki.legacy.protect' => array( |
597 | 597 | 'scripts' => 'common/protect.js', |
598 | 598 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
599 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 599 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
600 | 600 | 'dependencies' => array( |
601 | 601 | 'mediawiki.legacy.wikibits', |
602 | 602 | 'jquery.byteLimit', |
— | — | @@ -604,36 +604,36 @@ |
605 | 605 | 'mediawiki.legacy.search' => array( |
606 | 606 | 'scripts' => 'common/search.js', |
607 | 607 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
608 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 608 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
609 | 609 | 'styles' => 'common/search.css', |
610 | 610 | 'dependencies' => 'mediawiki.legacy.wikibits', |
611 | 611 | ), |
612 | 612 | 'mediawiki.legacy.shared' => array( |
613 | 613 | 'styles' => array( 'common/shared.css' => array( 'media' => 'screen' ) ), |
614 | 614 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
615 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 615 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
616 | 616 | ), |
617 | 617 | 'mediawiki.legacy.oldshared' => array( |
618 | 618 | 'styles' => array( 'common/oldshared.css' => array( 'media' => 'screen' ) ), |
619 | 619 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
620 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 620 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
621 | 621 | ), |
622 | 622 | 'mediawiki.legacy.upload' => array( |
623 | 623 | 'scripts' => 'common/upload.js', |
624 | 624 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
625 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 625 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
626 | 626 | 'dependencies' => 'mediawiki.legacy.wikibits', |
627 | 627 | ), |
628 | 628 | 'mediawiki.legacy.wikibits' => array( |
629 | 629 | 'scripts' => 'common/wikibits.js', |
630 | 630 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
631 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 631 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
632 | 632 | 'dependencies' => 'mediawiki.language', |
633 | 633 | 'messages' => array( 'showtoc', 'hidetoc' ), |
634 | 634 | ), |
635 | 635 | 'mediawiki.legacy.wikiprintable' => array( |
636 | 636 | 'styles' => array( 'common/wikiprintable.css' => array( 'media' => 'print' ) ), |
637 | 637 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
638 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 638 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
639 | 639 | ), |
640 | 640 | ); |
Property changes on: branches/REL1_18/phase3/resources/Resources.php |
___________________________________________________________________ |
Added: svn:mergeinfo |
641 | 641 | Merged /branches/sqlite/resources/Resources.php:r58211-58321 |
642 | 642 | Merged /trunk/phase3/resources/Resources.php:r87586,87627-87628,87630,87632,87636,87640,87644,87840,87998,88085,88118,88124,88134,88231-88232,88250,88492,88498,88513,88750,89099,89108,89615,90602,90612,90618,90626,90630-90631,90637,90655,90657,90666,90812 |
643 | 643 | Merged /branches/new-installer/phase3/resources/Resources.php:r43664-66004 |
644 | 644 | Merged /branches/REL1_15/phase3/resources/Resources.php:r51646 |
645 | 645 | Merged /branches/REL1_17/phase3/resources/Resources.php:r81445,81448 |