From 4950c2edf9601bd12b2fd77c33b6e34d3a625f61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C3=A9cureuil?= Date: Wed, 19 Apr 2017 18:02:57 +0200 Subject: Prepare for mw 1.27 --- skins/Cavendish.php | 253 --- skins/CologneBlue.php | 573 ----- skins/Modern.php | 169 -- skins/MonoBook.php | 332 --- skins/Vector.php | 463 ---- skins/cavendish/IE60Fixes.css | 63 - skins/cavendish/IE70Fixes.css | 64 - skins/cavendish/README | 28 - skins/cavendish/audio.png | Bin 1464 -> 0 bytes skins/cavendish/babel.css | 134 -- skins/cavendish/body_back.gif | Bin 526 -> 0 bytes skins/cavendish/bullet.gif | Bin 50 -> 0 bytes skins/cavendish/cavendish.css | 2412 --------------------- skins/cavendish/colors/blue.css | 80 - skins/cavendish/colors/brown.css | 91 - skins/cavendish/colors/green.css | 80 - skins/cavendish/config.php | 14 - skins/cavendish/document.png | Bin 1130 -> 0 bytes skins/cavendish/envelope.png | Bin 1242 -> 0 bytes skins/cavendish/extensions.css | 335 --- skins/cavendish/external.png | Bin 1428 -> 0 bytes skins/cavendish/folder.png | Bin 1213 -> 0 bytes skins/cavendish/headbg.jpg | Bin 7881 -> 0 bytes skins/cavendish/header.css | 9 - skins/cavendish/header_logo.gif | Bin 5162 -> 0 bytes skins/cavendish/key-point_bl.gif | Bin 102 -> 0 bytes skins/cavendish/key-point_tl.gif | Bin 103 -> 0 bytes skins/cavendish/locked.png | Bin 1261 -> 0 bytes skins/cavendish/magnify-clip.png | Bin 237 -> 0 bytes skins/cavendish/minus.png | Bin 1209 -> 0 bytes skins/cavendish/newspaper.png | Bin 1170 -> 0 bytes skins/cavendish/plus.png | Bin 1241 -> 0 bytes skins/cavendish/print.css | 62 - skins/cavendish/required.gif | Bin 47 -> 0 bytes skins/cavendish/rtl.css | 216 -- skins/cavendish/speech-bubble-left-4.png | Bin 1323 -> 0 bytes skins/cavendish/style.php | 37 - skins/cavendish/subsite_back.gif | Bin 791 -> 0 bytes skins/cavendish/subsite_back.png | Bin 248 -> 0 bytes skins/cavendish/subsite_mozilla-org.gif | Bin 2098 -> 0 bytes skins/cavendish/top-left.png | Bin 281 -> 0 bytes skins/cavendish/top-mid.png | Bin 163 -> 0 bytes skins/cavendish/top-right.png | Bin 266 -> 0 bytes skins/cavendish/user.gif | Bin 932 -> 0 bytes skins/cavendish/video.png | Bin 1200 -> 0 bytes skins/cavendish/wiki-indexed.png | Bin 8205 -> 0 bytes skins/cavendish/wiki.png | Bin 23064 -> 0 bytes skins/cavendish/wiki_header_logo.gif | Bin 4974 -> 0 bytes skins/cologneblue/print.css | 6 - skins/cologneblue/screen.css | 277 --- skins/common/IEFixes.js | 121 -- skins/common/ajax.js | 193 -- skins/common/commonContent.css | 151 -- skins/common/commonElements.css | 235 -- skins/common/commonInterface.css | 68 - skins/common/commonPrint.css | 401 ---- skins/common/config-cc.css | 57 - skins/common/config.css | 143 -- skins/common/config.js | 108 - skins/common/feed.css | 95 - skins/common/images/Arr_.png | Bin 96 -> 0 bytes skins/common/images/Arr_d.png | Bin 205 -> 0 bytes skins/common/images/Arr_l.png | Bin 205 -> 0 bytes skins/common/images/Arr_r.png | Bin 206 -> 0 bytes skins/common/images/Arr_u.png | Bin 207 -> 0 bytes skins/common/images/Checker-16x16.png | Bin 81 -> 0 bytes skins/common/images/Zoom_sans.gif | Bin 901 -> 0 bytes skins/common/images/add.png | Bin 526 -> 0 bytes skins/common/images/ajax-loader.gif | Bin 1788 -> 0 bytes skins/common/images/ar/button_bold.png | Bin 533 -> 0 bytes skins/common/images/ar/button_headline.png | Bin 484 -> 0 bytes skins/common/images/ar/button_italic.png | Bin 532 -> 0 bytes skins/common/images/ar/button_link.png | Bin 557 -> 0 bytes skins/common/images/ar/button_nowiki.png | Bin 874 -> 0 bytes skins/common/images/arrow_disabled_first_25.png | Bin 318 -> 0 bytes skins/common/images/arrow_disabled_last_25.png | Bin 323 -> 0 bytes skins/common/images/arrow_disabled_left_25.png | Bin 301 -> 0 bytes skins/common/images/arrow_disabled_right_25.png | Bin 307 -> 0 bytes skins/common/images/arrow_first_25.png | Bin 352 -> 0 bytes skins/common/images/arrow_last_25.png | Bin 342 -> 0 bytes skins/common/images/arrow_left_25.png | Bin 330 -> 0 bytes skins/common/images/arrow_right_25.png | Bin 337 -> 0 bytes skins/common/images/be-tarask/button_bold.png | Bin 550 -> 0 bytes skins/common/images/be-tarask/button_italic.png | Bin 539 -> 0 bytes skins/common/images/be-tarask/button_link.png | Bin 419 -> 0 bytes skins/common/images/bullet.gif | Bin 50 -> 0 bytes skins/common/images/button_bold.png | Bin 250 -> 0 bytes skins/common/images/button_extlink.png | Bin 435 -> 0 bytes skins/common/images/button_headline.png | Bin 440 -> 0 bytes skins/common/images/button_hr.png | Bin 200 -> 0 bytes skins/common/images/button_image.png | Bin 483 -> 0 bytes skins/common/images/button_italic.png | Bin 250 -> 0 bytes skins/common/images/button_link.png | Bin 280 -> 0 bytes skins/common/images/button_media.png | Bin 728 -> 0 bytes skins/common/images/button_nowiki.png | Bin 322 -> 0 bytes skins/common/images/button_sig.png | Bin 920 -> 0 bytes skins/common/images/button_template.png | Bin 178 -> 0 bytes skins/common/images/cc-0.png | Bin 969 -> 0 bytes skins/common/images/cc-by-nc-sa.png | Bin 1530 -> 0 bytes skins/common/images/cc-by-sa.png | Bin 1377 -> 0 bytes skins/common/images/cc-by.png | Bin 1165 -> 0 bytes skins/common/images/closewindow.png | Bin 108 -> 0 bytes skins/common/images/closewindow19x19.png | Bin 833 -> 0 bytes skins/common/images/critical-32.png | Bin 1758 -> 0 bytes skins/common/images/cyrl/LICENSE | 17 - skins/common/images/cyrl/button_bold.png | Bin 254 -> 0 bytes skins/common/images/cyrl/button_italic.png | Bin 423 -> 0 bytes skins/common/images/cyrl/button_link.png | Bin 278 -> 0 bytes skins/common/images/de/button_bold.png | Bin 255 -> 0 bytes skins/common/images/de/button_italic.png | Bin 260 -> 0 bytes skins/common/images/diffunderline.gif | Bin 52 -> 0 bytes skins/common/images/download-32.png | Bin 1759 -> 0 bytes skins/common/images/fa/button_bold.png | Bin 459 -> 0 bytes skins/common/images/fa/button_headline.png | Bin 392 -> 0 bytes skins/common/images/fa/button_italic.png | Bin 512 -> 0 bytes skins/common/images/fa/button_link.png | Bin 485 -> 0 bytes skins/common/images/fa/button_nowiki.png | Bin 874 -> 0 bytes skins/common/images/feed-icon.png | Bin 542 -> 0 bytes skins/common/images/feed-icon.svg | 1 - skins/common/images/gnu-fdl.png | Bin 1573 -> 0 bytes skins/common/images/help-question-hover.gif | Bin 1246 -> 0 bytes skins/common/images/help-question.gif | Bin 126 -> 0 bytes skins/common/images/icons/COPYING | 43 - skins/common/images/icons/fileicon-c.png | Bin 1753 -> 0 bytes skins/common/images/icons/fileicon-cpp.png | Bin 1382 -> 0 bytes skins/common/images/icons/fileicon-deb.png | Bin 4527 -> 0 bytes skins/common/images/icons/fileicon-djvu.png | Bin 10436 -> 0 bytes skins/common/images/icons/fileicon-djvu.xcf | Bin 83394 -> 0 bytes skins/common/images/icons/fileicon-dvi.png | Bin 12476 -> 0 bytes skins/common/images/icons/fileicon-exe.png | Bin 5469 -> 0 bytes skins/common/images/icons/fileicon-h.png | Bin 803 -> 0 bytes skins/common/images/icons/fileicon-html.png | Bin 7171 -> 0 bytes skins/common/images/icons/fileicon-iso.png | Bin 6105 -> 0 bytes skins/common/images/icons/fileicon-java.png | Bin 5706 -> 0 bytes skins/common/images/icons/fileicon-mid.png | Bin 6316 -> 0 bytes skins/common/images/icons/fileicon-mov.png | Bin 7579 -> 0 bytes skins/common/images/icons/fileicon-o.png | Bin 1742 -> 0 bytes skins/common/images/icons/fileicon-ogg.png | Bin 3151 -> 0 bytes skins/common/images/icons/fileicon-ogg.xcf | Bin 40236 -> 0 bytes skins/common/images/icons/fileicon-pdf.png | Bin 4710 -> 0 bytes skins/common/images/icons/fileicon-ps.png | Bin 2786 -> 0 bytes skins/common/images/icons/fileicon-psd.png | Bin 7756 -> 0 bytes skins/common/images/icons/fileicon-rm.png | Bin 2519 -> 0 bytes skins/common/images/icons/fileicon-rpm.png | Bin 3784 -> 0 bytes skins/common/images/icons/fileicon-svg.png | Bin 4793 -> 0 bytes skins/common/images/icons/fileicon-tar.png | Bin 6025 -> 0 bytes skins/common/images/icons/fileicon-tex.png | Bin 3738 -> 0 bytes skins/common/images/icons/fileicon-ttf.png | Bin 3193 -> 0 bytes skins/common/images/icons/fileicon-txt.png | Bin 3388 -> 0 bytes skins/common/images/icons/fileicon.png | Bin 789 -> 0 bytes skins/common/images/info-32.png | Bin 1892 -> 0 bytes skins/common/images/ksh/LICENSE | 7 - skins/common/images/ksh/button_S_italic.png | Bin 368 -> 0 bytes skins/common/images/link_icon.gif | Bin 342 -> 0 bytes skins/common/images/magnify-clip-rtl.png | Bin 149 -> 0 bytes skins/common/images/magnify-clip.png | Bin 204 -> 0 bytes skins/common/images/mediawiki.png | Bin 22589 -> 0 bytes skins/common/images/nextredirectltr.png | Bin 121 -> 0 bytes skins/common/images/nextredirectrtl.png | Bin 121 -> 0 bytes skins/common/images/poweredby_mediawiki_88x31.png | Bin 3525 -> 0 bytes skins/common/images/public-domain.png | Bin 2017 -> 0 bytes skins/common/images/question-small.png | Bin 316 -> 0 bytes skins/common/images/question.svg | 1 - skins/common/images/redirectltr.png | Bin 128 -> 0 bytes skins/common/images/redirectrtl.png | Bin 132 -> 0 bytes skins/common/images/remove.png | Bin 555 -> 0 bytes skins/common/images/spinner.gif | Bin 1819 -> 0 bytes skins/common/images/tick-32.png | Bin 1103 -> 0 bytes skins/common/images/tipsy-arrow.gif | Bin 205 -> 0 bytes skins/common/images/tooltip_icon.png | Bin 352 -> 0 bytes skins/common/images/warning-32.png | Bin 1299 -> 0 bytes skins/common/images/wiki.png | Bin 24358 -> 0 bytes skins/common/oldshared.css | 469 ---- skins/common/protect.js | 387 ---- skins/common/shared.css | 1216 ----------- skins/common/upload.js | 355 --- skins/common/wikibits.js | 243 --- skins/modern/audio.png | Bin 186 -> 0 bytes skins/modern/bullet.gif | Bin 50 -> 0 bytes skins/modern/discussionitem_icon.gif | Bin 549 -> 0 bytes skins/modern/document.png | Bin 152 -> 0 bytes skins/modern/external.png | Bin 141 -> 0 bytes skins/modern/file_icon.gif | Bin 323 -> 0 bytes skins/modern/footer-grad.png | Bin 81 -> 0 bytes skins/modern/link_icon.gif | Bin 342 -> 0 bytes skins/modern/lock_icon.gif | Bin 321 -> 0 bytes skins/modern/mail_icon.gif | Bin 321 -> 0 bytes skins/modern/main.css | 912 -------- skins/modern/news_icon.png | Bin 284 -> 0 bytes skins/modern/print.css | 10 - skins/modern/video.png | Bin 113 -> 0 bytes skins/monobook/IE60Fixes.css | 112 - skins/monobook/IE70Fixes.css | 92 - skins/monobook/audio.png | Bin 186 -> 0 bytes skins/monobook/bullet.gif | Bin 50 -> 0 bytes skins/monobook/discussionitem_icon.gif | Bin 549 -> 0 bytes skins/monobook/document.png | Bin 152 -> 0 bytes skins/monobook/external-ltr.png | Bin 141 -> 0 bytes skins/monobook/external-rtl.png | Bin 141 -> 0 bytes skins/monobook/file_icon.gif | Bin 323 -> 0 bytes skins/monobook/headbg.jpg | Bin 7881 -> 0 bytes skins/monobook/link_icon.gif | Bin 342 -> 0 bytes skins/monobook/lock_icon.gif | Bin 918 -> 0 bytes skins/monobook/magnify-clip.png | Bin 170 -> 0 bytes skins/monobook/mail_icon.gif | Bin 321 -> 0 bytes skins/monobook/main.css | 835 ------- skins/monobook/news_icon.png | Bin 284 -> 0 bytes skins/monobook/required.gif | Bin 47 -> 0 bytes skins/monobook/user.gif | Bin 325 -> 0 bytes skins/monobook/video.png | Bin 116 -> 0 bytes skins/monobook/wiki-indexed.png | Bin 8007 -> 0 bytes skins/monobook/wiki.png | Bin 22589 -> 0 bytes skins/vector/collapsibleNav.js | 152 -- skins/vector/collapsibleTabs.js | 208 -- skins/vector/components/animations.less | 28 - skins/vector/components/collapsibleNav.less | 91 - skins/vector/components/common.less | 141 -- skins/vector/components/externalLinks.less | 10 - skins/vector/components/footer.less | 57 - skins/vector/components/navigation.less | 134 -- skins/vector/components/notifications.less | 20 - skins/vector/components/personalMenu.less | 41 - skins/vector/components/search.less | 113 - skins/vector/components/tabs.less | 274 --- skins/vector/components/watchstar.less | 46 - skins/vector/csshover.htc | 284 --- skins/vector/csshover.min.htc | 12 - skins/vector/images/arrow-collapsed-ltr.png | Bin 143 -> 0 bytes skins/vector/images/arrow-collapsed-ltr.svg | 1 - skins/vector/images/arrow-collapsed-rtl.png | Bin 145 -> 0 bytes skins/vector/images/arrow-collapsed-rtl.svg | 1 - skins/vector/images/arrow-down-focus-icon.png | Bin 135 -> 0 bytes skins/vector/images/arrow-down-focus-icon.svg | 1 - skins/vector/images/arrow-down-icon.png | Bin 135 -> 0 bytes skins/vector/images/arrow-down-icon.svg | 1 - skins/vector/images/arrow-expanded.png | Bin 145 -> 0 bytes skins/vector/images/arrow-expanded.svg | 1 - skins/vector/images/bullet-icon.png | Bin 107 -> 0 bytes skins/vector/images/external-link-ltr-icon.png | Bin 141 -> 0 bytes skins/vector/images/external-link-ltr-icon.svg | 1 - skins/vector/images/external-link-rtl-icon.png | Bin 141 -> 0 bytes skins/vector/images/external-link-rtl-icon.svg | 1 - skins/vector/images/link-icon.png | Bin 359 -> 0 bytes skins/vector/images/magnify-clip.png | Bin 204 -> 0 bytes skins/vector/images/page-fade.png | Bin 115 -> 0 bytes skins/vector/images/portal-break-ltr.png | Bin 168 -> 0 bytes skins/vector/images/portal-break-rtl.png | Bin 161 -> 0 bytes skins/vector/images/portal-break.png | Bin 96 -> 0 bytes skins/vector/images/preferences/break.png | Bin 103 -> 0 bytes skins/vector/images/preferences/fade.png | Bin 85 -> 0 bytes skins/vector/images/search-fade.png | Bin 94 -> 0 bytes skins/vector/images/search-ltr.png | Bin 214 -> 0 bytes skins/vector/images/search-ltr.svg | 1 - skins/vector/images/search-rtl.png | Bin 214 -> 0 bytes skins/vector/images/search-rtl.svg | 1 - skins/vector/images/tab-break.png | Bin 125 -> 0 bytes skins/vector/images/tab-current-fade.png | Bin 70 -> 0 bytes skins/vector/images/tab-normal-fade.png | Bin 117 -> 0 bytes skins/vector/images/unwatch-icon-hl.png | Bin 716 -> 0 bytes skins/vector/images/unwatch-icon-hl.svg | 1 - skins/vector/images/unwatch-icon.png | Bin 658 -> 0 bytes skins/vector/images/unwatch-icon.svg | 1 - skins/vector/images/user-icon.png | Bin 568 -> 0 bytes skins/vector/images/user-icon.svg | 1 - skins/vector/images/watch-icon-hl.png | Bin 640 -> 0 bytes skins/vector/images/watch-icon-hl.svg | 1 - skins/vector/images/watch-icon-loading.png | Bin 485 -> 0 bytes skins/vector/images/watch-icon-loading.svg | 1 - skins/vector/images/watch-icon.png | Bin 642 -> 0 bytes skins/vector/images/watch-icon.svg | 1 - skins/vector/screen-hd.less | 30 - skins/vector/screen.less | 10 - skins/vector/special.less | 7 - skins/vector/special.preferences.less | 114 - skins/vector/variables.less | 43 - skins/vector/vector.js | 55 - 276 files changed, 13855 deletions(-) delete mode 100644 skins/Cavendish.php delete mode 100644 skins/CologneBlue.php delete mode 100644 skins/Modern.php delete mode 100644 skins/MonoBook.php delete mode 100644 skins/Vector.php delete mode 100644 skins/cavendish/IE60Fixes.css delete mode 100644 skins/cavendish/IE70Fixes.css delete mode 100644 skins/cavendish/README delete mode 100644 skins/cavendish/audio.png delete mode 100644 skins/cavendish/babel.css delete mode 100644 skins/cavendish/body_back.gif delete mode 100644 skins/cavendish/bullet.gif delete mode 100644 skins/cavendish/cavendish.css delete mode 100644 skins/cavendish/colors/blue.css delete mode 100644 skins/cavendish/colors/brown.css delete mode 100644 skins/cavendish/colors/green.css delete mode 100644 skins/cavendish/config.php delete mode 100644 skins/cavendish/document.png delete mode 100644 skins/cavendish/envelope.png delete mode 100644 skins/cavendish/extensions.css delete mode 100644 skins/cavendish/external.png delete mode 100644 skins/cavendish/folder.png delete mode 100644 skins/cavendish/headbg.jpg delete mode 100644 skins/cavendish/header.css delete mode 100644 skins/cavendish/header_logo.gif delete mode 100644 skins/cavendish/key-point_bl.gif delete mode 100644 skins/cavendish/key-point_tl.gif delete mode 100644 skins/cavendish/locked.png delete mode 100644 skins/cavendish/magnify-clip.png delete mode 100644 skins/cavendish/minus.png delete mode 100644 skins/cavendish/newspaper.png delete mode 100644 skins/cavendish/plus.png delete mode 100644 skins/cavendish/print.css delete mode 100644 skins/cavendish/required.gif delete mode 100644 skins/cavendish/rtl.css delete mode 100644 skins/cavendish/speech-bubble-left-4.png delete mode 100644 skins/cavendish/style.php delete mode 100644 skins/cavendish/subsite_back.gif delete mode 100644 skins/cavendish/subsite_back.png delete mode 100644 skins/cavendish/subsite_mozilla-org.gif delete mode 100644 skins/cavendish/top-left.png delete mode 100644 skins/cavendish/top-mid.png delete mode 100644 skins/cavendish/top-right.png delete mode 100644 skins/cavendish/user.gif delete mode 100644 skins/cavendish/video.png delete mode 100644 skins/cavendish/wiki-indexed.png delete mode 100644 skins/cavendish/wiki.png delete mode 100644 skins/cavendish/wiki_header_logo.gif delete mode 100644 skins/cologneblue/print.css delete mode 100644 skins/cologneblue/screen.css delete mode 100644 skins/common/IEFixes.js delete mode 100644 skins/common/ajax.js delete mode 100644 skins/common/commonContent.css delete mode 100644 skins/common/commonElements.css delete mode 100644 skins/common/commonInterface.css delete mode 100644 skins/common/commonPrint.css delete mode 100644 skins/common/config-cc.css delete mode 100644 skins/common/config.css delete mode 100644 skins/common/config.js delete mode 100644 skins/common/feed.css delete mode 100644 skins/common/images/Arr_.png delete mode 100644 skins/common/images/Arr_d.png delete mode 100644 skins/common/images/Arr_l.png delete mode 100644 skins/common/images/Arr_r.png delete mode 100644 skins/common/images/Arr_u.png delete mode 100644 skins/common/images/Checker-16x16.png delete mode 100644 skins/common/images/Zoom_sans.gif delete mode 100644 skins/common/images/add.png delete mode 100644 skins/common/images/ajax-loader.gif delete mode 100644 skins/common/images/ar/button_bold.png delete mode 100644 skins/common/images/ar/button_headline.png delete mode 100644 skins/common/images/ar/button_italic.png delete mode 100644 skins/common/images/ar/button_link.png delete mode 100644 skins/common/images/ar/button_nowiki.png delete mode 100644 skins/common/images/arrow_disabled_first_25.png delete mode 100644 skins/common/images/arrow_disabled_last_25.png delete mode 100644 skins/common/images/arrow_disabled_left_25.png delete mode 100644 skins/common/images/arrow_disabled_right_25.png delete mode 100644 skins/common/images/arrow_first_25.png delete mode 100644 skins/common/images/arrow_last_25.png delete mode 100644 skins/common/images/arrow_left_25.png delete mode 100644 skins/common/images/arrow_right_25.png delete mode 100644 skins/common/images/be-tarask/button_bold.png delete mode 100644 skins/common/images/be-tarask/button_italic.png delete mode 100644 skins/common/images/be-tarask/button_link.png delete mode 100644 skins/common/images/bullet.gif delete mode 100644 skins/common/images/button_bold.png delete mode 100644 skins/common/images/button_extlink.png delete mode 100644 skins/common/images/button_headline.png delete mode 100644 skins/common/images/button_hr.png delete mode 100644 skins/common/images/button_image.png delete mode 100644 skins/common/images/button_italic.png delete mode 100644 skins/common/images/button_link.png delete mode 100644 skins/common/images/button_media.png delete mode 100644 skins/common/images/button_nowiki.png delete mode 100644 skins/common/images/button_sig.png delete mode 100644 skins/common/images/button_template.png delete mode 100644 skins/common/images/cc-0.png delete mode 100644 skins/common/images/cc-by-nc-sa.png delete mode 100644 skins/common/images/cc-by-sa.png delete mode 100644 skins/common/images/cc-by.png delete mode 100644 skins/common/images/closewindow.png delete mode 100644 skins/common/images/closewindow19x19.png delete mode 100644 skins/common/images/critical-32.png delete mode 100644 skins/common/images/cyrl/LICENSE delete mode 100644 skins/common/images/cyrl/button_bold.png delete mode 100644 skins/common/images/cyrl/button_italic.png delete mode 100644 skins/common/images/cyrl/button_link.png delete mode 100644 skins/common/images/de/button_bold.png delete mode 100644 skins/common/images/de/button_italic.png delete mode 100644 skins/common/images/diffunderline.gif delete mode 100644 skins/common/images/download-32.png delete mode 100644 skins/common/images/fa/button_bold.png delete mode 100644 skins/common/images/fa/button_headline.png delete mode 100644 skins/common/images/fa/button_italic.png delete mode 100644 skins/common/images/fa/button_link.png delete mode 100644 skins/common/images/fa/button_nowiki.png delete mode 100644 skins/common/images/feed-icon.png delete mode 100644 skins/common/images/feed-icon.svg delete mode 100644 skins/common/images/gnu-fdl.png delete mode 100644 skins/common/images/help-question-hover.gif delete mode 100644 skins/common/images/help-question.gif delete mode 100644 skins/common/images/icons/COPYING delete mode 100644 skins/common/images/icons/fileicon-c.png delete mode 100644 skins/common/images/icons/fileicon-cpp.png delete mode 100644 skins/common/images/icons/fileicon-deb.png delete mode 100644 skins/common/images/icons/fileicon-djvu.png delete mode 100644 skins/common/images/icons/fileicon-djvu.xcf delete mode 100644 skins/common/images/icons/fileicon-dvi.png delete mode 100644 skins/common/images/icons/fileicon-exe.png delete mode 100644 skins/common/images/icons/fileicon-h.png delete mode 100644 skins/common/images/icons/fileicon-html.png delete mode 100644 skins/common/images/icons/fileicon-iso.png delete mode 100644 skins/common/images/icons/fileicon-java.png delete mode 100644 skins/common/images/icons/fileicon-mid.png delete mode 100644 skins/common/images/icons/fileicon-mov.png delete mode 100644 skins/common/images/icons/fileicon-o.png delete mode 100644 skins/common/images/icons/fileicon-ogg.png delete mode 100644 skins/common/images/icons/fileicon-ogg.xcf delete mode 100644 skins/common/images/icons/fileicon-pdf.png delete mode 100644 skins/common/images/icons/fileicon-ps.png delete mode 100644 skins/common/images/icons/fileicon-psd.png delete mode 100644 skins/common/images/icons/fileicon-rm.png delete mode 100644 skins/common/images/icons/fileicon-rpm.png delete mode 100644 skins/common/images/icons/fileicon-svg.png delete mode 100644 skins/common/images/icons/fileicon-tar.png delete mode 100644 skins/common/images/icons/fileicon-tex.png delete mode 100644 skins/common/images/icons/fileicon-ttf.png delete mode 100644 skins/common/images/icons/fileicon-txt.png delete mode 100644 skins/common/images/icons/fileicon.png delete mode 100644 skins/common/images/info-32.png delete mode 100644 skins/common/images/ksh/LICENSE delete mode 100644 skins/common/images/ksh/button_S_italic.png delete mode 100644 skins/common/images/link_icon.gif delete mode 100644 skins/common/images/magnify-clip-rtl.png delete mode 100644 skins/common/images/magnify-clip.png delete mode 100644 skins/common/images/mediawiki.png delete mode 100644 skins/common/images/nextredirectltr.png delete mode 100644 skins/common/images/nextredirectrtl.png delete mode 100644 skins/common/images/poweredby_mediawiki_88x31.png delete mode 100644 skins/common/images/public-domain.png delete mode 100644 skins/common/images/question-small.png delete mode 100644 skins/common/images/question.svg delete mode 100644 skins/common/images/redirectltr.png delete mode 100644 skins/common/images/redirectrtl.png delete mode 100644 skins/common/images/remove.png delete mode 100644 skins/common/images/spinner.gif delete mode 100644 skins/common/images/tick-32.png delete mode 100644 skins/common/images/tipsy-arrow.gif delete mode 100644 skins/common/images/tooltip_icon.png delete mode 100644 skins/common/images/warning-32.png delete mode 100644 skins/common/images/wiki.png delete mode 100644 skins/common/oldshared.css delete mode 100644 skins/common/protect.js delete mode 100644 skins/common/shared.css delete mode 100644 skins/common/upload.js delete mode 100644 skins/common/wikibits.js delete mode 100644 skins/modern/audio.png delete mode 100644 skins/modern/bullet.gif delete mode 100644 skins/modern/discussionitem_icon.gif delete mode 100644 skins/modern/document.png delete mode 100644 skins/modern/external.png delete mode 100644 skins/modern/file_icon.gif delete mode 100644 skins/modern/footer-grad.png delete mode 100644 skins/modern/link_icon.gif delete mode 100644 skins/modern/lock_icon.gif delete mode 100644 skins/modern/mail_icon.gif delete mode 100644 skins/modern/main.css delete mode 100644 skins/modern/news_icon.png delete mode 100644 skins/modern/print.css delete mode 100644 skins/modern/video.png delete mode 100644 skins/monobook/IE60Fixes.css delete mode 100644 skins/monobook/IE70Fixes.css delete mode 100644 skins/monobook/audio.png delete mode 100644 skins/monobook/bullet.gif delete mode 100644 skins/monobook/discussionitem_icon.gif delete mode 100644 skins/monobook/document.png delete mode 100644 skins/monobook/external-ltr.png delete mode 100644 skins/monobook/external-rtl.png delete mode 100644 skins/monobook/file_icon.gif delete mode 100644 skins/monobook/headbg.jpg delete mode 100644 skins/monobook/link_icon.gif delete mode 100644 skins/monobook/lock_icon.gif delete mode 100644 skins/monobook/magnify-clip.png delete mode 100644 skins/monobook/mail_icon.gif delete mode 100644 skins/monobook/main.css delete mode 100644 skins/monobook/news_icon.png delete mode 100644 skins/monobook/required.gif delete mode 100644 skins/monobook/user.gif delete mode 100644 skins/monobook/video.png delete mode 100644 skins/monobook/wiki-indexed.png delete mode 100644 skins/monobook/wiki.png delete mode 100644 skins/vector/collapsibleNav.js delete mode 100644 skins/vector/collapsibleTabs.js delete mode 100644 skins/vector/components/animations.less delete mode 100644 skins/vector/components/collapsibleNav.less delete mode 100644 skins/vector/components/common.less delete mode 100644 skins/vector/components/externalLinks.less delete mode 100644 skins/vector/components/footer.less delete mode 100644 skins/vector/components/navigation.less delete mode 100644 skins/vector/components/notifications.less delete mode 100644 skins/vector/components/personalMenu.less delete mode 100644 skins/vector/components/search.less delete mode 100644 skins/vector/components/tabs.less delete mode 100644 skins/vector/components/watchstar.less delete mode 100644 skins/vector/csshover.htc delete mode 100644 skins/vector/csshover.min.htc delete mode 100644 skins/vector/images/arrow-collapsed-ltr.png delete mode 100644 skins/vector/images/arrow-collapsed-ltr.svg delete mode 100644 skins/vector/images/arrow-collapsed-rtl.png delete mode 100644 skins/vector/images/arrow-collapsed-rtl.svg delete mode 100644 skins/vector/images/arrow-down-focus-icon.png delete mode 100644 skins/vector/images/arrow-down-focus-icon.svg delete mode 100644 skins/vector/images/arrow-down-icon.png delete mode 100644 skins/vector/images/arrow-down-icon.svg delete mode 100644 skins/vector/images/arrow-expanded.png delete mode 100644 skins/vector/images/arrow-expanded.svg delete mode 100644 skins/vector/images/bullet-icon.png delete mode 100644 skins/vector/images/external-link-ltr-icon.png delete mode 100644 skins/vector/images/external-link-ltr-icon.svg delete mode 100644 skins/vector/images/external-link-rtl-icon.png delete mode 100644 skins/vector/images/external-link-rtl-icon.svg delete mode 100644 skins/vector/images/link-icon.png delete mode 100644 skins/vector/images/magnify-clip.png delete mode 100644 skins/vector/images/page-fade.png delete mode 100644 skins/vector/images/portal-break-ltr.png delete mode 100644 skins/vector/images/portal-break-rtl.png delete mode 100644 skins/vector/images/portal-break.png delete mode 100644 skins/vector/images/preferences/break.png delete mode 100644 skins/vector/images/preferences/fade.png delete mode 100644 skins/vector/images/search-fade.png delete mode 100644 skins/vector/images/search-ltr.png delete mode 100644 skins/vector/images/search-ltr.svg delete mode 100644 skins/vector/images/search-rtl.png delete mode 100644 skins/vector/images/search-rtl.svg delete mode 100644 skins/vector/images/tab-break.png delete mode 100644 skins/vector/images/tab-current-fade.png delete mode 100644 skins/vector/images/tab-normal-fade.png delete mode 100644 skins/vector/images/unwatch-icon-hl.png delete mode 100644 skins/vector/images/unwatch-icon-hl.svg delete mode 100644 skins/vector/images/unwatch-icon.png delete mode 100644 skins/vector/images/unwatch-icon.svg delete mode 100644 skins/vector/images/user-icon.png delete mode 100644 skins/vector/images/user-icon.svg delete mode 100644 skins/vector/images/watch-icon-hl.png delete mode 100644 skins/vector/images/watch-icon-hl.svg delete mode 100644 skins/vector/images/watch-icon-loading.png delete mode 100644 skins/vector/images/watch-icon-loading.svg delete mode 100644 skins/vector/images/watch-icon.png delete mode 100644 skins/vector/images/watch-icon.svg delete mode 100644 skins/vector/screen-hd.less delete mode 100644 skins/vector/screen.less delete mode 100644 skins/vector/special.less delete mode 100644 skins/vector/special.preferences.less delete mode 100644 skins/vector/variables.less delete mode 100644 skins/vector/vector.js (limited to 'skins') diff --git a/skins/Cavendish.php b/skins/Cavendish.php deleted file mode 100644 index 8a5e6eb..0000000 --- a/skins/Cavendish.php +++ /dev/null @@ -1,253 +0,0 @@ -skinname = 'cavendish'; - $this->stylename = 'cavendish'; - $this->template = 'CavendishTemplate'; - $this->useHeadElement = true; - } - function setupSkinUserCss( OutputPage $out ) { - global $wgHandheldStyle, $wgStyleVersion, $wgJsMimeType, $wgStylePath, $wgVersion, $wgLogo; - parent::setupSkinUserCss( $out ); - // Append to the default screen common & print styles... - $out->addStyle( 'cavendish/print.css', 'print' ); - $out->addStyle( 'cavendish/cavendish.css', 'screen' ); - if( $wgHandheldStyle ) { - // Currently in testing... try 'chick/main.css' - $out->addStyle( $wgHandheldStyle, 'handheld' ); - } - $out->addStyle( 'cavendish/IE60Fixes.css', 'screen', 'IE 6' ); - $out->addStyle( 'cavendish/IE70Fixes.css', 'screen', 'IE 7' ); - - $out->addStyle( 'cavendish/rtl.css', 'screen', '', 'rtl' ); - - /* README for details */ - include('cavendish/config.php'); - - $out->addStyle( 'cavendish/colors/'. $cavendishColor .'.css', 'screen' ); - - if ($cavendishExtensionCSS) { - $out->addStyle( 'cavendish/extensions.css', 'screen' ); - } - $out->addStyle( 'cavendish/style.php', 'screen' ); - } -} - -class CavendishTemplate extends MonoBookTemplate { - var $skin; - /** - * Template filter callback for cavendish skin. - * Takes an associative array of data set from a SkinTemplate-based - * class, and a wrapper for MediaWiki's localization database, and - * outputs a formatted page. - * - * @access private - */ - function execute() { - global $wgRequest, $wgLang; - include('cavendish/config.php'); - $QRURL = htmlentities( $this->getSkin()->getTitle()->getFullURL()).$cavendishQRurladd; - $styleversion = '2.3.3'; - $this->skin = $skin = $this->data['skin']; - $action = $wgRequest->getText( 'action' ); - if ( $action == "") { - $action = "view"; - } - // Suppress warnings to prevent notices about missing indexes in $this->data - wfSuppressWarnings(); - // HTML starts here - $this->html( 'headelement' ); -?> -
- -
-
-
msg('personaltools') ?>
-
-
    html('userlangattributes') ?>> - data['personal_urls'] as $key => $item) {?> - -
  • " class="active top-nav-element"> -   - - -  
  • - - -
-
-
- -
-
- -
-
-
-
- - data['sitenotice']) { ?>
html('sitenotice') ?>
-

html('title') ?>

-
-

msg('tagline') ?>

-
html('subtitle') ?>
- data['undelete']) { ?>
html('undelete') ?>
- data['newtalk'] ) { ?>
html('newtalk') ?>
- data['showjumplinks']) { ?> - - html('bodytext') ?> - data['catlinks']) { $this->html('catlinks'); } ?> - - data['dataAfterContent']) { $this->html ('dataAfterContent'); } ?> -
-
-
-
-
- - - -printTrail(); - echo Html::closeElement( 'body' ); - echo Html::closeElement( 'html' ); - wfRestoreWarnings(); - } -} // end of class diff --git a/skins/CologneBlue.php b/skins/CologneBlue.php deleted file mode 100644 index 7c2860e..0000000 --- a/skins/CologneBlue.php +++ /dev/null @@ -1,573 +0,0 @@ -addModuleStyles( 'mediawiki.legacy.oldshared' ); - $out->addModuleStyles( 'skins.cologneblue' ); - } - - /** - * Override langlink formatting behavior not to uppercase the language names. - * See otherLanguages() in CologneBlueTemplate. - */ - function formatLanguageName( $name ) { - return $name; - } -} - -class CologneBlueTemplate extends BaseTemplate { - function execute() { - // Suppress warnings to prevent notices about missing indexes in $this->data - wfSuppressWarnings(); - $this->html( 'headelement' ); - echo $this->beforeContent(); - $this->html( 'bodytext' ); - echo "\n"; - echo $this->afterContent(); - $this->html( 'dataAfterContent' ); - $this->printTrail(); - echo "\n"; - wfRestoreWarnings(); - } - - /** - * Language/charset variant links for classic-style skins - * @return string - */ - function variantLinks() { - $s = array(); - - $variants = $this->data['content_navigation']['variants']; - - foreach ( $variants as $key => $link ) { - $s[] = $this->makeListItem( $key, $link, array( 'tag' => 'span' ) ); - } - - return $this->getSkin()->getLanguage()->pipeList( $s ); - } - - function otherLanguages() { - global $wgHideInterlanguageLinks; - if ( $wgHideInterlanguageLinks ) { - return ""; - } - - $html = ''; - - // We override SkinTemplate->formatLanguageName() in SkinCologneBlue - // not to capitalize the language names. - $language_urls = $this->data['language_urls']; - if ( !empty( $language_urls ) ) { - $s = array(); - foreach ( $language_urls as $key => $data ) { - $s[] = $this->makeListItem( $key, $data, array( 'tag' => 'span' ) ); - } - - $html = wfMessage( 'otherlanguages' )->text() - . wfMessage( 'colon-separator' )->text() - . $this->getSkin()->getLanguage()->pipeList( $s ); - } - - $html .= $this->renderAfterPortlet( 'lang' ); - - return $html; - } - - /** - * @param string $name - */ - protected function renderAfterPortlet( $name ) { - $content = ''; - wfRunHooks( 'BaseTemplateAfterPortlet', array( $this, $name, &$content ) ); - - $html = $content !== '' ? "
$content
" : ''; - - return $html; - } - - function pageTitleLinks() { - $s = array(); - $footlinks = $this->getFooterLinks(); - - foreach ( $footlinks['places'] as $item ) { - $s[] = $this->data[$item]; - } - - return $this->getSkin()->getLanguage()->pipeList( $s ); - } - - /** - * Used in bottomLinks() to eliminate repetitive code. - * - * @param $key string Key to be passed to makeListItem() - * @param $navlink array Navlink suitable for processNavlinkForDocument() - * @param $message string Key of the message to use in place of standard text - * - * @return string - */ - function processBottomLink( $key, $navlink, $message = null ) { - if ( !$navlink ) { - // Empty navlinks might be passed. - return null; - } - - if ( $message ) { - $navlink['text'] = wfMessage( $message )->escaped(); - } - - return $this->makeListItem( $key, $this->processNavlinkForDocument( $navlink ), array( 'tag' => 'span' ) ); - } - - function bottomLinks() { - $toolbox = $this->getToolbox(); - $content_nav = $this->data['content_navigation']; - - $lines = array(); - - if ( $this->getSkin()->getOutput()->isArticleRelated() ) { - // First row. Regular actions. - $element = array(); - - $editLinkMessage = $this->getSkin()->getTitle()->exists() ? 'editthispage' : 'create-this-page'; - $element[] = $this->processBottomLink( 'edit', $content_nav['views']['edit'], $editLinkMessage ); - $element[] = $this->processBottomLink( 'viewsource', $content_nav['views']['viewsource'], 'viewsource' ); - - $element[] = $this->processBottomLink( 'watch', $content_nav['actions']['watch'], 'watchthispage' ); - $element[] = $this->processBottomLink( 'unwatch', $content_nav['actions']['unwatch'], 'unwatchthispage' ); - - $element[] = $this->talkLink(); - - $element[] = $this->processBottomLink( 'history', $content_nav['views']['history'], 'history' ); - $element[] = $this->processBottomLink( 'info', $toolbox['info'] ); - $element[] = $this->processBottomLink( 'whatlinkshere', $toolbox['whatlinkshere'] ); - $element[] = $this->processBottomLink( 'recentchangeslinked', $toolbox['recentchangeslinked'] ); - - $element[] = $this->processBottomLink( 'contributions', $toolbox['contributions'] ); - $element[] = $this->processBottomLink( 'emailuser', $toolbox['emailuser'] ); - - $lines[] = $this->getSkin()->getLanguage()->pipeList( array_filter( $element ) ); - - // Second row. Privileged actions. - $element = array(); - - $element[] = $this->processBottomLink( 'delete', $content_nav['actions']['delete'], 'deletethispage' ); - $element[] = $this->processBottomLink( 'undelete', $content_nav['actions']['undelete'], 'undeletethispage' ); - - $element[] = $this->processBottomLink( 'protect', $content_nav['actions']['protect'], 'protectthispage' ); - $element[] = $this->processBottomLink( 'unprotect', $content_nav['actions']['unprotect'], 'unprotectthispage' ); - - $element[] = $this->processBottomLink( 'move', $content_nav['actions']['move'], 'movethispage' ); - - $lines[] = $this->getSkin()->getLanguage()->pipeList( array_filter( $element ) ); - - // Third row. Language links. - $lines[] = $this->otherLanguages(); - } - - return implode( array_filter( $lines ), "
\n" ) . "
\n"; - } - - function talkLink() { - $title = $this->getSkin()->getTitle(); - - if ( $title->getNamespace() == NS_SPECIAL ) { - // No discussion links for special pages - return ""; - } - - $companionTitle = $title->isTalkPage() ? $title->getSubjectPage() : $title->getTalkPage(); - $companionNamespace = $companionTitle->getNamespace(); - - // TODO these messages are only be used by CologneBlue, - // kill and replace with something more sensibly named? - $nsToMessage = array( - NS_MAIN => 'articlepage', - NS_USER => 'userpage', - NS_PROJECT => 'projectpage', - NS_FILE => 'imagepage', - NS_MEDIAWIKI => 'mediawikipage', - NS_TEMPLATE => 'templatepage', - NS_HELP => 'viewhelppage', - NS_CATEGORY => 'categorypage', - NS_FILE => 'imagepage', - ); - - // Find out the message to use for link text. Use either the array above or, - // for non-talk pages, a generic "discuss this" message. - // Default is the same as for main namespace. - if ( isset( $nsToMessage[$companionNamespace] ) ) { - $message = $nsToMessage[$companionNamespace]; - } else { - $message = $companionTitle->isTalkPage() ? 'talkpage' : 'articlepage'; - } - - // Obviously this can't be reasonable and just return the key for talk namespace, only for content ones. - // Thus we have to mangle it in exactly the same way SkinTemplate does. (bug 40805) - $key = $companionTitle->getNamespaceKey( '' ); - if ( $companionTitle->isTalkPage() ) { - $key = ( $key == 'main' ? 'talk' : $key . "_talk" ); - } - - // Use the regular navigational link, but replace its text. Everything else stays unmodified. - $namespacesLinks = $this->data['content_navigation']['namespaces']; - return $this->processBottomLink( $message, $namespacesLinks[$key], $message ); - } - - /** - * Takes a navigational link generated by SkinTemplate in whichever way - * and mangles attributes unsuitable for repeated use. In particular, this modifies the ids - * and removes the accesskeys. This is necessary to be able to use the same navlink twice, - * e.g. in sidebar and in footer. - * - * @param $navlink array Navigational link generated by SkinTemplate - * @param $idPrefix mixed Prefix to add to id of this navlink. If false, id is removed entirely. Default is 'cb-'. - */ - function processNavlinkForDocument( $navlink, $idPrefix = 'cb-' ) { - if ( $navlink['id'] ) { - $navlink['single-id'] = $navlink['id']; // to allow for tooltip generation - $navlink['tooltiponly'] = true; // but no accesskeys - - // mangle or remove the id - if ( $idPrefix === false ) { - unset( $navlink['id'] ); - } else { - $navlink['id'] = $idPrefix . $navlink['id']; - } - } - - return $navlink; - } - - /** - * @return string - */ - function beforeContent() { - ob_start(); -?> -
-
- -

escaped() ?>

- -
-
- getSkin()->getSiteNotice() ) { ?> -
getSkin()->getSiteNotice() ?>
- -

data['title'] ?>

- translator->translate( 'tagline' ) ) { ?> -

translator->translate( 'tagline' ) ) ?>

- - getSkin()->getOutput()->getSubtitle() ) { ?> -

getSkin()->getOutput()->getSubtitle() ?>

- - getSkin()->subPageSubtitle() ) { ?> -

getSkin()->subPageSubtitle() ?>

- - -
- -
-
-

escaped() ?>

- - quickBar() ?> -
-getSkin()->mainPageLink(), - Linker::linkKnown( - Title::newFromText( wfMessage( 'aboutpage' )->inContentLanguage()->text() ), - wfMessage( 'about' )->text() - ), - Linker::makeExternalLink( - Skin::makeInternalOrExternalUrl( wfMessage( 'helppage' )->inContentLanguage()->text() ), - wfMessage( 'help' )->text(), - false - ), - Linker::linkKnown( - Title::newFromText( wfMessage( 'faqpage' )->inContentLanguage()->text() ), - wfMessage( 'faq' )->text() - ), - ); - - $personalUrls = $this->getPersonalTools(); - foreach ( array( 'logout', 'createaccount', 'login' ) as $key ) { - if ( $personalUrls[$key] ) { - $s[] = $this->makeListItem( $key, $personalUrls[$key], array( 'tag' => 'span' ) ); - } - } - - return $this->getSkin()->getLanguage()->pipeList( $s ); - } - - /** - * Adds CologneBlue-specific items to the sidebar: qbedit, qbpageoptions and qbmyoptions menus. - * - * @param $bar sidebar data - * @return array modified sidebar data - */ - function sidebarAdditions( $bar ) { - // "This page" and "Edit" menus - // We need to do some massaging here... we reuse all of the items, except for $...['views']['view'], - // as $...['namespaces']['main'] and $...['namespaces']['talk'] together serve the same purpose. - // We also don't use $...['variants'], these are displayed in the top menu. - $content_navigation = $this->data['content_navigation']; - $qbpageoptions = array_merge( - $content_navigation['namespaces'], - array( - 'history' => $content_navigation['views']['history'], - 'watch' => $content_navigation['actions']['watch'], - 'unwatch' => $content_navigation['actions']['unwatch'], - ) - ); - $content_navigation['actions']['watch'] = null; - $content_navigation['actions']['unwatch'] = null; - $qbedit = array_merge( - array( - 'edit' => $content_navigation['views']['edit'], - 'addsection' => $content_navigation['views']['addsection'], - ), - $content_navigation['actions'] - ); - - // Personal tools ("My pages") - $qbmyoptions = $this->getPersonalTools(); - foreach ( array( 'logout', 'createaccount', 'login', ) as $key ) { - $qbmyoptions[$key] = null; - } - - // Use the closest reasonable name - $bar['cactions'] = $qbedit; - $bar['pageoptions'] = $qbpageoptions; // this is a non-standard portlet name, but nothing fits - $bar['personal'] = $qbmyoptions; - - return $bar; - } - - /** - * Compute the sidebar - * @access private - * - * @return string - */ - function quickBar() { - // Massage the sidebar. We want to: - // * place SEARCH at the beginning - // * add new portlets before TOOLBOX (or at the end, if it's missing) - // * remove LANGUAGES (langlinks are displayed elsewhere) - $orig_bar = $this->data['sidebar']; - $bar = array(); - $hasToolbox = false; - - // Always display search first - $bar['SEARCH'] = true; - // Copy everything except for langlinks, inserting new items before toolbox - foreach ( $orig_bar as $heading => $data ) { - if ( $heading == 'TOOLBOX' ) { - // Insert the stuff - $bar = $this->sidebarAdditions( $bar ); - $hasToolbox = true; - } - - if ( $heading != 'LANGUAGES' ) { - $bar[$heading] = $data; - } - } - // If toolbox is missing, add our items at the end - if ( !$hasToolbox ) { - $bar = $this->sidebarAdditions( $bar ); - } - - // Fill out special sidebar items with content - $orig_bar = $bar; - $bar = array(); - foreach ( $orig_bar as $heading => $data ) { - if ( $heading == 'SEARCH' ) { - $bar['search'] = $this->searchForm( 'sidebar' ); - } elseif ( $heading == 'TOOLBOX' ) { - $bar['tb'] = $this->getToolbox(); - } else { - $bar[$heading] = $data; - } - } - - // Output the sidebar - // CologneBlue uses custom messages for some portlets, but we should keep the ids for consistency - $idToMessage = array( - 'search' => 'qbfind', - 'navigation' => 'qbbrowse', - 'tb' => 'toolbox', - 'cactions' => 'qbedit', - 'personal' => 'qbmyoptions', - 'pageoptions' => 'qbpageoptions', - ); - - $s = "
\n"; - - foreach ( $bar as $heading => $data ) { - $portletId = Sanitizer::escapeId( "p-$heading" ); - $headingMsg = wfMessage( $idToMessage[$heading] ? $idToMessage[$heading] : $heading ); - $headingHTML = "

" . ( $headingMsg->exists() ? $headingMsg->escaped() : htmlspecialchars( $heading ) ) . "

"; - $listHTML = ""; - - if ( is_array( $data ) ) { - // $data is an array of links - foreach ( $data as $key => $link ) { - // Can be empty due to how the sidebar additions are done - if ( $link ) { - $listHTML .= $this->makeListItem( $key, $link ); - } - } - if ( $listHTML ) { - $listHTML = ""; - } - } else { - // $data is a HTML
\n"; - return $s; - } - - /** - * @param $label string - * @return string - */ - function searchForm( $which ) { - global $wgUseTwoButtonsSearchForm; - - $search = $this->getSkin()->getRequest()->getText( 'search' ); - $action = $this->data['searchaction']; - $s = "
"; - if ( $which == 'footer' ) { - $s .= wfMessage( 'qbfind' )->text() . ": "; - } - - $s .= $this->makeSearchInput( array( 'class' => 'mw-searchInput', 'type' => 'text', 'size' => '14' ) ); - $s .= ( $which == 'footer' ? " " : "
" ); - $s .= $this->makeSearchButton( 'go', array( 'class' => 'searchButton' ) ); - - if ( $wgUseTwoButtonsSearchForm ) { - $s .= $this->makeSearchButton( 'fulltext', array( 'class' => 'searchButton' ) ); - } else { - $s .= '
\n"; - } - - $s .= '
'; - - return $s; - } -} diff --git a/skins/Modern.php b/skins/Modern.php deleted file mode 100644 index 8d778cf..0000000 --- a/skins/Modern.php +++ /dev/null @@ -1,169 +0,0 @@ -addModuleStyles( 'skins.modern' ); - } -} - -/** - * @todo document - * @ingroup Skins - */ -class ModernTemplate extends MonoBookTemplate { - - /** - * Template filter callback for Modern skin. - * Takes an associative array of data set from a SkinTemplate-based - * class, and a wrapper for MediaWiki's localization database, and - * outputs a formatted page. - * - * @access private - */ - function execute() { - // Suppress warnings to prevent notices about missing indexes in $this->data - wfSuppressWarnings(); - - $this->html( 'headelement' ); -?> - - -

html( 'title' ) ?>

- -
-
- -cactions(); ?> - - -
- -
-
- -
msg( 'tagline' ) ?>
- data['newtalk'] ) { - ?>
html( 'newtalk' ) ?>
- - data['sitenotice'] ) { - ?>
html( 'sitenotice' ) ?>
- -
- -
html( 'userlangattributes' ) ?>>html( 'subtitle' ) ?>
- - data['undelete'] ) { ?>
html( 'undelete' ) ?>
-
msg( 'jumpto' ) ?> msg( 'jumptonavigation' ) ?>msg( 'comma-separator' ) ?>msg( 'jumptosearch' ) ?>
- - html( 'bodytext' ) ?> -
- data['catlinks'] ) { $this->html( 'catlinks' ); } ?> - html( 'dataAfterContent' ) ?> -
-
-
- -
html( "userlangattributes" ) ?>> -

msg( 'navigation-heading' ) ?>

- - - renderPortals( $this->data['sidebar'] ); ?> - -
- - -
- -
- - - - - - - - - printTrail(); ?> - -addModuleStyles( array( 'mediawiki.skinning.interface', 'skins.monobook.styles' ) ); - - // TODO: Migrate all of these - $out->addStyle( 'monobook/IE60Fixes.css', 'screen', 'IE 6' ); - $out->addStyle( 'monobook/IE70Fixes.css', 'screen', 'IE 7' ); - - } -} - -/** - * @todo document - * @ingroup Skins - */ -class MonoBookTemplate extends BaseTemplate { - - /** - * Template filter callback for MonoBook skin. - * Takes an associative array of data set from a SkinTemplate-based - * class, and a wrapper for MediaWiki's localization database, and - * outputs a formatted page. - * - * @access private - */ - function execute() { - // Suppress warnings to prevent notices about missing indexes in $this->data - wfSuppressWarnings(); - - $this->html( 'headelement' ); -?>
-
- - data['sitenotice'] ) { ?>
html( 'sitenotice' ) ?>
- -

html( 'title' ) ?>

-
-
msg( 'tagline' ) ?>
-
html( 'userlangattributes' ) ?>>html( 'subtitle' ) ?>
-data['undelete'] ) { ?> -
html( 'undelete' ) ?>
-data['newtalk'] ) { ?> -
html( 'newtalk' ) ?>
- -
msg( 'jumpto' ) ?> msg( 'jumptonavigation' ) ?>msg( 'comma-separator' ) ?>msg( 'jumptosearch' ) ?>
- - -html( 'bodytext' ) ?> - data['catlinks'] ) { $this->html( 'catlinks' ); } ?> - - data['dataAfterContent'] ) { $this->html( 'dataAfterContent' ); } ?> -
-
-
-
html( 'userlangattributes' ) ?>> -

msg( 'navigation-heading' ) ?>

-cactions(); ?> - - -renderPortals( $this->data['sidebar'] ); -?> -
-
-getFooterIcons( "icononly" ); - $validFooterLinks = $this->getFooterLinks( "flat" ); // Additional footer links - - if ( count( $validFooterIcons ) + count( $validFooterLinks ) > 0 ) { ?> - -printTrail(); - echo Html::closeElement( 'body' ); - echo Html::closeElement( 'html' ); - wfRestoreWarnings(); - } // end of execute() method - - /*************************************************************************************************/ - - /** - * @param $sidebar array - */ - protected function renderPortals( $sidebar ) { - if ( !isset( $sidebar['SEARCH'] ) ) { - $sidebar['SEARCH'] = true; - } - if ( !isset( $sidebar['TOOLBOX'] ) ) { - $sidebar['TOOLBOX'] = true; - } - if ( !isset( $sidebar['LANGUAGES'] ) ) { - $sidebar['LANGUAGES'] = true; - } - - foreach ( $sidebar as $boxName => $content ) { - if ( $content === false ) { - continue; - } - - if ( $boxName == 'SEARCH' ) { - $this->searchBox(); - } elseif ( $boxName == 'TOOLBOX' ) { - $this->toolbox(); - } elseif ( $boxName == 'LANGUAGES' ) { - $this->languageBox(); - } else { - $this->customBox( $boxName, $content ); - } - } - } - - function searchBox() { - global $wgUseTwoButtonsSearchForm; -?> - - - - - -data['language_urls'] !== false ) { -?> - - 'generated-sidebar portlet', 'id' => Sanitizer::escapeId( "p-$bar" ), 'role' => 'navigation' ); - $tooltip = Linker::titleAttrib( "p-$bar" ); - if ( $tooltip !== false ) { - $portletAttribs['title'] = $tooltip; - } - echo ' ' . Html::openElement( 'div', $portletAttribs ); - $msgObj = wfMessage( $bar ); -?> - -

exists() ? $msgObj->text() : $bar ); ?>

-
- -
    - $val ) { ?> - makeListItem( $key, $val ); ?> - - -
-renderAfterPortlet( $bar ); -?> -
-
-getRequest()->getFuzzyBool( 'debug' ) ? '' : '.min'; - $out->addHeadItem( 'csshover', - '" - ); - - $out->addModules( array( 'skins.vector.js', 'skins.vector.collapsibleNav' ) ); - } - - /** - * Loads skin and user CSS files. - * @param $out OutputPage object - */ - function setupSkinUserCss( OutputPage $out ) { - parent::setupSkinUserCss( $out ); - - $styles = array( 'mediawiki.skinning.interface', 'skins.vector.styles' ); - wfRunHooks( 'SkinVectorStyleModules', array( $this, &$styles ) ); - $out->addModuleStyles( $styles ); - } - - /** - * Adds classes to the body element. - * - * @param $out OutputPage object - * @param &$bodyAttrs Array of attributes that will be set on the body element - */ - function addToBodyAttributes( $out, &$bodyAttrs ) { - if ( isset( $bodyAttrs['class'] ) && strlen( $bodyAttrs['class'] ) > 0 ) { - $bodyAttrs['class'] .= ' ' . implode( ' ', static::$bodyClasses ); - } else { - $bodyAttrs['class'] = implode( ' ', static::$bodyClasses ); - } - } -} - -/** - * QuickTemplate class for Vector skin - * @ingroup Skins - */ -class VectorTemplate extends BaseTemplate { - - /* Functions */ - - /** - * Outputs the entire contents of the (X)HTML page - */ - public function execute() { - global $wgVectorUseIconWatch; - - // Build additional attributes for navigation urls - $nav = $this->data['content_navigation']; - - if ( $wgVectorUseIconWatch ) { - $mode = $this->getSkin()->getUser()->isWatched( $this->getSkin()->getRelevantTitle() ) ? 'unwatch' : 'watch'; - if ( isset( $nav['actions'][$mode] ) ) { - $nav['views'][$mode] = $nav['actions'][$mode]; - $nav['views'][$mode]['class'] = rtrim( 'icon ' . $nav['views'][$mode]['class'], ' ' ); - $nav['views'][$mode]['primary'] = true; - unset( $nav['actions'][$mode] ); - } - } - - $xmlID = ''; - foreach ( $nav as $section => $links ) { - foreach ( $links as $key => $link ) { - if ( $section == 'views' && !( isset( $link['primary'] ) && $link['primary'] ) ) { - $link['class'] = rtrim( 'collapsible ' . $link['class'], ' ' ); - } - - $xmlID = isset( $link['id'] ) ? $link['id'] : 'ca-' . $xmlID; - $nav[$section][$key]['attributes'] = - ' id="' . Sanitizer::escapeId( $xmlID ) . '"'; - if ( $link['class'] ) { - $nav[$section][$key]['attributes'] .= - ' class="' . htmlspecialchars( $link['class'] ) . '"'; - unset( $nav[$section][$key]['class'] ); - } - if ( isset( $link['tooltiponly'] ) && $link['tooltiponly'] ) { - $nav[$section][$key]['key'] = - Linker::tooltip( $xmlID ); - } else { - $nav[$section][$key]['key'] = - Xml::expandAttributes( Linker::tooltipAndAccesskeyAttribs( $xmlID ) ); - } - } - } - $this->data['namespace_urls'] = $nav['namespaces']; - $this->data['view_urls'] = $nav['views']; - $this->data['action_urls'] = $nav['actions']; - $this->data['variant_urls'] = $nav['variants']; - - // Reverse horizontally rendered navigation elements - if ( $this->data['rtl'] ) { - $this->data['view_urls'] = - array_reverse( $this->data['view_urls'] ); - $this->data['namespace_urls'] = - array_reverse( $this->data['namespace_urls'] ); - $this->data['personal_urls'] = - array_reverse( $this->data['personal_urls'] ); - } - // Output HTML Page - $this->html( 'headelement' ); -?> -
-
-
- - - data['sitenotice'] ) { ?> -
html( 'sitenotice' ) ?>
- -

html( 'title' ) ?>

- html( 'prebodyhtml' ) ?> -
- data['isarticle'] ) { ?> -
msg( 'tagline' ) ?>
- -
html( 'userlangattributes' ) ?>>html( 'subtitle' ) ?>
- data['undelete'] ) { ?> -
html( 'undelete' ) ?>
- - data['newtalk'] ) { ?> -
html( 'newtalk' ) ?>
- -
- msg( 'jumpto' ) ?> - msg( 'jumptonavigation' ) ?>msg( 'comma-separator' ) ?> - msg( 'jumptosearch' ) ?> -
- html( 'bodycontent' ) ?> - data['printfooter'] ) { ?> -
- html( 'printfooter' ); ?> -
- - data['catlinks'] ) { ?> - html( 'catlinks' ); ?> - - data['dataAfterContent'] ) { ?> - html( 'dataAfterContent' ); ?> - -
- html( 'debughtml' ); ?> -
-
-
-

msg( 'navigation-heading' ) ?>

-
- renderNavigation( 'PERSONAL' ); ?> -
- renderNavigation( array( 'NAMESPACES', 'VARIANTS' ) ); ?> -
-
- renderNavigation( array( 'VIEWS', 'ACTIONS', 'SEARCH' ) ); ?> -
-
-
- - renderPortals( $this->data['sidebar'] ); ?> -
-
- - printTrail(); ?> - - - - $content ) { - if ( $content === false ) { - continue; - } - - switch ( $name ) { - case 'SEARCH': - break; - case 'TOOLBOX': - $this->renderPortal( 'tb', $this->getToolbox(), 'toolbox', 'SkinTemplateToolboxEnd' ); - break; - case 'LANGUAGES': - if ( $this->data['language_urls'] !== false ) { - $this->renderPortal( 'lang', $this->data['language_urls'], 'otherlanguages' ); - } - break; - default: - $this->renderPortal( $name, $content ); - break; - } - } - } - - /** - * @param $name string - * @param $content array - * @param $msg null|string - * @param $hook null|string|array - */ - protected function renderPortal( $name, $content, $msg = null, $hook = null ) { - if ( $msg === null ) { - $msg = $name; - } - $msgObj = wfMessage( $msg ); - ?> - -data['rtl'] ) { - $elements = array_reverse( $elements ); - } - // Render elements - foreach ( $elements as $name => $element ) { - switch ( $element ) { - case 'NAMESPACES': -?> - - - - - - - - - - -