Index: trunk/phase3/resources/Resources.php |
— | — | @@ -18,45 +18,45 @@ |
19 | 19 | 'styles' => array( 'vector/screen.css' => array( 'media' => 'screen' ) ), |
20 | 20 | 'scripts' => 'vector/vector.js', |
21 | 21 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
22 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 22 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
23 | 23 | ), |
24 | 24 | 'skins.monobook' => array( |
25 | 25 | 'styles' => array( |
26 | 26 | 'monobook/main.css' => array( 'media' => 'screen' ), |
27 | 27 | ), |
28 | 28 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
29 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 29 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
30 | 30 | ), |
31 | 31 | 'skins.simple' => array( |
32 | 32 | 'styles' => array( 'simple/main.css' => array( 'media' => 'screen' ) ), |
33 | 33 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
34 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 34 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
35 | 35 | ), |
36 | 36 | 'skins.chick' => array( |
37 | 37 | 'styles' => array( 'chick/main.css' => array( 'media' => 'screen,handheld' ) ), |
38 | 38 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
39 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 39 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
40 | 40 | ), |
41 | 41 | 'skins.modern' => array( |
42 | 42 | 'styles' => array( 'modern/main.css' => array( 'media' => 'screen' ), |
43 | 43 | 'modern/print.css' => array( 'media' => 'print' ) ), |
44 | 44 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
45 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 45 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
46 | 46 | ), |
47 | 47 | 'skins.cologneblue' => array( |
48 | 48 | 'styles' => array( 'common/cologneblue.css' => array( 'media' => 'screen' ) ), |
49 | 49 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
50 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 50 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
51 | 51 | ), |
52 | 52 | 'skins.nostalgia' => array( |
53 | 53 | 'styles' => array( 'common/nostalgia.css' => array( 'media' => 'screen' ) ), |
54 | 54 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
55 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 55 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
56 | 56 | ), |
57 | 57 | 'skins.standard' => array( |
58 | 58 | 'styles' => array( 'common/wikistandard.css' => array( 'media' => 'screen' ) ), |
59 | 59 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
60 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 60 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
61 | 61 | ), |
62 | 62 | |
63 | 63 | /* jQuery */ |
— | — | @@ -589,56 +589,56 @@ |
590 | 590 | 'mediawiki.legacy.ajax' => array( |
591 | 591 | 'scripts' => 'common/ajax.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.commonPrint' => array( |
597 | 597 | 'styles' => array( 'common/commonPrint.css' => array( 'media' => 'print' ) ), |
598 | 598 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
599 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 599 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
600 | 600 | ), |
601 | 601 | 'mediawiki.legacy.config' => array( |
602 | 602 | 'scripts' => 'common/config.js', |
603 | 603 | 'styles' => array( 'common/config.css', 'common/config-cc.css' ), |
604 | 604 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
605 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 605 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
606 | 606 | 'dependencies' => 'mediawiki.legacy.wikibits', |
607 | 607 | ), |
608 | 608 | 'mediawiki.legacy.diff' => array( |
609 | 609 | 'styles' => 'common/diff.css', |
610 | 610 | 'group' => 'mediawiki.action.history', |
611 | 611 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
612 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 612 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
613 | 613 | ), |
614 | 614 | 'mediawiki.legacy.edit' => array( |
615 | 615 | 'scripts' => 'common/edit.js', |
616 | 616 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
617 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 617 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
618 | 618 | 'dependencies' => 'mediawiki.legacy.wikibits', |
619 | 619 | ), |
620 | 620 | 'mediawiki.legacy.IEFixes' => array( |
621 | 621 | 'scripts' => 'common/IEFixes.js', |
622 | 622 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
623 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 623 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
624 | 624 | 'dependencies' => 'mediawiki.legacy.wikibits', |
625 | 625 | ), |
626 | 626 | 'mediawiki.legacy.mwsuggest' => array( |
627 | 627 | 'scripts' => 'common/mwsuggest.js', |
628 | 628 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
629 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 629 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
630 | 630 | 'dependencies' => array( 'mediawiki.legacy.wikibits', 'jquery.client' ), |
631 | 631 | 'messages' => array( 'search-mwsuggest-enabled', 'search-mwsuggest-disabled' ), |
632 | 632 | ), |
633 | 633 | 'mediawiki.legacy.preview' => array( |
634 | 634 | 'scripts' => 'common/preview.js', |
635 | 635 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
636 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 636 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
637 | 637 | 'dependencies' => 'mediawiki.legacy.wikibits', |
638 | 638 | ), |
639 | 639 | 'mediawiki.legacy.protect' => array( |
640 | 640 | 'scripts' => 'common/protect.js', |
641 | 641 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
642 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 642 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
643 | 643 | 'dependencies' => array( |
644 | 644 | 'mediawiki.legacy.wikibits', |
645 | 645 | 'jquery.byteLimit', |
— | — | @@ -647,36 +647,36 @@ |
648 | 648 | 'mediawiki.legacy.search' => array( |
649 | 649 | 'scripts' => 'common/search.js', |
650 | 650 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
651 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 651 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
652 | 652 | 'styles' => 'common/search.css', |
653 | 653 | 'dependencies' => 'mediawiki.legacy.wikibits', |
654 | 654 | ), |
655 | 655 | 'mediawiki.legacy.shared' => array( |
656 | 656 | 'styles' => array( 'common/shared.css' => array( 'media' => 'screen' ) ), |
657 | 657 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
658 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 658 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
659 | 659 | ), |
660 | 660 | 'mediawiki.legacy.oldshared' => array( |
661 | 661 | 'styles' => array( 'common/oldshared.css' => array( 'media' => 'screen' ) ), |
662 | 662 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
663 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 663 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
664 | 664 | ), |
665 | 665 | 'mediawiki.legacy.upload' => array( |
666 | 666 | 'scripts' => 'common/upload.js', |
667 | 667 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
668 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 668 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
669 | 669 | 'dependencies' => 'mediawiki.legacy.wikibits', |
670 | 670 | ), |
671 | 671 | 'mediawiki.legacy.wikibits' => array( |
672 | 672 | 'scripts' => 'common/wikibits.js', |
673 | 673 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
674 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 674 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
675 | 675 | 'dependencies' => 'mediawiki.language', |
676 | 676 | 'messages' => array( 'showtoc', 'hidetoc' ), |
677 | 677 | ), |
678 | 678 | 'mediawiki.legacy.wikiprintable' => array( |
679 | 679 | 'styles' => array( 'common/wikiprintable.css' => array( 'media' => 'print' ) ), |
680 | 680 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
681 | | - 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 681 | + 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
682 | 682 | ), |
683 | 683 | ); |