summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Lécureuil <neoclust@mageia.org>2017-04-19 00:16:28 +0200
committerNicolas Lécureuil <neoclust@mageia.org>2017-04-19 00:16:28 +0200
commit14ffe3143e36d79ef7054b293e51f3fb4b658224 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904
parentc2653bf8ea6048088ea2ed708f8b3602f41a01cd (diff)
downloadmediawiki-14ffe3143e36d79ef7054b293e51f3fb4b658224.tar
mediawiki-14ffe3143e36d79ef7054b293e51f3fb4b658224.tar.gz
mediawiki-14ffe3143e36d79ef7054b293e51f3fb4b658224.tar.bz2
mediawiki-14ffe3143e36d79ef7054b293e51f3fb4b658224.tar.xz
mediawiki-14ffe3143e36d79ef7054b293e51f3fb4b658224.zip
Remove all to rebase on new mw
-rw-r--r--skins/Chick.deps.php14
-rw-r--r--skins/Chick.php32
-rw-r--r--skins/CologneBlue.php366
-rw-r--r--skins/Modern.deps.php13
-rw-r--r--skins/Modern.php338
-rw-r--r--skins/MonoBook.deps.php13
-rw-r--r--skins/MonoBook.php346
-rw-r--r--skins/MySkin.deps.php14
-rw-r--r--skins/MySkin.php20
-rw-r--r--skins/Nostalgia.php119
-rw-r--r--skins/Simple.deps.php14
-rw-r--r--skins/Simple.php68
-rw-r--r--skins/Standard.php283
-rw-r--r--skins/Vector.deps.php12
-rw-r--r--skins/Vector.php810
-rw-r--r--skins/cavendish.deps.php12
-rw-r--r--skins/cavendish.php460
-rw-r--r--skins/cavendish/COPYING4
-rwxr-xr-xskins/cavendish/DroidSansMono-LICENSE.txt202
-rwxr-xr-xskins/cavendish/DroidSansMono.ttfbin117072 -> 0 bytes
-rw-r--r--skins/cavendish/README21
-rw-r--r--skins/cavendish/audio.pngbin312 -> 0 bytes
-rw-r--r--skins/cavendish/basetemplate.css123
-rw-r--r--skins/cavendish/bg_ln_4.pngbin6283 -> 0 bytes
-rw-r--r--skins/cavendish/body_back.gifbin526 -> 0 bytes
-rw-r--r--skins/cavendish/bullet.gifbin50 -> 0 bytes
-rw-r--r--skins/cavendish/cauldron_alpha_ln_1.pngbin8125 -> 0 bytes
-rw-r--r--skins/cavendish/cavendish.css490
-rw-r--r--skins/cavendish/content.css548
-rw-r--r--skins/cavendish/discussionitem_icon.gifbin949 -> 0 bytes
-rw-r--r--skins/cavendish/document.pngbin270 -> 0 bytes
-rw-r--r--skins/cavendish/external-rtl.pngbin198 -> 0 bytes
-rw-r--r--skins/cavendish/external.pngbin165 -> 0 bytes
-rw-r--r--skins/cavendish/favicon.pngbin1184 -> 0 bytes
-rw-r--r--skins/cavendish/file_icon.gifbin921 -> 0 bytes
-rw-r--r--skins/cavendish/header_bl.pngbin6231 -> 0 bytes
-rw-r--r--skins/cavendish/header_br.gifbin546 -> 0 bytes
-rw-r--r--skins/cavendish/header_logo.gifbin5162 -> 0 bytes
-rw-r--r--skins/cavendish/header_tab.gifbin4296 -> 0 bytes
-rw-r--r--skins/cavendish/header_tl.gifbin836 -> 0 bytes
-rw-r--r--skins/cavendish/header_tr.gifbin466 -> 0 bytes
-rw-r--r--skins/cavendish/key-point_bl.gifbin102 -> 0 bytes
-rw-r--r--skins/cavendish/key-point_tl.gifbin103 -> 0 bytes
-rw-r--r--skins/cavendish/link_icon.gifbin942 -> 0 bytes
-rw-r--r--skins/cavendish/lock_icon.gifbin918 -> 0 bytes
-rw-r--r--skins/cavendish/magnify-clip.pngbin237 -> 0 bytes
-rw-r--r--skins/cavendish/mail_icon.gifbin918 -> 0 bytes
-rw-r--r--skins/cavendish/main.css275
-rw-r--r--skins/cavendish/menu_back.gifbin94 -> 0 bytes
-rw-r--r--skins/cavendish/menu_br.gifbin384 -> 0 bytes
-rw-r--r--skins/cavendish/menu_tr.gifbin107 -> 0 bytes
-rw-r--r--skins/cavendish/monobook.css1314
-rw-r--r--skins/cavendish/news_icon.pngbin297 -> 0 bytes
-rw-r--r--skins/cavendish/required.gifbin47 -> 0 bytes
-rw-r--r--skins/cavendish/subsite_back.gifbin791 -> 0 bytes
-rw-r--r--skins/cavendish/subsite_mozilla-org.gifbin2098 -> 0 bytes
-rw-r--r--skins/cavendish/template.css251
-rw-r--r--skins/cavendish/user.gifbin923 -> 0 bytes
-rw-r--r--skins/cavendish/video.pngbin215 -> 0 bytes
-rw-r--r--skins/cavendish/wiki_header_logo.gifbin4930 -> 0 bytes
-rw-r--r--skins/chick/IE50Fixes.css67
-rw-r--r--skins/chick/IE55Fixes.css81
-rw-r--r--skins/chick/IE60Fixes.css79
-rw-r--r--skins/chick/main.css411
-rw-r--r--skins/common/IE80Fixes.css15
-rw-r--r--skins/common/IEFixes.js128
-rw-r--r--skins/common/Makefile2
-rw-r--r--skins/common/ajax.js167
-rw-r--r--skins/common/ajaxwatch.js180
-rw-r--r--skins/common/block.js57
-rw-r--r--skins/common/changepassword.js16
-rw-r--r--skins/common/cologneblue.css101
-rw-r--r--skins/common/commonPrint.css249
-rw-r--r--skins/common/common_rtl.css59
-rw-r--r--skins/common/diff.css143
-rw-r--r--skins/common/diff.js20
-rw-r--r--skins/common/edit.js231
-rw-r--r--skins/common/enhancedchanges.js40
-rw-r--r--skins/common/feed.css95
-rw-r--r--skins/common/history.js94
-rw-r--r--skins/common/htmlform.js40
-rw-r--r--skins/common/images/Arr_.pngbin246 -> 0 bytes
-rw-r--r--skins/common/images/Arr_d.pngbin215 -> 0 bytes
-rw-r--r--skins/common/images/Arr_l.pngbin263 -> 0 bytes
-rw-r--r--skins/common/images/Arr_r.pngbin210 -> 0 bytes
-rw-r--r--skins/common/images/Arr_u.pngbin425 -> 0 bytes
-rw-r--r--skins/common/images/Checker-16x16.pngbin81 -> 0 bytes
-rw-r--r--skins/common/images/Zoom_sans.gifbin901 -> 0 bytes
-rw-r--r--skins/common/images/add.pngbin3329 -> 0 bytes
-rw-r--r--skins/common/images/ajax-loader.gifbin3208 -> 0 bytes
-rw-r--r--skins/common/images/ar/button_bold.pngbin741 -> 0 bytes
-rw-r--r--skins/common/images/ar/button_headline.pngbin629 -> 0 bytes
-rw-r--r--skins/common/images/ar/button_italic.pngbin692 -> 0 bytes
-rw-r--r--skins/common/images/ar/button_link.pngbin741 -> 0 bytes
-rw-r--r--skins/common/images/ar/button_nowiki.pngbin1185 -> 0 bytes
-rw-r--r--skins/common/images/arrow_disabled_first_25.pngbin481 -> 0 bytes
-rw-r--r--skins/common/images/arrow_disabled_last_25.pngbin480 -> 0 bytes
-rw-r--r--skins/common/images/arrow_disabled_left_25.pngbin460 -> 0 bytes
-rw-r--r--skins/common/images/arrow_disabled_right_25.pngbin447 -> 0 bytes
-rw-r--r--skins/common/images/arrow_first_25.pngbin482 -> 0 bytes
-rw-r--r--skins/common/images/arrow_last_25.pngbin484 -> 0 bytes
-rw-r--r--skins/common/images/arrow_left_25.pngbin462 -> 0 bytes
-rw-r--r--skins/common/images/arrow_right_25.pngbin449 -> 0 bytes
-rw-r--r--skins/common/images/be-tarask/button_bold.pngbin554 -> 0 bytes
-rw-r--r--skins/common/images/be-tarask/button_italic.pngbin592 -> 0 bytes
-rw-r--r--skins/common/images/be-tarask/button_link.pngbin466 -> 0 bytes
-rw-r--r--skins/common/images/bullet.gifbin50 -> 0 bytes
-rw-r--r--skins/common/images/button_bold.pngbin288 -> 0 bytes
-rw-r--r--skins/common/images/button_extlink.pngbin494 -> 0 bytes
-rw-r--r--skins/common/images/button_headline.pngbin465 -> 0 bytes
-rw-r--r--skins/common/images/button_hr.pngbin251 -> 0 bytes
-rw-r--r--skins/common/images/button_image.pngbin584 -> 0 bytes
-rw-r--r--skins/common/images/button_italic.pngbin292 -> 0 bytes
-rw-r--r--skins/common/images/button_link.pngbin337 -> 0 bytes
-rw-r--r--skins/common/images/button_math.pngbin617 -> 0 bytes
-rw-r--r--skins/common/images/button_media.pngbin780 -> 0 bytes
-rw-r--r--skins/common/images/button_nowiki.pngbin352 -> 0 bytes
-rw-r--r--skins/common/images/button_sig.pngbin953 -> 0 bytes
-rw-r--r--skins/common/images/button_template.pngbin233 -> 0 bytes
-rw-r--r--skins/common/images/cyrl/LICENSE17
-rw-r--r--skins/common/images/cyrl/button_bold.pngbin275 -> 0 bytes
-rw-r--r--skins/common/images/cyrl/button_italic.pngbin460 -> 0 bytes
-rw-r--r--skins/common/images/cyrl/button_link.pngbin347 -> 0 bytes
-rw-r--r--skins/common/images/de/button_bold.pngbin328 -> 0 bytes
-rw-r--r--skins/common/images/de/button_italic.pngbin351 -> 0 bytes
-rw-r--r--skins/common/images/diffunderline.gifbin52 -> 0 bytes
-rw-r--r--skins/common/images/fa/button_bold.pngbin500 -> 0 bytes
-rw-r--r--skins/common/images/fa/button_headline.pngbin434 -> 0 bytes
-rw-r--r--skins/common/images/fa/button_italic.pngbin573 -> 0 bytes
-rw-r--r--skins/common/images/fa/button_link.pngbin535 -> 0 bytes
-rw-r--r--skins/common/images/fa/button_nowiki.pngbin1185 -> 0 bytes
-rw-r--r--skins/common/images/feed-icon.pngbin557 -> 0 bytes
-rw-r--r--skins/common/images/gnu-fdl.pngbin1730 -> 0 bytes
-rw-r--r--skins/common/images/icons/COPYING43
-rw-r--r--skins/common/images/icons/fileicon-c.pngbin2211 -> 0 bytes
-rw-r--r--skins/common/images/icons/fileicon-cpp.pngbin1882 -> 0 bytes
-rw-r--r--skins/common/images/icons/fileicon-deb.pngbin4801 -> 0 bytes
-rw-r--r--skins/common/images/icons/fileicon-djvu.pngbin10752 -> 0 bytes
-rw-r--r--skins/common/images/icons/fileicon-djvu.xcfbin83394 -> 0 bytes
-rw-r--r--skins/common/images/icons/fileicon-dvi.pngbin12778 -> 0 bytes
-rw-r--r--skins/common/images/icons/fileicon-exe.pngbin5680 -> 0 bytes
-rw-r--r--skins/common/images/icons/fileicon-h.pngbin1191 -> 0 bytes
-rw-r--r--skins/common/images/icons/fileicon-html.pngbin7422 -> 0 bytes
-rw-r--r--skins/common/images/icons/fileicon-iso.pngbin6450 -> 0 bytes
-rw-r--r--skins/common/images/icons/fileicon-java.pngbin5989 -> 0 bytes
-rw-r--r--skins/common/images/icons/fileicon-mid.pngbin6657 -> 0 bytes
-rw-r--r--skins/common/images/icons/fileicon-mov.pngbin7716 -> 0 bytes
-rw-r--r--skins/common/images/icons/fileicon-o.pngbin2204 -> 0 bytes
-rw-r--r--skins/common/images/icons/fileicon-ogg.pngbin3750 -> 0 bytes
-rw-r--r--skins/common/images/icons/fileicon-ogg.xcfbin40236 -> 0 bytes
-rw-r--r--skins/common/images/icons/fileicon-pdf.pngbin4976 -> 0 bytes
-rw-r--r--skins/common/images/icons/fileicon-ps.pngbin3012 -> 0 bytes
-rw-r--r--skins/common/images/icons/fileicon-rm.pngbin2851 -> 0 bytes
-rw-r--r--skins/common/images/icons/fileicon-rpm.pngbin4103 -> 0 bytes
-rw-r--r--skins/common/images/icons/fileicon-svg.pngbin5094 -> 0 bytes
-rw-r--r--skins/common/images/icons/fileicon-tar.pngbin6347 -> 0 bytes
-rw-r--r--skins/common/images/icons/fileicon-tex.pngbin3997 -> 0 bytes
-rw-r--r--skins/common/images/icons/fileicon-ttf.pngbin3469 -> 0 bytes
-rw-r--r--skins/common/images/icons/fileicon-txt.pngbin3638 -> 0 bytes
-rw-r--r--skins/common/images/icons/fileicon.pngbin1121 -> 0 bytes
-rw-r--r--skins/common/images/ksh/LICENSE7
-rw-r--r--skins/common/images/ksh/button_S_italic.pngbin3206 -> 0 bytes
-rw-r--r--skins/common/images/link_icon.gifbin342 -> 0 bytes
-rw-r--r--skins/common/images/magnify-clip.pngbin204 -> 0 bytes
-rw-r--r--skins/common/images/mediawiki.pngbin22987 -> 0 bytes
-rw-r--r--skins/common/images/nextredirectltr.pngbin187 -> 0 bytes
-rw-r--r--skins/common/images/nextredirectrtl.pngbin187 -> 0 bytes
-rw-r--r--skins/common/images/poweredby_mediawiki_88x31.pngbin1927 -> 0 bytes
-rw-r--r--skins/common/images/public-domain.pngbin2251 -> 0 bytes
-rw-r--r--skins/common/images/redirectltr.pngbin381 -> 0 bytes
-rw-r--r--skins/common/images/redirectrtl.pngbin381 -> 0 bytes
-rw-r--r--skins/common/images/remove.pngbin3346 -> 0 bytes
-rw-r--r--skins/common/images/sort_down.gifbin464 -> 0 bytes
-rw-r--r--skins/common/images/sort_none.gifbin462 -> 0 bytes
-rw-r--r--skins/common/images/sort_up.gifbin466 -> 0 bytes
-rw-r--r--skins/common/images/spinner.gifbin4648 -> 0 bytes
-rw-r--r--skins/common/images/tooltip_icon.pngbin430 -> 0 bytes
-rw-r--r--skins/common/images/wiki.pngbin24801 -> 0 bytes
-rw-r--r--skins/common/jquery.js4384
-rw-r--r--skins/common/jquery.min.js433
-rw-r--r--skins/common/metadata.js49
-rw-r--r--skins/common/mwsuggest.js995
-rw-r--r--skins/common/nostalgia.css17
-rw-r--r--skins/common/oldshared.css383
-rw-r--r--skins/common/prefs.js217
-rw-r--r--skins/common/preview.js53
-rw-r--r--skins/common/protect.js351
-rw-r--r--skins/common/quickbar-right.css1
-rw-r--r--skins/common/quickbar.css1
-rw-r--r--skins/common/rightclickedit.js48
-rw-r--r--skins/common/search.js50
-rw-r--r--skins/common/shared.css831
-rw-r--r--skins/common/upload.js343
-rw-r--r--skins/common/wikibits.js1042
-rw-r--r--skins/common/wikiprintable.css46
-rw-r--r--skins/common/wikistandard.css48
-rw-r--r--skins/modern/audio.pngbin312 -> 0 bytes
-rw-r--r--skins/modern/bullet.gifbin50 -> 0 bytes
-rw-r--r--skins/modern/discussionitem_icon.gifbin549 -> 0 bytes
-rw-r--r--skins/modern/document.pngbin270 -> 0 bytes
-rw-r--r--skins/modern/external.pngbin165 -> 0 bytes
-rw-r--r--skins/modern/file_icon.gifbin323 -> 0 bytes
-rw-r--r--skins/modern/footer-grad.pngbin149 -> 0 bytes
-rw-r--r--skins/modern/link_icon.gifbin342 -> 0 bytes
-rw-r--r--skins/modern/lock_icon.gifbin321 -> 0 bytes
-rw-r--r--skins/modern/mail_icon.gifbin321 -> 0 bytes
-rw-r--r--skins/modern/main.css923
-rw-r--r--skins/modern/news_icon.pngbin297 -> 0 bytes
-rw-r--r--skins/modern/print.css10
-rw-r--r--skins/modern/rtl.css163
-rw-r--r--skins/modern/video.pngbin215 -> 0 bytes
-rw-r--r--skins/monobook/FF2Fixes.css4
-rw-r--r--skins/monobook/IE50Fixes.css67
-rw-r--r--skins/monobook/IE55Fixes.css85
-rw-r--r--skins/monobook/IE60Fixes.css98
-rw-r--r--skins/monobook/IE70Fixes.css84
-rw-r--r--skins/monobook/Opera6Fixes.css20
-rw-r--r--skins/monobook/Opera7Fixes.css21
-rw-r--r--skins/monobook/Opera9Fixes.css11
-rw-r--r--skins/monobook/audio.pngbin312 -> 0 bytes
-rw-r--r--skins/monobook/bullet.gifbin50 -> 0 bytes
-rw-r--r--skins/monobook/discussionitem_icon.gifbin549 -> 0 bytes
-rw-r--r--skins/monobook/document.pngbin270 -> 0 bytes
-rw-r--r--skins/monobook/external-rtl.pngbin198 -> 0 bytes
-rw-r--r--skins/monobook/external.pngbin165 -> 0 bytes
-rw-r--r--skins/monobook/file_icon.gifbin323 -> 0 bytes
-rw-r--r--skins/monobook/headbg.jpgbin7881 -> 0 bytes
-rw-r--r--skins/monobook/link_icon.gifbin342 -> 0 bytes
-rw-r--r--skins/monobook/lock_icon.gifbin918 -> 0 bytes
-rw-r--r--skins/monobook/magnify-clip.pngbin170 -> 0 bytes
-rw-r--r--skins/monobook/mail_icon.gifbin321 -> 0 bytes
-rw-r--r--skins/monobook/main.css1308
-rw-r--r--skins/monobook/news_icon.pngbin297 -> 0 bytes
-rw-r--r--skins/monobook/required.gifbin47 -> 0 bytes
-rw-r--r--skins/monobook/rtl.css251
-rw-r--r--skins/monobook/user.gifbin325 -> 0 bytes
-rw-r--r--skins/monobook/video.pngbin169 -> 0 bytes
-rw-r--r--skins/monobook/wiki-indexed.pngbin8205 -> 0 bytes
-rw-r--r--skins/monobook/wiki.pngbin22987 -> 0 bytes
-rw-r--r--skins/myskin/main.css1
-rw-r--r--skins/simple/discussionitem_icon.gifbin549 -> 0 bytes
-rw-r--r--skins/simple/external.pngbin165 -> 0 bytes
-rw-r--r--skins/simple/file_icon.gifbin323 -> 0 bytes
-rw-r--r--skins/simple/link_icon.gifbin342 -> 0 bytes
-rw-r--r--skins/simple/lock_icon.gifbin321 -> 0 bytes
-rw-r--r--skins/simple/mail_icon.gifbin321 -> 0 bytes
-rw-r--r--skins/simple/main.css392
-rw-r--r--skins/simple/rtl.css185
-rw-r--r--skins/vector/Makefile18
-rw-r--r--skins/vector/csshover.htc262
-rw-r--r--skins/vector/cssjanus/COPYING13
-rw-r--r--skins/vector/cssjanus/LICENSE202
-rw-r--r--skins/vector/cssjanus/README91
-rwxr-xr-xskins/vector/cssjanus/cssjanus.py574
-rwxr-xr-xskins/vector/cssjanus/csslex.py114
-rw-r--r--skins/vector/experiments/babaco-colors-a.css109
-rw-r--r--skins/vector/experiments/babaco-colors-b.css67
-rw-r--r--skins/vector/experiments/babaco-colors-c.css91
-rw-r--r--skins/vector/experiments/images/new-border.pngbin124 -> 0 bytes
-rw-r--r--skins/vector/experiments/images/new-portal-break-ltr.pngbin891 -> 0 bytes
-rw-r--r--skins/vector/experiments/images/new-portal-break-rtl.pngbin891 -> 0 bytes
-rw-r--r--skins/vector/experiments/images/page-base-fade.pngbin306 -> 0 bytes
-rw-r--r--skins/vector/experiments/images/page-base-updated.pngbin124 -> 0 bytes
-rw-r--r--skins/vector/experiments/images/tab-active-first.pngbin981 -> 0 bytes
-rw-r--r--skins/vector/experiments/images/tab-active-last.pngbin980 -> 0 bytes
-rw-r--r--skins/vector/experiments/images/tab-fade.pngbin226 -> 0 bytes
-rw-r--r--skins/vector/experiments/images/tab-first.pngbin1057 -> 0 bytes
-rw-r--r--skins/vector/experiments/images/tab-last.pngbin1057 -> 0 bytes
-rw-r--r--skins/vector/experiments/images/tab-new-fade.pngbin216 -> 0 bytes
-rw-r--r--skins/vector/experiments/new-tabs.css322
-rw-r--r--skins/vector/images/arrow-down-icon.pngbin181 -> 0 bytes
-rw-r--r--skins/vector/images/audio-icon.pngbin345 -> 0 bytes
-rw-r--r--skins/vector/images/border.pngbin119 -> 0 bytes
-rw-r--r--skins/vector/images/bullet-icon.pngbin152 -> 0 bytes
-rw-r--r--skins/vector/images/document-icon.pngbin345 -> 0 bytes
-rw-r--r--skins/vector/images/edit-icon.pngbin358 -> 0 bytes
-rw-r--r--skins/vector/images/external-link-ltr-icon.pngbin279 -> 0 bytes
-rw-r--r--skins/vector/images/external-link-rtl-icon.pngbin277 -> 0 bytes
-rw-r--r--skins/vector/images/file-icon.pngbin402 -> 0 bytes
-rw-r--r--skins/vector/images/link-icon.pngbin429 -> 0 bytes
-rw-r--r--skins/vector/images/lock-icon.pngbin370 -> 0 bytes
-rw-r--r--skins/vector/images/magnify-clip.pngbin204 -> 0 bytes
-rw-r--r--skins/vector/images/mail-icon.pngbin375 -> 0 bytes
-rw-r--r--skins/vector/images/news-icon.pngbin359 -> 0 bytes
-rw-r--r--skins/vector/images/page-base.pngbin119 -> 0 bytes
-rw-r--r--skins/vector/images/page-fade.pngbin253 -> 0 bytes
-rw-r--r--skins/vector/images/portal-break-ltr.pngbin287 -> 0 bytes
-rw-r--r--skins/vector/images/portal-break-rtl.pngbin280 -> 0 bytes
-rw-r--r--skins/vector/images/portal-break.pngbin242 -> 0 bytes
-rw-r--r--skins/vector/images/preferences-base.pngbin119 -> 0 bytes
-rw-r--r--skins/vector/images/preferences-break.pngbin286 -> 0 bytes
-rw-r--r--skins/vector/images/preferences-edge.pngbin119 -> 0 bytes
-rw-r--r--skins/vector/images/preferences-fade.pngbin248 -> 0 bytes
-rw-r--r--skins/vector/images/search-fade.pngbin185 -> 0 bytes
-rw-r--r--skins/vector/images/search-ltr.pngbin214 -> 0 bytes
-rw-r--r--skins/vector/images/search-rtl.pngbin214 -> 0 bytes
-rw-r--r--skins/vector/images/tab-break.pngbin263 -> 0 bytes
-rw-r--r--skins/vector/images/tab-current-fade.pngbin121 -> 0 bytes
-rw-r--r--skins/vector/images/tab-normal-fade.pngbin254 -> 0 bytes
-rw-r--r--skins/vector/images/talk-icon.pngbin377 -> 0 bytes
-rw-r--r--skins/vector/images/user-icon.pngbin345 -> 0 bytes
-rw-r--r--skins/vector/images/video-icon.pngbin395 -> 0 bytes
-rw-r--r--skins/vector/images/watch-icon-loading.gifbin840 -> 0 bytes
-rw-r--r--skins/vector/images/watch-icons.pngbin1745 -> 0 bytes
-rw-r--r--skins/vector/main-ltr.css1164
-rw-r--r--skins/vector/main-rtl.css1128
-rw-r--r--skins/vector/wiki-indexed.pngbin8205 -> 0 bytes
-rw-r--r--skins/vector/wiki.pngbin22987 -> 0 bytes
308 files changed, 0 insertions, 25574 deletions
diff --git a/skins/Chick.deps.php b/skins/Chick.deps.php
deleted file mode 100644
index 5626982..0000000
--- a/skins/Chick.deps.php
+++ /dev/null
@@ -1,14 +0,0 @@
-<?php
-// This file exists to ensure that base classes are preloaded before
-// Chick.php is compiled, working around a bug in the APC opcode
-// cache on PHP 5, where cached code can break if the include order
-// changed on a subsequent page view.
-// see http://lists.wikimedia.org/pipermail/wikitech-l/2006-January/021311.html
-
-if ( ! defined( 'MEDIAWIKI' ) )
- die( 1 );
-
-$preIP = '/usr/share/mediawiki';
-require_once( $preIP . '/includes/SkinTemplate.php');
-require_once( dirname(__FILE__) . '/MonoBook.php' );
-
diff --git a/skins/Chick.php b/skins/Chick.php
deleted file mode 100644
index c8eb815..0000000
--- a/skins/Chick.php
+++ /dev/null
@@ -1,32 +0,0 @@
-<?php
-/**
- * Chick: A lightweight Monobook skin with no sidebar, the sidebar links are
- * given at the bottom of the page instead, as in the unstyled MySkin.
- *
- * @file
- * @ingroup Skins
- */
-
-if( !defined( 'MEDIAWIKI' ) )
- die( -1 );
-
-/** */
-require_once( dirname(__FILE__) . '/MonoBook.php' );
-
-/**
- * Inherit main code from SkinTemplate, set the CSS and template filter.
- * @ingroup Skins
- */
-class SkinChick extends SkinTemplate {
- var $skinname = 'chick', $stylename = 'chick',
- $template = 'MonoBookTemplate', $useHeadElement = true;
-
- function setupSkinUserCss( OutputPage $out ){
- parent::setupSkinUserCss( $out );
- // Append to the default screen common & print styles...
- $out->addStyle( 'chick/main.css', 'screen,handheld' );
- $out->addStyle( 'chick/IE50Fixes.css', 'screen,handheld', 'lt IE 5.5000' );
- $out->addStyle( 'chick/IE55Fixes.css', 'screen,handheld', 'IE 5.5000' );
- $out->addStyle( 'chick/IE60Fixes.css', 'screen,handheld', 'IE 6' );
- }
-}
diff --git a/skins/CologneBlue.php b/skins/CologneBlue.php
deleted file mode 100644
index a7aac8a..0000000
--- a/skins/CologneBlue.php
+++ /dev/null
@@ -1,366 +0,0 @@
-<?php
-/**
- * Cologne Blue: A nicer-looking alternative to Standard.
- *
- * @todo document
- * @file
- * @ingroup Skins
- */
-
-if( !defined( 'MEDIAWIKI' ) ) {
- die( -1 );
-}
-
-/**
- * @todo document
- * @ingroup Skins
- */
-class SkinCologneBlue extends Skin {
-
- function getStylesheet() {
- return 'common/cologneblue.css';
- }
-
- function getSkinName() {
- return 'cologneblue';
- }
-
- function doBeforeContent() {
- $qb = $this->qbSetting();
- $mainPageObj = Title::newMainPage();
-
- $s = "\n<div id='content'>\n<div id='topbar'>" .
- '<table width="100%" border="0" cellspacing="0" cellpadding="8"><tr>';
-
- $s .= '<td class="top" align="left" valign="middle" nowrap="nowrap">';
- $s .= '<a href="' . $mainPageObj->escapeLocalURL() . '">';
- $s .= '<span id="sitetitle">' . wfMsg( 'sitetitle' ) . '</span></a>';
-
- $s .= '</td><td class="top" align="right" valign="bottom" width="100%">';
- $s .= $this->sysLinks();
- $s .= '</td></tr><tr><td valign="top">';
-
- $s .= '<font size="-1"><span id="sitesub">';
- $s .= htmlspecialchars( wfMsg( 'sitesubtitle' ) ) . '</span></font>';
- $s .= '</td><td align="right">';
-
- $s .= '<font size="-1"><span id="langlinks">';
- $s .= str_replace( '<br />', '', $this->otherLanguages() );
- $cat = $this->getCategoryLinks();
- if( $cat ) {
- $s .= "<br />$cat\n";
- }
- $s .= '<br />' . $this->pageTitleLinks();
- $s .= '</span></font>';
-
- $s .= "</td></tr></table>\n";
-
- $s .= "\n</div>\n<div id='article'>";
-
- $notice = wfGetSiteNotice();
- if( $notice ) {
- $s .= "\n<div id='siteNotice'>$notice</div>\n";
- }
- $s .= $this->pageTitle();
- $s .= $this->pageSubtitle() . "\n";
- return $s;
- }
-
- function doAfterContent(){
- global $wgLang;
-
- $s = "\n</div><br clear='all' />\n";
-
- $s .= "\n<div id='footer'>";
- $s .= '<table width="98%" border="0" cellspacing="0"><tr>';
-
- $qb = $this->qbSetting();
- if ( 1 == $qb || 3 == $qb ) { # Left
- $s .= $this->getQuickbarCompensator();
- }
- $s .= '<td class="bottom" align="center" valign="top">';
-
- $s .= $this->bottomLinks();
- $s .= $wgLang->pipeList( array(
- "\n<br />" . $this->link(
- Title::newMainPage(),
- null,
- array(),
- array(),
- array( 'known', 'noclasses' )
- ),
- $this->aboutLink(),
- $this->searchForm( wfMsg( 'qbfind' ) )
- ) );
-
- $s .= "\n<br />" . $this->pageStats();
-
- $s .= '</td>';
- if ( 2 == $qb ) { # Right
- $s .= $this->getQuickbarCompensator();
- }
- $s .= "</tr></table>\n</div>\n</div>\n";
-
- if ( 0 != $qb ) {
- $s .= $this->quickBar();
- }
- return $s;
- }
-
- function reallyGenerateUserStylesheet() {
- $s = parent::reallyGenerateUserStylesheet();
- $qb = $this->qbSetting();
-
- if ( 2 == $qb ) { # Right
- $s .= "#quickbar { position: absolute; right: 4px; }\n" .
- "#article { margin-left: 4px; margin-right: 148px; }\n";
- } elseif ( 1 == $qb ) {
- $s .= "#quickbar { position: absolute; left: 4px; }\n" .
- "#article { margin-left: 148px; margin-right: 4px; }\n";
- } elseif ( 3 == $qb ) { # Floating left
- $s .= "#quickbar { position:absolute; left:4px } \n" .
- "#topbar { margin-left: 148px }\n" .
- "#article { margin-left:148px; margin-right: 4px; } \n" .
- "body>#quickbar { position:fixed; left:4px; top:4px; overflow:auto ;bottom:4px;} \n"; # Hides from IE
- } elseif ( 4 == $qb ) { # Floating right
- $s .= "#quickbar { position: fixed; right: 4px; } \n" .
- "#topbar { margin-right: 148px }\n" .
- "#article { margin-right: 148px; margin-left: 4px; } \n" .
- "body>#quickbar { position: fixed; right: 4px; top: 4px; overflow: auto ;bottom:4px;} \n"; # Hides from IE
- }
- return $s;
- }
-
- function sysLinks() {
- global $wgUser, $wgLang, $wgContLang;
- $li = SpecialPage::getTitleFor( 'Userlogin' );
- $lo = SpecialPage::getTitleFor( 'Userlogout' );
-
- $rt = $this->mTitle->getPrefixedURL();
- if ( 0 == strcasecmp( urlencode( $lo ), $rt ) ) {
- $q = array();
- } else {
- $q = array( 'returnto' => $rt );
- }
-
- $s = array(
- $this->mainPageLink(),
- $this->linkKnown(
- Title::newFromText( wfMsgForContent( 'aboutpage' ) ),
- wfMsg( 'about' )
- ),
- $this->linkKnown(
- Title::newFromText( wfMsgForContent( 'helppage' ) ),
- wfMsg( 'help' )
- ),
- $this->linkKnown(
- Title::newFromText( wfMsgForContent( 'faqpage' ) ),
- wfMsg( 'faq' )
- ),
- $this->specialLink( 'specialpages' )
- );
-
- /* show links to different language variants */
- if( $this->variantLinks() ) {
- $s[] = $this->variantLinks();
- }
- if( $this->extensionTabLinks() ) {
- $s[] = $this->extensionTabLinks();
- }
- if ( $wgUser->isLoggedIn() ) {
- $s[] = $this->linkKnown(
- $lo,
- wfMsg( 'logout' ),
- array(),
- $q
- );
- } else {
- $s[] = $this->linkKnown(
- $li,
- wfMsg( 'login' ),
- array(),
- $q
- );
- }
-
- return $wgLang->pipeList( $s );
- }
-
- /**
- * Compute the sidebar
- * @access private
- */
- function quickBar(){
- global $wgOut, $wgUser, $wgEnableUploads;
-
- $tns = $this->mTitle->getNamespace();
-
- $s = "\n<div id='quickbar'>";
-
- $sep = '<br />';
- $s .= $this->menuHead( 'qbfind' );
- $s .= $this->searchForm();
-
- $s .= $this->menuHead( 'qbbrowse' );
-
- # Use the first heading from the Monobook sidebar as the "browse" section
- $bar = $this->buildSidebar();
- unset( $bar['SEARCH'] );
- unset( $bar['LANGUAGES'] );
- unset( $bar['TOOLBOX'] );
- $browseLinks = reset( $bar );
-
- foreach ( $browseLinks as $link ) {
- if ( $link['text'] != '-' ) {
- $s .= "<a href=\"{$link['href']}\">" .
- htmlspecialchars( $link['text'] ) . '</a>' . $sep;
- }
- }
-
- if ( $wgOut->isArticle() ) {
- $s .= $this->menuHead( 'qbedit' );
- $s .= '<strong>' . $this->editThisPage() . '</strong>';
-
- $s .= $sep . $this->linkKnown(
- Title::newFromText( wfMsgForContent( 'edithelppage' ) ),
- wfMsg( 'edithelp' )
- );
-
- if( $wgUser->isLoggedIn() ) {
- $s .= $sep . $this->moveThisPage();
- }
- if ( $wgUser->isAllowed( 'delete' ) ) {
- $dtp = $this->deleteThisPage();
- if ( $dtp != '' ) {
- $s .= $sep . $dtp;
- }
- }
- if ( $wgUser->isAllowed( 'protect' ) ) {
- $ptp = $this->protectThisPage();
- if ( $ptp != '' ) {
- $s .= $sep . $ptp;
- }
- }
- $s .= $sep;
-
- $s .= $this->menuHead( 'qbpageoptions' );
- $s .= $this->talkLink()
- . $sep . $this->commentLink()
- . $sep . $this->printableLink();
- if ( $wgUser->isLoggedIn() ) {
- $s .= $sep . $this->watchThisPage();
- }
-
- $s .= $sep;
-
- $s .= $this->menuHead( 'qbpageinfo' )
- . $this->historyLink()
- . $sep . $this->whatLinksHere()
- . $sep . $this->watchPageLinksLink();
-
- if( $tns == NS_USER || $tns == NS_USER_TALK ) {
- $id = User::idFromName( $this->mTitle->getText() );
- if( $id != 0 ) {
- $s .= $sep . $this->userContribsLink();
- if( $this->showEmailUser( $id ) ) {
- $s .= $sep . $this->emailUserLink();
- }
- }
- }
- $s .= $sep;
- }
-
- $s .= $this->menuHead( 'qbmyoptions' );
- if ( $wgUser->isLoggedIn() ) {
- $name = $wgUser->getName();
- $tl = $this->link(
- $wgUser->getTalkPage(),
- wfMsg( 'mytalk' ),
- array(),
- array(),
- array( 'known', 'noclasses' )
- );
- if ( $wgUser->getNewtalk() ) {
- $tl .= ' *';
- }
-
- $s .= $this->link(
- $wgUser->getUserPage(),
- wfMsg( 'mypage' ),
- array(),
- array(),
- array( 'known', 'noclasses' )
- ) . $sep . $tl . $sep . $this->specialLink( 'watchlist' )
- . $sep .
- $this->link(
- SpecialPage::getSafeTitleFor( 'Contributions', $wgUser->getName() ),
- wfMsg( 'mycontris' ),
- array(),
- array(),
- array( 'known', 'noclasses' )
- ) . $sep . $this->specialLink( 'preferences' )
- . $sep . $this->specialLink( 'userlogout' );
- } else {
- $s .= $this->specialLink( 'userlogin' );
- }
-
- $s .= $this->menuHead( 'qbspecialpages' )
- . $this->specialLink( 'newpages' )
- . $sep . $this->specialLink( 'listfiles' )
- . $sep . $this->specialLink( 'statistics' );
- if ( $wgUser->isLoggedIn() && $wgEnableUploads ) {
- $s .= $sep . $this->specialLink( 'upload' );
- }
-
- global $wgSiteSupportPage;
-
- if( $wgSiteSupportPage ) {
- $s .= $sep . '<a href="' . htmlspecialchars( $wgSiteSupportPage ) . '" class="internal">'
- . wfMsg( 'sitesupport' ) . '</a>';
- }
-
- $s .= $sep . $this->link(
- SpecialPage::getTitleFor( 'Specialpages' ),
- wfMsg( 'moredotdotdot' ),
- array(),
- array(),
- array( 'known', 'noclasses' )
- );
-
- $s .= $sep . "\n</div>\n";
- return $s;
- }
-
- function menuHead( $key ) {
- $s = "\n<h6>" . wfMsg( $key ) . "</h6>";
- return $s;
- }
-
- function searchForm( $label = '' ) {
- global $wgRequest, $wgUseTwoButtonsSearchForm;
-
- $search = $wgRequest->getText( 'search' );
- $action = $this->escapeSearchLink();
- $s = "<form id=\"searchform{$this->searchboxes}\" method=\"get\" class=\"inline\" action=\"$action\">";
- if( $label != '' ) {
- $s .= "{$label}: ";
- }
-
- $s .= "<input type='text' id=\"searchInput{$this->searchboxes}\" class=\"mw-searchInput\" name=\"search\" size=\"14\" value=\""
- . htmlspecialchars( substr( $search, 0, 256 ) ) . "\" /><br />"
- . "<input type='submit' id=\"searchGoButton{$this->searchboxes}\" class=\"searchButton\" name=\"go\" value=\"" . htmlspecialchars( wfMsg( 'searcharticle' ) ) . "\" />";
-
- if( $wgUseTwoButtonsSearchForm ) {
- $s .= "<input type='submit' id=\"mw-searchButton{$this->searchboxes}\" class=\"searchButton\" name=\"fulltext\" value=\"" . htmlspecialchars( wfMsg( 'search' ) ) . "\" />\n";
- } else {
- $s .= '<div><a href="' . $action . '" rel="search">' . wfMsg( 'powersearch-legend' ) . "</a></div>\n";
- }
-
- $s .= '</form>';
-
- // Ensure unique id's for search boxes made after the first
- $this->searchboxes = $this->searchboxes == '' ? 2 : $this->searchboxes + 1;
-
- return $s;
- }
-}
diff --git a/skins/Modern.deps.php b/skins/Modern.deps.php
deleted file mode 100644
index 47ad4f2..0000000
--- a/skins/Modern.deps.php
+++ /dev/null
@@ -1,13 +0,0 @@
-<?php
-// This file exists to ensure that base classes are preloaded before
-// Modern.php is compiled, working around a bug in the APC opcode
-// cache on PHP 5, where cached code can break if the include order
-// changed on a subsequent page view.
-// see http://lists.wikimedia.org/pipermail/wikitech-l/2006-January/021311.html
-
-if ( ! defined( 'MEDIAWIKI' ) )
- die( 1 );
-
-$preIP = '/usr/share/mediawiki';
-require_once( $preIP . '/includes/SkinTemplate.php' );
-
diff --git a/skins/Modern.php b/skins/Modern.php
deleted file mode 100644
index ef1b1a1..0000000
--- a/skins/Modern.php
+++ /dev/null
@@ -1,338 +0,0 @@
-<?php
-/**
- * Modern skin, derived from monobook template.
- *
- * @todo document
- * @file
- * @ingroup Skins
- */
-
-if( !defined( 'MEDIAWIKI' ) )
- die( -1 );
-
-/**
- * Inherit main code from SkinTemplate, set the CSS and template filter.
- * @todo document
- * @ingroup Skins
- */
-class SkinModern extends SkinTemplate {
- var $skinname = 'modern', $stylename = 'modern',
- $template = 'ModernTemplate', $useHeadElement = true;
-
- /*
- * We don't like the default getPoweredBy, the icon clashes with the
- * skin L&F.
- */
- function getPoweredBy() {
- global $wgVersion;
- return "<div class='mw_poweredby'>Powered by MediaWiki $wgVersion</div>";
- }
-
- function setupSkinUserCss( OutputPage $out ){
- global $wgStyleVersion, $wgJsMimeType, $wgStylePath;
-
- // Do not call parent::setupSkinUserCss(), we have our own print style
- $out->addStyle( 'common/shared.css', 'screen' );
- $out->addStyle( 'modern/main.css', 'screen' );
- $out->addStyle( 'modern/print.css', 'print' );
- $out->addStyle( 'modern/rtl.css', 'screen', '', 'rtl' );
- }
-}
-
-/**
- * @todo document
- * @ingroup Skins
- */
-class ModernTemplate extends QuickTemplate {
- var $skin;
- /**
- * 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() {
- global $wgRequest, $wgOut;
- $this->skin = $skin = $this->data['skin'];
- $action = $wgRequest->getText( 'action' );
-
- // Suppress warnings to prevent notices about missing indexes in $this->data
- wfSuppressWarnings();
-
- $this->html( 'headelement' );
-?>
-
- <!-- heading -->
- <div id="mw_header"><h1 id="firstHeading"><?php $this->html('title') ?></h1></div>
-
- <div id="mw_main">
- <div id="mw_contentwrapper">
- <!-- navigation portlet -->
- <div id="p-cactions" class="portlet">
- <h5><?php $this->msg('views') ?></h5>
- <div class="pBody">
- <ul>
- <?php foreach($this->data['content_actions'] as $key => $tab) {
- echo '
- <li id="' . Sanitizer::escapeId( "ca-$key" ) . '"';
- if( $tab['class'] ) {
- echo ' class="'.htmlspecialchars($tab['class']).'"';
- }
- echo'><a href="'.htmlspecialchars($tab['href']).'"';
- # We don't want to give the watch tab an accesskey if the
- # page is being edited, because that conflicts with the
- # accesskey on the watch checkbox. We also don't want to
- # give the edit tab an accesskey, because that's fairly su-
- # perfluous and conflicts with an accesskey (Ctrl-E) often
- # used for editing in Safari.
- if( in_array( $action, array( 'edit', 'submit' ) )
- && in_array( $key, array( 'edit', 'watch', 'unwatch' ))) {
- echo $skin->tooltip( "ca-$key" );
- } else {
- echo $skin->tooltipAndAccesskey( "ca-$key" );
- }
- echo '>'.htmlspecialchars($tab['text']).'</a></li>';
- } ?>
- </ul>
- </div>
- </div>
-
- <!-- content -->
- <div id="mw_content">
- <!-- contentholder does nothing by default, but it allows users to style the text inside
- the content area without affecting the meaning of 'em' in #mw_content, which is used
- for the margins -->
- <div id="mw_contentholder" <?php $this->html("specialpageattributes") ?>>
- <div class='mw-topboxes'>
- <div id="mw-js-message" style="display:none;"<?php $this->html('userlangattributes')?>></div>
- <div class="mw-topbox" id="siteSub"><?php $this->msg('tagline') ?></div>
- <?php if($this->data['newtalk'] ) {
- ?><div class="usermessage mw-topbox"><?php $this->html('newtalk') ?></div>
- <?php } ?>
- <?php if($this->data['sitenotice']) {
- ?><div class="mw-topbox" id="siteNotice"><?php $this->html('sitenotice') ?></div>
- <?php } ?>
- </div>
-
- <div id="contentSub"<?php $this->html('userlangattributes') ?>><?php $this->html('subtitle') ?></div>
-
- <?php if($this->data['undelete']) { ?><div id="contentSub2"><?php $this->html('undelete') ?></div><?php } ?>
- <?php if($this->data['showjumplinks']) { ?><div id="jump-to-nav"><?php $this->msg('jumpto') ?> <a href="#mw_portlets"><?php $this->msg('jumptonavigation') ?></a>, <a href="#searchInput"><?php $this->msg('jumptosearch') ?></a></div><?php } ?>
-
- <?php $this->html('bodytext') ?>
- <div class='mw_clear'></div>
- <?php if($this->data['catlinks']) { $this->html('catlinks'); } ?>
- <?php $this->html ('dataAfterContent') ?>
- </div><!-- mw_contentholder -->
- </div><!-- mw_content -->
- </div><!-- mw_contentwrapper -->
-
- <div id="mw_portlets"<?php $this->html("userlangattributes") ?>>
-
- <!-- portlets -->
- <?php
- $sidebar = $this->data['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 => $cont) {
- if ( $boxName == 'SEARCH' ) {
- $this->searchBox();
- } elseif ( $boxName == 'TOOLBOX' ) {
- $this->toolbox();
- } elseif ( $boxName == 'LANGUAGES' ) {
- $this->languageBox();
- } else {
- $this->customBox( $boxName, $cont );
- }
- }
- ?>
-
- </div><!-- mw_portlets -->
-
-
- </div><!-- main -->
-
- <div class="mw_clear"></div>
-
- <!-- personal portlet -->
- <div class="portlet" id="p-personal">
- <h5><?php $this->msg('personaltools') ?></h5>
- <div class="pBody">
- <ul>
-<?php foreach($this->data['personal_urls'] as $key => $item) { ?>
- <li id="<?php echo Sanitizer::escapeId( "pt-$key" ) ?>"<?php
- if ($item['active']) { ?> class="active"<?php } ?>><a href="<?php
- echo htmlspecialchars($item['href']) ?>"<?php echo $skin->tooltipAndAccesskey('pt-'.$key) ?><?php
- if(!empty($item['class'])) { ?> class="<?php
- echo htmlspecialchars($item['class']) ?>"<?php } ?>><?php
- echo htmlspecialchars($item['text']) ?></a></li>
-<?php } ?>
- </ul>
- </div>
- </div>
-
-
- <!-- footer -->
- <div id="footer"<?php $this->html('userlangattributes') ?>>
- <ul id="f-list">
-<?php
- $footerlinks = array(
- 'lastmod', 'viewcount', 'numberofwatchingusers', 'credits', 'copyright',
- 'privacy', 'about', 'disclaimer', 'tagline',
- );
- foreach( $footerlinks as $aLink ) {
- if( isset( $this->data[$aLink] ) && $this->data[$aLink] ) {
-?> <li id="<?php echo$aLink?>"><?php $this->html($aLink) ?></li>
-<?php }
- }
-?>
- </ul>
- <?php echo $this->html("poweredbyico"); ?>
- </div>
-
- <?php $this->html('bottomscripts'); /* JS call to runBodyOnloadHook */ ?>
-<?php $this->html('reporttime') ?>
-<?php if ( $this->data['debug'] ): ?>
-<!-- Debug output:
-<?php $this->text( 'debug' ); ?>
--->
-<?php endif; ?>
-</body></html>
-<?php
- wfRestoreWarnings();
- } // end of execute() method
-
- /*************************************************************************************************/
- function searchBox() {
- global $wgUseTwoButtonsSearchForm;
-?>
- <!-- search -->
- <div id="p-search" class="portlet">
- <h5><label for="searchInput"><?php $this->msg('search') ?></label></h5>
- <div id="searchBody" class="pBody">
- <form action="<?php $this->text('wgScript') ?>" id="searchform">
- <input type='hidden' name="title" value="<?php $this->text('searchtitle') ?>"/>
- <input id="searchInput" name="search" type="text"<?php echo $this->skin->tooltipAndAccesskey('search');
- if( isset( $this->data['search'] ) ) {
- ?> value="<?php $this->text('search') ?>"<?php } ?> />
- <input type='submit' name="go" class="searchButton" id="searchGoButton" value="<?php $this->msg('searcharticle') ?>"<?php echo $this->skin->tooltipAndAccesskey( 'search-go' ); ?> /><?php if ($wgUseTwoButtonsSearchForm) { ?>&nbsp;
- <input type='submit' name="fulltext" class="searchButton" id="mw-searchButton" value="<?php $this->msg('searchbutton') ?>"<?php echo $this->skin->tooltipAndAccesskey( 'search-fulltext' ); ?> /><?php } else { ?>
-
- <div><a href="<?php $this->text('searchaction') ?>" rel="search"><?php $this->msg('powersearch-legend') ?></a></div><?php } ?>
-
- </form>
- </div>
- </div>
-<?php
- }
-
- /*************************************************************************************************/
- function toolbox() {
-?>
- <!-- toolbox -->
- <div class="portlet" id="p-tb">
- <h5><?php $this->msg('toolbox') ?></h5>
- <div class="pBody">
- <ul>
-<?php
- if($this->data['notspecialpage']) { ?>
- <li id="t-whatlinkshere"><a href="<?php
- echo htmlspecialchars($this->data['nav_urls']['whatlinkshere']['href'])
- ?>"<?php echo $this->skin->tooltipAndAccesskey('t-whatlinkshere') ?>><?php $this->msg('whatlinkshere') ?></a></li>
-<?php
- if( $this->data['nav_urls']['recentchangeslinked'] ) { ?>
- <li id="t-recentchangeslinked"><a href="<?php
- echo htmlspecialchars($this->data['nav_urls']['recentchangeslinked']['href'])
- ?>"<?php echo $this->skin->tooltipAndAccesskey('t-recentchangeslinked') ?>><?php $this->msg('recentchangeslinked-toolbox') ?></a></li>
-<?php }
- }
- if(isset($this->data['nav_urls']['trackbacklink'])) { ?>
- <li id="t-trackbacklink"><a href="<?php
- echo htmlspecialchars($this->data['nav_urls']['trackbacklink']['href'])
- ?>"<?php echo $this->skin->tooltipAndAccesskey('t-trackbacklink') ?>><?php $this->msg('trackbacklink') ?></a></li>
-<?php }
- if($this->data['feeds']) { ?>
- <li id="feedlinks"><?php foreach($this->data['feeds'] as $key => $feed) {
- ?><a id="<?php echo Sanitizer::escapeId( "feed-$key" ) ?>" href="<?php
- echo htmlspecialchars($feed['href']) ?>" rel="alternate" type="application/<?php echo $key ?>+xml" class="feedlink"<?php echo $this->skin->tooltipAndAccesskey('feed-'.$key) ?>><?php echo htmlspecialchars($feed['text'])?></a>&nbsp;
- <?php } ?></li><?php
- }
-
- foreach( array('contributions', 'log', 'blockip', 'emailuser', 'upload', 'specialpages') as $special ) {
-
- if($this->data['nav_urls'][$special]) {
- ?><li id="t-<?php echo $special ?>"><a href="<?php echo htmlspecialchars($this->data['nav_urls'][$special]['href'])
- ?>"<?php echo $this->skin->tooltipAndAccesskey('t-'.$special) ?>><?php $this->msg($special) ?></a></li>
-<?php }
- }
-
- if(!empty($this->data['nav_urls']['print']['href'])) { ?>
- <li id="t-print"><a href="<?php echo htmlspecialchars($this->data['nav_urls']['print']['href'])
- ?>" rel="alternate"<?php echo $this->skin->tooltipAndAccesskey('t-print') ?>><?php $this->msg('printableversion') ?></a></li><?php
- }
-
- if(!empty($this->data['nav_urls']['permalink']['href'])) { ?>
- <li id="t-permalink"><a href="<?php echo htmlspecialchars($this->data['nav_urls']['permalink']['href'])
- ?>"<?php echo $this->skin->tooltipAndAccesskey('t-permalink') ?>><?php $this->msg('permalink') ?></a></li><?php
- } elseif ($this->data['nav_urls']['permalink']['href'] === '') { ?>
- <li id="t-ispermalink"<?php echo $this->skin->tooltip('t-ispermalink') ?>><?php $this->msg('permalink') ?></li><?php
- }
-
- wfRunHooks( 'SkinTemplateToolboxEnd', array( &$this ) );
-?>
- </ul>
- </div>
- </div>
-<?php
- }
-
- /*************************************************************************************************/
- function languageBox() {
- if( $this->data['language_urls'] ) {
-?>
- <div id="p-lang" class="portlet">
- <h5><?php $this->msg('otherlanguages') ?></h5>
- <div class="pBody">
- <ul>
-<?php foreach($this->data['language_urls'] as $langlink) { ?>
- <li class="<?php echo htmlspecialchars($langlink['class'])?>"><?php
- ?><a href="<?php echo htmlspecialchars($langlink['href']) ?>"><?php echo $langlink['text'] ?></a></li>
-<?php } ?>
- </ul>
- </div>
- </div>
-<?php
- }
- }
-
- /*************************************************************************************************/
- function customBox( $bar, $cont ) {
-?>
- <div class='generated-sidebar portlet' id='<?php echo Sanitizer::escapeId( "p-$bar" ) ?>'<?php echo $this->skin->tooltip('p-'.$bar) ?>>
- <h5><?php $out = wfMsg( $bar ); if (wfEmptyMsg($bar, $out)) echo $bar; else echo $out; ?></h5>
- <div class='pBody'>
-<?php if ( is_array( $cont ) ) { ?>
- <ul>
-<?php foreach($cont as $key => $val) { ?>
- <li id="<?php echo Sanitizer::escapeId($val['id']) ?>"<?php
- if ( $val['active'] ) { ?> class="active" <?php }
- ?>><a href="<?php echo htmlspecialchars($val['href']) ?>"<?php echo $this->skin->tooltipAndAccesskey($val['id']) ?>><?php echo htmlspecialchars($val['text']) ?></a></li>
-<?php } ?>
- </ul>
-<?php } else {
- # allow raw HTML block to be defined by extensions
- print $cont;
- }
-?>
- </div>
- </div>
-<?php
- }
-
-} // end of class
-
-
diff --git a/skins/MonoBook.deps.php b/skins/MonoBook.deps.php
deleted file mode 100644
index fa9bc2d..0000000
--- a/skins/MonoBook.deps.php
+++ /dev/null
@@ -1,13 +0,0 @@
-<?php
-// This file exists to ensure that base classes are preloaded before
-// MonoBook.php is compiled, working around a bug in the APC opcode
-// cache on PHP 5, where cached code can break if the include order
-// changed on a subsequent page view.
-// see http://lists.wikimedia.org/pipermail/wikitech-l/2006-January/021311.html
-
-if ( ! defined( 'MEDIAWIKI' ) )
- die( 1 );
-
-$preIP = '/usr/share/mediawiki';
-require_once( $preIP . '/includes/SkinTemplate.php');
-
diff --git a/skins/MonoBook.php b/skins/MonoBook.php
deleted file mode 100644
index fdc1684..0000000
--- a/skins/MonoBook.php
+++ /dev/null
@@ -1,346 +0,0 @@
-<?php
-/**
- * MonoBook nouveau
- *
- * Translated from gwicke's previous TAL template version to remove
- * dependency on PHPTAL.
- *
- * @todo document
- * @file
- * @ingroup Skins
- */
-
-if( !defined( 'MEDIAWIKI' ) )
- die( -1 );
-
-/**
- * Inherit main code from SkinTemplate, set the CSS and template filter.
- * @todo document
- * @ingroup Skins
- */
-class SkinMonoBook extends SkinTemplate {
- /** Using monobook. */
- var $skinname = 'monobook', $stylename = 'monobook',
- $template = 'MonoBookTemplate', $useHeadElement = true;
-
- function setupSkinUserCss( OutputPage $out ) {
- global $wgHandheldStyle;
-
- parent::setupSkinUserCss( $out );
-
- // Append to the default screen common & print styles...
- $out->addStyle( 'monobook/main.css', 'screen' );
- if( $wgHandheldStyle ) {
- // Currently in testing... try 'chick/main.css'
- $out->addStyle( $wgHandheldStyle, 'handheld' );
- }
-
- $out->addStyle( 'monobook/IE50Fixes.css', 'screen', 'lt IE 5.5000' );
- $out->addStyle( 'monobook/IE55Fixes.css', 'screen', 'IE 5.5000' );
- $out->addStyle( 'monobook/IE60Fixes.css', 'screen', 'IE 6' );
- $out->addStyle( 'monobook/IE70Fixes.css', 'screen', 'IE 7' );
-
- $out->addStyle( 'monobook/rtl.css', 'screen', '', 'rtl' );
-
- }
-}
-
-/**
- * @todo document
- * @ingroup Skins
- */
-class MonoBookTemplate extends QuickTemplate {
- var $skin;
- /**
- * 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() {
- global $wgRequest;
-
- $this->skin = $skin = $this->data['skin'];
- $action = $wgRequest->getText( 'action' );
-
- // Suppress warnings to prevent notices about missing indexes in $this->data
- wfSuppressWarnings();
-
- $this->html( 'headelement' );
-?><div id="globalWrapper">
-<div id="column-content"><div id="content" <?php $this->html("specialpageattributes") ?>>
- <a id="top"></a>
- <?php if($this->data['sitenotice']) { ?><div id="siteNotice"><?php $this->html('sitenotice') ?></div><?php } ?>
-
- <h1 id="firstHeading" class="firstHeading"><?php $this->html('title') ?></h1>
- <div id="bodyContent">
- <h3 id="siteSub"><?php $this->msg('tagline') ?></h3>
- <div id="contentSub"<?php $this->html('userlangattributes') ?>><?php $this->html('subtitle') ?></div>
-<?php if($this->data['undelete']) { ?>
- <div id="contentSub2"><?php $this->html('undelete') ?></div>
-<?php } ?><?php if($this->data['newtalk'] ) { ?>
- <div class="usermessage"><?php $this->html('newtalk') ?></div>
-<?php } ?><?php if($this->data['showjumplinks']) { ?>
- <div id="jump-to-nav"><?php $this->msg('jumpto') ?> <a href="#column-one"><?php $this->msg('jumptonavigation') ?></a>, <a href="#searchInput"><?php $this->msg('jumptosearch') ?></a></div>
-<?php } ?>
- <!-- start content -->
-<?php $this->html('bodytext') ?>
- <?php if($this->data['catlinks']) { $this->html('catlinks'); } ?>
- <!-- end content -->
- <?php if($this->data['dataAfterContent']) { $this->html ('dataAfterContent'); } ?>
- <div class="visualClear"></div>
- </div>
-</div></div>
-<div id="column-one"<?php $this->html('userlangattributes') ?>>
- <div id="p-cactions" class="portlet">
- <h5><?php $this->msg('views') ?></h5>
- <div class="pBody">
- <ul><?php
- foreach($this->data['content_actions'] as $key => $tab) {
- echo '
- <li id="' . Sanitizer::escapeId( "ca-$key" ) . '"';
- if( $tab['class'] ) {
- echo ' class="'.htmlspecialchars($tab['class']).'"';
- }
- echo '><a href="'.htmlspecialchars($tab['href']).'"';
- # We don't want to give the watch tab an accesskey if the
- # page is being edited, because that conflicts with the
- # accesskey on the watch checkbox. We also don't want to
- # give the edit tab an accesskey, because that's fairly su-
- # perfluous and conflicts with an accesskey (Ctrl-E) often
- # used for editing in Safari.
- if( in_array( $action, array( 'edit', 'submit' ) )
- && in_array( $key, array( 'edit', 'watch', 'unwatch' ))) {
- echo $skin->tooltip( "ca-$key" );
- } else {
- echo $skin->tooltipAndAccesskey( "ca-$key" );
- }
- echo '>'.htmlspecialchars($tab['text']).'</a></li>';
- } ?>
-
- </ul>
- </div>
- </div>
- <div class="portlet" id="p-personal">
- <h5><?php $this->msg('personaltools') ?></h5>
- <div class="pBody">
- <ul<?php $this->html('userlangattributes') ?>>
-<?php foreach($this->data['personal_urls'] as $key => $item) { ?>
- <li id="<?php echo Sanitizer::escapeId( "pt-$key" ) ?>"<?php
- if ($item['active']) { ?> class="active"<?php } ?>><a href="<?php
- echo htmlspecialchars($item['href']) ?>"<?php echo $skin->tooltipAndAccesskey('pt-'.$key) ?><?php
- if(!empty($item['class'])) { ?> class="<?php
- echo htmlspecialchars($item['class']) ?>"<?php } ?>><?php
- echo htmlspecialchars($item['text']) ?></a></li>
-<?php } ?>
- </ul>
- </div>
- </div>
- <div class="portlet" id="p-logo">
- <a style="background-image: url(<?php $this->text('logopath') ?>);" <?php
- ?>href="<?php echo htmlspecialchars($this->data['nav_urls']['mainpage']['href'])?>"<?php
- echo $skin->tooltipAndAccesskey('p-logo') ?>></a>
- </div>
- <script type="<?php $this->text('jsmimetype') ?>"> if (window.isMSIE55) fixalpha(); </script>
-<?php
- $sidebar = $this->data['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 => $cont) {
- if ( $boxName == 'SEARCH' ) {
- $this->searchBox();
- } elseif ( $boxName == 'TOOLBOX' ) {
- $this->toolbox();
- } elseif ( $boxName == 'LANGUAGES' ) {
- $this->languageBox();
- } else {
- $this->customBox( $boxName, $cont );
- }
- }
-?>
-</div><!-- end of the left (by default at least) column -->
-<div class="visualClear"></div>
-<div id="footer"<?php $this->html('userlangattributes') ?>>
-<?php
-if($this->data['poweredbyico']) { ?>
- <div id="f-poweredbyico"><?php $this->html('poweredbyico') ?></div>
-<?php }
-if($this->data['copyrightico']) { ?>
- <div id="f-copyrightico"><?php $this->html('copyrightico') ?></div>
-<?php }
-
- // Generate additional footer links
- $footerlinks = array(
- 'lastmod', 'viewcount', 'numberofwatchingusers', 'credits', 'copyright',
- 'privacy', 'about', 'disclaimer', 'tagline',
- );
- $validFooterLinks = array();
- foreach( $footerlinks as $aLink ) {
- if( isset( $this->data[$aLink] ) && $this->data[$aLink] ) {
- $validFooterLinks[] = $aLink;
- }
- }
- if ( count( $validFooterLinks ) > 0 ) {
-?> <ul id="f-list">
-<?php
- foreach( $validFooterLinks as $aLink ) {
- if( isset( $this->data[$aLink] ) && $this->data[$aLink] ) {
-?> <li id="<?php echo $aLink ?>"><?php $this->html($aLink) ?></li>
-<?php }
- }
-?>
- </ul>
-<?php }
-?>
-</div>
-</div>
-<?php $this->html('bottomscripts'); /* JS call to runBodyOnloadHook */ ?>
-<?php $this->html('reporttime') ?>
-<?php if ( $this->data['debug'] ): ?>
-<!-- Debug output:
-<?php $this->text( 'debug' ); ?>
-
--->
-<?php endif; ?>
-</body></html>
-<?php
- wfRestoreWarnings();
- } // end of execute() method
-
- /*************************************************************************************************/
- function searchBox() {
- global $wgUseTwoButtonsSearchForm;
-?>
- <div id="p-search" class="portlet">
- <h5><label for="searchInput"><?php $this->msg('search') ?></label></h5>
- <div id="searchBody" class="pBody">
- <form action="<?php $this->text('wgScript') ?>" id="searchform">
- <input type='hidden' name="title" value="<?php $this->text('searchtitle') ?>"/>
- <?php
- echo Html::input( 'search',
- isset( $this->data['search'] ) ? $this->data['search'] : '', 'search',
- array(
- 'id' => 'searchInput',
- 'title' => $this->skin->titleAttrib( 'search' ),
- 'accesskey' => $this->skin->accesskey( 'search' )
- ) ); ?>
-
- <input type='submit' name="go" class="searchButton" id="searchGoButton" value="<?php $this->msg('searcharticle') ?>"<?php echo $this->skin->tooltipAndAccesskey( 'search-go' ); ?> /><?php if ($wgUseTwoButtonsSearchForm) { ?>&nbsp;
- <input type='submit' name="fulltext" class="searchButton" id="mw-searchButton" value="<?php $this->msg('searchbutton') ?>"<?php echo $this->skin->tooltipAndAccesskey( 'search-fulltext' ); ?> /><?php } else { ?>
-
- <div><a href="<?php $this->text('searchaction') ?>" rel="search"><?php $this->msg('powersearch-legend') ?></a></div><?php } ?>
-
- </form>
- </div>
- </div>
-<?php
- }
-
- /*************************************************************************************************/
- function toolbox() {
-?>
- <div class="portlet" id="p-tb">
- <h5><?php $this->msg('toolbox') ?></h5>
- <div class="pBody">
- <ul>
-<?php
- if($this->data['notspecialpage']) { ?>
- <li id="t-whatlinkshere"><a href="<?php
- echo htmlspecialchars($this->data['nav_urls']['whatlinkshere']['href'])
- ?>"<?php echo $this->skin->tooltipAndAccesskey('t-whatlinkshere') ?>><?php $this->msg('whatlinkshere') ?></a></li>
-<?php
- if( $this->data['nav_urls']['recentchangeslinked'] ) { ?>
- <li id="t-recentchangeslinked"><a href="<?php
- echo htmlspecialchars($this->data['nav_urls']['recentchangeslinked']['href'])
- ?>"<?php echo $this->skin->tooltipAndAccesskey('t-recentchangeslinked') ?>><?php $this->msg('recentchangeslinked-toolbox') ?></a></li>
-<?php }
- }
- if( isset( $this->data['nav_urls']['trackbacklink'] ) && $this->data['nav_urls']['trackbacklink'] ) { ?>
- <li id="t-trackbacklink"><a href="<?php
- echo htmlspecialchars($this->data['nav_urls']['trackbacklink']['href'])
- ?>"<?php echo $this->skin->tooltipAndAccesskey('t-trackbacklink') ?>><?php $this->msg('trackbacklink') ?></a></li>
-<?php }
- if($this->data['feeds']) { ?>
- <li id="feedlinks"><?php foreach($this->data['feeds'] as $key => $feed) {
- ?><a id="<?php echo Sanitizer::escapeId( "feed-$key" ) ?>" href="<?php
- echo htmlspecialchars($feed['href']) ?>" rel="alternate" type="application/<?php echo $key ?>+xml" class="feedlink"<?php echo $this->skin->tooltipAndAccesskey('feed-'.$key) ?>><?php echo htmlspecialchars($feed['text'])?></a>&nbsp;
- <?php } ?></li><?php
- }
-
- foreach( array('contributions', 'log', 'blockip', 'emailuser', 'upload', 'specialpages') as $special ) {
-
- if($this->data['nav_urls'][$special]) {
- ?><li id="t-<?php echo $special ?>"><a href="<?php echo htmlspecialchars($this->data['nav_urls'][$special]['href'])
- ?>"<?php echo $this->skin->tooltipAndAccesskey('t-'.$special) ?>><?php $this->msg($special) ?></a></li>
-<?php }
- }
-
- if(!empty($this->data['nav_urls']['print']['href'])) { ?>
- <li id="t-print"><a href="<?php echo htmlspecialchars($this->data['nav_urls']['print']['href'])
- ?>" rel="alternate"<?php echo $this->skin->tooltipAndAccesskey('t-print') ?>><?php $this->msg('printableversion') ?></a></li><?php
- }
-
- if(!empty($this->data['nav_urls']['permalink']['href'])) { ?>
- <li id="t-permalink"><a href="<?php echo htmlspecialchars($this->data['nav_urls']['permalink']['href'])
- ?>"<?php echo $this->skin->tooltipAndAccesskey('t-permalink') ?>><?php $this->msg('permalink') ?></a></li><?php
- } elseif ($this->data['nav_urls']['permalink']['href'] === '') { ?>
- <li id="t-ispermalink"<?php echo $this->skin->tooltip('t-ispermalink') ?>><?php $this->msg('permalink') ?></li><?php
- }
-
- wfRunHooks( 'MonoBookTemplateToolboxEnd', array( &$this ) );
- wfRunHooks( 'SkinTemplateToolboxEnd', array( &$this ) );
-?>
- </ul>
- </div>
- </div>
-<?php
- }
-
- /*************************************************************************************************/
- function languageBox() {
- if( $this->data['language_urls'] ) {
-?>
- <div id="p-lang" class="portlet">
- <h5<?php $this->html('userlangattributes') ?>><?php $this->msg('otherlanguages') ?></h5>
- <div class="pBody">
- <ul>
-<?php foreach($this->data['language_urls'] as $langlink) { ?>
- <li class="<?php echo htmlspecialchars($langlink['class'])?>"><?php
- ?><a href="<?php echo htmlspecialchars($langlink['href']) ?>"><?php echo $langlink['text'] ?></a></li>
-<?php } ?>
- </ul>
- </div>
- </div>
-<?php
- }
- }
-
- /*************************************************************************************************/
- function customBox( $bar, $cont ) {
-?>
- <div class='generated-sidebar portlet' id='<?php echo Sanitizer::escapeId( "p-$bar" ) ?>'<?php echo $this->skin->tooltip('p-'.$bar) ?>>
- <h5><?php $out = wfMsg( $bar ); if (wfEmptyMsg($bar, $out)) echo htmlspecialchars($bar); else echo htmlspecialchars($out); ?></h5>
- <div class='pBody'>
-<?php if ( is_array( $cont ) ) { ?>
- <ul>
-<?php foreach($cont as $key => $val) { ?>
- <li id="<?php echo Sanitizer::escapeId($val['id']) ?>"<?php
- if ( $val['active'] ) { ?> class="active" <?php }
- ?>><a href="<?php echo htmlspecialchars($val['href']) ?>"<?php echo $this->skin->tooltipAndAccesskey($val['id']) ?>><?php echo htmlspecialchars($val['text']) ?></a></li>
-<?php } ?>
- </ul>
-<?php } else {
- # allow raw HTML block to be defined by extensions
- print $cont;
- }
-?>
- </div>
- </div>
-<?php
- }
-} // end of class
-
-
diff --git a/skins/MySkin.deps.php b/skins/MySkin.deps.php
deleted file mode 100644
index 075915f..0000000
--- a/skins/MySkin.deps.php
+++ /dev/null
@@ -1,14 +0,0 @@
-<?php
-// This file exists to ensure that base classes are preloaded before
-// MySkin.php is compiled, working around a bug in the APC opcode
-// cache on PHP 5, where cached code can break if the include order
-// changed on a subsequent page view.
-// see http://lists.wikimedia.org/pipermail/wikitech-l/2006-January/021311.html
-
-if ( ! defined( 'MEDIAWIKI' ) )
- die( 1 );
-
-$preIP = '/usr/share/mediawiki';
-require_once( $preIP . '/includes/SkinTemplate.php');
-require_once( dirname(__FILE__) . '/MonoBook.php' );
-
diff --git a/skins/MySkin.php b/skins/MySkin.php
deleted file mode 100644
index 8859a71..0000000
--- a/skins/MySkin.php
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
-/**
- * MySkin: Monobook without the CSS. The idea is that you
- * customise it using user or site CSS
- *
- * @file
- * @ingroup Skins
- */
-
-if( !defined( 'MEDIAWIKI' ) )
- die( -1 );
-
-/**
- * Inherit main code from SkinTemplate, set the CSS and template filter.
- * @ingroup Skins
- */
-class SkinMySkin extends SkinTemplate {
- var $skinname = 'myskin', $stylename = 'myskin',
- $template = 'MonoBookTemplate', $useHeadElement = true;
-}
diff --git a/skins/Nostalgia.php b/skins/Nostalgia.php
deleted file mode 100644
index d4f3f06..0000000
--- a/skins/Nostalgia.php
+++ /dev/null
@@ -1,119 +0,0 @@
-<?php
-/**
- * Nostalgia: A skin which looks like Wikipedia did in its first year (2001).
- *
- * @file
- * @ingroup Skins
- */
-
-if( !defined( 'MEDIAWIKI' ) ) {
- die( -1 );
-}
-
-/**
- * @todo document
- * @ingroup Skins
- */
-class SkinNostalgia extends Skin {
-
- function getStylesheet() {
- return 'common/nostalgia.css';
- }
-
- function getSkinName() {
- return 'nostalgia';
- }
-
- function doBeforeContent() {
- $s = "\n<div id='content'>\n<div id='top'>\n";
- $s .= '<div id="logo">' . $this->logoText( 'right' ) . '</div>';
-
- $s .= $this->pageTitle();
- $s .= $this->pageSubtitle() . "\n";
-
- $s .= '<div id="topbar">';
- $s .= $this->topLinks() . "\n<br />";
-
- $notice = wfGetSiteNotice();
- if( $notice ) {
- $s .= "\n<div id='siteNotice'>$notice</div>\n";
- }
- $s .= $this->pageTitleLinks();
-
- $ol = $this->otherLanguages();
- if( $ol ) {
- $s .= '<br />' . $ol;
- }
-
- $cat = $this->getCategoryLinks();
- if( $cat ) {
- $s .= '<br />' . $cat;
- }
-
- $s .= "<br clear='all' /></div><hr />\n</div>\n";
- $s .= "\n<div id='article'>";
-
- return $s;
- }
-
- function topLinks() {
- global $wgOut, $wgUser, $wgEnableUploads;
- $sep = " |\n";
-
- $s = $this->mainPageLink() . $sep
- . $this->specialLink( 'recentchanges' );
-
- if ( $wgOut->isArticle() ) {
- $s .= $sep . '<strong>' . $this->editThisPage() . '</strong>' . $sep . $this->historyLink();
- }
-
- /* show links to different language variants */
- $s .= $this->variantLinks();
- $s .= $this->extensionTabLinks();
- if ( $wgUser->isAnon() ) {
- $s .= $sep . $this->specialLink( 'userlogin' );
- } else {
- $name = $wgUser->getName();
- /* show user page and user talk links */
- $s .= $sep . $this->link( $wgUser->getUserPage(), wfMsgHtml( 'mypage' ) );
- $s .= $sep . $this->link( $wgUser->getTalkPage(), wfMsgHtml( 'mytalk' ) );
- if ( $wgUser->getNewtalk() ) {
- $s .= ' *';
- }
- /* show watchlist link */
- $s .= $sep . $this->specialLink( 'watchlist' );
- /* show my contributions link */
- $s .= $sep . $this->link(
- SpecialPage::getSafeTitleFor( 'Contributions', $wgUser->getName() ),
- wfMsgHtml( 'mycontris' ) );
- /* show my preferences link */
- $s .= $sep . $this->specialLink( 'preferences' );
- /* show upload file link */
- if ( $wgEnableUploads ) {
- $s .= $sep . $this->specialLink( 'upload' );
- }
- /* show log out link */
- $s .= $sep . $this->specialLink( 'userlogout' );
- }
-
- $s .= $sep . $this->specialPagesList();
-
- return $s;
- }
-
- function doAfterContent() {
- $s = "\n</div><br clear='all' />\n";
-
- $s .= "\n<div id='footer'><hr />";
-
- $s .= $this->bottomLinks();
- $s .= "\n<br />" . $this->pageStats();
- $s .= "\n<br />" . $this->mainPageLink()
- . ' | ' . $this->aboutLink()
- . ' | ' . $this->searchForm();
-
- $s .= "\n</div>\n</div>\n";
-
- return $s;
- }
-}
diff --git a/skins/Simple.deps.php b/skins/Simple.deps.php
deleted file mode 100644
index edca3e6..0000000
--- a/skins/Simple.deps.php
+++ /dev/null
@@ -1,14 +0,0 @@
-<?php
-// This file exists to ensure that base classes are preloaded before
-// Simple.php is compiled, working around a bug in the APC opcode
-// cache on PHP 5, where cached code can break if the include order
-// changed on a subsequent page view.
-// see http://lists.wikimedia.org/pipermail/wikitech-l/2006-January/021311.html
-
-if ( ! defined( 'MEDIAWIKI' ) )
- die( 1 );
-
-$preIP = '/usr/share/mediawiki';
-require_once( $preIP . '/includes/SkinTemplate.php');
-require_once( dirname(__FILE__) . '/MonoBook.php' );
-
diff --git a/skins/Simple.php b/skins/Simple.php
deleted file mode 100644
index 416dc3f..0000000
--- a/skins/Simple.php
+++ /dev/null
@@ -1,68 +0,0 @@
-<?php
-/**
- * Simple: A lightweight skin with a simple white-background sidebar and no
- * top bar.
- *
- * @file
- * @ingroup Skins
- */
-
-if( !defined( 'MEDIAWIKI' ) )
- die( -1 );
-
-/** */
-require_once( dirname(__FILE__) . '/MonoBook.php' );
-
-/**
- * Inherit main code from SkinTemplate, set the CSS and template filter.
- * @ingroup Skins
- */
-class SkinSimple extends SkinTemplate {
- var $skinname = 'simple', $stylename = 'simple',
- $template = 'MonoBookTemplate', $useHeadElement = true;
-
- function setupSkinUserCss( OutputPage $out ){
- $out->addStyle( 'simple/main.css', 'screen' );
- $out->addStyle( 'simple/rtl.css', '', '', 'rtl' );
- }
-
- function reallyGenerateUserStylesheet() {
- global $wgUser;
- $s = '';
- if( ( $undopt = $wgUser->getOption( 'underline' ) ) != 2 ) {
- $underline = $undopt ? 'underline' : 'none';
- $s .= "a { text-decoration: $underline; }\n";
- }
- if( $wgUser->getOption( 'highlightbroken' ) ) {
- $s .= "a.new, #quickbar a.new { text-decoration: line-through; }\n";
- } else {
- $s .= <<<CSS
-a.new, #quickbar a.new,
-a.stub, #quickbar a.stub {
- color: inherit;
- text-decoration: inherit;
-}
-a.new:after, #quickbar a.new:after {
- content: "?";
- color: #CC2200;
- text-decoration: $underline;
-}
-a.stub:after, #quickbar a.stub:after {
- content: "!";
- color: #772233;
- text-decoration: $underline;
-}
-CSS;
- }
- if( $wgUser->getOption( 'justify' ) ) {
- $s .= "#article, #bodyContent { text-align: justify; }\n";
- }
- if( !$wgUser->getOption( 'showtoc' ) ) {
- $s .= "#toc { display: none; }\n";
- }
- if( !$wgUser->getOption( 'editsection' ) ) {
- $s .= ".editsection { display: none; }\n";
- }
- return $s;
- }
-}
diff --git a/skins/Standard.php b/skins/Standard.php
deleted file mode 100644
index e57cfaf..0000000
--- a/skins/Standard.php
+++ /dev/null
@@ -1,283 +0,0 @@
-<?php
-/**
- * Standard (a.k.a. Classic) skin: old MediaWiki default skin
- *
- * @file
- * @ingroup Skins
- */
-
-if( !defined( 'MEDIAWIKI' ) ) {
- die( -1 );
-}
-
-/**
- * @todo document
- * @ingroup Skins
- */
-class SkinStandard extends Skin {
-
- /**
- *
- */
- function setupSkinUserCss( OutputPage $out ){
- if ( 3 == $this->qbSetting() ) { # Floating left
- $out->addStyle( 'common/quickbar.css' );
- } elseif ( 4 == $this->qbSetting() ) { # Floating right
- $out->addStyle( 'common/quickbar-right.css' );
- }
- parent::setupSkinUserCss( $out );
- }
-
- /**
- *
- */
- function reallyGenerateUserStylesheet() {
- $s = parent::reallyGenerateUserStylesheet();
- $qb = $this->qbSetting();
-
- if ( 2 == $qb ) { # Right
- $s .= "#quickbar { position: absolute; top: 4px; right: 4px; " .
- "border-left: 2px solid #000000; }\n" .
- "#article, #mw-data-after-content { margin-left: 4px; margin-right: 152px; }\n";
- } elseif ( 1 == $qb || 3 == $qb ) {
- $s .= "#quickbar { position: absolute; top: 4px; left: 4px; " .
- "border-right: 1px solid gray; }\n" .
- "#article, #mw-data-after-content { margin-left: 152px; margin-right: 4px; }\n";
- } elseif ( 4 == $qb ) {
- $s .= "#quickbar { border-right: 1px solid gray; }\n" .
- "#article, #mw-data-after-content { margin-right: 152px; margin-left: 4px; }\n";
- }
- return $s;
- }
-
- function doAfterContent() {
- global $wgContLang, $wgLang;
- wfProfileIn( __METHOD__ );
- wfProfileIn( __METHOD__ . '-1' );
-
- $s = "\n</div><br style=\"clear:both\" />\n";
- $s .= "\n<div id='footer'>";
- $s .= '<table border="0" cellspacing="0"><tr>';
-
- wfProfileOut( __METHOD__ . '-1' );
- wfProfileIn( __METHOD__ . '-2' );
-
- $qb = $this->qbSetting();
- $shove = ( $qb != 0 );
- $left = ( $qb == 1 || $qb == 3 );
- if( $wgContLang->isRTL() ) {
- $left = !$left;
- }
-
- if ( $shove && $left ) { # Left
- $s .= $this->getQuickbarCompensator();
- }
- wfProfileOut( __METHOD__ . '-2' );
- wfProfileIn( __METHOD__ . '-3' );
- $l = $wgContLang->alignStart();
- $s .= "<td class='bottom' align='$l' valign='top'>";
-
- $s .= $this->bottomLinks();
- $s .= "\n<br />" . $wgLang->pipeList( array(
- $this->mainPageLink(),
- $this->aboutLink(),
- $this->specialLink( 'recentchanges' ),
- $this->searchForm() ) )
- . '<br /><span id="pagestats">' . $this->pageStats() . '</span>';
-
- $s .= '</td>';
- if ( $shove && !$left ) { # Right
- $s .= $this->getQuickbarCompensator();
- }
- $s .= "</tr></table>\n</div>\n</div>\n";
-
- wfProfileOut( __METHOD__ . '-3' );
- wfProfileIn( __METHOD__ . '-4' );
- if ( 0 != $qb ) {
- $s .= $this->quickBar();
- }
- wfProfileOut( __METHOD__ . '-4' );
- wfProfileOut( __METHOD__ );
- return $s;
- }
-
- function quickBar() {
- global $wgOut, $wgUser, $wgRequest, $wgContLang;
- global $wgEnableUploads, $wgRemoteUploads;
-
- wfProfileIn( __METHOD__ );
-
- $action = $wgRequest->getText( 'action' );
- $wpPreview = $wgRequest->getBool( 'wpPreview' );
- $tns = $this->mTitle->getNamespace();
-
- $s = "\n<div id='quickbar'>";
- $s .= "\n" . $this->logoText() . "\n<hr class='sep' />";
-
- $sep = "\n<br />";
-
- # Use the first heading from the Monobook sidebar as the "browse" section
- $bar = $this->buildSidebar();
- unset( $bar['SEARCH'] );
- unset( $bar['LANGUAGES'] );
- unset( $bar['TOOLBOX'] );
- $browseLinks = reset( $bar );
-
- foreach ( $browseLinks as $link ) {
- if ( $link['text'] != '-' ) {
- $s .= "<a href=\"{$link['href']}\">" .
- htmlspecialchars( $link['text'] ) . '</a>' . $sep;
- }
- }
-
- if( $wgUser->isLoggedIn() ) {
- $s.= $this->specialLink( 'watchlist' ) ;
- $s .= $sep . $this->linkKnown(
- SpecialPage::getTitleFor( 'Contributions' ),
- wfMsg( 'mycontris' ),
- array(),
- array( 'target' => $wgUser->getName() )
- );
- }
- // only show watchlist link if logged in
- $s .= "\n<hr class='sep' />";
- $articleExists = $this->mTitle->getArticleId();
- if ( $wgOut->isArticle() || $action == 'edit' || $action == 'history' || $wpPreview ) {
- if( $wgOut->isArticle() ) {
- $s .= '<strong>' . $this->editThisPage() . '</strong>';
- } else { # backlink to the article in edit or history mode
- if( $articleExists ){ # no backlink if no article
- switch( $tns ) {
- case NS_TALK:
- case NS_USER_TALK:
- case NS_PROJECT_TALK:
- case NS_FILE_TALK:
- case NS_MEDIAWIKI_TALK:
- case NS_TEMPLATE_TALK:
- case NS_HELP_TALK:
- case NS_CATEGORY_TALK:
- $text = wfMsg('viewtalkpage');
- break;
- case NS_MAIN:
- $text = wfMsg( 'articlepage' );
- break;
- case NS_USER:
- $text = wfMsg( 'userpage' );
- break;
- case NS_PROJECT:
- $text = wfMsg( 'projectpage' );
- break;
- case NS_FILE:
- $text = wfMsg( 'imagepage' );
- break;
- case NS_MEDIAWIKI:
- $text = wfMsg( 'mediawikipage' );
- break;
- case NS_TEMPLATE:
- $text = wfMsg( 'templatepage' );
- break;
- case NS_HELP:
- $text = wfMsg( 'viewhelppage' );
- break;
- case NS_CATEGORY:
- $text = wfMsg( 'categorypage' );
- break;
- default:
- $text = wfMsg( 'articlepage' );
- }
-
- $link = $this->mTitle->getText();
- if( $nstext = $wgContLang->getNsText( $tns ) ) { # add namespace if necessary
- $link = $nstext . ':' . $link;
- }
-
- $s .= $this->link(
- Title::newFromText( $link ),
- $text
- );
- } elseif( $this->mTitle->getNamespace() != NS_SPECIAL ) {
- # we just throw in a "New page" text to tell the user that he's in edit mode,
- # and to avoid messing with the separator that is prepended to the next item
- $s .= '<strong>' . wfMsg( 'newpage' ) . '</strong>';
- }
- }
-
- # "Post a comment" link
- if( ( $this->mTitle->isTalkPage() || $wgOut->showNewSectionLink() ) && $action != 'edit' && !$wpPreview )
- $s .= '<br />' . $this->link(
- $this->mTitle,
- wfMsg( 'postcomment' ),
- array(),
- array(
- 'action' => 'edit',
- 'section' => 'new'
- ),
- array( 'known', 'noclasses' )
- );
-
- #if( $tns%2 && $action!='edit' && !$wpPreview) {
- #$s.= '<br />'.$this->linkKnown( Title::newFromText( $wgTitle->getPrefixedText() ),wfMsg('postcomment'),array(),array('action'=>'edit','section'=>'new'));
- #}
-
- /*
- watching could cause problems in edit mode:
- if user edits article, then loads "watch this article" in background and then saves
- article with "Watch this article" checkbox disabled, the article is transparently
- unwatched. Therefore we do not show the "Watch this page" link in edit mode
- */
- if ( $wgUser->isLoggedIn() && $articleExists ) {
- if( $action != 'edit' && $action != 'submit' ) {
- $s .= $sep . $this->watchThisPage();
- }
- if ( $this->mTitle->userCan( 'edit' ) )
- $s .= $sep . $this->moveThisPage();
- }
- if ( $wgUser->isAllowed( 'delete' ) && $articleExists ) {
- $s .= $sep . $this->deleteThisPage() .
- $sep . $this->protectThisPage();
- }
- $s .= $sep . $this->talkLink();
- if( $articleExists && $action != 'history' ) {
- $s .= $sep . $this->historyLink();
- }
- $s .= $sep . $this->whatLinksHere();
-
- if( $wgOut->isArticleRelated() ) {
- $s .= $sep . $this->watchPageLinksLink();
- }
-
- if (
- NS_USER == $this->mTitle->getNamespace() ||
- $this->mTitle->getNamespace() == NS_USER_TALK
- ) {
-
- $id = User::idFromName( $this->mTitle->getText() );
- $ip = User::isIP( $this->mTitle->getText() );
-
- if( $id || $ip ){
- $s .= $sep . $this->userContribsLink();
- }
- if( $this->showEmailUser( $id ) ) {
- $s .= $sep . $this->emailUserLink();
- }
- }
- $s .= "\n<br /><hr class='sep' />";
- }
-
- if ( $wgUser->isLoggedIn() && ( $wgEnableUploads || $wgRemoteUploads ) ) {
- $s .= $this->specialLink( 'upload' ) . $sep;
- }
- $s .= $this->specialLink( 'specialpages' );
-
- global $wgSiteSupportPage;
- if( $wgSiteSupportPage ) {
- $s .= "\n<br /><a href=\"" . htmlspecialchars( $wgSiteSupportPage ) .
- '" class="internal">' . wfMsg( 'sitesupport' ) . '</a>';
- }
-
- $s .= "\n<br /></div>\n";
- wfProfileOut( __METHOD__ );
- return $s;
- }
-
-}
diff --git a/skins/Vector.deps.php b/skins/Vector.deps.php
deleted file mode 100644
index ed33b11..0000000
--- a/skins/Vector.deps.php
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php
-// This file exists to ensure that base classes are preloaded before
-// MonoBook.php is compiled, working around a bug in the APC opcode
-// cache on PHP 5, where cached code can break if the include order
-// changed on a subsequent page view.
-// see http://lists.wikimedia.org/pipermail/wikitech-l/2006-January/021311.html
-
-if ( ! defined( 'MEDIAWIKI' ) )
- die( 1 );
-
-$preIP = '/usr/share/mediawiki';
-require_once( $preIP . '/includes/SkinTemplate.php');
diff --git a/skins/Vector.php b/skins/Vector.php
deleted file mode 100644
index 961214e..0000000
--- a/skins/Vector.php
+++ /dev/null
@@ -1,810 +0,0 @@
-<?php
-/**
- * Vector - Branch of MonoBook which has many usability improvements and
- * somewhat cleaner code.
- *
- * @todo document
- * @file
- * @ingroup Skins
- */
-
-if( !defined( 'MEDIAWIKI' ) )
- die( -1 );
-
-/**
- * SkinTemplate class for Vector skin
- * @ingroup Skins
- */
-class SkinVector extends SkinTemplate {
-
- /* Functions */
- var $skinname = 'vector', $stylename = 'vector',
- $template = 'VectorTemplate', $useHeadElement = true;
-
- /**
- * Initializes output page and sets up skin-specific parameters
- * @param object $out Output page object to initialize
- */
- public function initPage( OutputPage $out ) {
- global $wgStylePath, $wgJsMimeType, $wgStyleVersion, $wgScriptPath, $wgVectorExtraStyles;
-
- parent::initPage( $out );
-
- // Append skin-specific styles
- $out->addStyle( 'vector/main-rtl.css', 'screen', '', 'rtl' );
- $out->addStyle( 'vector/main-ltr.css', 'screen', '', 'ltr' );
- // Append CSS which includes IE only behavior fixes for hover support -
- // this is better than including this in a CSS fille since it doesn't
- // wait for the CSS file to load before fetching the HTC file.
- $out->addScript(
- '<!--[if lt IE 7]><style type="text/css">body{behavior:url("' .
- $wgStylePath .
- '/vector/csshover.htc")}</style><![endif]-->'
- );
- // Add extra stylesheets
- // THIS IS ONLY USEFUL FOR EXPERIMENTING WITH DIFFERNT STYLE OPTIONS! THIS WILL BE REMOVED IN THE NEAR FUTURE.
- if ( is_array( $wgVectorExtraStyles ) ) {
- foreach ( $wgVectorExtraStyles as $style ) {
- $out->addStyle( 'vector/' . $style, 'screen' );
- }
- }
-
- // NOTE mageia specific
- $out->addMeta('google-site-verification', 'upEZjJeSjjjVNCMOM2xZNi5PmRgMOY9SCtW3xmGY6nQ');
- }
- /**
- * Builds a structured array of links used for tabs and menus
- * @return array
- * @private
- */
- function buildNavigationUrls() {
- global $wgContLang, $wgLang, $wgOut, $wgUser, $wgRequest, $wgArticle, $wgStylePath;
- global $wgDisableLangConversion, $wgVectorUseIconWatch;
-
- wfProfileIn( __METHOD__ );
-
- $links = array(
- 'namespaces' => array(),
- 'views' => array(),
- 'actions' => array(),
- 'variants' => array()
- );
-
- // Detects parameters
- $action = $wgRequest->getVal( 'action', 'view' );
- $section = $wgRequest->getVal( 'section' );
-
- // Checks if page is some kind of content
- if( $this->iscontent ) {
-
- // Gets page objects for the related namespaces
- $subjectPage = $this->mTitle->getSubjectPage();
- $talkPage = $this->mTitle->getTalkPage();
-
- // Determines if this is a talk page
- $isTalk = $this->mTitle->isTalkPage();
-
- // Generates XML IDs from namespace names
- $subjectId = $this->mTitle->getNamespaceKey( '' );
-
- if ( $subjectId == 'main' ) {
- $talkId = 'talk';
- } else {
- $talkId = "{$subjectId}_talk";
- }
- $currentId = $isTalk ? $talkId : $subjectId;
-
- // Adds namespace links
- $links['namespaces'][$subjectId] = $this->tabAction(
- $subjectPage, 'vector-namespace-' . $subjectId, !$isTalk, '', true
- );
- $links['namespaces'][$subjectId]['context'] = 'subject';
- $links['namespaces'][$talkId] = $this->tabAction(
- $talkPage, 'vector-namespace-talk', $isTalk, '', true
- );
- $links['namespaces'][$talkId]['context'] = 'talk';
-
- // Adds view view link
- if ( $this->mTitle->exists() ) {
- $links['views']['view'] = $this->tabAction(
- $isTalk ? $talkPage : $subjectPage,
- 'vector-view-view', ( $action == 'view' ), '', true
- );
- }
-
- wfProfileIn( __METHOD__ . '-edit' );
-
- // Checks if user can...
- if (
- // edit the current page
- $this->mTitle->quickUserCan( 'edit' ) &&
- (
- // if it exists
- $this->mTitle->exists() ||
- // or they can create one here
- $this->mTitle->quickUserCan( 'create' )
- )
- ) {
- // Builds CSS class for talk page links
- $isTalkClass = $isTalk ? ' istalk' : '';
-
- // Determines if we're in edit mode
- $selected = (
- ( $action == 'edit' || $action == 'submit' ) &&
- ( $section != 'new' )
- );
- $links['views']['edit'] = array(
- 'class' => ( $selected ? 'selected' : '' ) . $isTalkClass,
- 'text' => $this->mTitle->exists()
- ? wfMsg( 'vector-view-edit' )
- : wfMsg( 'vector-view-create' ),
- 'href' =>
- $this->mTitle->getLocalUrl( $this->editUrlOptions() )
- );
- // Checks if this is a current rev of talk page and we should show a new
- // section link
- if ( ( $isTalk && $wgArticle->isCurrent() ) || ( $wgOut->showNewSectionLink() ) ) {
- // Checks if we should ever show a new section link
- if ( !$wgOut->forceHideNewSectionLink() ) {
- // Adds new section link
- //$links['actions']['addsection']
- $links['views']['addsection'] = array(
- 'class' => 'collapsible ' . ( $section == 'new' ? 'selected' : false ),
- 'text' => wfMsg( 'vector-action-addsection' ),
- 'href' => $this->mTitle->getLocalUrl(
- 'action=edit&section=new'
- )
- );
- }
- }
- // Checks if the page is known (some kind of viewable content)
- } elseif ( $this->mTitle->isKnown() ) {
- // Adds view source view link
- $links['views']['viewsource'] = array(
- 'class' => ( $action == 'edit' ) ? 'selected' : false,
- 'text' => wfMsg( 'vector-view-viewsource' ),
- 'href' =>
- $this->mTitle->getLocalUrl( $this->editUrlOptions() )
- );
- }
- wfProfileOut( __METHOD__ . '-edit' );
-
- wfProfileIn( __METHOD__ . '-live' );
-
- // Checks if the page exists
- if ( $this->mTitle->exists() ) {
- // Adds history view link
- $links['views']['history'] = array(
- 'class' => 'collapsible ' . ( ($action == 'history') ? 'selected' : false ),
- 'text' => wfMsg( 'vector-view-history' ),
- 'href' => $this->mTitle->getLocalUrl( 'action=history' ),
- 'rel' => 'archives',
- );
-
- if( $wgUser->isAllowed( 'delete' ) ) {
- $links['actions']['delete'] = array(
- 'class' => ($action == 'delete') ? 'selected' : false,
- 'text' => wfMsg( 'vector-action-delete' ),
- 'href' => $this->mTitle->getLocalUrl( 'action=delete' )
- );
- }
- if ( $this->mTitle->quickUserCan( 'move' ) ) {
- $moveTitle = SpecialPage::getTitleFor(
- 'Movepage', $this->thispage
- );
- $links['actions']['move'] = array(
- 'class' => $this->mTitle->isSpecial( 'Movepage' ) ?
- 'selected' : false,
- 'text' => wfMsg( 'vector-action-move' ),
- 'href' => $moveTitle->getLocalUrl()
- );
- }
-
- if (
- $this->mTitle->getNamespace() !== NS_MEDIAWIKI &&
- $wgUser->isAllowed( 'protect' )
- ) {
- if ( !$this->mTitle->isProtected() ){
- $links['actions']['protect'] = array(
- 'class' => ($action == 'protect') ?
- 'selected' : false,
- 'text' => wfMsg( 'vector-action-protect' ),
- 'href' =>
- $this->mTitle->getLocalUrl( 'action=protect' )
- );
-
- } else {
- $links['actions']['unprotect'] = array(
- 'class' => ($action == 'unprotect') ?
- 'selected' : false,
- 'text' => wfMsg( 'vector-action-unprotect' ),
- 'href' =>
- $this->mTitle->getLocalUrl( 'action=unprotect' )
- );
- }
- }
- } else {
- // article doesn't exist or is deleted
- if (
- $wgUser->isAllowed( 'deletedhistory' ) &&
- $wgUser->isAllowed( 'undelete' )
- ) {
- if( $n = $this->mTitle->isDeleted() ) {
- $undelTitle = SpecialPage::getTitleFor( 'Undelete' );
- $links['actions']['undelete'] = array(
- 'class' => false,
- 'text' => wfMsgExt(
- 'vector-action-undelete',
- array( 'parsemag' ),
- $wgLang->formatNum( $n )
- ),
- 'href' => $undelTitle->getLocalUrl(
- 'target=' . urlencode( $this->thispage )
- )
- );
- }
- }
-
- if (
- $this->mTitle->getNamespace() !== NS_MEDIAWIKI &&
- $wgUser->isAllowed( 'protect' )
- ) {
- if ( !$this->mTitle->getRestrictions( 'create' ) ) {
- $links['actions']['protect'] = array(
- 'class' => ($action == 'protect') ?
- 'selected' : false,
- 'text' => wfMsg( 'vector-action-protect' ),
- 'href' =>
- $this->mTitle->getLocalUrl( 'action=protect' )
- );
-
- } else {
- $links['actions']['unprotect'] = array(
- 'class' => ($action == 'unprotect') ?
- 'selected' : false,
- 'text' => wfMsg( 'vector-action-unprotect' ),
- 'href' =>
- $this->mTitle->getLocalUrl( 'action=unprotect' )
- );
- }
- }
- }
- wfProfileOut( __METHOD__ . '-live' );
- /**
- * The following actions use messages which, if made particular to
- * the Vector skin, would break the Ajax code which makes this
- * action happen entirely inline. Skin::makeGlobalVariablesScript
- * defines a set of messages in a javascript object - and these
- * messages are assumed to be global for all skins. Without making
- * a change to that procedure these messages will have to remain as
- * the global versions.
- */
- // Checks if the user is logged in
- if ( $this->loggedin ) {
- if ( $wgVectorUseIconWatch ) {
- $class = 'icon ';
- $place = 'views';
- } else {
- $class = '';
- $place = 'actions';
- }
- $mode = $this->mTitle->userIsWatching() ? 'unwatch' : 'watch';
- $links[$place][$mode] = array(
- 'class' => $class . ( ( $action == 'watch' || $action == 'unwatch' ) ? ' selected' : false ),
- 'text' => wfMsg( $mode ), // uses 'watch' or 'unwatch' message
- 'href' => $this->mTitle->getLocalUrl( 'action=' . $mode )
- );
- }
- // This is instead of SkinTemplateTabs - which uses a flat array
- wfRunHooks( 'SkinTemplateNavigation', array( &$this, &$links ) );
-
- // If it's not content, it's got to be a special page
- } else {
- $links['namespaces']['special'] = array(
- 'class' => 'selected',
- 'text' => wfMsg( 'vector-namespace-special' ),
- 'href' => $wgRequest->getRequestURL()
- );
- }
-
- // Gets list of language variants
- $variants = $wgContLang->getVariants();
- // Checks that language conversion is enabled and variants exist
- if( !$wgDisableLangConversion && count( $variants ) > 1 ) {
- // Gets preferred variant
- $preferred = $wgContLang->getPreferredVariant();
- // Loops over each variant
- foreach( $variants as $code ) {
- // Gets variant name from language code
- $varname = $wgContLang->getVariantname( $code );
- // Checks if the variant is marked as disabled
- if( $varname == 'disable' ) {
- // Skips this variant
- continue;
- }
- // Appends variant link
- $links['variants'][] = array(
- 'class' => ( $code == $preferred ) ? 'selected' : false,
- 'text' => $varname,
- 'href' => $this->mTitle->getLocalURL( '', $code )
- );
- }
- }
-
- wfProfileOut( __METHOD__ );
-
- return $links;
- }
-}
-
-/**
- * QuickTemplate class for Vector skin
- * @ingroup Skins
- */
-class VectorTemplate extends QuickTemplate {
-
- /* Members */
-
- /**
- * @var Cached skin object
- */
- var $skin;
-
- /* Functions */
-
- /**
- * Outputs the entire contents of the XHTML page
- */
- public function execute() {
- global $wgRequest, $wgOut, $wgContLang;
-
- $this->skin = $this->data['skin'];
- $action = $wgRequest->getText( 'action' );
-
- // Build additional attributes for navigation urls
- $nav = $this->skin->buildNavigationUrls();
- foreach ( $nav as $section => $links ) {
- foreach ( $links as $key => $link ) {
- $xmlID = $key;
- if ( isset( $link['context'] ) && $link['context'] == 'subject' ) {
- $xmlID = 'ca-nstab-' . $xmlID;
- } else if ( isset( $link['context'] ) && $link['context'] == 'talk' ) {
- $xmlID = 'ca-talk';
- } else {
- $xmlID = 'ca-' . $xmlID;
- }
- $nav[$section][$key]['attributes'] =
- ' id="' . Sanitizer::escapeId( $xmlID ) . '"';
- if ( $nav[$section][$key]['class'] ) {
- $nav[$section][$key]['attributes'] .=
- ' class="' . htmlspecialchars( $link['class'] ) . '"';
- unset( $nav[$section][$key]['class'] );
- }
- // We don't want to give the watch tab an accesskey if the page
- // is being edited, because that conflicts with the accesskey on
- // the watch checkbox. We also don't want to give the edit tab
- // an accesskey, because that's fairly superfluous and conflicts
- // with an accesskey (Ctrl-E) often used for editing in Safari.
- if (
- in_array( $action, array( 'edit', 'submit' ) ) &&
- in_array( $key, array( 'edit', 'watch', 'unwatch' ) )
- ) {
- $nav[$section][$key]['key'] =
- $this->skin->tooltip( $xmlID );
- } else {
- $nav[$section][$key]['key'] =
- $this->skin->tooltipAndAccesskey( $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'];
- // Build additional attributes for personal_urls
- foreach ( $this->data['personal_urls'] as $key => $item) {
- $this->data['personal_urls'][$key]['attributes'] =
- ' id="' . Sanitizer::escapeId( "pt-$key" ) . '"';
- if ( isset( $item['active'] ) && $item['active'] ) {
- $this->data['personal_urls'][$key]['attributes'] .=
- ' class="active"';
- }
- $this->data['personal_urls'][$key]['key'] =
- $this->skin->tooltipAndAccesskey('pt-'.$key);
- }
-
- // Generate additional footer links
- $footerlinks = array(
- 'info' => array(
- 'lastmod',
- 'viewcount',
- 'numberofwatchingusers',
- 'credits',
- 'copyright',
- 'tagline',
- ),
- 'places' => array(
- 'privacy',
- 'about',
- 'disclaimer',
- ),
- );
- // Reduce footer links down to only those which are being used
- $validFooterLinks = array();
- foreach( $footerlinks as $category => $links ) {
- $validFooterLinks[$category] = array();
- foreach( $links as $link ) {
- if( isset( $this->data[$link] ) && $this->data[$link] ) {
- $validFooterLinks[$category][] = $link;
- }
- }
- }
- // Reverse horizontally rendered navigation elements
- if ( $wgContLang->isRTL() ) {
- $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' );
-
- global $wgVectorUseSimpleSearch;
-?>
- <style>
- a, a:link, a:visited,
- #mw-panel div.portal div.body ul li a,
- #mw-panel div.portal div.body ul li a:visited,
- div.vectorTabs li a, div.vectorTabs li a span,
- #mw-head a {
- color: #2383c2;
- text-decoration: none;
- }
- #mga-body {
- position: absolute;
- top: 128px;
- left: 0;
- width: 100%;
- }
- #mgnavt-search {
- position: absolute;
- top: 80px;
- right: 10px;
- }
- #content {
- margin-right: 1em;
- }
- #right-navigation { margin-right: 100px; }
- </style>
- <header id="mgnavt">
- <h1><a href="/en/">Wiki</a> &raquo; <?php $this->text('title')?></h1>
- <form action="<?php $this->text( 'wgScript' ) ?>" id="mgnavt-search">
- <input type='hidden' name="title" value="<?php $this->text( 'searchtitle' ) ?>"/>
- <?php if ( $wgVectorUseSimpleSearch ): ?>
- <div id="simpleSearch">
- <input id="searchInput" name="search" type="text" <?php echo $this->skin->tooltipAndAccesskey( 'search' ); ?> <?php if( isset( $this->data['search'] ) ): ?> value="<?php $this->text( 'search' ) ?>"<?php endif; ?> />
- <button id="searchButton" type='submit' name='button' <?php echo $this->skin->tooltipAndAccesskey( 'search-fulltext' ); ?>>&nbsp;</button>
- </div>
- <?php else: ?>
- <input id="searchInput" name="search" type="text" <?php echo $this->skin->tooltipAndAccesskey( 'search' ); ?> <?php if( isset( $this->data['search'] ) ): ?> value="<?php $this->text( 'search' ) ?>"<?php endif; ?> />
- <input type='submit' name="go" class="searchButton" id="searchGoButton" value="<?php $this->msg( 'searcharticle' ) ?>"<?php echo $this->skin->tooltipAndAccesskey( 'search-go' ); ?> />
- <input type="submit" name="fulltext" class="searchButton" id="mw-searchButton" value="<?php $this->msg( 'searchbutton' ) ?>"<?php echo $this->skin->tooltipAndAccesskey( 'search-fulltext' ); ?> />
- <?php endif; ?>
- </form>
- </header>
- <div id="mga-body">
- <div id="mw-page-base" class="noprint"></div>
- <div id="mw-head-base" class="noprint"></div>
- <!-- content -->
- <div id="content" <?php $this->html('specialpageattributes') ?>>
- <a id="top"></a>
- <div id="mw-js-message" style="display:none;"<?php $this->html('userlangattributes') ?>></div>
- <?php if ( $this->data['sitenotice'] ): ?>
- <!-- sitenotice -->
- <div id="siteNotice"><?php $this->html( 'sitenotice' ) ?></div>
- <!-- /sitenotice -->
- <?php endif; ?>
- <!-- bodyContent -->
- <div id="bodyContent">
- <!-- tagline -->
- <h3 id="siteSub"><?php $this->msg( 'tagline' ) ?></h3>
- <!-- /tagline -->
- <!-- subtitle -->
- <div id="contentSub"<?php $this->html('userlangattributes') ?>><?php $this->html( 'subtitle' ) ?></div>
- <!-- /subtitle -->
- <?php if ( $this->data['undelete'] ): ?>
- <!-- undelete -->
- <div id="contentSub2"><?php $this->html( 'undelete' ) ?></div>
- <!-- /undelete -->
- <?php endif; ?>
- <?php if($this->data['newtalk'] ): ?>
- <!-- newtalk -->
- <div class="usermessage"><?php $this->html( 'newtalk' ) ?></div>
- <!-- /newtalk -->
- <?php endif; ?>
- <?php if ( $this->data['showjumplinks'] ): ?>
- <!-- jumpto -->
- <div id="jump-to-nav">
- <?php $this->msg( 'jumpto' ) ?> <a href="#mw-head"><?php $this->msg( 'jumptonavigation' ) ?></a>,
- <a href="#p-search"><?php $this->msg( 'jumptosearch' ) ?></a>
- </div>
- <!-- /jumpto -->
- <?php endif; ?>
- <!-- bodytext -->
- <?php $this->html( 'bodytext' ) ?>
- <!-- /bodytext -->
- <?php if ( $this->data['catlinks'] ): ?>
- <!-- catlinks -->
- <?php $this->html( 'catlinks' ); ?>
- <!-- /catlinks -->
- <?php endif; ?>
- <?php if ( $this->data['dataAfterContent'] ): ?>
- <!-- dataAfterContent -->
- <?php $this->html( 'dataAfterContent' ); ?>
- <!-- /dataAfterContent -->
- <?php endif; ?>
- <div class="visualClear"></div>
- </div>
- <!-- /bodyContent -->
- </div>
- <!-- /content -->
- <!-- header -->
- <div id="mw-head" class="noprint">
- <?php $this->renderNavigation( 'PERSONAL' ); ?>
- <div id="left-navigation">
- <?php $this->renderNavigation( array( 'NAMESPACES', 'VARIANTS' ) ); ?>
- </div>
- <div id="right-navigation">
- <?php $this->renderNavigation( array( 'VIEWS', 'ACTIONS' ) ); ?>
- </div>
- </div>
- <!-- /header -->
- <!-- panel -->
- <div id="mw-panel" class="noprint">
- <?php $this->renderPortals( $this->data['sidebar'] ); ?>
- </div>
- <!-- /panel -->
- <!-- footer -->
- <div id="footer"<?php $this->html('userlangattributes') ?>>
- <?php foreach( $validFooterLinks as $category => $links ): ?>
- <?php if ( count( $links ) > 0 ): ?>
- <ul id="footer-<?php echo $category ?>">
- <?php foreach( $links as $link ): ?>
- <?php if( isset( $this->data[$link] ) && $this->data[$link] ): ?>
- <li id="footer-<?php echo $category ?>-<?php echo $link ?>"><?php $this->html( $link ) ?></li>
- <?php endif; ?>
- <?php endforeach; ?>
- </ul>
- <?php endif; ?>
- <?php endforeach; ?>
- <ul id="footer-icons" class="noprint">
- <?php if ( $this->data['poweredbyico'] ): ?>
- <li id="footer-icon-poweredby"><?php $this->html( 'poweredbyico' ) ?></li>
- <?php endif; ?>
- <?php if ( $this->data['copyrightico'] ): ?>
- <li id="footer-icon-copyright"><?php $this->html( 'copyrightico' ) ?></li>
- <?php endif; ?>
- </ul>
- <div style="clear:both"></div>
- </div>
- <!-- /footer -->
- <!-- fixalpha -->
- <script type="<?php $this->text('jsmimetype') ?>"> if ( window.isMSIE55 ) fixalpha(); </script>
- <!-- /fixalpha -->
- <?php $this->html( 'bottomscripts' ); /* JS call to runBodyOnloadHook */ ?>
- <?php $this->html( 'reporttime' ) ?>
- <?php if ( $this->data['debug'] ): ?>
- <!-- Debug output: <?php $this->text( 'debug' ); ?> -->
- <?php endif; ?>
- </div>
- <script src="//nav.mageia.org/js/"></script>
- </body>
-</html>
-<?php
- }
-
- /**
- * Render a series of portals
- */
- private function renderPortals( $portals ) {
- // Force the rendering of the following portals
- if ( !isset( $portals['SEARCH'] ) ) $portals['SEARCH'] = true;
- if ( !isset( $portals['TOOLBOX'] ) ) $portals['TOOLBOX'] = true;
- if ( !isset( $portals['LANGUAGES'] ) ) $portals['LANGUAGES'] = true;
- // Render portals
- foreach ( $portals as $name => $content ) {
- echo "\n<!-- {$name} -->\n";
- switch( $name ) {
- case 'SEARCH':
- break;
- case 'TOOLBOX':
-?>
-<div class="portal" id="p-tb">
- <h5<?php $this->html('userlangattributes') ?>><?php $this->msg( 'toolbox' ) ?></h5>
- <div class="body">
- <ul>
- <?php if( $this->data['notspecialpage'] ): ?>
- <li id="t-whatlinkshere"><a href="<?php echo htmlspecialchars( $this->data['nav_urls']['whatlinkshere']['href'] ) ?>"<?php echo $this->skin->tooltipAndAccesskey( 't-whatlinkshere' ) ?>><?php $this->msg( 'whatlinkshere' ) ?></a></li>
- <?php if( $this->data['nav_urls']['recentchangeslinked'] ): ?>
- <li id="t-recentchangeslinked"><a href="<?php echo htmlspecialchars( $this->data['nav_urls']['recentchangeslinked']['href'] ) ?>"<?php echo $this->skin->tooltipAndAccesskey( 't-recentchangeslinked' ) ?>><?php $this->msg( 'recentchangeslinked-toolbox' ) ?></a></li>
- <?php endif; ?>
- <?php endif; ?>
- <?php if( isset( $this->data['nav_urls']['trackbacklink'] ) ): ?>
- <li id="t-trackbacklink"><a href="<?php echo htmlspecialchars( $this->data['nav_urls']['trackbacklink']['href'] ) ?>"<?php echo $this->skin->tooltipAndAccesskey( 't-trackbacklink' ) ?>><?php $this->msg( 'trackbacklink' ) ?></a></li>
- <?php endif; ?>
- <?php if( $this->data['feeds']): ?>
- <li id="feedlinks">
- <?php foreach( $this->data['feeds'] as $key => $feed ): ?>
- <a id="<?php echo Sanitizer::escapeId( "feed-$key" ) ?>" href="<?php echo htmlspecialchars( $feed['href'] ) ?>" rel="alternate" type="application/<?php echo $key ?>+xml" class="feedlink"<?php echo $this->skin->tooltipAndAccesskey( 'feed-' . $key ) ?>><?php echo htmlspecialchars( $feed['text'] ) ?></a>
- <?php endforeach; ?>
- </li>
- <?php endif; ?>
- <?php foreach( array( 'contributions', 'log', 'blockip', 'emailuser', 'upload', 'specialpages' ) as $special ): ?>
- <?php if( $this->data['nav_urls'][$special]): ?>
- <li id="t-<?php echo $special ?>"><a href="<?php echo htmlspecialchars( $this->data['nav_urls'][$special]['href'] ) ?>"<?php echo $this->skin->tooltipAndAccesskey( 't-' . $special ) ?>><?php $this->msg( $special ) ?></a></li>
- <?php endif; ?>
- <?php endforeach; ?>
- <?php if( !empty( $this->data['nav_urls']['print']['href'] ) ): ?>
- <li id="t-print"><a href="<?php echo htmlspecialchars( $this->data['nav_urls']['print']['href'] ) ?>" rel="alternate"<?php echo $this->skin->tooltipAndAccesskey( 't-print' ) ?>><?php $this->msg( 'printableversion' ) ?></a></li>
- <?php endif; ?>
- <?php if ( !empty( $this->data['nav_urls']['permalink']['href'] ) ): ?>
- <li id="t-permalink"><a href="<?php echo htmlspecialchars( $this->data['nav_urls']['permalink']['href'] ) ?>"<?php echo $this->skin->tooltipAndAccesskey( 't-permalink' ) ?>><?php $this->msg( 'permalink' ) ?></a></li>
- <?php elseif ( $this->data['nav_urls']['permalink']['href'] === '' ): ?>
- <li id="t-ispermalink"<?php echo $this->skin->tooltip( 't-ispermalink' ) ?>><?php $this->msg( 'permalink' ) ?></li>
- <?php endif; ?>
- <?php wfRunHooks( 'SkinTemplateToolboxEnd', array( &$this ) ); ?>
- </ul>
- </div>
-</div>
-<?php
- break;
- case 'LANGUAGES':
- if ( $this->data['language_urls'] ) {
-?>
-<div class="portal" id="p-lang">
- <h5<?php $this->html('userlangattributes') ?>><?php $this->msg( 'otherlanguages' ) ?></h5>
- <div class="body">
- <ul>
- <?php foreach ( $this->data['language_urls'] as $langlink ): ?>
- <li class="<?php echo htmlspecialchars( $langlink['class'] ) ?>"><a href="<?php echo htmlspecialchars( $langlink['href'] ) ?>"><?php echo $langlink['text'] ?></a></li>
- <?php endforeach; ?>
- </ul>
- </div>
-</div>
-<?php
- }
- break;
- default:
-?>
-<div class="portal" id='<?php echo Sanitizer::escapeId( "p-$name" ) ?>'<?php echo $this->skin->tooltip( 'p-' . $name ) ?>>
- <h5<?php $this->html('userlangattributes') ?>><?php $out = wfMsg( $name ); if ( wfEmptyMsg( $name, $out ) ) echo htmlspecialchars( $name ); else echo htmlspecialchars( $out ); ?></h5>
- <div class="body">
- <?php if ( is_array( $content ) ): ?>
- <ul>
- <?php foreach( $content as $key => $val ): ?>
- <li id="<?php echo Sanitizer::escapeId( $val['id'] ) ?>"<?php if ( $val['active'] ): ?> class="active" <?php endif; ?>><a href="<?php echo htmlspecialchars( $val['href'] ) ?>"<?php echo $this->skin->tooltipAndAccesskey( $val['id'] ) ?>><?php echo htmlspecialchars( $val['text'] ) ?></a></li>
- <?php endforeach; ?>
- </ul>
- <?php else: ?>
- <?php echo $content; /* Allow raw HTML block to be defined by extensions */ ?>
- <?php endif; ?>
- </div>
-</div>
-<?php
- break;
- }
- echo "\n<!-- /{$name} -->\n";
- }
- }
-
- /**
- * Render one or more navigations elements by name, automatically reveresed
- * when UI is in RTL mode
- */
- private function renderNavigation( $elements ) {
- global $wgContLang, $wgVectorUseSimpleSearch, $wgStylePath;
-
- // If only one element was given, wrap it in an array, allowing more
- // flexible arguments
- if ( !is_array( $elements ) ) {
- $elements = array( $elements );
- // If there's a series of elements, reverse them when in RTL mode
- } else if ( $wgContLang->isRTL() ) {
- $elements = array_reverse( $elements );
- }
- // Render elements
- foreach ( $elements as $name => $element ) {
- echo "\n<!-- {$name} -->\n";
- switch ( $element ) {
- case 'NAMESPACES':
-?>
-<div id="p-namespaces" class="vectorTabs<?php if ( count( $this->data['namespace_urls'] ) == 0 ) echo ' emptyPortlet'; ?>">
- <h5><?php $this->msg('namespaces') ?></h5>
- <ul<?php $this->html('userlangattributes') ?>>
- <?php foreach ($this->data['namespace_urls'] as $key => $link ): ?>
- <li <?php echo $link['attributes'] ?>><a href="<?php echo htmlspecialchars( $link['href'] ) ?>" <?php echo $link['key'] ?>><span><?php echo htmlspecialchars( $link['text'] ) ?></span></a></li>
- <?php endforeach; ?>
- </ul>
-</div>
-<?php
- break;
- case 'VARIANTS':
-?>
-<div id="p-variants" class="vectorMenu<?php if ( count( $this->data['variant_urls'] ) == 0 ) echo ' emptyPortlet'; ?>">
- <h5><span><?php $this->msg('variants') ?></span><a href="#"></a></h5>
- <div class="menu">
- <ul<?php $this->html('userlangattributes') ?>>
- <?php foreach ($this->data['variant_urls'] as $key => $link ): ?>
- <li<?php echo $link['attributes'] ?>><a href="<?php echo htmlspecialchars( $link['href'] ) ?>" <?php echo $link['key'] ?>><?php echo htmlspecialchars( $link['text'] ) ?></a></li>
- <?php endforeach; ?>
- </ul>
- </div>
-</div>
-<?php
- break;
- case 'VIEWS':
-?>
-<div id="p-views" class="vectorTabs<?php if ( count( $this->data['view_urls'] ) == 0 ) echo ' emptyPortlet'; ?>">
- <h5><?php $this->msg('views') ?></h5>
- <ul<?php $this->html('userlangattributes') ?>>
- <?php foreach ($this->data['view_urls'] as $key => $link ): ?>
- <li<?php echo $link['attributes'] ?>><a href="<?php echo htmlspecialchars( $link['href'] ) ?>" <?php echo $link['key'] ?>><?php echo (array_key_exists('img',$link) ? '<img src="'.$link['img'].'" alt="'.$link['text'].'" />' : '<span>'.htmlspecialchars( $link['text'] ).'</span>') ?></a></li>
- <?php endforeach; ?>
- </ul>
-</div>
-<?php
- break;
- case 'ACTIONS':
-?>
-<div id="p-cactions" class="vectorMenu<?php if ( count( $this->data['action_urls'] ) == 0 ) echo ' emptyPortlet'; ?>">
- <h5><span><?php $this->msg('actions') ?></span><a href="#"></a></h5>
- <div class="menu">
- <ul<?php $this->html('userlangattributes') ?>>
- <?php foreach ($this->data['action_urls'] as $key => $link ): ?>
- <li<?php echo $link['attributes'] ?>><a href="<?php echo htmlspecialchars( $link['href'] ) ?>" <?php echo $link['key'] ?>><?php echo htmlspecialchars( $link['text'] ) ?></a></li>
- <?php endforeach; ?>
- </ul>
- </div>
-</div>
-<?php
- break;
- case 'PERSONAL':
-?>
-<div id="p-personal" class="<?php if ( count( $this->data['personal_urls'] ) == 0 ) echo ' emptyPortlet'; ?>">
- <h5><?php $this->msg('personaltools') ?></h5>
- <ul<?php $this->html('userlangattributes') ?>>
- <?php foreach($this->data['personal_urls'] as $key => $item): ?>
- <li <?php echo $item['attributes'] ?>><a href="<?php echo htmlspecialchars($item['href']) ?>"<?php echo $item['key'] ?><?php if(!empty($item['class'])): ?> class="<?php echo htmlspecialchars($item['class']) ?>"<?php endif; ?>><?php echo htmlspecialchars($item['text']) ?></a></li>
- <?php endforeach; ?>
- </ul>
-</div>
-<?php
- break;
- case 'SEARCH':
-?>
-<div id="p-search">
- <h5<?php $this->html('userlangattributes') ?>><label for="searchInput"><?php $this->msg( 'search' ) ?></label></h5>
- <form action="<?php $this->text( 'wgScript' ) ?>" id="searchform">
- <input type='hidden' name="title" value="<?php $this->text( 'searchtitle' ) ?>"/>
- <?php if ( $wgVectorUseSimpleSearch ): ?>
- <div id="simpleSearch">
- <input id="searchInput" name="search" type="text" <?php echo $this->skin->tooltipAndAccesskey( 'search' ); ?> <?php if( isset( $this->data['search'] ) ): ?> value="<?php $this->text( 'search' ) ?>"<?php endif; ?> />
- <button id="searchButton" type='submit' name='button' <?php echo $this->skin->tooltipAndAccesskey( 'search-fulltext' ); ?>>&nbsp;</button>
- </div>
- <?php else: ?>
- <input id="searchInput" name="search" type="text" <?php echo $this->skin->tooltipAndAccesskey( 'search' ); ?> <?php if( isset( $this->data['search'] ) ): ?> value="<?php $this->text( 'search' ) ?>"<?php endif; ?> />
- <input type='submit' name="go" class="searchButton" id="searchGoButton" value="<?php $this->msg( 'searcharticle' ) ?>"<?php echo $this->skin->tooltipAndAccesskey( 'search-go' ); ?> />
- <input type="submit" name="fulltext" class="searchButton" id="mw-searchButton" value="<?php $this->msg( 'searchbutton' ) ?>"<?php echo $this->skin->tooltipAndAccesskey( 'search-fulltext' ); ?> />
- <?php endif; ?>
- </form>
-</div>
-<?php
-
- break;
- }
- echo "\n<!-- /{$name} -->\n";
- }
- }
-}
diff --git a/skins/cavendish.deps.php b/skins/cavendish.deps.php
deleted file mode 100644
index ed33b11..0000000
--- a/skins/cavendish.deps.php
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php
-// This file exists to ensure that base classes are preloaded before
-// MonoBook.php is compiled, working around a bug in the APC opcode
-// cache on PHP 5, where cached code can break if the include order
-// changed on a subsequent page view.
-// see http://lists.wikimedia.org/pipermail/wikitech-l/2006-January/021311.html
-
-if ( ! defined( 'MEDIAWIKI' ) )
- die( 1 );
-
-$preIP = '/usr/share/mediawiki';
-require_once( $preIP . '/includes/SkinTemplate.php');
diff --git a/skins/cavendish.php b/skins/cavendish.php
deleted file mode 100644
index 5b7c0d4..0000000
--- a/skins/cavendish.php
+++ /dev/null
@@ -1,460 +0,0 @@
-<?php
-/**
- * Cavendish-MW - Branch of the Mozilla Cavendish MediaWiki theme which has
- * many improvements.
- *
- * Loosely based on the Cavendish style by Gabriel Wicke.
- *
- * Modified 2011/04/19, Serrano Pereira <serrano.pereira@gmail.com>
- *
- * This work is licensed under the Creative Commons Attribution-ShareAlike 3.0
- * Unported License. To view a copy of this license, visit
- * http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Creative
- * Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
- *
- */
-
-if( !defined( 'MEDIAWIKI' ) )
- die( -1 );
-
-/**
- * Inherit main code from SkinTemplate, set the CSS and template filter.
- * @todo document
- * @ingroup Skins
- */
-class Skincavendish extends SkinTemplate {
- function initPage( OutputPage $out ) {
- parent::initPage( $out );
- $this->skinname = 'cavendish';
- $this->stylename = 'cavendish';
- $this->template = 'cavendishTemplate';
-
- }
-
- function setupSkinUserCss( OutputPage $out ) {
- global $wgHandheldStyle;
-
- parent::setupSkinUserCss( $out );
-
- // Append to the default screen common & print styles...
- $out->addStyle( 'cavendish/main.css', 'screen' );
- if( $wgHandheldStyle ) {
- // Currently in testing... try 'chick/main.css'
- $out->addStyle( $wgHandheldStyle, 'handheld' );
- }
-
- /*
- $out->addStyle( 'cavendish/IE50Fixes.css', 'screen', 'lt IE 5.5000' );
- $out->addStyle( 'cavendish/IE55Fixes.css', 'screen', 'IE 5.5000' );
- $out->addStyle( 'cavendish/IE60Fixes.css', 'screen', 'IE 6' );
- $out->addStyle( 'cavendish/IE70Fixes.css', 'screen', 'IE 7' );
-
- $out->addStyle( 'cavendish/rtl.css', 'screen', '', 'rtl' );
- */
- }
-}
-
-/**
- * @todo document
- * @ingroup Skins
- */
-class cavendishTemplate extends QuickTemplate {
- var $skin;
- var $show_sitename = 1; // Show sitename next to the header logo? 1=true, 0=false.
-
- /**
- * 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, $wgSitename;
- $this->skin = $skin = $this->data['skin'];
- $action = $wgRequest->getText( 'action' );
-
- // retrieve site name
- $this->set('sitename', $wgSitename);
-
- // Suppress warnings to prevent notices about missing indexes in $this->data
- wfSuppressWarnings();
-
-?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="<?php $this->text('xhtmldefaultnamespace') ?>" <?php
- foreach($this->data['xhtmlnamespaces'] as $tag => $ns) {
- ?>xmlns:<?php echo "{$tag}=\"{$ns}\" ";
- } ?>xml:lang="<?php $this->text('lang') ?>" lang="<?php $this->text('lang') ?>" dir="<?php $this->text('dir') ?>">
- <head>
- <meta http-equiv="Content-Type" content="<?php $this->text('mimetype') ?>; charset=<?php $this->text('charset') ?>" />
- <?php $this->html('headlinks') ?>
- <title><?php $this->text('pagetitle') ?></title>
- <?php $this->html('csslinks') ?>
-
- <!--[if lt IE 7]><script type="<?php $this->text('jsmimetype') ?>" src="<?php $this->text('stylepath') ?>/common/IEFixes.js?<?php echo $GLOBALS['wgStyleVersion'] ?>"></script>
- <meta http-equiv="imagetoolbar" content="no" /><![endif]-->
-
- <?php print Skin::makeGlobalVariablesScript( $this->data ); ?>
-
- <script type="<?php $this->text('jsmimetype') ?>" src="<?php $this->text('stylepath' ) ?>/common/wikibits.js?<?php echo $GLOBALS['wgStyleVersion'] ?>"><!-- wikibits js --></script>
- <!-- Head Scripts -->
-<?php $this->html('headscripts') ?>
-<?php if($this->data['jsvarurl']) { ?>
- <script type="<?php $this->text('jsmimetype') ?>" src="<?php $this->text('jsvarurl') ?>"><!-- site js --></script>
-<?php } ?>
-<?php if($this->data['pagecss']) { ?>
- <style type="text/css"><?php $this->html('pagecss') ?></style>
-<?php }
- if($this->data['usercss']) { ?>
- <style type="text/css"><?php $this->html('usercss') ?></style>
-<?php }
- if($this->data['userjs']) { ?>
- <script type="<?php $this->text('jsmimetype') ?>" src="<?php $this->text('userjs' ) ?>"></script>
-<?php }
- if($this->data['userjsprev']) { ?>
- <script type="<?php $this->text('jsmimetype') ?>"><?php $this->html('userjsprev') ?></script>
-<?php }
- if($this->data['trackbackhtml']) print $this->data['trackbackhtml']; ?>
- <link rel="icon" type="image/png" href="<?php $this->text('stylepath') ?>/cavendish/favicon.png" />
- </head>
-
-<body<?php if($this->data['body_ondblclick']) { ?> ondblclick="<?php $this->text('body_ondblclick') ?>"<?php } ?>
-<?php if($this->data['body_onload']) { ?> onload="<?php $this->text('body_onload') ?>"<?php } ?>
- class="mediawiki <?php $this->text('dir') ?> <?php $this->text('pageclass') ?> <?php $this->text('skinnameclass') ?>">
-
-<!--
-mageia.org global navigation bar - rda, 2011/06/30
-ping #mageia-webteam on Freenode or mageia-webteam@ ml.
--->
-<style>
-.nav {
- margin: 0 0 0 1em 0;
- padding: 0.3em;
- background: #ffffff;
- font: normal normal normal 13px/1.231 arial, helvetica, clean, sans-serif;
- font-family: Verdana, 'Trebuchet MS', 'Lucida Grande', 'Lucida Sans', Verdana, Tahoma, Arial, sans-serif;
- border-bottom: 1px solid #9db1ca;
- -webkit-box-shadow: 0 1px 2px #9db1ca; -moz-box-shadow: 0 1px 2px #9db1ca; box-shadow: 0 1px 2px #9db1ca;
-}
-.nav2 { margin: 0 0.5em; padding: 0; width: auto; position: relative; }
-p.loc { margin: 0 auto; padding: 0.5em 0; font-size: 0.9em; color: #ccc; width: 100%; text-align: left; }
-p.loc a { color: #2383c2; text-decoration: none; }
-p.loc a.sel { font-weight: bold; color: #000; }
-body { margin: 0 0 3em 0; padding-top: 0; }
-a:link { color: #2383c2; }
-a.new:link { color: #ba0000; }
-a:visited { color: #5a3696; }
-.nav a[href^="https://"] { background: none; padding-right: 0; }
-</style>
-<div class="nav"><!--googleoff: all--><div class="nav2">
-<p class="loc"><a href="http://www.mageia.org/en/" accesskey="1">Mageia</a>
- | <a href="http://www.mageia.org/en/1/">1</a>
- | <a href="http://blog.mageia.org/en/">Blog</a>
- | <a href="http://www.mageia.org/en/downloads/">Downloads</a>
- | <a href="http://www.mageia.org/en/support/">Support</a>
- | <a href="https://forums.mageia.org/en/">Forum</a>
- | <a href="http://www.mageia.org/en/contribute/">Contribute</a>
- | <a href="https://wiki.mageia.org/en/" class="sel">Wiki</a>
- | <a href="https://bugs.mageia.org/">Bugzilla</a>
- | <a href="http://www.mageia.org/en/donate/">Donations</a>
- | <a href="http://www.mageia.org/en/about/">About</a></p>
-</div><!--googleon: all--></div>
-<br>
-<!-- /mageia.org nav bar -->
-
-<div id="internal"></div> <!-- cavendish-mod -->
-<div id="container"> <!-- cavendish-mod / default: globalWrapper -->
-
- <!-- <div id="mozilla-org"><a href="/wiki/Skin:Cavendish">Mozilla Skin</a></div> -->
- <?php if($this->data['sitenotice']) { ?><div id="siteNotice"><?php $this->html('sitenotice') ?></div><?php } ?>
-
- <div id="header" class="noprint">
- <a name="top" id="contentTop"></a>
- <h1><a style="background: transparent url(<?php $this->text('logopath') ?>) no-repeat scroll 5px -5px;);" href="<?php echo htmlspecialchars($this->data['nav_urls']['mainpage']['href'])?>"<?php echo $skin->tooltipAndAccesskey('p-logo') ?>><?php if ($this->show_sitename) { $this->text('sitename'); } else { print "&nbsp;"; } ?></a></h1>
-
- <ul> <!-- Start of content action buttons -->
- <?php foreach($this->data['content_actions'] as $key => $tab) {
- echo '
- <li id="' . Sanitizer::escapeId( "ca-$key" ) . '"';
- if( $tab['class'] ) {
- echo ' class="'.htmlspecialchars($tab['class']).'"';
- }
- echo'><a href="'.htmlspecialchars($tab['href']).'"';
- # We don't want to give the watch tab an accesskey if the
- # page is being edited, because that conflicts with the
- # accesskey on the watch checkbox. We also don't want to
- # give the edit tab an accesskey, because that's fairly su-
- # perfluous and conflicts with an accesskey (Ctrl-E) often
- # used for editing in Safari.
- if( in_array( $action, array( 'edit', 'submit' ) )
- && in_array( $key, array( 'edit', 'watch', 'unwatch' ))) {
- echo $skin->tooltip( "ca-$key" );
- } else {
- echo $skin->tooltipAndAccesskey( "ca-$key" );
- }
- echo '>'.htmlspecialchars($tab['text']).'</a></li>';
- } ?>
- </ul>
-
- <form action="<?php $this->text('searchaction') ?>" id="searchform">
- <div>
- <label for="searchInput"><?php $this->msg('search') ?></label>
- <input id="searchInput" name="search" type="text" <?php echo $this->skin->tooltipAndAccesskey('search'); if( isset( $this->data['search'] ) ) { ?> value="<?php $this->text('search') ?>"<?php } ?> />
- <input type='submit' name="go" class="searchButton" id="searchGoButton" value="<?php $this->msg('searcharticle') ?>"<?php echo $this->skin->tooltipAndAccesskey( 'search-go' ); ?> />
- <input type='submit' name="fulltext" class="searchButton" id="mw-searchButton" value="<?php $this->msg('searchbutton') ?>"<?php echo $this->skin->tooltipAndAccesskey( 'search-fulltext' ); ?> />
- </div>
- </form>
-
- </div> <!-- End header div -->
-
- <div id="mBody">
-
- <!-- Dunno if this is important...? Who cares about IE5 anyways? C'mon, we got Firefox!
-
- <script type="<?php $this->text('jsmimetype') ?>"> if (window.isMSIE55) fixalpha(); </script> -->
-
- <!-- NAVIGATION -->
- <div id="side" class="noprint"> <!-- cavendish-mod / monobook: column-one -->
- <ul id="nav">
- <?php
- // Display Personal Tools block.
- $this->personalTools();
-
- // Display other Navigation blocks.
- $sidebar = $this->data['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 => $cont) {
- if ( $boxName == 'SEARCH' ) {
- // The searchbox is disabled, because we already have one in the header.
- // Uncomment the line below to enable it again.
- //$this->searchBox();
- }
- elseif ( $boxName == 'TOOLBOX' ) {
- $this->toolbox();
- }
- elseif ( $boxName == 'LANGUAGES' ) {
- $this->languageBox();
- }
- else {
- $this->customBox( $boxName, $cont );
- }
- }
- ?>
- </ul>
- </div><!-- end of SIDE div -->
-
- <!-- MAIN CONTENT -->
- <div id="mainContent"> <!-- cavendish-mod / monobook: column-content -->
- <!-- <a name="top" id="top"></a> -->
- <!-- sitenotice was here -->
- <h1><?php $this->data['displaytitle']!=""?$this->html('title'):$this->text('title') ?></h1>
- <h3 id="siteSub"><?php $this->msg('tagline') ?></h3>
- <div id="contentSub"><?php $this->html('subtitle') ?></div>
-
- <?php if($this->data['undelete']) { ?><div id="contentSub2"><?php $this->html('undelete') ?></div><?php } ?>
- <?php if($this->data['newtalk'] ) { ?><div class="usermessage"><?php $this->html('newtalk') ?></div><?php } ?>
- <?php if($this->data['showjumplinks']) { ?><div id="jump-to-nav"><?php $this->msg('jumpto') ?> <a href="#column-one"><?php $this->msg('jumptonavigation') ?></a>, <a href="#searchInput"><?php $this->msg('jumptosearch') ?></a></div><?php } ?>
- <!-- start content -->
- <?php $this->html('bodytext') ?>
- <?php if($this->data['catlinks']) { $this->html('catlinks'); } ?>
- <!-- end content -->
- <?php if($this->data['dataAfterContent']) { $this->html ('dataAfterContent'); } ?>
- <div class="visualClear"></div>
- </div> <!-- End mainContent div -->
-
- </div> <!-- End mBody div -->
-
- <div class="visualClear"></div>
-
- <!-- FOOTER -->
- <div id="footer">
- <?php if($this->data['poweredbyico']) { ?>
- <div id="f-poweredbyico"><?php $this->html('poweredbyico') ?></div>
-
- <?php }
- if($this->data['copyrightico']) { ?>
- <div id="f-copyrightico"><?php $this->html('copyrightico') ?></div>
-
- <?php } ?>
-
- <?php
- // Generate additional footer links
- $footerlinks = array(
- //'lastmod', 'viewcount',
- 'numberofwatchingusers', 'credits', 'copyright',
- 'privacy', 'about', 'disclaimer', 'tagline',
- );
- ?>
-
- <ul>
- <?php
- foreach( array('lastmod', 'viewcount') as $aLink ) {
- if( isset( $this->data[$aLink] ) && $this->data[$aLink] ) { ?>
- <li id="<?php echo $aLink ?>"><?php $this->html($aLink) ?></li>
- <?php } } ?>
- </ul>
-
- <?php
- $validFooterLinks = array();
- foreach( $footerlinks as $aLink ) {
- if( isset( $this->data[$aLink] ) && $this->data[$aLink] ) {
- $validFooterLinks[] = $aLink;
- }
- }
-
- if ( count( $validFooterLinks ) > 0 ) { ?>
- <ul id="f-list">
- <?php foreach( $validFooterLinks as $aLink ) {
- if( isset( $this->data[$aLink] ) && $this->data[$aLink] ) { ?>
- <li id="<?php echo $aLink ?>"><?php $this->html($aLink) ?></li>
- <?php } } ?>
- <li class="noprint"><a href="https://sourceforge.net/p/cavendishmw/home/">Cavendish Skin</a></li>
- </ul>
- <?php } ?>
- </div> <!-- End of footer div -->
-
-</div> <!-- End of container div -->
-
-<?php $this->html('bottomscripts'); /* JS call to runBodyOnloadHook */ ?>
-<?php $this->html('reporttime') ?>
-<?php if ( $this->data['debug'] ): ?>
-<!-- Debug output:
-<?php $this->text( 'debug' ); ?>
-
--->
-<?php endif; ?>
-</body></html>
-<?php
-wfRestoreWarnings();
-} // end of execute() method
-
-/*************************************************************************************************/
-function personalTools() {
-?>
- <li><span><?php $this->msg('personaltools') ?></span>
- <ul>
- <?php foreach($this->data['personal_urls'] as $key => $item) { ?>
- <li id="pt-<?php echo htmlspecialchars($key) ?>"><a href="<?php echo htmlspecialchars($item['href']) ?>" <?php if(!empty($item['class'])) { ?>
- class="<?php echo htmlspecialchars($item['class']) ?>"<?php } ?>><?php echo htmlspecialchars($item['text']) ?></a></li>
- <?php } ?>
- </ul>
- </li>
-<?php
-}
-function searchBox() {
- global $wgUseTwoButtonsSearchForm;
-?>
-<li><span><label for="searchInput"><?php $this->msg('search') ?></label></span>
- <ul>
- <form action="<?php $this->text('wgScript') ?>" id="searchform">
- <input type='hidden' name="title" value="<?php $this->text('searchtitle') ?>"/>
- <input id="searchInput" name="search" type="text"<?php echo $this->skin->tooltipAndAccesskey('search');
- if( isset( $this->data['search'] ) ) { ?> value="<?php $this->text('search') ?>"<?php } ?> />
- <div>
- <input type='submit' name="go" class="searchButton" id="searchGoButton" value="<?php $this->msg('searcharticle') ?>"<?php echo $this->skin->tooltipAndAccesskey( 'search-go' ); ?> />
- <?php if ($wgUseTwoButtonsSearchForm) { ?>
- <input type='submit' name="fulltext" class="searchButton" id="mw-searchButton" value="<?php $this->msg('searchbutton') ?>"<?php echo $this->skin->tooltipAndAccesskey( 'search-fulltext' ); ?> />
- <?php } else { ?>
- <a href="<?php $this->text('searchaction') ?>" rel="search"><?php $this->msg('powersearch-legend') ?></a>
- <?php } ?>
- </div>
- </form>
- </ul>
-</li>
-<?php
- }
-
- /*************************************************************************************************/
- function toolbox() {
-?>
-<li><span><?php $this->msg('toolbox') ?></span>
- <ul>
- <?php if($this->data['notspecialpage']) { ?>
- <li id="t-whatlinkshere"><a href="<?php echo htmlspecialchars($this->data['nav_urls']['whatlinkshere']['href']) ?>"<?php echo $this->skin->tooltipAndAccesskey('t-whatlinkshere') ?>><?php $this->msg('whatlinkshere') ?></a></li>
-
- <?php if( $this->data['nav_urls']['recentchangeslinked'] ) { ?>
- <li id="t-recentchangeslinked"><a href="<?php echo htmlspecialchars($this->data['nav_urls']['recentchangeslinked']['href']) ?>"<?php echo $this->skin->tooltipAndAccesskey('t-recentchangeslinked') ?>><?php $this->msg('recentchangeslinked') ?></a></li>
- <?php
- } }
-
- if(isset($this->data['nav_urls']['trackbacklink'])) { ?>
- <li id="t-trackbacklink"><a href="<?php echo htmlspecialchars($this->data['nav_urls']['trackbacklink']['href']) ?>"<?php echo $this->skin->tooltipAndAccesskey('t-trackbacklink') ?>><?php $this->msg('trackbacklink') ?></a></li>
- <?php
- }
-
- if($this->data['feeds']) { ?>
- <li id="feedlinks"><?php foreach($this->data['feeds'] as $key => $feed) { ?><a id="<?php echo Sanitizer::escapeId( "feed-$key" ) ?>" href="<?php echo htmlspecialchars($feed['href']) ?>" rel="alternate" type="application/<?php echo $key ?>+xml" class="feedlink"<?php echo $this->skin->tooltipAndAccesskey('feed-'.$key) ?>><?php echo htmlspecialchars($feed['text'])?></a>&nbsp;<?php } ?></li>
- <?php
- }
-
- foreach( array('contributions', 'log', 'blockip', 'emailuser', 'upload', 'specialpages') as $special ) {
- if($this->data['nav_urls'][$special]) { ?>
- <li id="t-<?php echo $special ?>"><a href="<?php echo htmlspecialchars($this->data['nav_urls'][$special]['href']) ?>"<?php echo $this->skin->tooltipAndAccesskey('t-'.$special) ?>><?php $this->msg($special) ?></a></li>
- <?php
- } }
-
- if(!empty($this->data['nav_urls']['print']['href'])) { ?>
- <li id="t-print"><a href="<?php echo htmlspecialchars($this->data['nav_urls']['print']['href']) ?>" rel="alternate"<?php echo $this->skin->tooltipAndAccesskey('t-print') ?>><?php $this->msg('printableversion') ?></a></li><?php
- }
-
- if(!empty($this->data['nav_urls']['permalink']['href'])) { ?>
- <li id="t-permalink"><a href="<?php echo htmlspecialchars($this->data['nav_urls']['permalink']['href'])?>"<?php echo $this->skin->tooltipAndAccesskey('t-permalink') ?>><?php $this->msg('permalink') ?></a></li>
- <?php } elseif ($this->data['nav_urls']['permalink']['href'] === '') { ?>
- <li id="t-ispermalink"<?php echo $this->skin->tooltip('t-ispermalink') ?>><?php $this->msg('permalink') ?></li>
- <?php
- }
-
- /* This line seems unimportant for this skin
- wfRunHooks( 'MonoBookTemplateToolboxEnd', array( &$this ) );
- */
-
- // This line triggers that certain extensions can add extra links to the toolbox.
- wfRunHooks( 'SkinTemplateToolboxEnd', array( &$this ) );
- ?>
- </ul>
-</li>
-<?php
- }
-
- /*************************************************************************************************/
- function languageBox() {
- if( $this->data['language_urls'] ) {
-?>
-<li><span><?php $this->msg('otherlanguages') ?></span>
- <ul>
- <?php foreach($this->data['language_urls'] as $langlink) { ?>
- <li class="<?php echo htmlspecialchars($langlink['class'])?>"><a href="<?php echo htmlspecialchars($langlink['href']) ?>"><?php echo $langlink['text'] ?></a></li>
- <?php } ?>
- </ul>
-</li>
-<?php
- }
- }
-
- /*************************************************************************************************/
- function customBox( $bar, $cont ) {
-?>
-<li><span><?php $out = wfMsg( $bar ); if (wfEmptyMsg($bar, $out)) echo $bar; else echo $out; ?></span>
- <?php if ( is_array( $cont ) ) { ?>
- <ul>
- <?php foreach($cont as $key => $val) { ?>
- <li id="<?php echo Sanitizer::escapeId($val['id']) ?>"<?php if ( $val['active'] ) { ?> class="active" <?php } ?>><a href="<?php echo htmlspecialchars($val['href']) ?>"<?php echo $this->skin->tooltipAndAccesskey($val['id']) ?>><?php echo htmlspecialchars($val['text']) ?></a></li>
- <?php } ?>
- </ul>
- <?php } else {
- # allow raw HTML block to be defined by extensions
- print $cont;
- }
-?>
-</li>
-<?php
-}
-
-} // end of class
-
-
diff --git a/skins/cavendish/COPYING b/skins/cavendish/COPYING
deleted file mode 100644
index 893ac95..0000000
--- a/skins/cavendish/COPYING
+++ /dev/null
@@ -1,4 +0,0 @@
-This work is licensed under the Creative Commons Attribution-ShareAlike 3.0
-Unported License. To view a copy of this license, visit
-http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Creative
-Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
diff --git a/skins/cavendish/DroidSansMono-LICENSE.txt b/skins/cavendish/DroidSansMono-LICENSE.txt
deleted file mode 100755
index 75b5248..0000000
--- a/skins/cavendish/DroidSansMono-LICENSE.txt
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
diff --git a/skins/cavendish/DroidSansMono.ttf b/skins/cavendish/DroidSansMono.ttf
deleted file mode 100755
index d604425..0000000
--- a/skins/cavendish/DroidSansMono.ttf
+++ /dev/null
Binary files differ
diff --git a/skins/cavendish/README b/skins/cavendish/README
deleted file mode 100644
index af7e93c..0000000
--- a/skins/cavendish/README
+++ /dev/null
@@ -1,21 +0,0 @@
-README file for Cavendish-MW
-============================
-
-
-Installation Instructions
-=========================
-
-To install the Cavendish skin, extract the files from the archive to the
-"skins" folder of your MediaWiki installation.
-
-In your MediaWiki Preferences page, click on the Appearance tab, select the
-skin you would like to use for your account and click Save.
-
-If you want to set the default skin to Cavendish, open LocalSettings.php
-and add/modify the $wgDefaultSkin. The name should be in lowercase,
-
-$wgDefaultSkin = 'cavendish';
-
-The default is,
-
-$wgDefaultSkin = 'monobook';
diff --git a/skins/cavendish/audio.png b/skins/cavendish/audio.png
deleted file mode 100644
index 1c56bdc..0000000
--- a/skins/cavendish/audio.png
+++ /dev/null
Binary files differ
diff --git a/skins/cavendish/basetemplate.css b/skins/cavendish/basetemplate.css
deleted file mode 100644
index 7f0bede..0000000
--- a/skins/cavendish/basetemplate.css
+++ /dev/null
@@ -1,123 +0,0 @@
-/* mozilla.org Base Template Styles
- * Initial Design by Dave Shea
- * Severely tweaked by David Baron
- * Reorganized by fantasai
- * Large Changes for new Cavendish default by Daniel Burka and Steven Garrity
- */
-
-/* Basic Structure */
- html, body {
- background: url("bg_ln_4.png") repeat-x scroll 0 0 transparent;
- }
- body {
- min-width: 610px;
- margin: 20px;
- background: url("cauldron_alpha_ln_1.png") no-repeat scroll -20px 200px transparent;
- }
-
- #container {
- /*max-width: 100%; /* default: 70em; */
- width: 980px;
- margin: 0 auto;
- background: #fff;
- border-radius: 10px;
- box-shadow: 0 0 6px #555555;
- }
-
- #mBody {
- clear: both;
- padding: 0 0 1em 0;
- }
-
- #side {
- float: left;
- width: 198px; /* default: 23% */
- margin-bottom: 1em;
- margin-left: 7px;
- }
-
- #mainContent {
- float: right;
- width: 740px; /* default: 75% */
- margin-bottom: 1em;
- margin-right: 10px;
- }
- .nomenu #mainContent {
- float: none;
- width: 100%;
- }
- .bodyleft {
- float: right !important;
- width: 75% !important;
- }
- #mainContent.right {
- float: left;
- width: 62%;
- }
-
- #side.right {
- float: right;
- width: 35%;
- }
-
-/* Header */
-
- #header {
- margin-bottom: 1em;
- }
-
- #header ul {
- margin: 0 0 1em 0;
- padding: 0;
- line-height: 1.5em;
- }
-
- #header li {
- display: inline;
- padding: 0 20px 0 0;
- margin: 0;
- white-space: nowrap;
- }
-
- /*#header h1 {
- margin-left: 180px;
- }*/
-
-/* Sidebar */
-
- #getcd {
- margin: 1em 0 0 45px;
- }
-
-/* Footer */
-
- #footer {
- clear: both;
- margin-top: 1em;
- }
-
- #footer ul {
- margin: 0 0 0.5em 0;
- padding: 0;
- }
-
- #footer li {
- display: inline;
- padding: 0 20px 0 0;
- margin: 0;
- white-space: nowrap;
- }
-
- #footer p {
- margin: 0.6em 0;
- }
-
-/*accessibility tweaks*/
- .skipLink {
- position: absolute;
- left: -999px;
- width: 990px;
- }
- hr.hide {
- display: none;
- }
diff --git a/skins/cavendish/bg_ln_4.png b/skins/cavendish/bg_ln_4.png
deleted file mode 100644
index e0eb25c..0000000
--- a/skins/cavendish/bg_ln_4.png
+++ /dev/null
Binary files differ
diff --git a/skins/cavendish/body_back.gif b/skins/cavendish/body_back.gif
deleted file mode 100644
index 72a0d3e..0000000
--- a/skins/cavendish/body_back.gif
+++ /dev/null
Binary files differ
diff --git a/skins/cavendish/bullet.gif b/skins/cavendish/bullet.gif
deleted file mode 100644
index b43de48..0000000
--- a/skins/cavendish/bullet.gif
+++ /dev/null
Binary files differ
diff --git a/skins/cavendish/cauldron_alpha_ln_1.png b/skins/cavendish/cauldron_alpha_ln_1.png
deleted file mode 100644
index b3c6976..0000000
--- a/skins/cavendish/cauldron_alpha_ln_1.png
+++ /dev/null
Binary files differ
diff --git a/skins/cavendish/cavendish.css b/skins/cavendish/cavendish.css
deleted file mode 100644
index cd9b75a..0000000
--- a/skins/cavendish/cavendish.css
+++ /dev/null
@@ -1,490 +0,0 @@
-/* mozilla.org Cavendish Content Styles
- * Design by SilverOrange
- * Markup Reference classes organized by fantasai
- */
-
-/* Suggested order:
- * display
- * list-style
- * position
- * float
- * clear
- * width
- * height
- * margin
- * padding
- * border
- * background
- * color
- * font
- * text-decoration
- * text-align
- * vertical-align
- * white-space
- * other text
- * content
- *
- */
-
-/* TOC:
- Body
- Random HTML Styles
- Forms
- General Structure
- Navigation
- Quotations
- Comments and Other Asides
- Emphasis
- Computers - General
- Code
- Examples and Figures
- Q and A (FAQ)
- Tables
- Meta
-*/
-
-/* Body */
-
-#mainContent, #side {
- background: #ffffff;
- line-height: 1.3; /* value other than 'normal' needed for WinIE */
-}
-
-.deepLevel #mainContent {
- line-height: 1.4;
-}
-
-#nav {
- line-height: 1em;
-}
-
-#mainContent p {
-line-height: 1.8em;
-text-align: justify;
-}
-
-/* Random HTML Styles */
-
-input[type="submit"] {
- font-weight: bold;
-}
-
-.usermessage {
- background-color: #ffce7b;
- border: 1px solid #ffa500;
- border-left: 4px solid #ffa500;
- color: black;
- font-weight: normal;
- margin: 2em 0 1em;
- padding: .5em 1em;
- vertical-align: middle;
-}
-.errorbox, .successbox {
- font-size: small;
- border: 1px solid;
- padding: .3em 1em;
- float: left;
- margin-bottom: 2em;
- color: #000;
-}
-.errorbox {
- border-color: #DF421E;
- background-color: #fff2f2;
-}
-.successbox {
- border-color: #267726;
- background-color: #dfd;
-}
-
-li#pt-userpage,
-li#pt-anonuserpage,
-li#pt-login {
- background: none; /* removes the icon in front of the user name */
-}
-
-.os-suggest {
- font-size: 100%; /* the font size for MediaWiki Suggest */
-}
-
-.errorbox, .successbox, .catlinks, .infobox, div.thumbinner, .toc,
-.fn, .navbox-title, .navbox-group, .navbox, .navbox-abovebelow,
-.noarticletext, .mbox-small, .ambox {
- border-radius: 3px;
- -moz-border-radius: 3px;
- -webkit-border-radius: 3px;
-}
-
-/* Change the default colors of navigation boxes */
-
-.navbox-title, table.navbox th {
- background: none repeat scroll 0 0 #9DB8D2 !important;
-}
-
-.navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title {
- background: none repeat scroll 0 0 #EAE8E3 !important;
-}
-
-/* General Structure */
-body {
- font-family: Verdana,"Trebuchet MS","Lucida Grande","Lucida Sans",Verdana,Tahoma,Arial,sans-serif;
- font-size: 0.75em;
- word-spacing: 1.5px;
- /*letter-spacing: 0.5px;*/
- color: #000;
-}
-
-input {
- font-family: Verdana,"Trebuchet MS","Lucida Grande","Lucida Sans",Verdana,Tahoma,Arial,sans-serif;
-}
-
-textarea {
- font-family: "Droid Sans Mono", "Andale mono", "Courier New", monospace;
- font-size: 1.0em;
-}
-
-h1, h2, h3, h4, h5, h6 {
- font-family: "Century Gothic","Trebuchet MS",Arial,sans-serif;
- margin: 1em 0 0.3em 0;
-}
-
-h6 { font-size: 90%; }
-
-h1, h2 {
- /*text-shadow: 1px 1px 2px #A5A5A5;*/
- text-shadow: none;
-}
-
-li h1, li h2, li h3, li h4, li h5, li h6 {
- border: none;
-}
-
-tt, code, pre {
- font-family: "Droid Sans Mono", "Andale mono", "Courier New", monospace, sans-serif !important;
- overflow: auto;
- font-size: 1.0em;
- line-height: 1.4em;
-}
-
-code {
- color: green;
-}
-
-#header h1 { border: 0; }
-
-/* Quotations */
-
-
-/* Comments and other Asides */
-
-.note {
- color: #666;
- font-style: normal;
-}
-
-.remark {
- color: #666;
-}
-
-.sidenote {
- border: #666;
-}
-
-.key-point:before {
- line-height: 0.1;
- font-size: 1px;
- background: transparent url("../../images/key-point_tr.gif") no-repeat top right;
- margin: -15px -15px 0 -15px;
- height: 15px;
- display: block;
- border: none;
- content: url("../../images/key-point_tl.gif");
-}
-.key-point {
- background: #e4ecec url("../../images/key-point_back.gif") right repeat-y;
- padding: 15px;
- margin-bottom: 1em;
-}
-.key-point:after {
- display: block;
- clear: both;
- padding-top: 15px;
- line-height: 0.1;
- font-size: 1px;
- content: url("../../images/key-point_bl.gif");
- margin: -15px;
- height: 8px;
- background: transparent url("../../images/key-point_br.gif") scroll no-repeat bottom right ;
-}
-
-.key-point h2, .key-point h3, .key-point h4, .key-point h5 {
- border: none;
- margin-top: 0;
- color: #4C5C5C;
-}
-
-.news dt {
- font-weight: normal;
- color: #666;
-}
-.news dt a {
- font-weight: bold;
-}
-
-ul.compact {
- margin-left: 0;
- padding-left: 20px;
-}
-
-/* Emphasis */
-
-/* Computers - General */
-
-kbd {
- margin: 0.1em;
- padding: 0.1em;
- border: 1px #ccc;
-}
-
-kbd.command,
-code.command {
- color: #6B5839;
-}
-
-/* Code */
-
-pre.code {
- background: #EEECF6;
-}
-
-code > em,
-code > strong,
-pre.code > em,
-pre.code > strong {
- font-style: normal;
-}
-
-/* Examples and Figures */
-
-div.example {
- border-color: #554FA0;
-}
-div.example:before {
- color: #666;
-}
-
-/* Q and A (FAQ) */
-
-ol.faq li a {
-text-decoration: none;
-border-bottom: 1px dotted #6C98EE;
-}
-
-ol.faq li a:hover {
-border-color: #039;
-}
-
-
-/* Tables */
-
-table.data thead th {
- background: #e4ecec;
- empty-cells: hide;
-}
-
-table.data th,
-table.data td {
- border: 1px solid #ccc;
-}
-
-tr.odd {
- background: #F5F5F5;
-}
-
-/* Meta */
-
-address {
- color: #666;
-}
-
-/* Product Specific CSS */
-
-.productlist h3 {
- border: none;
-}
-
-.key-point h1, .key-point h3 {
- margin: 0;
-}
-
-#product-desc h2 {
- text-indent: -700em;
- height: 25px;
- line-height: 2px;
- font-size: 2px;
-}
-
-#product-desc p {
- padding-left: 170px;
-}
-
-#product-desc ul, #key-desc {
- padding-left: 190px;
- margin-bottom: 0;
-}
-
-#product-side, #key-side {
- margin-left: 65%;
-}
-
-#product-side ul, #key-side ul {
- margin-left: 0;
- padding-bottom: 0;
- padding-left: 20px;
-}
-
-#product-side li, #key-side {
- padding-bottom: 0.2em;
-}
-
-#product-desc, #key-desc {
- padding: 40px 0 25px 0;
- color: #4C5C5C;
- width: 60%;
- float: left;
- line-height: 140%;
-}
-
-#key-desc {
- padding: 0;
-}
-
-#key-side {
- color: #4C5C5C;
-}
-
-.product-firefox {
- background: url("../../images/product-firefox-screen.png") no-repeat;
-}
-.product-thunderbird {
- background: url("../../images/product-thunderbird-screen.png") no-repeat;
-}
-.product-camino {
- background: url("../../images/product-camino-screen.png") no-repeat;
-}
-.product-mozilla {
- background: url("../../images/product-mozilla-screen.png") no-repeat;
-}
-
-#product-side .download h3 {
- color: #1D9101;
- font-weight: bold;
- margin: 0;
- font-size: 140%;
-}
-
-.download h3 :link,
-.download h3 :visited,
-.download h3 :link:active, .download h3 :visited:active {
- color: #1D9101;
-}
-
-.download h3 :link:hover, .download h3 :visited:hover {
- color: #156B01;
-}
-
-.download li {
- padding: 0;
- margin: 0;
-}
-.download ul {
- margin-top: 0;
- margin-bottom: 0;
- padding-bottom: 0;
-}
-.other a:link, .other a:visited { color: #666; }
-.download .other a:hover { color: #000; }
-.download:before {
- line-height: 0.1;
- font-size: 1px;
- margin: -15px -15px 0 -15px;
- height: 15px;
- display: block;
- border: none;
- content: url("../../images/download_tl.gif");
-}
-.download {
- background: #C4EFA1 url("../../images/download_back.gif") top right no-repeat;
- padding: 15px 45px 15px 15px;
- margin-bottom: 0.5em;
-}
-.download:after {
- display: block;
- padding-top: 15px;
- line-height: 0.1;
- font-size: 1px;
- content: url("../../images/download_bl.gif");
- margin: -10px -45px -15px -15px;
- height: 8px;
- background: transparent url("../../images/download_br.gif") scroll no-repeat bottom right ;
-}
-.configParent {
- display: block;
- font-size: 85%;
-}
-
-.shop:before, .shopmoz:before {
- line-height: 0.1;
- font-size: 1px;
- margin: -15px -15px 0 -15px;
- height: 15px;
- display: block;
- border: none;
- content: url("../../images/shop_tl.gif");
-}
-.shop {
- background: #C0DCDC url("../../images/shop_back.gif") top right no-repeat;
- padding: 15px 70px 15px 15px;
-}
-.shopmoz {
- background: #C0DCDC url("../../images/shopmoz_back.gif") top right no-repeat;
- padding: 15px 70px 15px 15px;
-}
-.shop:after, .shopmoz:after {
- display: block;
- padding-top: 15px;
- line-height: 0.1;
- font-size: 1px;
- content: url("../../images/shop_bl.gif");
- margin: -10px -70px -15px -15px;
- height: 8px;
- background: transparent url("../../images/shop_br.gif") scroll no-repeat bottom right ;
-}
-
-/* Firefox Central styles */
-#ffcentral-desc {
- background: url("../../products/firefox/t-welcomefirefox.gif") no-repeat;
- width: 60%;
- float: left;
- line-height: 140%;
-}
-#ffcentral-desc div {
- padding: 40px 0 0 100px;
-}
-#ffcentral h3, #ffcentral h2, #ffcentral p, #ffcentral ul {
- margin-top: 0;
- color: #4C5C5C;
-}
-
-/*
-** footer
-*/
-#footer {
- background-color: white;
- border-top: 1px solid #999999;
- border-bottom: 0px solid #999999;
- margin: .6em 0 1em 0;
- padding: .4em 0 1.2em 0;
- text-align: center;
- font-size: 90%;
- color: #666666;
-}
diff --git a/skins/cavendish/content.css b/skins/cavendish/content.css
deleted file mode 100644
index 7ee235e..0000000
--- a/skins/cavendish/content.css
+++ /dev/null
@@ -1,548 +0,0 @@
-/* mozilla.org Base Styles
- * maintained by fantasai
- * (classes defined in the Markup Guide - http://mozilla.org/contribute/writing/markup )
- */
-/* Suggested order:
- * display
- * list-style
- * position
- * float
- * clear
- * width
- * height
- * margin
- * padding
- * border
- * background
- * color
- * font
- * text-decoration
- * text-align
- * vertical-align
- * white-space
- * other text
- * content
- *
- */
-
-/* TOC:
- Random HTML Styles
- Forms
- General Structure
- Navigation
- Quotations
- Comments and Other Asides
- Emphasis
- Computers - General
- Code
- Examples and Figures
- Q and A (FAQ)
- Tables
- Headers
- Meta
- Specific to Products Pages
-*/
-/* Random HTML Styles */
-
- /*
- dt {
- font-weight: bold;
- }
-
- dd {
- margin: 0 0 1em 1em;
- }
-
- li {
- margin-top: 0.2em;
- margin-bottom: 0.2em;
- }
-
- sup {
- font-size: 70%;
- }
-
- form {
- margin: 0;
- display: inline;
- }
-
- label {
- font-weight: bold;
- }
- */
-
-
-/* General Structure */
-
- .subtitle {
- font-style: italic;
- }
-
- div.para {
- margin: 1em 0;
- }
-
- div.para > ul,
- div.para > ol,
- div.para > blockquote {
- margin-top: 0.2em;
- margin-bottom: 0.2em;
- }
-
- div.section {
- display: block;
- padding-left: 0%;
- }
-
- div.section > h2,
- div.section > h3,
- div.section > h4,
- div.section > h5,
- div.section > h6 {
- margin-left: -1.3%;
- }
-
- .block {
- display: block;
- margin: 0.1em 1em;
- }
-
- .imgright {
- float: right;
- margin: 0 0 2em 2em;
- }
-
- .first {
- margin-top: 0; /* For IE not understanding first:child */
- }
-
-/* Navigation */
-
- :link img,
- :visited img {
- border: 0;
- }
- .deepLevel #mainContent :link img,
- .deepLevel #mainContent :visited img {
- border: medium solid;
- }
- .deepLevel #mainContent #buttons :link img,
- .deepLevel #mainContent #buttons :visited img {
- border: 0;
- }
-
- .ex-ref {
- font-style: italic;
- }
-
- dl.toc dt {
- margin-top: 1em;
- font-size: 110%;
- }
- dl.toc p {
- margin: 0;
- text-indent: 1em;
- }
- dl.toc p:first-child {
- text-indent: 0;
- }
- dl.toc > dd {
- margin-left: 1em;
- }
-
- ol.toc ol {
- list-style-type: circle;
- }
- ol.toc > li > ol {
- font-size: 90%;
- }
-
- ul.snav {/* section navigation or short navigation, whichever you prefer */
- margin: 0.7em 10%;
- padding: .2em;
- text-align: center;
- list-style-type: none;
- }
- ul.snav > li {
- margin: 0;
- padding: 0;
- }
- ul.snav > li {
- display: inline;
- }
- ul.snav > li:before {
- content: " | ";
- }
- ul.snav > li:first-child:before {
- content: "";
- }
-
- a.cont {
- display: block;
- margin-right: 0;
- text-align: right;
- }
-
-/* Quotations */
-
- blockquote > address {
- padding-left: 1em;
- text-indent: -1em;
- }
- blockquote > address:before {
- content: "\2015";
- }
-
- div.quote,
- div.epigraph {
- margin: 1em;
- }
- div.quote q,
- div.epigraph q {
- display: block;
- margin: 0 .5em;
- text-indent: -0.5em;
- }
- div.quote cite,
- div.epigraph cite {
- display: block;
- padding: 0 1em;
- text-align: right;
- text-indent: -1em;
- }
- div.quote cite:before,
- div.epigraph cite:before {
- content: "\2015";
- }
-
- blockquote.epigraph,
- div.epigraph q {
- font-style: italic;
- text-align: right;
- }
- blockquote.epigraph em,
- div.epigraph q em {
- font-style: normal;
- }
- blockquote.epigraph address,
- div.epigraph cite {
- font-style: normal;
- }
-
-/* Comments and other Asides */
-
- .note {
- font-style: italic;
- }
- .note:before {
- content: "Note: ";
- }
-
- .remark {
- font-size: smaller;
- }
- .remark:before {
- content: "[";
- }
- .remark:after {
- content: "]";
- }
-
- .sidenote {
- clear: both;
- margin: 0.75em 0.5em;
- padding: 0.2em;
- border: 1px solid;
-
- /* Block NS4 from floating */ /*/*/
- float: right;
- width: 30%;
- min-width: 15em;
- /* */
- }
- /* Reduce main header sizes */
- .sidenote h1 {font-size: 1.40em;}
- .sidenote h2 {font-size: 1.25em;}
- .sidenote h3 {font-size: 1.10em;}
-
- .key-point > h1:first-child,
- .key-point > h2:first-child,
- .key-point > h3:first-child,
- .key-point > h4:first-child,
- .key-point > h5:first-child,
- .key-point > h6:first-child {
- margin-top: 0;
- }
-
-/* Emphasis */
-
- /* em, strong */
-
- strong.stronger {
- font-style: italic;
- font-weight: bold;
- }
-
- strong.very-strong {
- font-weight: bold;
- text-transform: uppercase;
- }
-
- *.important,
- div.important,
- p.important {
- margin: 1em;
- padding: 0.1em;
- border: solid #F00;
- font-size: larger;
- }
-
- span.important {
- margin: 0;
- padding: 0;
- border: 0;
- font-size: smaller;
- color: #c00;
- }
-
-/* Computers - General */
-
- pre.screen {
- overflow: auto;
- margin: 1em 0.5em;
- padding: 0.2em;
- border: solid 1px;
- font-family: monospace;
- white-space: pre;
- }
-
- div.screen {
- margin: 1em .5em;
- padding: 0.2em;
- border: solid 1px;
- }
-
- span.application {
- font-style: italic;
- }
-
- kbd.long {
- display: block;
- margin: 0.1em 1em;
- }
-
- kbd.command,
- code.command {
- white-space: pre;
- }
-
- code.filename {
- font-style: italic;
- white-space: nowrap;
- }
-
-/* Code */
-
- code, pre {
- /* override IE6 default */
- font-size: 1em;
- }
-
- code {
- white-space: nowrap;
- }
- code.long {
- display: block;
- margin: 0.1em 1em;
- white-space: normal;
- }
-
- pre.code {
- overflow: auto;
- margin: 1em .5em;
- padding: .2em;
- border: solid 1px;
- }
-
- pre.code .remark {
- font-size: 1em;
- font-style: italic;
- }
-
- /* turn off content generation */
- pre.code .remark:before,
- pre.code .remark:after,
- pre.code .note:before {
- content: "";
- }
-
-
-/* Examples and Figures */
-
- .example {
- margin: 1em 3%;
- padding: .25em;
- border: solid;
- }
- .example:before {
- display: block;
- font-weight: bold;
- content: "Example";
- }
- .example[title]:before {
- content: "Example: " attr(title);
- }
-
- pre.bad,
- div.bad {
- border: dashed red 3px;
- }
- .bad.example:before {
- content: "Incorrect Example";
- }
- .bad.example[title]:before {
- content: "Incorrect Example: " attr(title);
- }
-
- pre.good,
- div.good {
- border: double lime 3px;
- }
- .good.example:before {
- content: "Correct Example";
- }
- .good.example[title]:before {
- content: "Correct Example: " attr(title);
- }
-
- .figure,
- .screenshot {
- display: block;
- margin: .75em auto;
- }
- object.figure object,
- object.screenshot object,
- object.figure img,
- object.screenshot object {
- display: block;
- margin: 0 auto;
- }
- .screenshot[title]:after,
- .figure[title]:after {
- display: block;
- margin: 0 8% .05em;
- font-style: italic;
- font-size: small;
- text-align: right;
- content: attr(title);
- }
-
- .co,
- .callout {
- text-decoration: underline;
- }
-
-/* Q and A (FAQ) */
-
- .qandaset .question {
- font-size: large;
- font-weight: bold;
- }
-
- .qandaset .answer {
- margin-top: 1em;
- }
-
-/* Tables */
-
- table.data {
- border-collapse: collapse;
- margin: 0.5em auto;
- border: 1px solid;
- }
-
- table.data caption {
- margin: 1em auto 0.2em;
- font-size: small;
- font-style: italic;
- text-align: center;
- }
-
- table.data th,
- table.data td {
- padding: 0.2em;
- border: 1px solid;
- vertical-align: baseline;
- }
-
- table.data tbody th:first-child {
- text-align: right;
- }
-
- table.data thead th {
- vertical-align: bottom;
- }
-
-/* Meta */
-
- address {
- text-align: right;
- }
- .author {
- margin-bottom: 1em;
- text-align: left;
- }
-
-
-/* Headers */
-
- #mainContent > h1:first-child,
- #mainContent > h2:first-child,
- #mainContent > h3:first-child,
- #mainContent > h4:first-child,
- #mainContent > h5:first-child,
- #mainContent > h6:first-child,
- #side > h1:first-child,
- #side > h2:first-child,
- #side > h3:first-child,
- #side > h4:first-child,
- #side > h5:first-child,
- #side > h6:first-child {
- margin-top: 0;
- }
-
-
-/* Specific to Products Pages */
-
-.productlist {
- margin: 0;
- padding: 0 0 0 5px;
-}
-
-.productlist li {
- clear: left;
- list-style: none;
- padding: 0 0 1em 0;
- margin-left: 0;
-}
-
-.productlist h3 {
- margin: 0 0 0.2em 0;
-}
-
-.productlist img {
- float: left;
- margin: 0 0.5em 1em 0;
-}
-
-/* Random Stuff That Needs To Be Cleaned Up / Deprecated */
-
-.flLeft {
- float: left;
- margin: 5px 10px 5px 0;
-}
-.flRight {
- float: right;
- margin: 5px 0 5px 10px;
-}
diff --git a/skins/cavendish/discussionitem_icon.gif b/skins/cavendish/discussionitem_icon.gif
deleted file mode 100644
index baec471..0000000
--- a/skins/cavendish/discussionitem_icon.gif
+++ /dev/null
Binary files differ
diff --git a/skins/cavendish/document.png b/skins/cavendish/document.png
deleted file mode 100644
index b48138e..0000000
--- a/skins/cavendish/document.png
+++ /dev/null
Binary files differ
diff --git a/skins/cavendish/external-rtl.png b/skins/cavendish/external-rtl.png
deleted file mode 100644
index c5cd84d..0000000
--- a/skins/cavendish/external-rtl.png
+++ /dev/null
Binary files differ
diff --git a/skins/cavendish/external.png b/skins/cavendish/external.png
deleted file mode 100644
index 419c06f..0000000
--- a/skins/cavendish/external.png
+++ /dev/null
Binary files differ
diff --git a/skins/cavendish/favicon.png b/skins/cavendish/favicon.png
deleted file mode 100644
index 5868d96..0000000
--- a/skins/cavendish/favicon.png
+++ /dev/null
Binary files differ
diff --git a/skins/cavendish/file_icon.gif b/skins/cavendish/file_icon.gif
deleted file mode 100644
index 847f648..0000000
--- a/skins/cavendish/file_icon.gif
+++ /dev/null
Binary files differ
diff --git a/skins/cavendish/header_bl.png b/skins/cavendish/header_bl.png
deleted file mode 100644
index f759ab1..0000000
--- a/skins/cavendish/header_bl.png
+++ /dev/null
Binary files differ
diff --git a/skins/cavendish/header_br.gif b/skins/cavendish/header_br.gif
deleted file mode 100644
index 175fa69..0000000
--- a/skins/cavendish/header_br.gif
+++ /dev/null
Binary files differ
diff --git a/skins/cavendish/header_logo.gif b/skins/cavendish/header_logo.gif
deleted file mode 100644
index e00acf1..0000000
--- a/skins/cavendish/header_logo.gif
+++ /dev/null
Binary files differ
diff --git a/skins/cavendish/header_tab.gif b/skins/cavendish/header_tab.gif
deleted file mode 100644
index 3d2a2e1..0000000
--- a/skins/cavendish/header_tab.gif
+++ /dev/null
Binary files differ
diff --git a/skins/cavendish/header_tl.gif b/skins/cavendish/header_tl.gif
deleted file mode 100644
index 3a43c71..0000000
--- a/skins/cavendish/header_tl.gif
+++ /dev/null
Binary files differ
diff --git a/skins/cavendish/header_tr.gif b/skins/cavendish/header_tr.gif
deleted file mode 100644
index 7e30f7b..0000000
--- a/skins/cavendish/header_tr.gif
+++ /dev/null
Binary files differ
diff --git a/skins/cavendish/key-point_bl.gif b/skins/cavendish/key-point_bl.gif
deleted file mode 100644
index fe6f825..0000000
--- a/skins/cavendish/key-point_bl.gif
+++ /dev/null
Binary files differ
diff --git a/skins/cavendish/key-point_tl.gif b/skins/cavendish/key-point_tl.gif
deleted file mode 100644
index 87d7cd0..0000000
--- a/skins/cavendish/key-point_tl.gif
+++ /dev/null
Binary files differ
diff --git a/skins/cavendish/link_icon.gif b/skins/cavendish/link_icon.gif
deleted file mode 100644
index 815ccb1..0000000
--- a/skins/cavendish/link_icon.gif
+++ /dev/null
Binary files differ
diff --git a/skins/cavendish/lock_icon.gif b/skins/cavendish/lock_icon.gif
deleted file mode 100644
index 8a87e28..0000000
--- a/skins/cavendish/lock_icon.gif
+++ /dev/null
Binary files differ
diff --git a/skins/cavendish/magnify-clip.png b/skins/cavendish/magnify-clip.png
deleted file mode 100644
index 992aa2e..0000000
--- a/skins/cavendish/magnify-clip.png
+++ /dev/null
Binary files differ
diff --git a/skins/cavendish/mail_icon.gif b/skins/cavendish/mail_icon.gif
deleted file mode 100644
index 50a87a9..0000000
--- a/skins/cavendish/mail_icon.gif
+++ /dev/null
Binary files differ
diff --git a/skins/cavendish/main.css b/skins/cavendish/main.css
deleted file mode 100644
index 1fed9a2..0000000
--- a/skins/cavendish/main.css
+++ /dev/null
@@ -1,275 +0,0 @@
-/*
-** MediaWiki 'cavendish' style sheet for CSS2/3-capable browsers.
-** Copyright Mozilla Foundation - http://www.mozilla.org/
-** License: GPL (http://www.gnu.org/copyleft/gpl.html)
-**
-** Loosely based on the monobook style by Gabriel Wicke
-*
-* Last modified on 2010/12/31 for Cavendish mod.
-*/
-
-
-/* Inherit styles from monobook */
-@import url("monobook.css");
-
-/* Load Cavendish specific styles */
-@import url("content.css");
-@import url("template.css");
-@import url("basetemplate.css");
-@import url("cavendish.css");
-
-/* Try to use custom fonts trough CSS3 (opera 10+, safari 3.1+ and ff 3.5+) */
-@font-face {
- font-family: 'Droid Sans Mono';
- font-style: normal;
- font-weight: normal;
- src: local('Droid Sans Mono'), local('DroidSansMono'), url('DroidSansMono.ttf') format('truetype');
-}
-
-#header ul
-{
- margin: 0;
- padding-right: 1em;
-}
-
-#header li
-{
- padding: 0 6px 0 0;
- margin-right: 1px;
-}
-
-#header ul li.selected a
-{
- background-position: 0% -200px;
- color: #455372;
-}
-
-#header ul li.selected
-{
- background-position: 100% -200px;
- border-bottom: 1px solid #fff;
-}
-
- /* header tabs mouseover effects */
- #header ul li.selected:hover a
- {
- background-position: 0% 0%;
- color: #333;
- }
-
- #header ul li.selected:hover
- {
- background-position: 100% 0%;
- border-bottom: 1px solid #fff;
- }
-
-/* if you want the mozilla.org button back, look for "mozilla-org"
-in cavendish.php and uncomment that line. Also uncomment this body
-part below. -figure002 */
-
-/*
-body {
- background: url("subsite_back.gif") repeat-x;
- background-color: #FFF;
- margin-top: 0;
- padding-top: 0;
-}
-*/
-
-
-div#header { clear: both; }
-
-#header h1 a {
- /*background: transparent url("wiki_header_logo.gif") no-repeat scroll 5px -5px; */
- font-family: "Century Gothic","Trebuchet MS",Arial,sans-serif;;
- color: #FFFFFF;
- font-size: 1.7em;
- text-shadow: 1px 1px 2px #000;
- margin: 9px 0 0 180px;
- text-indent: 1.1em;
- text-transform: lowercase;
-}
-
-#header h1 a:hover {
- text-decoration: none;
-}
-
-#mozilla-org a {
- float: right;
- display: block;
- text-indent: -5000em;
- width: 110px;
- height: 25px;
- text-decoration: none;
- background: url("subsite_mozilla-org.gif") no-repeat;
- margin-bottom: 1.5em;
-}
-
-
-/*
-** classes for special content elements like town boxes
-** intended to be referenced directly from the wiki src
-*/
-
-/*
-** Diff rendering
-*/
-table.diff { background:white; }
-td.diff-otitle { background:#ffffff; }
-td.diff-ntitle { background:#ffffff; }
-td.diff-addedline {
- background:#ccffcc;
- font-size: smaller;
-}
-td.diff-deletedline {
- background:#ffffaa;
- font-size: smaller;
-}
-td.diff-context {
- background:#eeeeee;
- font-size: smaller;
-}
-
-span.diffchange { color: red; font-weight: bold; }
-
-
-/*
-** Structural Elements
-*/
-
-
-/*
-** the navigation portlet
-*/
-
-#p-nav {
- position:relative;
- z-index:3;
-}
-
-
-/*
-** WORKAROUNDS
-*/
-
-/* navbox container style */
-.navbox p
-{
- text-align: left !important;
-}
-
-/* make font in tables smaller */
-td, th
-{
- font-size: 100%;
- line-height: 1.5;
-}
-
-/* make the list of references look smaller */
-ol.references
-{
- font-size: 95% !important; /* default: 100% */
- text-align: justify;
-}
-
-/* make highlighted sources (<source>) bigger */
-.de1, .de2
-{
- font: 1.2em/1.2em monospace !important;
-}
-
-/*
-** This is an edited part from monobook. Removed the #bodyContent
-** parts, because this class is not present in cavendish.
-*/
-a.external,
-a[href ^="gopher://"] {
- background: url(external.png) center right no-repeat;
- padding-right: 13px;
-}
-a[href ^="https://"],
-.link-https {
- background: url(lock_icon.gif) center right no-repeat;
- padding-right: 16px;
-}
-a[href ^="mailto:"],
-.link-mailto {
- background: url(mail_icon.gif) center right no-repeat;
- padding-right: 18px;
-}
-a[href ^="news://"] {
- background: url(news_icon.png) center right no-repeat;
- padding-right: 18px;
-}
-a[href ^="ftp://"],
-.link-ftp {
- background: url(file_icon.gif) center right no-repeat;
- padding-right: 18px;
-}
-a[href ^="irc://"],
-a.extiw[href ^="irc://"],
-.link-irc {
- background: url(discussionitem_icon.gif) center right no-repeat;
- padding-right: 18px;
-}
-a.external[href $=".ogg"], a.external[href $=".OGG"],
-a.external[href $=".mid"], a.external[href $=".MID"],
-a.external[href $=".midi"], a.external[href $=".MIDI"],
-a.external[href $=".mp3"], a.external[href $=".MP3"],
-a.external[href $=".wav"], a.external[href $=".WAV"],
-a.external[href $=".wma"], a.external[href $=".WMA"],
-.link-audio {
- background: url("audio.png") center right no-repeat;
- padding-right: 13px;
-}
-a.external[href $=".ogm"], a.external[href $=".OGM"],
-a.external[href $=".avi"], a.external[href $=".AVI"],
-a.external[href $=".mpeg"], a.external[href $=".MPEG"],
-a.external[href $=".mpg"], a.external[href $=".MPG"],
-.link-video {
- background: url("video.png") center right no-repeat;
- padding-right: 13px;
-}
-a.external[href $=".pdf"], a.external[href $=".PDF"],
-a.external[href *=".pdf#"], a.external[href *=".PDF#"],
-a.external[href *=".pdf?"], a.external[href *=".PDF?"],
-.link-document {
- background: url("document.png") center right no-repeat;
- padding-right: 12px;
-}
-
-# Mageia wiki specific layout
-table.contenttable
-{
- text-align: left;
- padding: 5px;
- width: 98%;
-}
-
-.contenttable td
-{
- /*font-size: 1.2em;*/
- -moz-border-radius: 10px;
- -webkit-border-radius: 10px;
- border-radius: 10px;
- border: outset 1px #cbd9d9;
- padding: 20px;
- vertical-align: top;
-}
-
-.mgaBackgroundLightBlue td
-{
- background:#ddf
-}
-
-.qa-ok td
-{
- color:#fff;
- background-color:green;
-}
-
-.qa-not-ok td
-{
- color:#fff;
- background-color:red;
-}
diff --git a/skins/cavendish/menu_back.gif b/skins/cavendish/menu_back.gif
deleted file mode 100644
index 0afde1e..0000000
--- a/skins/cavendish/menu_back.gif
+++ /dev/null
Binary files differ
diff --git a/skins/cavendish/menu_br.gif b/skins/cavendish/menu_br.gif
deleted file mode 100644
index d88a5a8..0000000
--- a/skins/cavendish/menu_br.gif
+++ /dev/null
Binary files differ
diff --git a/skins/cavendish/menu_tr.gif b/skins/cavendish/menu_tr.gif
deleted file mode 100644
index 0ceb90e..0000000
--- a/skins/cavendish/menu_tr.gif
+++ /dev/null
Binary files differ
diff --git a/skins/cavendish/monobook.css b/skins/cavendish/monobook.css
deleted file mode 100644
index d7c840c..0000000
--- a/skins/cavendish/monobook.css
+++ /dev/null
@@ -1,1314 +0,0 @@
-/*
-** MediaWiki 'monobook' style sheet for CSS2-capable browsers.
-** Copyright Gabriel Wicke - http://wikidev.net/
-** License: GPL (http://www.gnu.org/copyleft/gpl.html)
-**
-** Loosely based on http://www.positioniseverything.net/ordered-floats.html by Big John
-** and the Plone 2.0 styles, see http://plone.org/ (Alexander Limi,Joe Geldart & Tom Croucher,
-** Michael Zeltner and Geir Bækholt)
-** All you guys rock :)
-*/
-
-#column-content {
- width: 100%;
- float: right;
- margin: 0 0 .6em -12.2em;
- padding: 0;
-}
-#content {
- margin: 2.8em 0 0 12.2em;
- padding: 0 1em 1em 1em;
- position: relative;
- z-index: 2;
-}
-#column-one {
- padding-top: 160px;
-}
-#content {
- background: white;
- color: black;
- border: 1px solid #aaa;
- border-right: none;
- line-height: 1.5em;
-}
-/* the left column width is specified in class .portlet */
-
-/* Font size:
-** We take advantage of keyword scaling- browsers won't go below 9px
-** More at http://www.w3.org/2003/07/30-font-size
-** http://style.cleverchimp.com/font_size_intervals/altintervals.html
-*/
-
-body {
- font: x-small sans-serif;
- background: #f9f9f9 url(headbg.jpg) 0 0 no-repeat;
- color: black;
- margin: 0;
- padding: 0;
-}
-
-/* scale back up to a sane default */
-#globalWrapper {
- font-size: 127%;
- width: 100%;
- margin: 0;
- padding: 0;
-}
-
-/* general styles */
-
-table {
- font-size: 100%;
- color: black;
- /* we don't want the bottom borders of <h2>s to be visible through
- floated tables */
- background-color: white;
-}
-fieldset table {
- /* but keep table layouts in forms clean... */
- background: none;
-}
-a {
- text-decoration: none;
- color: #002bb8;
- background: none;
-}
-a:visited {
- color: #5a3696;
-}
-a:active {
- color: #faa700;
-}
-a:hover {
- text-decoration: underline;
-}
-a.stub {
- color: #772233;
-}
-a.new, #p-personal a.new {
- color: #ba0000;
-}
-a.new:visited, #p-personal a.new:visited {
- color: #a55858;
-}
-
-img {
- border: none;
- vertical-align: middle;
-}
-p {
- margin: .4em 0 .5em 0;
- line-height: 1.5em;
-}
-p img {
- margin: 0;
-}
-
-hr {
- height: 1px;
- color: #aaa;
- background-color: #aaa;
- border: 0;
- margin: .2em 0 .2em 0;
-}
-
-h1, h2, h3, h4, h5, h6 {
- color: black;
- background: none;
- font-weight: normal;
- margin: 0;
- padding-top: .5em;
- padding-bottom: .17em;
- border-bottom: 1px solid #aaa;
-}
-h1 { font-size: 188%; }
-h1 .editsection { font-size: 53%; }
-h2 { font-size: 150%; }
-h2 .editsection { font-size: 67%; }
-h3, h4, h5, h6 {
- border-bottom: none;
- font-weight: bold;
-}
-h3 { font-size: 132%; }
-h3 .editsection { font-size: 76%; font-weight: normal; }
-h4 { font-size: 116%; }
-h4 .editsection { font-size: 86%; font-weight: normal; }
-h5 { font-size: 100%; }
-h5 .editsection { font-weight: normal; }
-h6 { font-size: 80%; }
-h6 .editsection { font-size: 125%; font-weight: normal; }
-
-ul {
- line-height: 1.5em;
- list-style-type: square;
- margin: .3em 0 0 1.5em;
- padding: 0;
- list-style-image: url(bullet.gif);
-}
-ol {
- line-height: 1.5em;
- margin: .3em 0 0 3.2em;
- padding: 0;
- list-style-image: none;
-}
-li {
- margin-bottom: .1em;
-}
-dt {
- font-weight: bold;
- margin-bottom: .1em;
-}
-dl {
- margin-top: .2em;
- margin-bottom: .5em;
-}
-dd {
- line-height: 1.5em;
- margin-left: 2em;
- margin-bottom: .1em;
-}
-
-fieldset {
- border: 1px solid #2f6fab;
- margin: 1em 0 1em 0;
- padding: 0 1em 1em;
- line-height: 1.5em;
-}
-fieldset.nested {
- margin: 0 0 0.5em 0;
- padding: 0 0.5em 0.5em;
-}
-legend {
- padding: .5em;
- font-size: 95%;
-}
-form {
- border: none;
- margin: 0;
-}
-
-textarea {
- width: 100%;
- padding: .1em;
-}
-
-input.historysubmit {
- padding: 0 .3em .3em .3em !important;
- font-size: 94%;
- cursor: pointer;
- height: 1.7em !important;
- margin-left: 1.6em;
-}
-select {
- vertical-align: top;
-}
-abbr, acronym, .explain {
- border-bottom: 1px dotted black;
- color: black;
- background: none;
- cursor: help;
-}
-q {
- font-family: Times, "Times New Roman", serif;
- font-style: italic;
-}
-/* disabled for now
-blockquote {
- font-family: Times, "Times New Roman", serif;
- font-style: italic;
-}*/
-code {
- background-color: #f9f9f9;
-}
-pre {
- padding: 1em;
- border: 1px dashed #2f6fab;
- color: black;
- background-color: #f9f9f9;
- line-height: 1.1em;
-}
-
-/*
-** the main content area
-*/
-
-#siteSub {
- display: none;
-}
-#jump-to-nav {
- display: none;
-}
-
-#contentSub, #contentSub2 {
- font-size: 84%;
- line-height: 1.2em;
- margin: 0 0 1.4em 1em;
- color: #7d7d7d;
- width: auto;
-}
-span.subpages {
- display: block;
-}
-
-/* Some space under the headers in the content area */
-#bodyContent h1, #bodyContent h2 {
- margin-bottom: .6em;
-}
-#bodyContent h3, #bodyContent h4, #bodyContent h5 {
- margin-bottom: .3em;
-}
-#firstHeading {
- margin-bottom: .1em;
- /* These two rules hack around bug 2013 (fix for more limited bug 11325).
- When bug 2013 is fixed properly, they should be removed. */
- line-height: 1.2em;
- padding-bottom: 0;
-}
-
-/* user notification thing */
-.usermessage {
- background-color: #ffce7b;
- border: 1px solid #ffa500;
- color: black;
- font-weight: bold;
- margin: 2em 0 1em;
- padding: .5em 1em;
- vertical-align: middle;
-}
-#siteNotice {
- text-align: center;
- font-size: 95%;
- padding: 0 0.9em;
-}
-#siteNotice p {
- margin: 0;
- padding: 0;
-}
-
-.catlinks {
- border: 1px solid #aaa;
- background-color: #f9f9f9;
- padding: 5px;
- margin-top: 1em;
- clear: both;
-}
-/* currently unused, intended to be used by a metadata box
-in the bottom-right corner of the content area */
-.documentDescription {
- /* The summary text describing the document */
- font-weight: bold;
- display: block;
- margin: 1em 0;
- line-height: 1.5em;
-}
-.documentByLine {
- text-align: right;
- font-size: 90%;
- clear: both;
- font-weight: normal;
- color: #76797c;
-}
-
-/* emulate center */
-.center {
- width: 100%;
- text-align: center;
-}
-*.center * {
- margin-left: auto;
- margin-right: auto;
-}
-/* small for tables and similar */
-.small, .small * {
- font-size: 94%;
-}
-table.small {
- font-size: 100%;
-}
-
-/*
-** content styles
-*/
-
-#toc {
- float: right;
- margin: 20px 5px 20px 20px;
- box-shadow: 10px 10px #FFFFFF, -10px 10px #FFFFFF, 10px -10px #FFFFFF, -10px -10px #FFFFFF
-}
-
-#toc,
-.toc,
-.mw-warning {
- border: 1px solid #aaa;
- background-color: #f9f9f9;
- padding: 5px;
- font-size: 95%;
-}
-#toc h2,
-.toc h2 {
- display: inline;
- border: none;
- padding: 0;
- font-size: 100%;
- font-weight: bold;
-}
-#toc #toctitle,
-.toc #toctitle,
-#toc .toctitle,
-.toc .toctitle {
- text-align: center;
-}
-#toc ul,
-.toc ul {
- list-style-type: none;
- list-style-image: none;
- margin-left: 0;
- padding-left: 0;
- text-align: left;
-}
-#toc ul ul,
-.toc ul ul {
- margin: 0 0 0 2em;
-}
-#toc .toctoggle,
-.toc .toctoggle {
- font-size: 94%;
-}
-
-.mw-warning {
- margin-left: 50px;
- margin-right: 50px;
- text-align: center;
-}
-
-/* images */
-div.floatright, table.floatright {
- clear: right;
- float: right;
- position: relative;
- margin: 0 0 .5em .5em;
- border: 0;
-/*
- border: .5em solid white;
- border-width: .5em 0 .8em 1.4em;
-*/
-}
-div.floatright p { font-style: italic; }
-div.floatleft, table.floatleft {
- float: left;
- clear: left;
- position: relative;
- margin: 0 .5em .5em 0;
- border: 0;
-/*
- margin: .3em .5em .5em 0;
- border: .5em solid white;
- border-width: .5em 1.4em .8em 0;
-*/
-}
-div.floatleft p { font-style: italic; }
-/* thumbnails */
-div.thumb {
- margin-bottom: .5em;
- border-style: solid;
- border-color: white;
- width: auto;
-}
-div.thumbinner {
- border: 1px solid #ccc;
- padding: 3px !important;
- background-color: #f9f9f9;
- font-size: 94%;
- text-align: center;
- overflow: hidden;
-}
-html .thumbimage {
- border: 1px solid #ccc;
-}
-html .thumbcaption {
- border: none;
- text-align: left;
- line-height: 1.4em;
- padding: 3px !important;
- font-size: 94%;
-}
-div.magnify {
- float: right;
- border: none !important;
- background: none !important;
-}
-div.magnify a, div.magnify img {
- display: block;
- border: none !important;
- background: none !important;
-}
-div.tright {
- clear: right;
- float: right;
- border-width: .5em 0 .8em 1.4em;
-}
-div.tleft {
- float: left;
- clear: left;
- margin-right: .5em;
- border-width: .5em 1.4em .8em 0;
-}
-img.thumbborder {
- border: 1px solid #dddddd;
-}
-.hiddenStructure {
- display: none;
-}
-
-/*
-** classes for special content elements like town boxes
-** intended to be referenced directly from the wiki src
-*/
-
-/*
-** User styles
-*/
-/* table standards */
-table.rimage {
- float: right;
- position: relative;
- margin-left: 1em;
- margin-bottom: 1em;
- text-align: center;
-}
-.toccolours {
- border: 1px solid #aaa;
- background-color: #f9f9f9;
- padding: 5px;
- font-size: 95%;
-}
-
-/*
-** edit views etc
-*/
-.special li {
- line-height: 1.4em;
- margin: 0;
- padding: 0;
-}
-
-/*
-** keep the whitespace in front of the ^=, hides rule from konqueror
-** this is css3, the validator doesn't like it when validating as css2
-*/
-#bodyContent a.external,
-#bodyContent a.external[href ^="gopher://"] {
- background: url(external.png) center right no-repeat;
- padding: 0 13px;
-}
-.rtl #bodyContent a.external,
-.rtl #bodyContent a.external[href ^="gopher://"] {
- background-image: url(external-rtl.png);
-}
-#bodyContent a.external[href ^="https://"],
-.link-https {
- background: url(lock_icon.gif) center right no-repeat;
- padding: 0 16px;
-}
-#bodyContent a.external[href ^="mailto:"],
-.link-mailto {
- background: url(mail_icon.gif) center right no-repeat;
- padding: 0 18px;
-}
-#bodyContent a.external[href ^="news://"] {
- background: url(news_icon.png) center right no-repeat;
- padding: 0 18px;
-}
-#bodyContent a.external[href ^="ftp://"],
-.link-ftp {
- background: url(file_icon.gif) center right no-repeat;
- padding: 0 18px;
-}
-#bodyContent a.external[href ^="irc://"],
-.link-irc {
- background: url(discussionitem_icon.gif) center right no-repeat;
- padding: 0 18px;
-}
-#bodyContent a.external[href $=".ogg"], #bodyContent a.external[href $=".OGG"],
-#bodyContent a.external[href $=".mid"], #bodyContent a.external[href $=".MID"],
-#bodyContent a.external[href $=".midi"], #bodyContent a.external[href $=".MIDI"],
-#bodyContent a.external[href $=".mp3"], #bodyContent a.external[href $=".MP3"],
-#bodyContent a.external[href $=".wav"], #bodyContent a.external[href $=".WAV"],
-#bodyContent a.external[href $=".wma"], #bodyContent a.external[href $=".WMA"],
-.link-audio {
- background: url("audio.png") center right no-repeat;
- padding: 0 13px;
-}
-#bodyContent a.external[href $=".ogm"], #bodyContent a.external[href $=".OGM"],
-#bodyContent a.external[href $=".avi"], #bodyContent a.external[href $=".AVI"],
-#bodyContent a.external[href $=".mpeg"], #bodyContent a.external[href $=".MPEG"],
-#bodyContent a.external[href $=".mpg"], #bodyContent a.external[href $=".MPG"],
-.link-video {
- background: url("video.png") center right no-repeat;
- padding: 0 13px;
-}
-#bodyContent a.external[href $=".pdf"], #bodyContent a.external[href $=".PDF"],
-#bodyContent a.external[href *=".pdf#"], #bodyContent a.external[href *=".PDF#"],
-#bodyContent a.external[href *=".pdf?"], #bodyContent a.external[href *=".PDF?"],
-.link-document {
- background: url("document.png") center right no-repeat;
- padding: 0 12px;
-}
-
-/* for rtl wikis */
-.rtl #bodyContent a.external {
- background-position: left;
- padding-right: 0;
-}
-.rtl a.feedlink {
- background-position: right;
- padding-right: 16px;
- padding-left: 0;
-}
-
-/* correction for ltr wikis */
-.ltr #bodyContent a.external {
- padding-left: 0;
-}
-
-/* disable interwiki styling */
-#bodyContent a.extiw,
-#bodyContent a.extiw:active {
- color: #36b;
-}
-#bodyContent a.external {
- color: #36b;
-}
-/*
-** Structural Elements
-*/
-
-/*
-** general portlet styles (elements in the quickbar)
-*/
-.portlet {
- border: none;
- margin: 0 0 .5em;
- padding: 0;
- float: none;
- width: 11.6em;
- overflow: hidden;
-}
-.portlet h4 {
- font-size: 95%;
- font-weight: normal;
- white-space: nowrap;
-}
-.portlet h5 {
- background: transparent;
- padding: 0 1em 0 .5em;
- display: inline;
- height: 1em;
- text-transform: lowercase;
- font-size: 91%;
- font-weight: normal;
- white-space: nowrap;
-}
-.portlet h6 {
- background: #ffae2e;
- border: 1px solid #2f6fab;
- border-style: solid solid none solid;
- padding: 0 1em 0 1em;
- text-transform: lowercase;
- display: block;
- font-size: 1em;
- height: 1.2em;
- font-weight: normal;
- white-space: nowrap;
-}
-.pBody {
- font-size: 95%;
- background-color: white;
- color: black;
- border-collapse: collapse;
- border: 1px solid #aaa;
- padding: 0 .8em .3em .5em;
-}
-.portlet h1,
-.portlet h2,
-.portlet h3,
-.portlet h4 {
- margin: 0;
- padding: 0;
-}
-.portlet ul {
- line-height: 1.5em;
- list-style-type: square;
- list-style-image: url(bullet.gif);
- font-size: 95%;
-}
-.portlet li {
- padding: 0;
- margin: 0;
-}
-
-/*
-** Logo properties
-*/
-
-#p-logo {
- top: 0;
- left: 0;
- position: absolute; /*needed to use z-index */
- z-index: 3;
- height: 155px;
- width: 12em;
- overflow: visible;
-}
-#p-logo h5 {
- display: none;
-}
-#p-logo a,
-#p-logo a:hover {
- display: block;
- height: 155px;
- width: 12.2em;
- background-repeat: no-repeat;
- background-position: 35% 50% !important;
- text-decoration: none;
-}
-
-/*
-** Search portlet
-*/
-#p-search {
- position: relative;
- z-index: 3;
-}
-input.searchButton {
- margin-top: 1px;
- font-size: 95%;
-}
-#searchGoButton {
- padding-left: .5em;
- padding-right: .5em;
- font-weight: bold;
-}
-#searchInput {
- width: 10.9em;
- margin: 0;
- font-size: 95%;
-}
-#p-search .pBody {
- padding: .5em .4em .4em .4em;
- text-align: center;
-}
-#p-search #searchform div div {
- margin-top: .4em;
- font-size: 95%;
-}
-/*
-** the personal toolbar
-*/
-#p-personal {
- position: absolute;
- left: 0;
- top: 0;
- z-index: 0;
-}
-#p-personal {
- width: 100%;
- white-space: nowrap;
- padding: 0;
- margin: 0;
- border: none;
- background: none;
- overflow: visible;
- line-height: 1.2em;
-}
-#p-personal h5 {
- display: none;
-}
-#p-personal .portlet,
-#p-personal .pBody {
- z-index: 0;
- padding: 0;
- margin: 0;
- border: none;
- overflow: visible;
- background: none;
-}
-/* this is the ul contained in the portlet */
-#p-personal ul {
- border: none;
- line-height: 1.4em;
- color: #2f6fab;
- padding: 0 2em 0 3em;
- margin: 0;
- text-align: right;
- list-style: none;
- z-index: 0;
- background: none;
- cursor: default;
-}
-#p-personal li {
- z-index: 0;
- border: none;
- padding: 0;
- display: inline;
- color: #2f6fab;
- margin-left: 1em;
- line-height: 1.2em;
- background: none;
-}
-#p-personal li a {
- text-decoration: none;
- color: #005896;
- padding-bottom: .2em;
- background: none;
-}
-#p-personal li a:hover {
- background-color: white;
- padding-bottom: .2em;
- text-decoration: none;
-}
-#p-personal li.active a:hover {
- background-color: transparent;
-}
-/* the icon in front of the user name, single quotes
-in bg url to hide it from iemac */
-li#pt-userpage,
-li#pt-anonuserpage,
-li#pt-login {
- background: url(user.gif) top left no-repeat;
- padding-left: 20px;
- text-transform: none;
-}
-#p-personal ul {
- text-transform: lowercase;
-}
-#p-personal li.active {
- font-weight: bold;
-}
-/*
-** the page-related actions- page/talk, edit etc
-*/
-#p-cactions {
- position: absolute;
- top: 1.3em;
- left: 11.5em;
- margin: 0;
- white-space: nowrap;
- width: 76%;
- line-height: 1.1em;
- overflow: visible;
- background: none;
- border-collapse: collapse;
- padding-left: 1em;
- list-style: none;
- font-size: 95%;
-}
-#p-cactions ul {
- list-style: none;
-}
-#p-cactions li {
- display: inline;
- border: 1px solid #aaa;
- border-bottom: none;
- padding: 0 0 .1em 0;
- margin: 0 .3em 0 0;
- overflow: visible;
- background: white;
-}
-#p-cactions li.selected {
- border-color: #fabd23;
- padding: 0 0 .2em 0;
- font-weight: bold;
-}
-#p-cactions li a {
- background-color: #fbfbfb;
- color: #002bb8;
- border: none;
- padding: 0 .8em .3em;
- position: relative;
- z-index: 0;
- margin: 0;
- text-decoration: none;
-}
-#p-cactions li.selected a {
- z-index: 3;
- padding: 0 1em .2em!important;
- background-color: white;
-}
-#p-cactions .new a {
- color: #ba0000;
-}
-#p-cactions li a:hover {
- z-index: 3;
- text-decoration: none;
- background-color: white;
-}
-#p-cactions h5 {
- display: none;
-}
-#p-cactions li.istalk {
- margin-right: 0;
-}
-#p-cactions li.istalk a {
- padding-right: .5em;
-}
-#p-cactions #ca-addsection a {
- padding-left: .4em;
- padding-right: .4em;
-}
-/* offsets to distinguish the tab groups */
-li#ca-talk {
- margin-right: 1.6em;
-}
-li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
- margin-left: 1.6em;
-}
-#p-cactions .pBody {
- font-size: 1em;
- background-color: transparent;
- color: inherit;
- border-collapse: inherit;
- border: 0;
- padding: 0;
-}
-#p-cactions .hiddenStructure {
- display: none;
-}
-#p-cactions li a {
- text-transform: lowercase;
-}
-
-#p-lang {
- position: relative;
- z-index: 3;
-}
-
-/* Override text-transform on languages where capitalization is significant */
-.capitalize-all-nouns .portlet h5,
-.capitalize-all-nouns .portlet h6,
-.capitalize-all-nouns #p-personal ul,
-.capitalize-all-nouns #p-cactions ul li a {
- text-transform: none;
-}
-
-/* TODO: #t-iscite is only used by the Cite extension, come up with some
- * system which allows extensions to add to this file on the fly
- */
-#t-ispermalink, #t-iscite {
- color: #999;
-}
-/*
-** footer
-*/
-#footer {
- background-color: white;
- border-top: 1px solid #fabd23;
- border-bottom: 1px solid #fabd23;
- margin: .6em 0 1em 0;
- padding: .4em 0 1.2em 0;
- text-align: center;
- font-size: 90%;
-}
-#footer li {
- display: inline;
- margin: 0 1.3em;
-}
-#f-poweredbyico, #f-copyrightico {
- margin: 0 8px;
- position: relative;
- top: -2px; /* Bump it up just a tad */
-}
-#f-poweredbyico {
- float: right;
- height: 1%;
-}
-#f-copyrightico {
- float: left;
- height: 1%;
-}
-
-.mw-htmlform-submit {
- font-weight: bold;
- padding-left: .3em;
- padding-right: .3em;
- margin-right: 2em;
-}
-
-/* js pref toc */
-#preftoc {
- margin: 0;
- padding: 0;
- width: 100%;
- clear: both;
-}
-#preftoc li {
- background-color: #f0f0f0;
- color: #000;
-}
-#preftoc li {
- margin: 1px -2px 1px 2px;
- float: left;
- padding: 2px 0 3px 0;
- border: 1px solid #fff;
- border-right-color: #716f64;
- border-bottom: 0;
- position: relative;
- white-space: nowrap;
- list-style-type: none;
- list-style-image: none;
- z-index: 3;
-}
-#preftoc li.selected {
- font-weight: bold;
- background-color: #f9f9f9;
- border: 1px solid #aaa;
- border-bottom: none;
- cursor: default;
- top: 1px;
- padding-top: 2px;
- margin-right: -3px;
-}
-#preftoc > li.selected {
- top: 2px;
-}
-#preftoc a,
-#preftoc a:active {
- display: block;
- color: #000;
- padding: 0 .7em;
- position: relative;
- text-decoration: none;
-}
-#preftoc li.selected a {
- cursor: default;
- text-decoration: none;
-}
-#preferences {
- margin: 0;
- border: 1px solid #aaa;
- clear: both;
- padding: 1.5em;
- background-color: #F9F9F9;
-}
-.prefsection {
- border: none;
- padding: 0;
- margin: 0;
-}
-
-.prefsection legend {
- font-weight: bold;
-}
-.prefsection table, .prefsection legend {
- background-color: #F9F9F9;
-}
-.mainLegend {
- display: none;
-}
-td.htmlform-tip {
- font-size: x-small;
- padding: .2em 2em;
- color: #666;
-}
-
-.preferences-login {
- clear: both;
- margin-bottom: 1.5em;
-}
-
-.prefcache {
- font-size: 90%;
- margin-top: 2em;
-}
-
-div#userloginForm form,
-div#userlogin form#userlogin2 {
- margin: 0 3em 1em 0;
- border: 1px solid #aaa;
- clear: both;
- padding: 1.5em 2em;
- background-color: #f9f9f9;
- float: left;
-}
-.rtl div#userloginForm form,
-.rtl div#userlogin form#userlogin2 {
- float: right;
-}
-
-div#userloginForm table,
-div#userlogin form#userlogin2 table {
- background-color: #f9f9f9;
-}
-
-div#userloginForm h2,
-div#userlogin form#userlogin2 h2 {
- padding-top: 0;
-}
-
-div#userlogin .captcha,
-div#userloginForm .captcha {
- border: 1px solid #bbb;
- padding: 1.5em 2em;
- background-color: white;
-}
-
-#loginend, #signupend {
- clear: both;
-}
-
-#userloginprompt, #languagelinks {
- font-size: 85%;
-}
-
-#login-sectiontip {
- font-size: 85%;
- line-height: 1.2;
- padding-top: 2em;
-}
-
-#userlogin .loginText, #userlogin .loginPassword {
- width: 12em;
-}
-
-#userloginlink a, #wpLoginattempt, #wpCreateaccount {
- font-weight: bold;
-}
-
-/*
-** IE/Mac fixes, hope to find a validating way to move this
-** to a separate stylesheet. This would work but doesn't validate:
-** @import("IEMacFixes.css");
-*/
-/* tabs: border on the a, not the div */
-* > html #p-cactions li { border: none; }
-* > html #p-cactions li a {
- border: 1px solid #aaa;
- border-bottom: none;
-}
-* > html #p-cactions li.selected a { border-color: #fabd23; }
-/* footer icons need a fixed width */
-* > html #f-poweredbyico,
-* > html #f-copyrightico { width: 88px; }
-* > html #bodyContent,
-* > html #bodyContent pre {
- overflow-x: auto;
- width: 100%;
- padding-bottom: 25px;
-}
-
-/* more IE fixes */
-/* float/negative margin brokenness */
-* html #footer {margin-top: 0;}
-* html #column-content {
- display: inline;
- margin-bottom: 0;
-}
-* html div.editsection { font-size: smaller; }
-#pagehistory li.selected { position: relative; }
-
-/* Mac IE 5.0 fix; floated content turns invisible */
-* > html #column-content {
- float: none;
-}
-* > html #column-one {
- position: absolute;
- left: 0;
- top: 0;
-}
-* > html #footer {
- margin-left: 13.2em;
-}
-.redirectText {
- font-size: 150%;
- margin: 5px;
-}
-
-.printfooter {
- display: none;
-}
-
-
-div.patrollink {
- clear: both;
-}
-
-.sharedUploadNotice {
- font-style: italic;
-}
-
-span.updatedmarker {
- color: black;
- background-color: #0f0;
-}
-
-.previewnote {
- color: #c00;
- margin-bottom: 1em;
-}
-
-.previewnote p {
- text-indent: 3em;
- margin: 0.8em 0;
-}
-
-.editExternally {
- border: 1px solid gray;
- background-color: #ffffff;
- padding: 3px;
- margin-top: 0.5em;
- float: left;
- font-size: small;
- text-align: center;
-}
-.editExternallyHelp {
- font-style: italic;
- color: gray;
-}
-
-.toggle {
- margin-left: 2em;
- text-indent: -2em;
-}
-
-input#wpSummary {
- width: 80%;
-}
-
-/* @bug 1714 */
-input#wpSave, input#wpDiff {
- margin-right: 0.33em;
-}
-
-#wpSave {
- font-weight: bold;
-}
-
-/* Classes for article validation */
-
-table.revisionform_default {
- border: 1px solid #000000;
-}
-
-table.revisionform_focus {
- border: 1px solid #000000;
- background-color:#00BBFF;
-}
-
-tr.revision_tr_default {
- background-color:#EEEEEE;
-}
-
-tr.revision_tr_first {
- background-color:#DDDDDD;
-}
-
-p.revision_saved {
- color: green;
- font-weight:bold;
-}
-
-/* noarticletext */
-div.noarticletext {
- border: 1px solid #ccc;
- background: #fff;
- padding: .2em 1em;
- color: #000;
-}
-
-div#searchTargetContainer {
- left: 10px;
- top: 10px;
- width: 90%;
- background: white;
-}
-
-div#searchTarget {
- padding: 3px;
- margin: 5px;
- background: #F0F0F0;
- border: solid 1px blue;
-}
-
-div#searchTarget ul li {
- list-style: none;
-}
-
-div#searchTarget ul li:before {
- color: orange;
- content: "\00BB \0020";
-}
-
-div#searchTargetHide {
- float:right;
- border:solid 1px black;
- background:#DCDCDC;
- padding:2px;
-}
-
-#powersearch p {
- margin-top:0px;
-}
-
-div.multipageimagenavbox {
- border: solid 1px silver;
- padding: 4px;
- margin: 1em;
- background: #f0f0f0;
-}
-
-div.multipageimagenavbox div.thumb {
- border: none;
- margin-left: 2em;
- margin-right: 2em;
-}
-
-div.multipageimagenavbox hr {
- margin: 6px;
-}
-
-table.multipageimage td {
- text-align: center;
-}
-
-.templatesUsed { margin-top: 1.5em; }
-
-.mw-summary-preview {
- margin: 0.1em 0;
-}
-
-/* Friendlier slave lag warnings */
-div.mw-lag-warn-normal,
-div.mw-lag-warn-high {
- padding: 3px;
- text-align: center;
- margin: 3px auto;
-}
-div.mw-lag-warn-normal {
- border: 1px solid #FFCC66;
- background-color: #FFFFCC;
-}
-div.mw-lag-warn-high {
- font-weight: bold;
- border: 2px solid #FF0033;
- background-color: #FFCCCC;
-}
-
-.MediaTransformError {
- background-color: #ccc;
- padding: 0.1em;
-}
-.MediaTransformError td {
- text-align: center;
- vertical-align: middle;
- font-size: 90%;
-}
-
-/* God-damned hack for the crappy layout */
-.os-suggest {
- font-size: 127%;
-}
-
-/* Sometimes people don't want personal tools to be lowercase! */
-.no-text-transform {
- text-transform: none;
-}
diff --git a/skins/cavendish/news_icon.png b/skins/cavendish/news_icon.png
deleted file mode 100644
index dd1541d..0000000
--- a/skins/cavendish/news_icon.png
+++ /dev/null
Binary files differ
diff --git a/skins/cavendish/required.gif b/skins/cavendish/required.gif
deleted file mode 100644
index bd71976..0000000
--- a/skins/cavendish/required.gif
+++ /dev/null
Binary files differ
diff --git a/skins/cavendish/subsite_back.gif b/skins/cavendish/subsite_back.gif
deleted file mode 100644
index 1fe411d..0000000
--- a/skins/cavendish/subsite_back.gif
+++ /dev/null
Binary files differ
diff --git a/skins/cavendish/subsite_mozilla-org.gif b/skins/cavendish/subsite_mozilla-org.gif
deleted file mode 100644
index b18706f..0000000
--- a/skins/cavendish/subsite_mozilla-org.gif
+++ /dev/null
Binary files differ
diff --git a/skins/cavendish/template.css b/skins/cavendish/template.css
deleted file mode 100644
index 8b266d8..0000000
--- a/skins/cavendish/template.css
+++ /dev/null
@@ -1,251 +0,0 @@
-/* mozilla.org Cavendish Template Styles
- * Initial Design by Daniel Burka and Steven Garrity
-*/
-
-/* Basic Structure */
-
-/* Header */
-
- #header {
- background: #455372 url("header_bl.png") bottom left repeat-x;
- position: relative;
- min-height: 39px;
- height: 3em;
- padding: 15px 0;
- }
-
- #ignored {}
-
- #header h1 {
- position: absolute;
- top: 0;
- left: 0;
- margin: 0;
- background: url("header_tl.gif") no-repeat;
- height: 8px;
- z-index: 100; /* above the UL */
- }
- #header h1 a {
- display: block;
- height: 58px;
- /* background: transparent url("header_logo.gif") no-repeat; */
- }
- #header ul {
- width: auto;
- position: absolute;
- bottom: 0;
- right: 0;
- margin: 0;
- padding: 0 15px 0 0;
- list-style: none;
- background: url("header_br.gif") no-repeat bottom right;
- z-index: 90; /* below the H1 */
- }
- #header li {
- float: right;
- background: transparent url("header_tab.gif") 100% -600px no-repeat;
- padding: 0 6px 0 0;
- margin: 0 1px 0 0;
- border-bottom: 1px solid #515358;
- }
- #header ul a {
- float: left;
- display: block;
- padding: 3px 2px 2px 8px;
- background: transparent url("header_tab.gif") 0% -600px no-repeat;
- font-size: smaller;
- color: #fff;
- text-decoration: none;
- }
- #header ul li.selected a { font-weight: bold; }
- #header ul li:hover a { background-position: 0% -400px; }
- #header ul li:hover { background-position: 100% -400px; }
-
- body.sectionAbout li#menu_aboutus a,
- body.sectionProducts li#menu_products a,
- body.sectionSupport li#menu_support a,
- body.sectionDevelopers li#menu_developers a,
- body.sectionStore li#menu_store a {
- background-position: 0% -200px;
- color: #039;
- }
-
- body.sectionAbout li#menu_aboutus,
- body.sectionProducts li#menu_products,
- body.sectionSupport li#menu_support,
- body.sectionDevelopers li#menu_developers,
- body.sectionStore li#menu_store {
- background-position: 100% -200px;
- border-bottom: 1px solid #fff;
- }
-
- body.sectionAbout li#menu_aboutus:hover,
- body.sectionProducts li#menu_products:hover,
- body.sectionSupport li#menu_support:hover,
- body.sectionDevelopers li#menu_developers:hover,
- body.sectionStore li#menu_store:hover {
- background-position: 100% 0%;
- }
-
- body.sectionAbout li#menu_aboutus:hover a,
- body.sectionProducts li#menu_products:hover a,
- body.sectionSupport li#menu_support:hover a,
- body.sectionDevelopers li#menu_developers:hover a,
- body.sectionStore li#menu_store:hover a {
- background-position: 0% 0%;
- color: #333;
- }
-
-/* Search Field */
-
- #header form {
- position: absolute;
- top: 0;
- right: 0;
- padding: 12px 20px 0 0;
- background: url("header_tr.gif") no-repeat top right;
- margin: 0; /* need for IE Mac */
- text-align: right; /* need for IE Mac */
- white-space: nowrap; /* for Opera */
- }
- #header form label { color: #fff; font-size: 110%; }
- #header form input { font-size: 90%; }
-
- #searchform div {
- margin-top: 0;
- }
-
- #header form #searchInput {
- width: 170px;
- font-size: 90%;
- border: 0px solid #293756;
- background: #D9DBE1;
- padding: 2px 3px;
- border-radius: 3px;
- -moz-border-radius: 3px;
- -webkit-border-radius: 3px;
- }
- #header form #searchInput:hover, #header form #searchInput:focus {
- background: #fff;
- }
-
-/* Sidebar */
-
- #nav:before {
- line-height: 0.1;
- font-size: 1px;
- background: transparent url("menu_tr.gif") no-repeat top right;
- margin: 0;
- height: 9px;
- display: block;
- /*border-bottom: 1px solid #ddd;*/
- content: url("key-point_tl.gif");
- }
- #nav {
- background: #E0E9E9 url("menu_back.gif") right repeat-y;
- }
- #nav:after {
- display: block;
- padding-top: 0;
- line-height: 0.1;
- font-size: 1px;
- content: url("key-point_bl.gif");
- margin: 0 0 0 0;
- height: 8px;
- background: transparent url("menu_br.gif") scroll no-repeat bottom right ;
- border-top: 1px solid #fff;
- }
-
- #nav, #nav ul {
- margin: 0;
- padding: 0;
- list-style: none;
- }
- #nav {
- margin-bottom: 1em;
- }
- #nav li {
- display: inline;
- padding: 0;
- margin: 0;
- }
-
- #nav li span { /* used for un-linked menu items */
- display: block;
- padding: 6px 10px;
- font-weight: bold;
- color: #666;
- text-shadow: 0px 1px 0px #ffffff;
- letter-spacing: 0.8px;
- }
-
- #nav li span#configParent, #nav li span #configuration {
- display: inline;
- font-weight: normal;
- padding: 0;
- }
-
- #nav li a {
- display: block;
- padding: 8px 10px;
- text-decoration: none;
- background: #EDF2F2;
- border-bottom: 1px solid #ddd;
- border-top: 1px solid #fff;
- border-right: 1px solid #ddd;
- }
-
- #nav li a:hover {
- background: #E0E9E9;
- }
-
- #nav li li span { /* used for un-linked menu items */
- padding: 4px 8px 4px 20px;
- }
-
- #nav li li a {
- padding: 6px 8px 6px 20px;
- }
-
- #oN {
- background-color: #E0E9E9;
- }
- #oN:hover {
- background-color: #C6DCDC;
- }
-
-/* Footer */
-
- #footer {
- border-top: 1px solid #999;
- border-bottom: 0px; /* removes the yellow line */
- margin: 2em 0;
- padding: 1em 0;
- text-align: center;
- }
-
- #footer ul {
- margin: 0;
- padding: 0;
- list-style: none;
- }
-
- #footer li {
- display: inline;
- }
-
- #footer a {
- white-space: nowrap;
- }
-
- #footer p,#footer p a {
- color: #666;
- }
-
- #footer p a:hover {
- color: #000;
- }
-
- #footer p span {
- padding-right: 1em;
- }
diff --git a/skins/cavendish/user.gif b/skins/cavendish/user.gif
deleted file mode 100644
index c9c9ab9..0000000
--- a/skins/cavendish/user.gif
+++ /dev/null
Binary files differ
diff --git a/skins/cavendish/video.png b/skins/cavendish/video.png
deleted file mode 100644
index 38103da..0000000
--- a/skins/cavendish/video.png
+++ /dev/null
Binary files differ
diff --git a/skins/cavendish/wiki_header_logo.gif b/skins/cavendish/wiki_header_logo.gif
deleted file mode 100644
index 6e69fec..0000000
--- a/skins/cavendish/wiki_header_logo.gif
+++ /dev/null
Binary files differ
diff --git a/skins/chick/IE50Fixes.css b/skins/chick/IE50Fixes.css
deleted file mode 100644
index 4a193e9..0000000
--- a/skins/chick/IE50Fixes.css
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
-** IE5.0 Fix Stylesheet
-*/
-
-#column-content {
- margin: 0 !important;
- float: none;
-}
-#column-content #content {
- margin-top: 3em;
- height: 1%;
-}
-#column-one {
- position: absolute;
- overflow: visible;
- top: 0;
- left: 0;
- z-index: 3;
-}
-#footer {
- margin: 0 0 0 13.6em;
-}
-
-/* IE 5 & 5.5 interpret keyword sizes one off */
-body { font-size: xx-small; }
-/*
-** the edit tabs
-*/
-#p-cactions li {
- float: left;
- padding-top: 0;
- padding-bottom: 0 !important;
- height: 0.9em;
-}
-#p-cactions li a {
- display: block;
- padding-bottom: 0.045em;
-}
-#p-cactions li.selected a {
- padding-bottom: 0.17em;
-}
-#p-cactions li a:hover {
- padding-bottom: 0.17em;
-}
-/* 5.0 doesn't like the background icon for external links and user */
-.link-external,
-.external {
- background: none;
- padding: 0;
-}
-#p-personal ul { float: right }
-#p-personal li { float: left }
-li#pt-userpage,
-li#pt-anonuserpage,
-li#pt-login,
-li#pt-logout {
- background: none;
- padding-left: none;
-}
-.visualClear {
- width:100%;
- height: 0px;
- padding:0;
- margin:0;
-}
-#firstHeading { margin-bottom: 0.3em; }
-/*div{ border:1px solid Red !important;}*/
diff --git a/skins/chick/IE55Fixes.css b/skins/chick/IE55Fixes.css
deleted file mode 100644
index 2f78561..0000000
--- a/skins/chick/IE55Fixes.css
+++ /dev/null
@@ -1,81 +0,0 @@
-/* IE5.5/win- only fixes */
-
-#column-content {
- float: none;
- margin-left: 0;
- height: 1%;
-}
-#column-content #content {
- position: relative;
- z-index: 5;
- margin-left: 12.2em;
- margin-top: 3em;
- height: 1%;
-}
-#column-one {
- position: absolute;
- top: 0;
- left: 0;
- z-index: 4;
- width: 100%;
-}
-#footer {
- margin-left: 13.6em;
- border-left: 1px solid #fabd23;
-}
-
-/*#bodyContent div,
-#bodyContent pre { overflow: auto; }*/
-
-#p-personal { padding-bottom: 0.1em; }
-
-body { font-size: xx-small; }
-
-#p-cactions {
- width: 76% !important;
- z-index: 3 !important;
- float: none;
-}
-#p-cactions li {
- padding-bottom: 0 !important;
- border: none;
- background-color: transparent;
- cursor: default;
- float: none !important;
-}
-#p-cactions li a {
- display: inline-block !important;
- vertical-align: top;
- padding-bottom: 0;
- border: solid #aaa;
- border-width: 1px 1px 0;
-}
-#p-cactions li.selected a {
- border-color: #fabd23;
- padding-bottom: 0.17em;
-}
-#p-cactions li a:hover {
- padding-bottom: 0.17em;
-}
-.portlet {
- overflow:hidden;
-}
-#bodyContent a.external {
- background: url(external.png) center right no-repeat;
- padding-right: 13px;
-}
-/* show the hand */
-#p-logo a,
-#p-logo a:hover {
- cursor: pointer;
-}
-.visualClear {
- width:90%;
- height: 1px;
- padding:0;
- margin:0;
-}
-
-#editform {
- width: 100%;
-}
diff --git a/skins/chick/IE60Fixes.css b/skins/chick/IE60Fixes.css
deleted file mode 100644
index feec15f..0000000
--- a/skins/chick/IE60Fixes.css
+++ /dev/null
@@ -1,79 +0,0 @@
-/* 6.0 - only fixes */
-/* content area */
-/* workaround for various ie float bugs */
-#column-content {
- float: none;
- margin-left: 0;
- height: 1%;
-}
-#column-content #content {
- margin-left: 12.2em;
- margin-top: 3em;
- height: 1%;
-}
-#column-one {
- position: absolute;
- top: 0;
- left: 0;
- z-index: 4;
-}
-#footer {
- margin-left: 13.6em;
- border-left: 1px solid #fabd23;
-}
-
-/* the tabs */
-
-#p-cactions {
- z-index: 3;
-}
-
-#p-cactions li {
- padding-bottom: 0 !important;
- border: none;
- background-color: transparent;
- cursor: default;
- float: none !important;
-}
-#p-cactions li a {
- display: inline-block !important;
- vertical-align: top;
- padding-bottom: 0;
- border: solid #aaa;
- border-width: 1px 1px 0;
-}
-#p-cactions li.selected a {
- border-color: #fabd23;
- padding-bottom: 0.17em;
-}
-#p-cactions li a:hover {
- padding-bottom: 0.17em;
-}
-#portal-personaltools {
- padding-bottom: 0.1em;
-}
-#bodyContent a.external {
- background: url(external.png) center right no-repeat;
- padding-right: 13px;
-}
-
-/* show the hand */
-#p-logo a,
-#p-logo a:hover {
- cursor: pointer;
-}
-div.visualClear {
- width:100%;
- line-height: 0;
-}
-textarea {
- width: 96%;
-}
-
-div.editsection,
-#catlinks,
-div.tright,
-div.tleft {
- position: relative;
-}
-/*{ border:1px solid Red !important;}*/
diff --git a/skins/chick/main.css b/skins/chick/main.css
deleted file mode 100644
index ac61b91..0000000
--- a/skins/chick/main.css
+++ /dev/null
@@ -1,411 +0,0 @@
-/*
-** MediaWiki 'chick' style sheet for PDAs or other small-screen devices.
-** Copyright Timwi
-** License: GPL (http://www.gnu.org/copyleft/gpl.html)
-**
-** Loosely based on Monobook by Gabriel Wicke
-*/
-
-body {
- font-family: sans-serif;
- color: black;
- background: white;
- margin: 0;
- padding: 0.3em;
-}
-
-a { color: #002bb8; }
-a:visited { color: #5a3696; }
-a:active { color: #ffa500; }
-a.stub { color: #772233; }
-a.new,
-#p-personal a.new { color:#ba0000; }
-a.new:visited,
-#p-personal a.new:visited { color:#a55858; }
-
-img {
- border: none;
- vertical-align: middle;
-}
-p {
- margin: 0.4em 0em 0.5em 0em;
- line-height: 1.5em;
-}
-
-p img { margin: 0; }
-
-hr {
- height: 1px;
- color: #aaaaaa;
- background-color: #aaaaaa;
- border: 0;
- margin: 0.2em 0 0.2em 0;
-}
-
-h1, h2, h3, h4, h5, h6 {
- color: black;
- background: none;
- font-weight: normal;
- margin: 0;
- padding-top: 0.5em;
- padding-bottom: 0.17em;
- border-bottom: 1px solid #aaaaaa;
-}
-.editsection {
- font-weight: normal;
-}
-h1 { font-size: 188%; }
-h1 .editsection { font-size: 53.2%; }
-h2 { font-size: 150%; }
-h2 .editsection { font-size: 66.7%; }
-h3, h4, h5, h6 {
- border-bottom: none;
- font-weight: bold;
-}
-h3 { font-size: 132%; }
-h3 .editsection { font-size: 75.8%; }
-h4 { font-size: 116%; }
-h4 .editsection { font-size: 86.2%; }
-h5 { font-size: 100%; }
-h6 { font-size: 80%; }
-h6 .editsection { font-size: 125%; }
-
-ul {
- line-height: 1.5em;
- margin: 0.3em 0 0 1.5em;
- padding:0;
-}
-ol {
- line-height: 1.5em;
- margin: 0.3em 0 0 3.2em;
- padding:0;
- list-style-image: none;
-}
-li { margin-bottom: 0.1em; }
-dt {
- font-weight: bold;
- margin-bottom: 0.1em;
-}
-dl{
- margin-top: 0.2em;
- margin-bottom: 0.5em;
-}
-dd {
- line-height: 1.5em;
- margin-left: 2em;
- margin-bottom: 0.1em;
-}
-
-fieldset {
- border: 1px solid #2f6fab;
- margin: 1em 0em 1em 0em;
- padding: 0em 1em 1em 1em;
- line-height: 1.5em;
-}
-legend {
- background: white;
- padding: 0.5em;
- font-size: 95%;
-}
-form {
- border: none;
- margin: 0;
-}
-
-textarea {
- border: 1px solid #2f6fab;
- color: black;
- background-color: white;
- width: 100%;
- padding: 0.1em;
- overflow: auto;
-}
-/* hide this from ie/mac and konq2.2 */
-@media All {
- head:first-child+body input {
- visibility: visible;
- border: 1px solid #2f6fab;
- color: black;
- background-color: white;
- vertical-align: middle;
- padding: 0.2em;
- }
-}
-input.historysubmit {
- padding: 0 0.3em 0.3em 0.3em !important;
- font-size: 94%;
- cursor: pointer;
- height: 1.7em !important;
- margin-left: 1.6em;
-}
-input[type="radio"],
-input[type="checkbox"] { border:none; }
-select {
- border: 1px solid #2f6fab;
- color: black;
- vertical-align: top;
-}
-abbr, acronym, .explain {
- border-bottom: 1px dotted black;
- color: black;
- background: none;
- cursor: help;
-}
-q {
- font-family: Times, "Times New Roman", serif;
- font-style: italic;
-}
-code { background-color: #f9f9f9; }
-pre {
- padding: 1em;
- border: 1px dashed #2f6fab;
- color: black;
- background-color: #f9f9f9;
- line-height: 1.1em;
-}
-
-/*
-** the main content area
-*/
-
-span.subpages { display: block; }
-
-/* Some space under the headers in the content area */
-#bodyContent h1, #bodyContent h2 { margin-bottom:0.6em; }
-#bodyContent h3,
-#bodyContent h4,
-#bodyContent h5 {
- margin-bottom: 0.3em;
-}
-#firstHeading { margin-bottom:0.1em; }
-
-/* user notification thing */
-.usermessage {
- background-color: #ffce7b;
- border: 1px solid #ffa500;
- color: black;
- font-weight: bold;
- margin: 0.1em 0 0 0;
- padding: 2px 5px;
- vertical-align: middle;
-}
-#siteNotice {
- text-align: center;
- font-size: 95%;
- padding: 0 0.9em 0 0.9em;
-}
-#siteNotice p { margin: 0; padding: 0; }
-.error {
- color: red;
- font-size: larger;
-}
-.catlinks {
- border:1px solid #aaaaaa;
- background-color:#f9f9f9;
- padding: 2px 5px;
- margin: 0.1em 0 0 0;
- clear: both;
-}
-.catlinks { margin: 0; padding: 0; }
-
-
-/* currently unused, intended to be used by a metadata box
-in the bottom-right corner of the content area */
-.documentDescription {
- /* The summary text describing the document */
- font-weight: bold;
- display: block;
- margin: 1em 0em;
- line-height: 1.5em;
-}
-.documentByLine {
- text-align: right;
- font-size: 90%;
- clear: both;
- font-weight: normal;
- color: #76797c;
-}
-
-/* emulate center */
-.center {
- width: 100%;
- text-align: center;
-}
-*.center * {
- margin-left: auto;
- margin-right: auto;
-}
-/* small for tables and similar */
-.small, .small * { font-size: 94%; }
-table.small { font-size: 100% }
-
-/*
-** content styles
-*/
-
-#toc {
- /*border:1px solid #2f6fab;*/
- border:1px solid #aaaaaa;
- background-color:#f9f9f9;
- padding:5px;
- font-size: 95%;
-}
-#toc ul { margin-left: 2em; }
-#toc .toctoggle { font-size: 94%; }
-#toc .editsection {
- margin-top: 0.7em;
- font-size: 94%;
-}
-
-/* images */
-div.floatright, table.floatright {
- clear: right;
- float: right;
- margin: 0;
- position: relative;
- border: 0.5em solid white;
- border-width: 0.5em 0 0.8em 1.4em;
-}
-div.floatright p { font-style: italic; }
-div.floatleft, table.floatleft {
- float: left;
- clear: left;
- margin: 0.3em 0.5em 0.5em 0;
- position: relative;
- border: 0.5em solid white;
- border-width: 0.5em 1.4em 0.8em 0;
-}
-div.floatleft p { font-style: italic; }
-/* thumbnails */
-div.thumb {
- margin-bottom: 0.5em;
- border-style: solid; border-color: white;
- width: auto;
-}
-div.thumbinner {
- border:1px solid #cccccc;
- padding: 3px !important;
- background-color:#f9f9f9;
- font-size: 94%;
- text-align: center;
- overflow: hidden;
-}
-html .thumbimage {
- border:1px solid #cccccc;
-}
-html .thumbcaption {
- border: none;
- text-align: left;
- line-height: 1.4em;
- padding: 0.3em 0 0.1em 0;
-}
-div.magnify {
- float: right;
- border: none !important;
- background: none !important;
-}
-div.magnify a, div.magnify img {
- display: block;
- border: none !important;
- background: none !important;
-}
-div.tright {
- clear: right;
- float: right;
- border-width: 0.5em 0 0.8em 1.4em;
-}
-div.tleft {
- float: left;
- clear: left;
- margin-right:0.5em;
- border-width: 0.5em 1.4em 0.8em 0;
-}
-img.thumbborder {
- border: 1px solid #dddddd;
-}
-
-.hiddenStructure {
- display: none;
-}
-
-/*
-** classes for special content elements like town boxes
-** intended to be referenced directly from the wiki src
-*/
-
-/*
-** User styles
-*/
-/* table standards */
-table.rimage {
- float:right;
- position:relative;
- margin-left:1em;
- margin-bottom:1em;
- text-align:center;
-}
-.toccolours {
- border:1px solid #aaaaaa;
- background-color:#f9f9f9;
- padding:5px;
- font-size: 95%;
-}
-
-/*
-** edit views etc
-*/
-.special li {
- line-height: 1.4em;
- margin: 0;
- padding: 0;
-}
-
-a.external { color: #3366bb; }
-div#footer { text-align: center; }
-ul#f-list li { list-style: none; text-align: center; }
-div.portlet { margin: 0.5em 0; }
-
-.redirectText {
- font-size:150%;
- margin:5px;
-}
-
-ul.special li.not-patrolled, ol.special li.not-patrolled {
- background-color: #ffa;
-}
-div.patrollink {
- font-size: 75%;
- text-align: right;
-}
-
-span.updatedmarker {
- color:black;
- background-color:#00FF00;
-}
-
-div.gallerybox {
- width: 150px;
-}
-
-#xjump-to-nav {
- display: none;
-}
-
-.templatesUsed { margin-top: 1.5em; }
-
-.printfooter {
- display: none;
-}
-
-#footer {
- background-color: white;
- border-top: 1px solid #fabd23;
- border-bottom: 1px solid #fabd23;
- margin: .6em 0 1em 0;
- padding: .4em 0 1.2em 0;
- text-align: center;
- font-size: 90%;
-}
-#f-poweredbyico, #f-copyrightico {
- display: inline;
-}
diff --git a/skins/common/IE80Fixes.css b/skins/common/IE80Fixes.css
deleted file mode 100644
index b6360f6..0000000
--- a/skins/common/IE80Fixes.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/**
- * Fixes textarea scrolling bug (bug #19334). The bug only occurs when a
- * percentage width is given, so instead of width: 100%, use min-width: 100%;
- * max-width: 100%. We also need to give a fixed width for the actual width
- * property for the hack to work, although the actual value (500px here) ends
- * up being ignored; min/max-width take precedence.
- *
- * More info: http://grantovich.net/posts/2009/06/that-weird-ie8-textarea-bug/
- */
-#wpTextbox1 {
- height: 390px;
- width: 500px;
- min-width: 100%;
- max-width: 100%;
-}
diff --git a/skins/common/IEFixes.js b/skins/common/IEFixes.js
deleted file mode 100644
index 762d7a7..0000000
--- a/skins/common/IEFixes.js
+++ /dev/null
@@ -1,128 +0,0 @@
-// IE fixes javascript
-
-var isMSIE55 = ( window.showModalDialog && window.clipboardData && window.createPopup );
-var doneIETransform;
-var doneIEAlphaFix;
-
-if ( document.attachEvent ) {
- document.attachEvent( 'onreadystatechange', hookit );
-}
-
-function hookit() {
- if ( !doneIETransform && document.getElementById && document.getElementById( 'bodyContent' ) ) {
- doneIETransform = true;
- relativeforfloats();
- fixalpha();
- }
-}
-
-// png alpha transparency fixes
-function fixalpha( logoId ) {
- // bg
- if ( isMSIE55 && !doneIEAlphaFix ) {
- var plogo = document.getElementById( logoId || 'p-logo' );
- if ( !plogo ) {
- return;
- }
-
- var logoa = plogo.getElementsByTagName('a')[0];
- if ( !logoa ) {
- return;
- }
-
- var bg = logoa.currentStyle.backgroundImage;
- var imageUrl = bg.substring( 5, bg.length - 2 );
-
- doneIEAlphaFix = true;
-
- if ( imageUrl.substr( imageUrl.length - 4 ).toLowerCase() == '.png' ) {
- var logospan = logoa.appendChild( document.createElement( 'span' ) );
-
- logoa.style.backgroundImage = 'none';
- logospan.style.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src=' + imageUrl + ')';
- logospan.style.height = '100%';
- logospan.style.position = 'absolute';
- logospan.style.width = logoa.currentStyle.width;
- logospan.style.cursor = 'hand';
- // Center image with hack for IE5.5
- if ( document.documentElement.dir == 'rtl' ) {
- logospan.style.right = '50%';
- logospan.style.setExpression( 'marginRight', '"-" + (this.offsetWidth / 2) + "px"' );
- } else {
- logospan.style.left = '50%';
- logospan.style.setExpression( 'marginLeft', '"-" + (this.offsetWidth / 2) + "px"' );
- }
- logospan.style.top = '50%';
- logospan.style.setExpression( 'marginTop', '"-" + (this.offsetHeight / 2) + "px"' );
-
- var linkFix = logoa.appendChild( logoa.cloneNode() );
- linkFix.style.position = 'absolute';
- linkFix.style.height = '100%';
- linkFix.style.width = '100%';
- }
- }
-}
-
-// fix ie6 disappering float bug
-function relativeforfloats() {
- var bc = document.getElementById( 'bodyContent' );
- if ( bc ) {
- var tables = bc.getElementsByTagName( 'table' );
- var divs = bc.getElementsByTagName( 'div' );
- }
- setrelative( tables );
- setrelative( divs );
-}
-function setrelative( nodes ) {
- var i = 0;
- while ( i < nodes.length ) {
- if( ( ( nodes[i].style.float && nodes[i].style.float != ( 'none' ) ||
- ( nodes[i].align && nodes[i].align != ( 'none' ) ) ) &&
- ( !nodes[i].style.position || nodes[i].style.position != 'relative' ) ) )
- {
- nodes[i].style.position = 'relative';
- }
- i++;
- }
-}
-
-// Expand links for printing
-String.prototype.hasClass = function( classWanted ) {
- var classArr = this.split(/\s/);
- for ( var i = 0; i < classArr.length; i++ ) {
- if ( classArr[i].toLowerCase() == classWanted.toLowerCase() ) {
- return true;
- }
- }
- return false;
-}
-
-var expandedURLs;
-
-onbeforeprint = function() {
- expandedURLs = [];
-
- var contentEl = document.getElementById( 'content' );
-
- if ( contentEl ) {
- var allLinks = contentEl.getElementsByTagName( 'a' );
-
- for ( var i = 0; i < allLinks.length; i++ ) {
- if ( allLinks[i].className.hasClass( 'external' ) && !allLinks[i].className.hasClass( 'free' ) ) {
- var expandedLink = document.createElement( 'span' );
- var expandedText = document.createTextNode( ' (' + allLinks[i].href + ')' );
- expandedLink.appendChild( expandedText );
- allLinks[i].parentNode.insertBefore( expandedLink, allLinks[i].nextSibling );
- expandedURLs[i] = expandedLink;
- }
- }
- }
-}
-
-onafterprint = function() {
- for ( var i = 0; i < expandedURLs.length; i++ ) {
- if ( expandedURLs[i] ) {
- expandedURLs[i].removeNode( true );
- }
- }
-}
diff --git a/skins/common/Makefile b/skins/common/Makefile
deleted file mode 100644
index 56e60bd..0000000
--- a/skins/common/Makefile
+++ /dev/null
@@ -1,2 +0,0 @@
-jquery.min.js: jquery.js
- php ../../maintenance/minify.php $< --outfile $@
diff --git a/skins/common/ajax.js b/skins/common/ajax.js
deleted file mode 100644
index afcfa70..0000000
--- a/skins/common/ajax.js
+++ /dev/null
@@ -1,167 +0,0 @@
-// remote scripting library
-// (c) copyright 2005 modernmethod, inc
-var sajax_debug_mode = false;
-var sajax_request_type = "GET";
-
-/**
-* if sajax_debug_mode is true, this function outputs given the message into
-* the element with id = sajax_debug; if no such element exists in the document,
-* it is injected.
-*/
-function sajax_debug(text) {
- if (!sajax_debug_mode) return false;
-
- var e= document.getElementById('sajax_debug');
-
- if (!e) {
- e= document.createElement("p");
- e.className= 'sajax_debug';
- e.id= 'sajax_debug';
-
- var b= document.getElementsByTagName("body")[0];
-
- if (b.firstChild) b.insertBefore(e, b.firstChild);
- else b.appendChild(e);
- }
-
- var m= document.createElement("div");
- m.appendChild( document.createTextNode( text ) );
-
- e.appendChild( m );
-
- return true;
-}
-
-/**
-* compatibility wrapper for creating a new XMLHttpRequest object.
-*/
-function sajax_init_object() {
- sajax_debug("sajax_init_object() called..")
- var A;
- try {
- // Try the new style before ActiveX so we don't
- // unnecessarily trigger warnings in IE 7 when
- // set to prompt about ActiveX usage
- A = new XMLHttpRequest();
- } catch (e) {
- try {
- A=new ActiveXObject("Msxml2.XMLHTTP");
- } catch (e) {
- try {
- A=new ActiveXObject("Microsoft.XMLHTTP");
- } catch (oc) {
- A=null;
- }
- }
- }
- if (!A)
- sajax_debug("Could not create connection object.");
-
- return A;
-}
-
-/**
-* Perform an ajax call to mediawiki. Calls are handeled by AjaxDispatcher.php
-* func_name - the name of the function to call. Must be registered in $wgAjaxExportList
-* args - an array of arguments to that function
-* target - the target that will handle the result of the call. If this is a function,
-* if will be called with the XMLHttpRequest as a parameter; if it's an input
-* element, its value will be set to the resultText; if it's another type of
-* element, its innerHTML will be set to the resultText.
-*
-* Example:
-* sajax_do_call('doFoo', [1, 2, 3], document.getElementById("showFoo"));
-*
-* This will call the doFoo function via MediaWiki's AjaxDispatcher, with
-* (1, 2, 3) as the parameter list, and will show the result in the element
-* with id = showFoo
-*/
-function sajax_do_call(func_name, args, target) {
- var i, x, n;
- var uri;
- var post_data;
- uri = wgServer +
- ((wgScript == null) ? (wgScriptPath + "/index.php") : wgScript) +
- "?action=ajax";
- if (sajax_request_type == "GET") {
- if (uri.indexOf("?") == -1)
- uri = uri + "?rs=" + encodeURIComponent(func_name);
- else
- uri = uri + "&rs=" + encodeURIComponent(func_name);
- for (i = 0; i < args.length; i++)
- uri = uri + "&rsargs[]=" + encodeURIComponent(args[i]);
- //uri = uri + "&rsrnd=" + new Date().getTime();
- post_data = null;
- } else {
- post_data = "rs=" + encodeURIComponent(func_name);
- for (i = 0; i < args.length; i++)
- post_data = post_data + "&rsargs[]=" + encodeURIComponent(args[i]);
- }
- x = sajax_init_object();
- if (!x) {
- alert("AJAX not supported");
- return false;
- }
-
- try {
- x.open(sajax_request_type, uri, true);
- } catch (e) {
- if (window.location.hostname == "localhost") {
- alert("Your browser blocks XMLHttpRequest to 'localhost', try using a real hostname for development/testing.");
- }
- throw e;
- }
- if (sajax_request_type == "POST") {
- x.setRequestHeader("Method", "POST " + uri + " HTTP/1.1");
- x.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
- }
- x.setRequestHeader("Pragma", "cache=yes");
- x.setRequestHeader("Cache-Control", "no-transform");
- x.onreadystatechange = function() {
- if (x.readyState != 4)
- return;
-
- sajax_debug("received (" + x.status + " " + x.statusText + ") " + x.responseText);
-
- //if (x.status != 200)
- // alert("Error: " + x.status + " " + x.statusText + ": " + x.responseText);
- //else
-
- if ( typeof( target ) == 'function' ) {
- target( x );
- }
- else if ( typeof( target ) == 'object' ) {
- if ( target.tagName == 'INPUT' ) {
- if (x.status == 200) target.value= x.responseText;
- //else alert("Error: " + x.status + " " + x.statusText + " (" + x.responseText + ")");
- }
- else {
- if (x.status == 200) target.innerHTML = x.responseText;
- else target.innerHTML= "<div class='error'>Error: " + x.status + " " + x.statusText + " (" + x.responseText + ")</div>";
- }
- }
- else {
- alert("bad target for sajax_do_call: not a function or object: " + target);
- }
-
- return;
- }
-
- sajax_debug(func_name + " uri = " + uri + " / post = " + post_data);
- x.send(post_data);
- sajax_debug(func_name + " waiting..");
- delete x;
-
- return true;
-}
-
-/**
- * @return boolean whether the browser supports XMLHttpRequest
- */
-function wfSupportsAjax() {
- var request = sajax_init_object();
- var supportsAjax = request ? true : false;
- delete request;
- return supportsAjax;
-}
-
diff --git a/skins/common/ajaxwatch.js b/skins/common/ajaxwatch.js
deleted file mode 100644
index 7f54601..0000000
--- a/skins/common/ajaxwatch.js
+++ /dev/null
@@ -1,180 +0,0 @@
-// dependencies:
-// * ajax.js:
- /*extern sajax_init_object, sajax_do_call */
-// * wikibits.js:
- /*extern changeText, hookEvent, jsMsg */
-
-// These should have been initialized in the generated js
-/*extern wgAjaxWatch, wgPageName */
-
-if(typeof wgAjaxWatch === "undefined" || !wgAjaxWatch) {
- var wgAjaxWatch = {
- watchMsg: "Watch",
- unwatchMsg: "Unwatch",
- watchingMsg: "Watching...",
- unwatchingMsg: "Unwatching...",
- 'tooltip-ca-watchMsg': "Add this page to your watchlist",
- 'tooltip-ca-unwatchMsg': "Remove this page from your watchlist"
- };
-}
-
-wgAjaxWatch.supported = true; // supported on current page and by browser
-wgAjaxWatch.watching = false; // currently watching page
-wgAjaxWatch.inprogress = false; // ajax request in progress
-wgAjaxWatch.timeoutID = null; // see wgAjaxWatch.ajaxCall
-wgAjaxWatch.watchLinks = []; // "watch"/"unwatch" links
-wgAjaxWatch.iconMode = false; // new icon driven functionality
-wgAjaxWatch.imgBasePath = ""; // base img path derived from icons on load
-
-wgAjaxWatch.setLinkText = function( newText ) {
- if( wgAjaxWatch.iconMode ) {
- for ( i = 0; i < wgAjaxWatch.watchLinks.length; i++ ) {
- wgAjaxWatch.watchLinks[i].firstChild.alt = newText;
- if ( newText == wgAjaxWatch.watchingMsg || newText == wgAjaxWatch.unwatchingMsg ) {
- wgAjaxWatch.watchLinks[i].className += ' loading';
- } else if ( newText == wgAjaxWatch.watchMsg || newText == wgAjaxWatch.unwatchMsg ) {
- wgAjaxWatch.watchLinks[i].className =
- wgAjaxWatch.watchLinks[i].className.replace( /loading/i, '' );
- // update the title text on the link
- var keyCommand = wgAjaxWatch.watchLinks[i].title.match( /\[.*?\]$/ ) ?
- wgAjaxWatch.watchLinks[i].title.match( /\[.*?\]$/ )[0] : "";
- wgAjaxWatch.watchLinks[i].title = ( newText == wgAjaxWatch.watchMsg ?
- wgAjaxWatch['tooltip-ca-watchMsg'] : wgAjaxWatch['tooltip-ca-unwatchMsg'] )
- + " " + keyCommand;
- }
- }
- } else {
- for ( i = 0; i < wgAjaxWatch.watchLinks.length; i++ ) {
- changeText( wgAjaxWatch.watchLinks[i], newText );
- }
- }
-};
-
-wgAjaxWatch.setLinkID = function( newId ) {
- // We can only set the first one
- wgAjaxWatch.watchLinks[0].parentNode.setAttribute( 'id', newId );
-};
-
-wgAjaxWatch.setHref = function( string ) {
- for( i = 0; i < wgAjaxWatch.watchLinks.length; i++ ) {
- if( string == 'watch' ) {
- wgAjaxWatch.watchLinks[i].href = wgAjaxWatch.watchLinks[i].href
- .replace( /&action=unwatch/, '&action=watch' );
- } else if( string == 'unwatch' ) {
- wgAjaxWatch.watchLinks[i].href = wgAjaxWatch.watchLinks[i].href
- .replace( /&action=watch/, '&action=unwatch' );
- }
- }
-}
-
-wgAjaxWatch.ajaxCall = function() {
- if(!wgAjaxWatch.supported) {
- return true;
- } else if (wgAjaxWatch.inprogress) {
- return false;
- }
- if(!wfSupportsAjax()) {
- // Lazy initialization so we don't toss up
- // ActiveX warnings on initial page load
- // for IE 6 users with security settings.
- wgAjaxWatch.supported = false;
- return true;
- }
-
- wgAjaxWatch.inprogress = true;
- wgAjaxWatch.setLinkText( wgAjaxWatch.watching
- ? wgAjaxWatch.unwatchingMsg : wgAjaxWatch.watchingMsg);
- sajax_do_call(
- "wfAjaxWatch",
- [wgPageName, (wgAjaxWatch.watching ? "u" : "w")],
- wgAjaxWatch.processResult
- );
- // if the request isn't done in 10 seconds, allow user to try again
- wgAjaxWatch.timeoutID = window.setTimeout(
- function() { wgAjaxWatch.inprogress = false; },
- 10000
- );
- return false;
-};
-
-wgAjaxWatch.processResult = function(request) {
- if(!wgAjaxWatch.supported) {
- return;
- }
- var response = request.responseText;
- if( response.match(/^<w#>/) ) {
- wgAjaxWatch.watching = true;
- wgAjaxWatch.setLinkText(wgAjaxWatch.unwatchMsg);
- wgAjaxWatch.setLinkID("ca-unwatch");
- wgAjaxWatch.setHref( 'unwatch' );
- } else if( response.match(/^<u#>/) ) {
- wgAjaxWatch.watching = false;
- wgAjaxWatch.setLinkText(wgAjaxWatch.watchMsg);
- wgAjaxWatch.setLinkID("ca-watch");
- wgAjaxWatch.setHref( 'watch' );
- } else {
- // Either we got a <err#> error code or it just plain broke.
- window.location.href = wgAjaxWatch.watchLinks[0].href;
- return;
- }
- jsMsg( response.substr(4), 'watch' );
- wgAjaxWatch.inprogress = false;
- if(wgAjaxWatch.timeoutID) {
- window.clearTimeout(wgAjaxWatch.timeoutID);
- }
- // Bug 12395 - avoid some watch link confusion on edit
- var watchthis = document.getElementById("wpWatchthis");
- if( watchthis && response.match(/^<[uw]#>/) ) {
- watchthis.checked = response.match(/^<w#>/) ? "checked" : "";
- }
- return;
-};
-
-wgAjaxWatch.onLoad = function() {
- // This document structure hardcoding sucks. We should make a class and
- // toss all this out the window.
-
- var el1 = document.getElementById("ca-unwatch");
- var el2 = null;
- if ( !el1 ) {
- el1 = document.getElementById("mw-unwatch-link1");
- el2 = document.getElementById("mw-unwatch-link2");
- }
- if( el1 ) {
- wgAjaxWatch.watching = true;
- } else {
- wgAjaxWatch.watching = false;
- el1 = document.getElementById("ca-watch");
- if ( !el1 ) {
- el1 = document.getElementById("mw-watch-link1");
- el2 = document.getElementById("mw-watch-link2");
- }
- if( !el1 ) {
- wgAjaxWatch.supported = false;
- return;
- }
- }
-
- // Detect if the watch/unwatch feature is in icon mode
- if ( el1.className.match( /icon/i ) ) {
- wgAjaxWatch.iconMode = true;
- }
-
- // The id can be either for the parent (Monobook-based) or the element
- // itself (non-Monobook)
- wgAjaxWatch.watchLinks.push( el1.tagName.toLowerCase() == "a"
- ? el1 : el1.firstChild );
-
- if( el2 ) {
- wgAjaxWatch.watchLinks.push( el2 );
- }
-
- // I couldn't get for (watchLink in wgAjaxWatch.watchLinks) to work, if
- // you can be my guest.
- for( i = 0; i < wgAjaxWatch.watchLinks.length; i++ ) {
- wgAjaxWatch.watchLinks[i].onclick = wgAjaxWatch.ajaxCall;
- }
- return;
-};
-
-hookEvent("load", wgAjaxWatch.onLoad);
diff --git a/skins/common/block.js b/skins/common/block.js
deleted file mode 100644
index ad04f81..0000000
--- a/skins/common/block.js
+++ /dev/null
@@ -1,57 +0,0 @@
-addOnloadHook( considerChangingExpiryFocus );
-
-function considerChangingExpiryFocus() {
- if ( !document.getElementById ) {
- return;
- }
- var drop = document.getElementById( 'wpBlockExpiry' );
- if ( !drop ) {
- return;
- }
- var field = document.getElementById( 'wpBlockOther' );
- if ( !field ) {
- return;
- }
- var opt = drop.value;
- if ( opt == 'other' ) {
- field.style.display = '';
- } else {
- field.style.display = 'none';
- }
-}
-
-function updateBlockOptions() {
- if ( !document.getElementById ) {
- return;
- }
-
- var target = document.getElementById( 'mw-bi-target' );
- if ( !target ) {
- return;
- }
-
- var addy = target.value;
- var isEmpty = addy.match(/^\s*$/);
- var isIp = addy.match(/^(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}|:(:[0-9A-Fa-f]{1,4}){1,7}|[0-9A-Fa-f]{1,4}(:{1,2}[0-9A-Fa-f]{1,4}|::$){1,7})(\/\d+)?$/);
- var isIpRange = isIp && addy.match(/\/\d+$/);
-
- var anonymousRow = document.getElementById( 'wpAnonOnlyRow' );
- if( anonymousRow ) {
- anonymousRow.style.display = ( !isIp && !isEmpty ) ? 'none' : '';
- }
-
- var autoblockRow = document.getElementById( 'wpEnableAutoblockRow' );
- if( autoblockRow ) {
- autoblockRow.style.display = isIp && !isEmpty ? 'none' : '';
- }
-
- var hideuserRow = document.getElementById( 'wpEnableHideUser' );
- if( hideuserRow ) {
- hideuserRow.style.display = isIp && !isEmpty ? 'none' : '';
- }
-
- var watchuserRow = document.getElementById( 'wpEnableWatchUser' );
- if( watchuserRow ) {
- watchuserRow.style.display = isIpRange && !isEmpty ? 'none' : '';
- }
-}
diff --git a/skins/common/changepassword.js b/skins/common/changepassword.js
deleted file mode 100644
index 1e3e206..0000000
--- a/skins/common/changepassword.js
+++ /dev/null
@@ -1,16 +0,0 @@
-
-function onNameChange() {
- if ( wgUserName != document.getElementById('wpName').value ) {
- document.getElementById('wpPassword').disabled = true;
- document.getElementById('wpComment').disabled = false;
- } else {
- document.getElementById('wpPassword').disabled = false;
- document.getElementById('wpComment').disabled = true;
- }
-}
-
-function onNameChangeHook() {
- document.getElementById( 'wpName' ).onblur = onNameChange;
-}
-
-addOnloadHook( onNameChangeHook );
diff --git a/skins/common/cologneblue.css b/skins/common/cologneblue.css
deleted file mode 100644
index 2329d23..0000000
--- a/skins/common/cologneblue.css
+++ /dev/null
@@ -1,101 +0,0 @@
-body { margin: 0px; padding: 0px; color: black; }
-#specialform { display: inline; }
-#content { top: 0; margin: 0; padding: 0; }
-#mw-data-after-content {
- font-family: Verdana, Arial, sans-serif;
- color: black;
- font-size: 8pt;
-}
-#topbar { padding: 0px; }
-#powersearch {
- background: #DDEEFF; border-style: solid; border-width: 1px; padding: 2px;
-}
-#quickbar {
- width: 140px; top: 18ex; padding: 2px; visibility: visible; z-index: 99;
-}
-#article, #article td, #article th, #article p {
- font-family: Verdana, Arial, sans-serif;
- font-size: 10pt; color: black;
-}
-#article p {
- padding-top: 0; padding-bottom: 0;
- margin-top: 1ex; margin-bottom: 0;
-}
-p, pre, td, th, li, dd, dt { line-height: 12pt; }
-textarea { overflow: auto; }
-
-#footer { padding: 4px; }
-#footer form { display: inline; }
-#sitetitle {
- font-family: Times, serif;
- color: white;
- font-weight: normal; font-size: 32pt;
- line-height: 32pt;
-}
-td.top {
- background-color: #6688AA; color: white;
- margin-top: 4px; margin-bottom: 4px;
- padding-top: 0; padding-bottom: 0;
- text-transform: uppercase;
- font-family: Verdana, Arial, sans-serif; font-size: 8pt;
-}
-td.top a {
- font-family: Verdana, Arial, sans-serif;
- background-color: #6688AA; color: white;
- text-decoration: none; font-size: 10pt;
-}
-td.bottom {
- font-family: Verdana, Arial, sans-serif;
- font-size: 10pt;
- padding: 0;
-}
-#pagestats {
- font-family: Verdana, Arial, sans-serif;
- color: black;
- font-size: 9pt;
-}
-#sitesub {
- font-family: Verdana, Arial, sans-serif;
- font-size: 9pt; font-weight: bold;
- color: black;
- padding-top: 0;
-}
-#quickbar {
- font-family: Verdana, Arial, sans-serif;
- font-size: 8pt; font-weight: bold; line-height: 9.5pt;
- text-decoration: none;
- color: black;
- padding: 0; margin-top: 0;
-}
-#quickbar a { color: #446688; }
-
-#quickbar h6 {
- font-family: Verdana, Arial, sans-serif;
- font-size: 10pt; font-weight: bold; line-height: 12pt;
- text-decoration: none;
- color: #666666;
- padding: 0; margin-bottom: 2px; margin-top: 6px;
-}
-#quickbar form { padding: 0; margin-top: 0; }
-
-h1 {
- color: #666666;
- font-family: Verdana, Arial, sans-serif;
- font-size: 180%; line-height: 21pt;
-}
-h1 .editsection { font-size: 55.6%; }
-h1.pagetitle { padding-bottom: 0; margin-bottom: 0; }
-#article p.subtitle {
- color: #666666; font-size: 11pt; font-weight: bold;
- padding-top: 0; margin-top: 0; padding-bottom: 1ex;
-}
-
-a { color: #223366; }
-a.external { color: #336644; }
-a:visited { color: #8D0749; }
-a.printable { text-decoration: underline; }
-a.stub, #quickbar a.stub { color:#772233; text-decoration:none; }
-a.new, #quickbar a.new { color: #CC2200; }
-h2, h3, h4, h5, h6 { margin-bottom: 0; }
-small { font-size: 75%; }
-input.mw-searchInput { width: 106px; }
diff --git a/skins/common/commonPrint.css b/skins/common/commonPrint.css
deleted file mode 100644
index 0932fce..0000000
--- a/skins/common/commonPrint.css
+++ /dev/null
@@ -1,249 +0,0 @@
-/*
-** MediaWiki Print style sheet for CSS2-capable browsers.
-** Copyright Gabriel Wicke, http://www.aulinx.de/
-**
-** Derived from the plone (http://plone.org/) styles
-** Copyright Alexander Limi
-*/
-
-/* Thanks to A List Apart (http://alistapart.com/) for useful extras */
-a.stub,
-a.new{ color:#ba0000; text-decoration:none; }
-
-#toc {
- /*border:1px solid #2f6fab;*/
- border:1px solid #aaaaaa;
- background-color:#f9f9f9;
- padding:5px;
-}
-.tocindent {
- margin-left: 2em;
-}
-.tocline {
- margin-bottom: 0px;
-}
-
-/* images */
-div.floatright {
- float: right;
- clear: right;
- margin: 0;
- position:relative;
- border: 0.5em solid White;
- border-width: 0.5em 0 0.8em 1.4em;
-}
-div.floatright p { font-style: italic;}
-div.floatleft {
- float: left;
- margin: 0.3em 0.5em 0.5em 0;
- position:relative;
- border: 0.5em solid White;
- border-width: 0.5em 1.4em 0.8em 0;
-}
-div.floatleft p { font-style: italic; }
-/* thumbnails */
-div.thumb {
- margin-bottom: 0.5em;
- border-style: solid; border-color: White;
- width: auto;
- overflow: hidden;
-}
-div.thumbinner {
- border:1px solid #cccccc;
- padding: 3px !important;
- background-color:#f9f9f9;
- font-size: 94%;
- text-align: center;
-}
-html .thumbimage {
- border:1px solid #cccccc;
-}
-html .thumbcaption {
- border: none;
- padding: 0.3em 0 0.1em 0;
-}
-div.magnify { display: none; }
-div.tright {
- float: right;
- clear: right;
- border-width: 0.5em 0 0.8em 1.4em;
-}
-div.tleft {
- float: left;
- margin-right:0.5em;
- border-width: 0.5em 1.4em 0.8em 0;
-}
-img.thumbborder {
- border: 1px solid #dddddd;
-}
-
-/* table standards */
-table.rimage {
- float:right;
- width:1pt;
- position:relative;
- margin-left:1em;
- margin-bottom:1em;
- text-align:center;
-}
-
-body {
- background: White;
- /*font-size: 11pt !important;*/
- color: Black;
- margin: 0;
- padding: 0;
-}
-
-.noprint,
-div#jump-to-nav,
-div.top,
-div#column-one,
-#colophon,
-.editsection,
-.toctoggle,
-.tochidden,
-div#f-poweredbyico,
-div#f-copyrightico,
-li#viewcount,
-li#about,
-li#disclaimer,
-li#privacy,
-#mw-hidden-catlinks {
- /* Hides all the elements irrelevant for printing */
- display: none;
-}
-
-ul {
- list-style-type: square;
-}
-
-#content {
- background: none;
- border: none ! important;
- padding: 0 ! important;
- margin: 0 ! important;
-}
-#footer {
- background : white;
- color : black;
- border-top: 1px solid black;
-}
-
-h1, h2, h3, h4, h5, h6 {
- font-weight: bold;
-}
-
-p, .documentDescription {
- margin: 1em 0 ! important;
- line-height: 1.2em;
-}
-
-.tocindent p {
- margin: 0 0 0 0 ! important;
-}
-
-pre {
- border: 1pt dashed black;
- white-space: pre;
- font-size: 8pt;
- overflow: auto;
- padding: 1em 0;
- background : white;
- color : black;
-}
-
-table.listing,
-table.listing td {
- border: 1pt solid black;
- border-collapse: collapse;
-}
-
-a {
- color: Black !important;
- background: none !important;
- padding: 0 !important;
-}
-
-a:link, a:visited {
- color: #520;
- background: transparent;
- text-decoration: underline;
-}
-
-#content a.external.text:after, #content a.external.autonumber:after {
- /* Expand URLs for printing */
- content: " (" attr(href) ") ";
-}
-
-#globalWrapper {
- width: 100% !important;
- min-width: 0 !important;
-}
-
-#content {
- background : white;
- color : black;
-}
-
-#column-content {
- margin: 0 !important;
-}
-
-#column-content #content {
- padding: 1em;
- margin: 0 !important;
-}
-/* MSIE/Win doesn't understand 'inherit' */
-a, a.external, a.new, a.stub {
- color: black ! important;
- text-decoration: none ! important;
-}
-
-/* Continue ... */
-a, a.external, a.new, a.stub {
- color: inherit ! important;
- text-decoration: inherit ! important;
-}
-
-img { border: none; }
-img.tex { vertical-align: middle; }
-span.texhtml { font-family: serif; }
-
-#siteNotice { display: none; }
-
-div.gallerybox {
- border: 1px solid #cccccc;
- background-color:#f9f9f9;
- width: 150px;
-}
-
-div.gallerytext {
- overflow: visible;
-}
-
-/*
-** Diff rendering
-*/
-table.diff { background:white; }
-td.diff-otitle { background:#ffffff; }
-td.diff-ntitle { background:#ffffff; }
-td.diff-addedline {
- background:#ccffcc;
- font-size: smaller;
- border: solid 2px black;
-}
-td.diff-deletedline {
- background:#ffffaa;
- font-size: smaller;
- border: dotted 2px black;
-}
-td.diff-context {
- background:#eeeeee;
- font-size: smaller;
-}
-.diffchange {
- color: silver;
- font-weight: bold;
- text-decoration: underline;
-}
diff --git a/skins/common/common_rtl.css b/skins/common/common_rtl.css
deleted file mode 100644
index 2e8bb98..0000000
--- a/skins/common/common_rtl.css
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * This file contains CSS settings common to RTL wikis use the old
- * pre-Monobook skins Wikistandard, Nostalgia and CologneBlue
- * NOTE: This file is not used in Monobook!
- */
-
-/* js pref toc */
-#preftoc { float: right; }
-/* workaround for moz bug, displayed bullets on left side */
-#preftoc li { list-style: none; }
-#prefcontrol { float: right; }
-fieldset.prefsection,
-fieldset.operaprefsection {
- margin-left: 0;
- margin-right: 18em;
-}
-/* page history */
-#pagehistory .history-user {
- margin-right: 1.4em;
- margin-left: 0.4em;
-}
-.editsection {
- float: left;
- margin-right: 5px;
-}
-div.tright, div.floatright {
- clear: none;
-}
-div.tleft, div.floatleft {
- clear: left;
-}
-/* Convenience links to edit block, delete and protect reasons */
-p.mw-ipb-conveniencelinks, p.mw-protect-editreasons,
-p.mw-filedelete-editreasons, p.mw-delete-editreasons,
-p.mw-revdel-editreasons {
- float: left;
-}
-table.filehistory th {
- text-align: right;
-}
-
-/**
- * Lists:
- * The following lines don't have a visible effect on non-Gecko browsers
- * They fix a problem ith Gecko browsers rendering lists to the right of
- * left-floated objects in an RTL layout.
- */
-html > body div#article ul {
- display: table;
-}
-html > body div#bodyContent ul#filetoc {
- display: block;
-}
-
-/* feed links */
-a.feedlink {
- background: none !important;
- padding-left: 0 !important;
-}
diff --git a/skins/common/diff.css b/skins/common/diff.css
deleted file mode 100644
index 6afa373..0000000
--- a/skins/common/diff.css
+++ /dev/null
@@ -1,143 +0,0 @@
-/*
-** Diff rendering
-*/
-table.diff, td.diff-otitle, td.diff-ntitle {
- background-color: white;
-}
-td.diff-otitle,
-td.diff-ntitle {
- text-align: center;
-}
-td.diff-marker {
- text-align: right;
-}
-.rtl td.diff-marker {
- text-align: left;
-}
-td.diff-lineno {
- font-weight: bold;
-}
-td.diff-addedline {
- background: #cfc;
- font-size: smaller;
-}
-td.diff-deletedline {
- background: #ffa;
- font-size: smaller;
-}
-td.diff-context {
- background: #eee;
- font-size: smaller;
-}
-.diffchange {
- color: red;
- font-weight: bold;
- text-decoration: none;
- white-space: pre-wrap;
- white-space: -moz-pre-wrap;
-}
-
-table.diff {
- border: none;
- width: 98%;
- border-spacing: 4px;
-
- /* Fixed layout is required to ensure that cells containing long URLs
- don't widen in Safari, Internet Explorer, or iCab */
- table-layout: fixed;
-}
-table.diff td {
- padding: 0;
-}
-table.diff col.diff-marker {
- width: 2%;
-}
-table.diff col.diff-content {
- width: 48%;
-}
-table.diff td div {
- /* Force-wrap very long lines such as URLs or page-widening char strings.
- CSS 3 draft..., but Gecko doesn't support it yet:
- https://bugzilla.mozilla.org/show_bug.cgi?id=99457 */
- word-wrap: break-word;
-
- /* As fallback, scrollbars will be added for very wide cells
- instead of text overflowing or widening */
- overflow: auto;
-
- /* The above rule breaks on very old versions of Mozilla due
- to a bug which collapses the table cells to a single line.
-
- In Mozilla 1.1 and below with JavaScript enabled, the rule
- will be overridden with this by diff.js; wide cell contents
- then spill horizontally without widening the rest of the
- table: */
- /* overflow: visible; */
-}
-
-/*
- * Styles for the HTML Diff
- */
-div.diff-switchtype{
- text-align: center;
- font-weight: bold;
- font-size: smaller;
-}
-
-span.diff-html-added {
- font-size: 100%;
- background-color: #20ff20
-}
-
-span.diff-html-removed {
- font-size: 100%;
- text-decoration: line-through;
- background-color: #ff2020
-}
-
-span.diff-html-changed {
- background: url(images/diffunderline.gif) bottom repeat-x;
- /* Hack for IE5.5, see http://lists.wikimedia.org/pipermail/wikitech-l/2008-November/040273.html */
- *background-color: #c6c6fd; /* light blue */
-}
-
-span.diff-html-added img{
- border: 5px solid #ccffcc;
-}
-
-span.diff-html-removed img{
- border: 5px solid #fdc6c6;
-}
-
-span.diff-html-changed img{
- border: 5px dotted #000099;
-
-}
-
-span.diff-html-changed {
- position: relative; /* this is key */
- cursor: help;
-}
-
-span.diff-html-changed span.tip {
- display: none; /* so is this */
-}
-
-/* tooltip will display on :hover event */
-
-span.diff-html-changed:hover span.tip {
- display: block;
- z-index: 95;
- position: absolute;
- top: 2.5em;
- left: 0;
- width: auto;
- line-height: 1.2em;
- padding: 3px 7px 4px 6px;
- border: 1px solid #336;
- background-color: #f7f7ee;
- font-size: 10px;
- text-align: left;
-}
-
-
diff --git a/skins/common/diff.js b/skins/common/diff.js
deleted file mode 100644
index 5fd151f..0000000
--- a/skins/common/diff.js
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
-Workaround for overflow bug in Mozilla 1.1 and earlier, where scrolling
-<div>s in <td> cells collapse their height to a single line.
-
-Known to be fixed in 1.2.1 (Gecko 20021130), but the CSS hacks I've tried
-with overflow-x disable the scrolling all the way until Mozilla 1.8 / FF 1.5
-and break Opera as well.
-
-So... we check for reaaaally old Gecko and hack in an alternate rule to let
-the wide cells spill instead of scrolling them. Not ideal as it won't work
-if JS is disabled, of course.
-*/
-
-if (navigator && navigator.product == "Gecko" && navigator.productSub < "20021130") {
- var sheets = document.styleSheets;
- var lastSheet = sheets[sheets.length-1];
- lastSheet.insertRule(
- "table.diff td div { overflow: visible; }",
- lastSheet.cssRules.length);
-}
diff --git a/skins/common/edit.js b/skins/common/edit.js
deleted file mode 100644
index 423205f..0000000
--- a/skins/common/edit.js
+++ /dev/null
@@ -1,231 +0,0 @@
-var currentFocused;
-
-// this function generates the actual toolbar buttons with localized text
-// we use it to avoid creating the toolbar where javascript is not enabled
-function addButton( imageFile, speedTip, tagOpen, tagClose, sampleText, imageId ) {
- // Don't generate buttons for browsers which don't fully
- // support it.
- mwEditButtons.push({
- 'imageId': imageId,
- 'imageFile': imageFile,
- 'speedTip': speedTip,
- 'tagOpen': tagOpen,
- 'tagClose': tagClose,
- 'sampleText': sampleText
- });
-}
-
-// this function generates the actual toolbar buttons with localized text
-// we use it to avoid creating the toolbar where JavaScript is not enabled
-function mwInsertEditButton( parent, item ) {
- var image = document.createElement( 'img' );
- image.width = 23;
- image.height = 22;
- image.className = 'mw-toolbar-editbutton';
- if ( item.imageId ) {
- image.id = item.imageId;
- }
- image.src = item.imageFile;
- image.border = 0;
- image.alt = item.speedTip;
- image.title = item.speedTip;
- image.style.cursor = 'pointer';
- image.onclick = function() {
- insertTags( item.tagOpen, item.tagClose, item.sampleText );
- // click tracking
- if ( ( typeof $j != 'undefined' ) && ( typeof $j.trackAction != 'undefined' ) ) {
- $j.trackAction( 'oldedit.' + item.speedTip.replace(/ /g, "-") );
- }
- return false;
- };
-
- parent.appendChild( image );
- return true;
-}
-
-function mwSetupToolbar() {
- var toolbar = document.getElementById( 'toolbar' );
- if ( !toolbar ) {
- return false;
- }
-
- // Don't generate buttons for browsers which don't fully
- // support it.
- // but don't assume wpTextbox1 is always here
- var textboxes = document.getElementsByTagName( 'textarea' );
- if ( !textboxes.length ) {
- // No toolbar if we can't find any textarea
- return false;
- }
- // Only check for selection capability if the textarea is visible - errors will occur otherwise - just because
- // the textarea is not visible, doesn't mean we shouldn't build out the toolbar though - it might have been replaced
- // with some other kind of control
- if ( textboxes[0].style.display != 'none' ) {
- if ( !( document.selection && document.selection.createRange )
- && textboxes[0].selectionStart === null ) {
- return false;
- }
- }
- for ( var i = 0; i < mwEditButtons.length; i++ ) {
- mwInsertEditButton( toolbar, mwEditButtons[i] );
- }
- for ( var i = 0; i < mwCustomEditButtons.length; i++ ) {
- mwInsertEditButton( toolbar, mwCustomEditButtons[i] );
- }
- return true;
-}
-
-// apply tagOpen/tagClose to selection in textarea,
-// use sampleText instead of selection if there is none
-function insertTags( tagOpen, tagClose, sampleText ) {
- if ( typeof $j != 'undefined' && typeof $j.fn.textSelection != 'undefined' &&
- ( currentFocused.nodeName.toLowerCase() == 'iframe' || currentFocused.id == 'wpTextbox1' ) ) {
- $j( '#wpTextbox1' ).textSelection(
- 'encapsulateSelection', { 'pre': tagOpen, 'peri': sampleText, 'post': tagClose }
- );
- return;
- }
- var txtarea;
- if ( document.editform ) {
- txtarea = currentFocused;
- } else {
- // some alternate form? take the first one we can find
- var areas = document.getElementsByTagName( 'textarea' );
- txtarea = areas[0];
- }
- var selText, isSample = false;
-
- if ( document.selection && document.selection.createRange ) { // IE/Opera
- // save window scroll position
- if ( document.documentElement && document.documentElement.scrollTop ) {
- var winScroll = document.documentElement.scrollTop
- } else if ( document.body ) {
- var winScroll = document.body.scrollTop;
- }
- // get current selection
- txtarea.focus();
- var range = document.selection.createRange();
- selText = range.text;
- // insert tags
- checkSelectedText();
- range.text = tagOpen + selText + tagClose;
- // mark sample text as selected
- if ( isSample && range.moveStart ) {
- if ( window.opera ) {
- tagClose = tagClose.replace(/\n/g,'');
- }
- range.moveStart('character', - tagClose.length - selText.length);
- range.moveEnd('character', - tagClose.length);
- }
- range.select();
- // restore window scroll position
- if ( document.documentElement && document.documentElement.scrollTop ) {
- document.documentElement.scrollTop = winScroll;
- } else if ( document.body ) {
- document.body.scrollTop = winScroll;
- }
-
- } else if ( txtarea.selectionStart || txtarea.selectionStart == '0' ) { // Mozilla
- // save textarea scroll position
- var textScroll = txtarea.scrollTop;
- // get current selection
- txtarea.focus();
- var startPos = txtarea.selectionStart;
- var endPos = txtarea.selectionEnd;
- selText = txtarea.value.substring( startPos, endPos );
- // insert tags
- checkSelectedText();
- txtarea.value = txtarea.value.substring(0, startPos)
- + tagOpen + selText + tagClose
- + txtarea.value.substring(endPos, txtarea.value.length);
- // set new selection
- if ( isSample ) {
- txtarea.selectionStart = startPos + tagOpen.length;
- txtarea.selectionEnd = startPos + tagOpen.length + selText.length;
- } else {
- txtarea.selectionStart = startPos + tagOpen.length + selText.length + tagClose.length;
- txtarea.selectionEnd = txtarea.selectionStart;
- }
- // restore textarea scroll position
- txtarea.scrollTop = textScroll;
- }
-
- function checkSelectedText() {
- if ( !selText ) {
- selText = sampleText;
- isSample = true;
- } else if ( selText.charAt(selText.length - 1) == ' ' ) { // exclude ending space char
- selText = selText.substring(0, selText.length - 1);
- tagClose += ' ';
- }
- }
-
-}
-
-/**
- * Restore the edit box scroll state following a preview operation,
- * and set up a form submission handler to remember this state
- */
-function scrollEditBox() {
- var editBox = document.getElementById( 'wpTextbox1' );
- var scrollTop = document.getElementById( 'wpScrolltop' );
- var editForm = document.getElementById( 'editform' );
- if( editForm && editBox && scrollTop ) {
- if( scrollTop.value ) {
- editBox.scrollTop = scrollTop.value;
- }
- addHandler( editForm, 'submit', function() {
- scrollTop.value = editBox.scrollTop;
- } );
- }
-}
-hookEvent( 'load', scrollEditBox );
-hookEvent( 'load', mwSetupToolbar );
-hookEvent( 'load', function() {
- currentFocused = document.getElementById( 'wpTextbox1' );
- // http://www.quirksmode.org/blog/archives/2008/04/delegating_the.html
- // focus does not bubble normally, but using a trick we can do event delegation
- // on the focus event on all text inputs to make the toolbox usable on all of them
- var editForm = document.getElementById( 'editform' );
- if ( !editForm ) {
- return;
- }
- function onfocus( e ) {
- var elm = e.target || e.srcElement;
- if ( !elm ) {
- return;
- }
- var tagName = elm.tagName.toLowerCase();
- var type = elm.type || '';
- if ( tagName !== 'textarea' && tagName !== 'input' ) {
- return;
- }
- if ( tagName === 'input' && type.toLowerCase() !== 'text' ) {
- return;
- }
-
- currentFocused = elm;
- }
-
- if ( editForm.addEventListener ) {
- // Gecko, WebKit, Opera, etc... (all standards compliant browsers)
- editForm.addEventListener( 'focus', onfocus, true ); // This MUST be true to work
- } else if ( editForm.attachEvent ) {
- // IE needs a specific trick here since it doesn't support the standard
- editForm.attachEvent( 'onfocusin', function() { onfocus( event ); } );
- }
-
- // HACK: make currentFocused work with the usability iframe
- // With proper focus detection support (HTML 5!) this'll be much cleaner
- if ( typeof $j != 'undefined' ) {
- var iframe = $j( '.wikiEditor-ui-text iframe' );
- if ( iframe.length > 0 ) {
- $j( iframe.get( 0 ).contentWindow.document )
- .add( iframe.get( 0 ).contentWindow.document.body ) // for IE
- .focus( function() { currentFocused = iframe.get( 0 ); } );
- }
- }
-
- editForm
-} );
-
diff --git a/skins/common/enhancedchanges.js b/skins/common/enhancedchanges.js
deleted file mode 100644
index b1789c9..0000000
--- a/skins/common/enhancedchanges.js
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- JavaScript file for enhanced recentchanges
- */
-
-/*
- * Add the CSS to hide parts that should be collapsed
- *
- * We do this with JS so everything will be expanded by default
- * if JS is disabled
- */
-appendCSS('.mw-changeslist-hidden {'+
- ' display:none;'+
- '}'+
- 'div.mw-changeslist-expanded {'+
- ' display:block;'+
- '}'+
- 'span.mw-changeslist-expanded {'+
- ' display:inline !important;'+
- ' visibility:visible !important;'+
- '}'
-);
-
-/*
- * Switch an RC line between hidden/shown
- * @param int idNumber : the id number of the RC group
-*/
-function toggleVisibility(idNumber) {
- var openarrow = document.getElementById("mw-rc-openarrow-"+idNumber);
- var closearrow = document.getElementById("mw-rc-closearrow-"+idNumber);
- var subentries = document.getElementById("mw-rc-subentries-"+idNumber);
- if (openarrow.className == 'mw-changeslist-expanded') {
- openarrow.className = 'mw-changeslist-hidden';
- closearrow.className = 'mw-changeslist-expanded';
- subentries.className = 'mw-changeslist-expanded';
- } else {
- openarrow.className = 'mw-changeslist-expanded';
- closearrow.className = 'mw-changeslist-hidden';
- subentries.className = 'mw-changeslist-hidden';
- }
-}
diff --git a/skins/common/feed.css b/skins/common/feed.css
deleted file mode 100644
index 9439663..0000000
--- a/skins/common/feed.css
+++ /dev/null
@@ -1,95 +0,0 @@
-/*
-Make RSS and Atom feeds at least semi-legible to folk who accidentally
-load them in a browser...
-
-Compatibility:
-* Mozilla is fine.
-* Safari 1.2: the RSS <link> text isn't shown
-* Opera 7.5 uses the style sheet instead of its native RSS mode.
-* IE/Mac 5.2: none of the :before content works; doesn't get the charset right and displays garbage for non-ASCII.
-* IE/Win 6.0: No background color, borders, font size, font weight, or :before content.
-
-*/
-
-/* RSS: */ rss, channel, title, link, description, language, generator, lastBuildDate, item, pubDate, author, comments, creator,
-/* Atom: */ feed, id, modified, tagline, entry, issued, created, updated, summary, comment {
- display: block;
-}
-
-rss, feed {
- background: white;
- color: black;
- margin: 1em;
- font-family: "Verdana", "Tahoma", "Arial", "Helvetica", sans-serif;
- line-height: 1.5em;
- font-size: 76%;
-}
-
-rss:before {
- content: "This RSS feed is meant to be read in a syndicated news reader, and isn't ideal for a web browser.";
-}
-
-feed:before {
- content: "This Atom feed is meant to be read in a syndicated news reader, and isn't ideal for a web browser.";
-}
-rss:before, feed:before {
- color: red;
- text-align: center;
- line-height: 2em;
-}
-
-channel>title,
-item>title,
-feed>title,
-entry>title {
- font-weight: bold;
- border-bottom: solid 1px #aaa;
- margin-left: -0.5em;
-}
-channel>title, feed>title {
- font-size: larger;
-}
-item>title, entry>title {
- font-size: large;
-}
-item, entry {
- margin-top: 1em;
- margin-left: 2em;
-}
-
-item>description, entry>summary {
- white-space: pre;
- overflow: auto;
- background: #f8f8ff;
-}
-
-pubDate:before { content: "Date: " }
-link:before { content: "Link: " }
-author:before, creator:before { content: "Author: " }
-description:before { content: "Description: " }
-id:before { content: "Id: " }
-
-generator:before { content: "Generator: " }
-language:before { content: "Language: " }
-lastBuildDate:before { content: "Updated: " }
-comments:before { content: "Comments page: " }
-
-tagline:before { content: "Tagline: " }
-issued:before { content: "Issued: " }
-created:before { content: "Created: " }
-modified:before { content: "Modified: " }
-updated:before { content: "Updated: " }
-summary:before { content: "Summary: " }
-comment:before { content: "Comment: " }
-
-pubDate:before, link:before, author:before, description:before,
-language:before, generator:before, lastBuildDate:before, comments:before,
-tagline:before, issued:before, created:before, modified:before,
-summary:before, comment:before, creator:before, id:before, updated:before {
- color: #224;
- font-weight: bold;
-}
-
-feed link:after {
- content: attr(href);
-}
diff --git a/skins/common/history.js b/skins/common/history.js
deleted file mode 100644
index 0265122..0000000
--- a/skins/common/history.js
+++ /dev/null
@@ -1,94 +0,0 @@
-function historyRadios(parent) {
- var inputs = parent.getElementsByTagName('input');
- var radios = [];
- for (var i = 0; i < inputs.length; i++) {
- if (inputs[i].name == "diff" || inputs[i].name == "oldid") {
- radios[radios.length] = inputs[i];
- }
- }
- return radios;
-}
-
-// check selection and tweak visibility/class onclick
-function diffcheck() {
- var dli = false; // the li where the diff radio is checked
- var oli = false; // the li where the oldid radio is checked
- var hf = document.getElementById('pagehistory');
- if (!hf) {
- return true;
- }
- var lis = hf.getElementsByTagName('li');
- for (var i=0;i<lis.length;i++) {
- var inputs = historyRadios(lis[i]);
- if (inputs[1] && inputs[0]) {
- if (inputs[1].checked || inputs[0].checked) { // this row has a checked radio button
- if (inputs[1].checked && inputs[0].checked && inputs[0].value == inputs[1].value) {
- return false;
- }
- if (oli) { // it's the second checked radio
- if (inputs[1].checked) {
- if ( (typeof oli.className) != 'undefined') {
- oli.classNameOriginal = oli.className.replace( 'selected', '' );
- } else {
- oli.classNameOriginal = '';
- }
-
- oli.className = "selected "+oli.classNameOriginal;
- return false;
- }
- } else if (inputs[0].checked) {
- return false;
- }
- if (inputs[0].checked) {
- dli = lis[i];
- }
- if (!oli) {
- inputs[0].style.visibility = 'hidden';
- }
- if (dli) {
- inputs[1].style.visibility = 'hidden';
- }
- if ( (typeof lis[i].className) != 'undefined') {
- lis[i].classNameOriginal = lis[i].className.replace( 'selected', '' );
- } else {
- lis[i].classNameOriginal = '';
- }
-
- lis[i].className = "selected "+lis[i].classNameOriginal;
- oli = lis[i];
- } else { // no radio is checked in this row
- if (!oli) {
- inputs[0].style.visibility = 'hidden';
- } else {
- inputs[0].style.visibility = 'visible';
- }
- if (dli) {
- inputs[1].style.visibility = 'hidden';
- } else {
- inputs[1].style.visibility = 'visible';
- }
- if ( typeof lis[i].classNameOriginal != 'undefined' ) {
- lis[i].className = lis[i].classNameOriginal;
- }
- }
- }
- }
- return true;
-}
-
-// Attach event handlers to the input elements on history page
-function histrowinit() {
- var hf = document.getElementById('pagehistory');
- if (!hf) return;
- var lis = hf.getElementsByTagName('li');
- for (var i = 0; i < lis.length; i++) {
- var inputs = historyRadios(lis[i]);
- if (inputs[0] && inputs[1]) {
- inputs[0].onclick = diffcheck;
- inputs[1].onclick = diffcheck;
- }
- }
- diffcheck();
-}
-
-hookEvent("load", histrowinit);
diff --git a/skins/common/htmlform.js b/skins/common/htmlform.js
deleted file mode 100644
index 2045ab4..0000000
--- a/skins/common/htmlform.js
+++ /dev/null
@@ -1,40 +0,0 @@
-// Find select-or-other fields.
-addOnloadHook( function() {
- var fields = getElementsByClassName( document, 'select', 'mw-htmlform-select-or-other' );
-
- for( var i = 0; i < fields.length; i++ ) {
- var select = fields[i];
-
- addHandler( select, 'change', htmlforms.selectOrOtherSelectChanged );
-
- // Use a fake 'e' to update it.
- htmlforms.selectOrOtherSelectChanged( { 'target': select } );
- }
-} );
-
-var htmlforms = {
- 'selectOrOtherSelectChanged' : function( e ) {
- var select;
- if ( !e ) {
- e = window.event;
- }
- if ( e.target ) {
- select = e.target;
- } else if ( e.srcElement ) {
- select = e.srcElement;
- }
- if ( select.nodeType == 3 ) { // defeat Safari bug
- select = select.parentNode;
- }
-
- var id = select.id;
- var textbox = document.getElementById( id + '-other' );
-
- if ( select.value == 'other' ) {
- textbox.disabled = false;
- } else {
- textbox.disabled = true;
- }
- }
-}
-
diff --git a/skins/common/images/Arr_.png b/skins/common/images/Arr_.png
deleted file mode 100644
index 8d8d5d9..0000000
--- a/skins/common/images/Arr_.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/Arr_d.png b/skins/common/images/Arr_d.png
deleted file mode 100644
index 421dd10..0000000
--- a/skins/common/images/Arr_d.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/Arr_l.png b/skins/common/images/Arr_l.png
deleted file mode 100644
index 9db6623..0000000
--- a/skins/common/images/Arr_l.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/Arr_r.png b/skins/common/images/Arr_r.png
deleted file mode 100644
index d1b161b..0000000
--- a/skins/common/images/Arr_r.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/Arr_u.png b/skins/common/images/Arr_u.png
deleted file mode 100644
index 7590986..0000000
--- a/skins/common/images/Arr_u.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/Checker-16x16.png b/skins/common/images/Checker-16x16.png
deleted file mode 100644
index 3e9e3d0..0000000
--- a/skins/common/images/Checker-16x16.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/Zoom_sans.gif b/skins/common/images/Zoom_sans.gif
deleted file mode 100644
index 56a49de..0000000
--- a/skins/common/images/Zoom_sans.gif
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/add.png b/skins/common/images/add.png
deleted file mode 100644
index 5b051f6..0000000
--- a/skins/common/images/add.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/ajax-loader.gif b/skins/common/images/ajax-loader.gif
deleted file mode 100644
index 3288d10..0000000
--- a/skins/common/images/ajax-loader.gif
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/ar/button_bold.png b/skins/common/images/ar/button_bold.png
deleted file mode 100644
index 93b1783..0000000
--- a/skins/common/images/ar/button_bold.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/ar/button_headline.png b/skins/common/images/ar/button_headline.png
deleted file mode 100644
index 3cf2a70..0000000
--- a/skins/common/images/ar/button_headline.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/ar/button_italic.png b/skins/common/images/ar/button_italic.png
deleted file mode 100644
index 0421846..0000000
--- a/skins/common/images/ar/button_italic.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/ar/button_link.png b/skins/common/images/ar/button_link.png
deleted file mode 100644
index ed66a7f..0000000
--- a/skins/common/images/ar/button_link.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/ar/button_nowiki.png b/skins/common/images/ar/button_nowiki.png
deleted file mode 100644
index 97d0585..0000000
--- a/skins/common/images/ar/button_nowiki.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/arrow_disabled_first_25.png b/skins/common/images/arrow_disabled_first_25.png
deleted file mode 100644
index aaa4bec..0000000
--- a/skins/common/images/arrow_disabled_first_25.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/arrow_disabled_last_25.png b/skins/common/images/arrow_disabled_last_25.png
deleted file mode 100644
index 7882fd8..0000000
--- a/skins/common/images/arrow_disabled_last_25.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/arrow_disabled_left_25.png b/skins/common/images/arrow_disabled_left_25.png
deleted file mode 100644
index e0c3004..0000000
--- a/skins/common/images/arrow_disabled_left_25.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/arrow_disabled_right_25.png b/skins/common/images/arrow_disabled_right_25.png
deleted file mode 100644
index bfec3e2..0000000
--- a/skins/common/images/arrow_disabled_right_25.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/arrow_first_25.png b/skins/common/images/arrow_first_25.png
deleted file mode 100644
index b6351c5..0000000
--- a/skins/common/images/arrow_first_25.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/arrow_last_25.png b/skins/common/images/arrow_last_25.png
deleted file mode 100644
index d416ab3..0000000
--- a/skins/common/images/arrow_last_25.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/arrow_left_25.png b/skins/common/images/arrow_left_25.png
deleted file mode 100644
index fd05fa6..0000000
--- a/skins/common/images/arrow_left_25.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/arrow_right_25.png b/skins/common/images/arrow_right_25.png
deleted file mode 100644
index cf1845c..0000000
--- a/skins/common/images/arrow_right_25.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/be-tarask/button_bold.png b/skins/common/images/be-tarask/button_bold.png
deleted file mode 100644
index d02aeee..0000000
--- a/skins/common/images/be-tarask/button_bold.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/be-tarask/button_italic.png b/skins/common/images/be-tarask/button_italic.png
deleted file mode 100644
index d93e9f8..0000000
--- a/skins/common/images/be-tarask/button_italic.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/be-tarask/button_link.png b/skins/common/images/be-tarask/button_link.png
deleted file mode 100644
index 07bc6a1..0000000
--- a/skins/common/images/be-tarask/button_link.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/bullet.gif b/skins/common/images/bullet.gif
deleted file mode 100644
index b43de48..0000000
--- a/skins/common/images/bullet.gif
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/button_bold.png b/skins/common/images/button_bold.png
deleted file mode 100644
index 2827dba..0000000
--- a/skins/common/images/button_bold.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/button_extlink.png b/skins/common/images/button_extlink.png
deleted file mode 100644
index e551e47..0000000
--- a/skins/common/images/button_extlink.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/button_headline.png b/skins/common/images/button_headline.png
deleted file mode 100644
index 9867c36..0000000
--- a/skins/common/images/button_headline.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/button_hr.png b/skins/common/images/button_hr.png
deleted file mode 100644
index 7f21402..0000000
--- a/skins/common/images/button_hr.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/button_image.png b/skins/common/images/button_image.png
deleted file mode 100644
index abd47dd..0000000
--- a/skins/common/images/button_image.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/button_italic.png b/skins/common/images/button_italic.png
deleted file mode 100644
index f248fa9..0000000
--- a/skins/common/images/button_italic.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/button_link.png b/skins/common/images/button_link.png
deleted file mode 100644
index cc72b52..0000000
--- a/skins/common/images/button_link.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/button_math.png b/skins/common/images/button_math.png
deleted file mode 100644
index 507e4b5..0000000
--- a/skins/common/images/button_math.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/button_media.png b/skins/common/images/button_media.png
deleted file mode 100644
index 56b1b23..0000000
--- a/skins/common/images/button_media.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/button_nowiki.png b/skins/common/images/button_nowiki.png
deleted file mode 100644
index 321a2cb..0000000
--- a/skins/common/images/button_nowiki.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/button_sig.png b/skins/common/images/button_sig.png
deleted file mode 100644
index 39de3b6..0000000
--- a/skins/common/images/button_sig.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/button_template.png b/skins/common/images/button_template.png
deleted file mode 100644
index ebbca3c..0000000
--- a/skins/common/images/button_template.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/cyrl/LICENSE b/skins/common/images/cyrl/LICENSE
deleted file mode 100644
index bedcec6..0000000
--- a/skins/common/images/cyrl/LICENSE
+++ /dev/null
@@ -1,17 +0,0 @@
-button_bold.png
----------------
-Source : http://commons.wikimedia.org/wiki/Image:Button_bold_ukr.png
-License: Public domain
-Author : Alexey Belomoev
-
-button_italic.png
-------------------------
-Source : http://commons.wikimedia.org/wiki/Image:Button_italic_ukr.png
-License: Public domain
-Author : Alexey Belomoev
-
-button_link.png
------------------
-Source : http://commons.wikimedia.org/wiki/Image:Button_internal_link_ukr.png
-License: GPL
-Author : Saproj, Erik Möller
diff --git a/skins/common/images/cyrl/button_bold.png b/skins/common/images/cyrl/button_bold.png
deleted file mode 100644
index 1c932f8..0000000
--- a/skins/common/images/cyrl/button_bold.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/cyrl/button_italic.png b/skins/common/images/cyrl/button_italic.png
deleted file mode 100644
index f79170f..0000000
--- a/skins/common/images/cyrl/button_italic.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/cyrl/button_link.png b/skins/common/images/cyrl/button_link.png
deleted file mode 100644
index aa28e85..0000000
--- a/skins/common/images/cyrl/button_link.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/de/button_bold.png b/skins/common/images/de/button_bold.png
deleted file mode 100644
index 32a2280..0000000
--- a/skins/common/images/de/button_bold.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/de/button_italic.png b/skins/common/images/de/button_italic.png
deleted file mode 100644
index 875eb2a..0000000
--- a/skins/common/images/de/button_italic.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/diffunderline.gif b/skins/common/images/diffunderline.gif
deleted file mode 100644
index e062c56..0000000
--- a/skins/common/images/diffunderline.gif
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/fa/button_bold.png b/skins/common/images/fa/button_bold.png
deleted file mode 100644
index 4968015..0000000
--- a/skins/common/images/fa/button_bold.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/fa/button_headline.png b/skins/common/images/fa/button_headline.png
deleted file mode 100644
index 9d62767..0000000
--- a/skins/common/images/fa/button_headline.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/fa/button_italic.png b/skins/common/images/fa/button_italic.png
deleted file mode 100644
index fc9faf3..0000000
--- a/skins/common/images/fa/button_italic.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/fa/button_link.png b/skins/common/images/fa/button_link.png
deleted file mode 100644
index de56a5c..0000000
--- a/skins/common/images/fa/button_link.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/fa/button_nowiki.png b/skins/common/images/fa/button_nowiki.png
deleted file mode 100644
index 97d0585..0000000
--- a/skins/common/images/fa/button_nowiki.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/feed-icon.png b/skins/common/images/feed-icon.png
deleted file mode 100644
index 7188fa2..0000000
--- a/skins/common/images/feed-icon.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/gnu-fdl.png b/skins/common/images/gnu-fdl.png
deleted file mode 100644
index 1091532..0000000
--- a/skins/common/images/gnu-fdl.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/icons/COPYING b/skins/common/images/icons/COPYING
deleted file mode 100644
index 136530a..0000000
--- a/skins/common/images/icons/COPYING
+++ /dev/null
@@ -1,43 +0,0 @@
-The icons used here are derived from the crystalsvg icons in the the
-pics/crystalsvg/ directory of kdelibs-3.4.0 they were modified on 2005-05-15
-by Ævar Arnfjörð Bjarmason for use in MediaWiki.
-
-What follows is the contents of the LICENSE.crystalsvg file found in the pics/
-subdirectory of kdelibs-3.4.0:
-
-++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-This copyright and license notice covers all CrystalSVG images.
-Note the license notice contains an add-on.
-********************************************************************************
-KDE Crystal theme icons.
-Copyright (C) 2002 and following years KDE Artists
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Lesser General Public
-License as published by the Free Software Foundation,
-version 2.1 of the License.
-This library is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-Lesser General Public License for more details.
-You should have received a copy of the GNU Lesser General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
- **** NOTE THIS ADD-ON ****
-The GNU Lesser General Public License or LGPL is written for software libraries
-in the first place. We expressly want the LGPL to be valid for this artwork
-library too.
-KDE Crystal theme icons is a special kind of software library, it is an
-artwork library, it's elements can be used in a Graphical User Interface, or
-GUI.
-Source code, for this library means:
- - for vectors svg;
- - for pixels, if applicable, the multi-layered formats xcf or psd, or
-otherwise png.
-The LGPL in some sections obliges you to make the files carry
-notices. With images this is in some cases impossible or hardly useful.
-With this library a notice is placed at a prominent place in the directory
-containing the elements. You may follow this practice.
-The exception in section 6 of the GNU Lesser General Public License covers
-the use of elements of this art library in a GUI.
-kde-artists [at] kde.org
-++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
diff --git a/skins/common/images/icons/fileicon-c.png b/skins/common/images/icons/fileicon-c.png
deleted file mode 100644
index f7984fa..0000000
--- a/skins/common/images/icons/fileicon-c.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/icons/fileicon-cpp.png b/skins/common/images/icons/fileicon-cpp.png
deleted file mode 100644
index 0a9b4cb..0000000
--- a/skins/common/images/icons/fileicon-cpp.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/icons/fileicon-deb.png b/skins/common/images/icons/fileicon-deb.png
deleted file mode 100644
index 605bea1..0000000
--- a/skins/common/images/icons/fileicon-deb.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/icons/fileicon-djvu.png b/skins/common/images/icons/fileicon-djvu.png
deleted file mode 100644
index 3eaca1f..0000000
--- a/skins/common/images/icons/fileicon-djvu.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/icons/fileicon-djvu.xcf b/skins/common/images/icons/fileicon-djvu.xcf
deleted file mode 100644
index 8043dcd..0000000
--- a/skins/common/images/icons/fileicon-djvu.xcf
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/icons/fileicon-dvi.png b/skins/common/images/icons/fileicon-dvi.png
deleted file mode 100644
index 790ec41..0000000
--- a/skins/common/images/icons/fileicon-dvi.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/icons/fileicon-exe.png b/skins/common/images/icons/fileicon-exe.png
deleted file mode 100644
index f310ad0..0000000
--- a/skins/common/images/icons/fileicon-exe.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/icons/fileicon-h.png b/skins/common/images/icons/fileicon-h.png
deleted file mode 100644
index cf15852..0000000
--- a/skins/common/images/icons/fileicon-h.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/icons/fileicon-html.png b/skins/common/images/icons/fileicon-html.png
deleted file mode 100644
index 1c3a158..0000000
--- a/skins/common/images/icons/fileicon-html.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/icons/fileicon-iso.png b/skins/common/images/icons/fileicon-iso.png
deleted file mode 100644
index 74b0661..0000000
--- a/skins/common/images/icons/fileicon-iso.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/icons/fileicon-java.png b/skins/common/images/icons/fileicon-java.png
deleted file mode 100644
index 730ab23..0000000
--- a/skins/common/images/icons/fileicon-java.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/icons/fileicon-mid.png b/skins/common/images/icons/fileicon-mid.png
deleted file mode 100644
index 5254418..0000000
--- a/skins/common/images/icons/fileicon-mid.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/icons/fileicon-mov.png b/skins/common/images/icons/fileicon-mov.png
deleted file mode 100644
index 37e479a..0000000
--- a/skins/common/images/icons/fileicon-mov.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/icons/fileicon-o.png b/skins/common/images/icons/fileicon-o.png
deleted file mode 100644
index 24ac2cc..0000000
--- a/skins/common/images/icons/fileicon-o.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/icons/fileicon-ogg.png b/skins/common/images/icons/fileicon-ogg.png
deleted file mode 100644
index c50d1ee..0000000
--- a/skins/common/images/icons/fileicon-ogg.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/icons/fileicon-ogg.xcf b/skins/common/images/icons/fileicon-ogg.xcf
deleted file mode 100644
index a91024b..0000000
--- a/skins/common/images/icons/fileicon-ogg.xcf
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/icons/fileicon-pdf.png b/skins/common/images/icons/fileicon-pdf.png
deleted file mode 100644
index c195c76..0000000
--- a/skins/common/images/icons/fileicon-pdf.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/icons/fileicon-ps.png b/skins/common/images/icons/fileicon-ps.png
deleted file mode 100644
index 342a84e..0000000
--- a/skins/common/images/icons/fileicon-ps.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/icons/fileicon-rm.png b/skins/common/images/icons/fileicon-rm.png
deleted file mode 100644
index 534dbeb..0000000
--- a/skins/common/images/icons/fileicon-rm.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/icons/fileicon-rpm.png b/skins/common/images/icons/fileicon-rpm.png
deleted file mode 100644
index aab3ec3..0000000
--- a/skins/common/images/icons/fileicon-rpm.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/icons/fileicon-svg.png b/skins/common/images/icons/fileicon-svg.png
deleted file mode 100644
index 16a666f..0000000
--- a/skins/common/images/icons/fileicon-svg.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/icons/fileicon-tar.png b/skins/common/images/icons/fileicon-tar.png
deleted file mode 100644
index 7266b5b..0000000
--- a/skins/common/images/icons/fileicon-tar.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/icons/fileicon-tex.png b/skins/common/images/icons/fileicon-tex.png
deleted file mode 100644
index 5518791..0000000
--- a/skins/common/images/icons/fileicon-tex.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/icons/fileicon-ttf.png b/skins/common/images/icons/fileicon-ttf.png
deleted file mode 100644
index 13bd7ce..0000000
--- a/skins/common/images/icons/fileicon-ttf.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/icons/fileicon-txt.png b/skins/common/images/icons/fileicon-txt.png
deleted file mode 100644
index bec58b4..0000000
--- a/skins/common/images/icons/fileicon-txt.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/icons/fileicon.png b/skins/common/images/icons/fileicon.png
deleted file mode 100644
index 5675170..0000000
--- a/skins/common/images/icons/fileicon.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/ksh/LICENSE b/skins/common/images/ksh/LICENSE
deleted file mode 100644
index ba56f97..0000000
--- a/skins/common/images/ksh/LICENSE
+++ /dev/null
@@ -1,7 +0,0 @@
-
-button_S_italic.png
--------------------
-Source : http://commons.wikimedia.org/wiki/Image:Button_S_italic.png
-License: Public domain
-Author : Purodha Blissenbach, http://ksh.wikipedia.org/wiki/User:Purodha
-
diff --git a/skins/common/images/ksh/button_S_italic.png b/skins/common/images/ksh/button_S_italic.png
deleted file mode 100644
index 00000a3..0000000
--- a/skins/common/images/ksh/button_S_italic.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/link_icon.gif b/skins/common/images/link_icon.gif
deleted file mode 100644
index 168c1a2..0000000
--- a/skins/common/images/link_icon.gif
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/magnify-clip.png b/skins/common/images/magnify-clip.png
deleted file mode 100644
index 00a9cee..0000000
--- a/skins/common/images/magnify-clip.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/mediawiki.png b/skins/common/images/mediawiki.png
deleted file mode 100644
index 0f35886..0000000
--- a/skins/common/images/mediawiki.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/nextredirectltr.png b/skins/common/images/nextredirectltr.png
deleted file mode 100644
index 7d60cdc..0000000
--- a/skins/common/images/nextredirectltr.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/nextredirectrtl.png b/skins/common/images/nextredirectrtl.png
deleted file mode 100644
index 3d5b395..0000000
--- a/skins/common/images/nextredirectrtl.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/poweredby_mediawiki_88x31.png b/skins/common/images/poweredby_mediawiki_88x31.png
deleted file mode 100644
index 3714414..0000000
--- a/skins/common/images/poweredby_mediawiki_88x31.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/public-domain.png b/skins/common/images/public-domain.png
deleted file mode 100644
index f51f560..0000000
--- a/skins/common/images/public-domain.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/redirectltr.png b/skins/common/images/redirectltr.png
deleted file mode 100644
index bcf5742..0000000
--- a/skins/common/images/redirectltr.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/redirectrtl.png b/skins/common/images/redirectrtl.png
deleted file mode 100644
index 8d99841..0000000
--- a/skins/common/images/redirectrtl.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/remove.png b/skins/common/images/remove.png
deleted file mode 100644
index 0cbf7d7..0000000
--- a/skins/common/images/remove.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/sort_down.gif b/skins/common/images/sort_down.gif
deleted file mode 100644
index d97e828..0000000
--- a/skins/common/images/sort_down.gif
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/sort_none.gif b/skins/common/images/sort_none.gif
deleted file mode 100644
index edd07e5..0000000
--- a/skins/common/images/sort_none.gif
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/sort_up.gif b/skins/common/images/sort_up.gif
deleted file mode 100644
index 488cf27..0000000
--- a/skins/common/images/sort_up.gif
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/spinner.gif b/skins/common/images/spinner.gif
deleted file mode 100644
index 37d3a43..0000000
--- a/skins/common/images/spinner.gif
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/tooltip_icon.png b/skins/common/images/tooltip_icon.png
deleted file mode 100644
index 6b3160e..0000000
--- a/skins/common/images/tooltip_icon.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/images/wiki.png b/skins/common/images/wiki.png
deleted file mode 100644
index 4f1dc26..0000000
--- a/skins/common/images/wiki.png
+++ /dev/null
Binary files differ
diff --git a/skins/common/jquery.js b/skins/common/jquery.js
deleted file mode 100644
index c25ee31..0000000
--- a/skins/common/jquery.js
+++ /dev/null
@@ -1,4384 +0,0 @@
-/*!
- * jQuery JavaScript Library v1.3.2
- * http://jquery.com/
- *
- * Copyright (c) 2009 John Resig
- * Dual licensed under the MIT and GPL licenses.
- * http://docs.jquery.com/License
- *
- * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009)
- * Revision: 6246
- */
-(function(){
-
-var
- // Will speed up references to window, and allows munging its name.
- window = this,
- // Will speed up references to undefined, and allows munging its name.
- undefined,
- // Map over jQuery in case of overwrite
- _jQuery = window.jQuery,
- // Map over the $ in case of overwrite
- _$ = window.$,
-
- jQuery = window.jQuery = window.$ = function( selector, context ) {
- // The jQuery object is actually just the init constructor 'enhanced'
- return new jQuery.fn.init( selector, context );
- },
-
- // A simple way to check for HTML strings or ID strings
- // (both of which we optimize for)
- quickExpr = /^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,
- // Is it a simple selector
- isSimple = /^.[^:#\[\.,]*$/;
-
-jQuery.fn = jQuery.prototype = {
- init: function( selector, context ) {
- // Make sure that a selection was provided
- selector = selector || document;
-
- // Handle $(DOMElement)
- if ( selector.nodeType ) {
- this[0] = selector;
- this.length = 1;
- this.context = selector;
- return this;
- }
- // Handle HTML strings
- if ( typeof selector === "string" ) {
- // Are we dealing with HTML string or an ID?
- var match = quickExpr.exec( selector );
-
- // Verify a match, and that no context was specified for #id
- if ( match && (match[1] || !context) ) {
-
- // HANDLE: $(html) -> $(array)
- if ( match[1] )
- selector = jQuery.clean( [ match[1] ], context );
-
- // HANDLE: $("#id")
- else {
- var elem = document.getElementById( match[3] );
-
- // Handle the case where IE and Opera return items
- // by name instead of ID
- if ( elem && elem.id != match[3] )
- return jQuery().find( selector );
-
- // Otherwise, we inject the element directly into the jQuery object
- var ret = jQuery( elem || [] );
- ret.context = document;
- ret.selector = selector;
- return ret;
- }
-
- // HANDLE: $(expr, [context])
- // (which is just equivalent to: $(content).find(expr)
- } else
- return jQuery( context ).find( selector );
-
- // HANDLE: $(function)
- // Shortcut for document ready
- } else if ( jQuery.isFunction( selector ) )
- return jQuery( document ).ready( selector );
-
- // Make sure that old selector state is passed along
- if ( selector.selector && selector.context ) {
- this.selector = selector.selector;
- this.context = selector.context;
- }
-
- return this.setArray(jQuery.isArray( selector ) ?
- selector :
- jQuery.makeArray(selector));
- },
-
- // Start with an empty selector
- selector: "",
-
- // The current version of jQuery being used
- jquery: "1.3.2",
-
- // The number of elements contained in the matched element set
- size: function() {
- return this.length;
- },
-
- // Get the Nth element in the matched element set OR
- // Get the whole matched element set as a clean array
- get: function( num ) {
- return num === undefined ?
-
- // Return a 'clean' array
- Array.prototype.slice.call( this ) :
-
- // Return just the object
- this[ num ];
- },
-
- // Take an array of elements and push it onto the stack
- // (returning the new matched element set)
- pushStack: function( elems, name, selector ) {
- // Build a new jQuery matched element set
- var ret = jQuery( elems );
-
- // Add the old object onto the stack (as a reference)
- ret.prevObject = this;
-
- ret.context = this.context;
-
- if ( name === "find" )
- ret.selector = this.selector + (this.selector ? " " : "") + selector;
- else if ( name )
- ret.selector = this.selector + "." + name + "(" + selector + ")";
-
- // Return the newly-formed element set
- return ret;
- },
-
- // Force the current matched set of elements to become
- // the specified array of elements (destroying the stack in the process)
- // You should use pushStack() in order to do this, but maintain the stack
- setArray: function( elems ) {
- // Resetting the length to 0, then using the native Array push
- // is a super-fast way to populate an object with array-like properties
- this.length = 0;
- Array.prototype.push.apply( this, elems );
-
- return this;
- },
-
- // Execute a callback for every element in the matched set.
- // (You can seed the arguments with an array of args, but this is
- // only used internally.)
- each: function( callback, args ) {
- return jQuery.each( this, callback, args );
- },
-
- // Determine the position of an element within
- // the matched set of elements
- index: function( elem ) {
- // Locate the position of the desired element
- return jQuery.inArray(
- // If it receives a jQuery object, the first element is used
- elem && elem.jquery ? elem[0] : elem
- , this );
- },
-
- attr: function( name, value, type ) {
- var options = name;
-
- // Look for the case where we're accessing a style value
- if ( typeof name === "string" )
- if ( value === undefined )
- return this[0] && jQuery[ type || "attr" ]( this[0], name );
-
- else {
- options = {};
- options[ name ] = value;
- }
-
- // Check to see if we're setting style values
- return this.each(function(i){
- // Set all the styles
- for ( name in options )
- jQuery.attr(
- type ?
- this.style :
- this,
- name, jQuery.prop( this, options[ name ], type, i, name )
- );
- });
- },
-
- css: function( key, value ) {
- // ignore negative width and height values
- if ( (key == 'width' || key == 'height') && parseFloat(value) < 0 )
- value = undefined;
- return this.attr( key, value, "curCSS" );
- },
-
- text: function( text ) {
- if ( typeof text !== "object" && text != null )
- return this.empty().append( (this[0] && this[0].ownerDocument || document).createTextNode( text ) );
-
- var ret = "";
-
- jQuery.each( text || this, function(){
- jQuery.each( this.childNodes, function(){
- if ( this.nodeType != 8 )
- ret += this.nodeType != 1 ?
- this.nodeValue :
- jQuery.fn.text( [ this ] );
- });
- });
-
- return ret;
- },
-
- wrapAll: function( html ) {
- if ( this[0] ) {
- // The elements to wrap the target around
- var wrap = jQuery( html, this[0].ownerDocument ).clone();
-
- if ( this[0].parentNode )
- wrap.insertBefore( this[0] );
-
- wrap.map(function(){
- var elem = this;
-
- while ( elem.firstChild )
- elem = elem.firstChild;
-
- return elem;
- }).append(this);
- }
-
- return this;
- },
-
- wrapInner: function( html ) {
- return this.each(function(){
- jQuery( this ).contents().wrapAll( html );
- });
- },
-
- wrap: function( html ) {
- return this.each(function(){
- jQuery( this ).wrapAll( html );
- });
- },
-
- append: function() {
- return this.domManip(arguments, true, function(elem){
- if (this.nodeType == 1)
- this.appendChild( elem );
- });
- },
-
- prepend: function() {
- return this.domManip(arguments, true, function(elem){
- if (this.nodeType == 1)
- this.insertBefore( elem, this.firstChild );
- });
- },
-
- before: function() {
- return this.domManip(arguments, false, function(elem){
- this.parentNode.insertBefore( elem, this );
- });
- },
-
- after: function() {
- return this.domManip(arguments, false, function(elem){
- this.parentNode.insertBefore( elem, this.nextSibling );
- });
- },
-
- end: function() {
- return this.prevObject || jQuery( [] );
- },
-
- // For internal use only.
- // Behaves like an Array's method, not like a jQuery method.
- push: [].push,
- sort: [].sort,
- splice: [].splice,
-
- find: function( selector ) {
- if ( this.length === 1 ) {
- var ret = this.pushStack( [], "find", selector );
- ret.length = 0;
- jQuery.find( selector, this[0], ret );
- return ret;
- } else {
- return this.pushStack( jQuery.unique(jQuery.map(this, function(elem){
- return jQuery.find( selector, elem );
- })), "find", selector );
- }
- },
-
- clone: function( events ) {
- // Do the clone
- var ret = this.map(function(){
- if ( !jQuery.support.noCloneEvent && !jQuery.isXMLDoc(this) ) {
- // IE copies events bound via attachEvent when
- // using cloneNode. Calling detachEvent on the
- // clone will also remove the events from the orignal
- // In order to get around this, we use innerHTML.
- // Unfortunately, this means some modifications to
- // attributes in IE that are actually only stored
- // as properties will not be copied (such as the
- // the name attribute on an input).
- var html = this.outerHTML;
- if ( !html ) {
- var div = this.ownerDocument.createElement("div");
- div.appendChild( this.cloneNode(true) );
- html = div.innerHTML;
- }
-
- return jQuery.clean([html.replace(/ jQuery\d+="(?:\d+|null)"/g, "").replace(/^\s*/, "")])[0];
- } else
- return this.cloneNode(true);
- });
-
- // Copy the events from the original to the clone
- if ( events === true ) {
- var orig = this.find("*").andSelf(), i = 0;
-
- ret.find("*").andSelf().each(function(){
- if ( this.nodeName !== orig[i].nodeName )
- return;
-
- var events = jQuery.data( orig[i], "events" );
-
- for ( var type in events ) {
- for ( var handler in events[ type ] ) {
- jQuery.event.add( this, type, events[ type ][ handler ], events[ type ][ handler ].data );
- }
- }
-
- i++;
- });
- }
-
- // Return the cloned set
- return ret;
- },
-
- filter: function( selector ) {
- return this.pushStack(
- jQuery.isFunction( selector ) &&
- jQuery.grep(this, function(elem, i){
- return selector.call( elem, i );
- }) ||
-
- jQuery.multiFilter( selector, jQuery.grep(this, function(elem){
- return elem.nodeType === 1;
- }) ), "filter", selector );
- },
-
- closest: function( selector ) {
- var pos = jQuery.expr.match.POS.test( selector ) ? jQuery(selector) : null,
- closer = 0;
-
- return this.map(function(){
- var cur = this;
- while ( cur && cur.ownerDocument ) {
- if ( pos ? pos.index(cur) > -1 : jQuery(cur).is(selector) ) {
- jQuery.data(cur, "closest", closer);
- return cur;
- }
- cur = cur.parentNode;
- closer++;
- }
- });
- },
-
- not: function( selector ) {
- if ( typeof selector === "string" )
- // test special case where just one selector is passed in
- if ( isSimple.test( selector ) )
- return this.pushStack( jQuery.multiFilter( selector, this, true ), "not", selector );
- else
- selector = jQuery.multiFilter( selector, this );
-
- var isArrayLike = selector.length && selector[selector.length - 1] !== undefined && !selector.nodeType;
- return this.filter(function() {
- return isArrayLike ? jQuery.inArray( this, selector ) < 0 : this != selector;
- });
- },
-
- add: function( selector ) {
- return this.pushStack( jQuery.unique( jQuery.merge(
- this.get(),
- typeof selector === "string" ?
- jQuery( selector ) :
- jQuery.makeArray( selector )
- )));
- },
-
- is: function( selector ) {
- return !!selector && jQuery.multiFilter( selector, this ).length > 0;
- },
-
- hasClass: function( selector ) {
- return !!selector && this.is( "." + selector );
- },
-
- val: function( value ) {
- if ( value === undefined ) {
- var elem = this[0];
-
- if ( elem ) {
- if( jQuery.nodeName( elem, 'option' ) )
- return (elem.attributes.value || {}).specified ? elem.value : elem.text;
-
- // We need to handle select boxes special
- if ( jQuery.nodeName( elem, "select" ) ) {
- var index = elem.selectedIndex,
- values = [],
- options = elem.options,
- one = elem.type == "select-one";
-
- // Nothing was selected
- if ( index < 0 )
- return null;
-
- // Loop through all the selected options
- for ( var i = one ? index : 0, max = one ? index + 1 : options.length; i < max; i++ ) {
- var option = options[ i ];
-
- if ( option.selected ) {
- // Get the specifc value for the option
- value = jQuery(option).val();
-
- // We don't need an array for one selects
- if ( one )
- return value;
-
- // Multi-Selects return an array
- values.push( value );
- }
- }
-
- return values;
- }
-
- // Everything else, we just grab the value
- return (elem.value || "").replace(/\r/g, "");
-
- }
-
- return undefined;
- }
-
- if ( typeof value === "number" )
- value += '';
-
- return this.each(function(){
- if ( this.nodeType != 1 )
- return;
-
- if ( jQuery.isArray(value) && /radio|checkbox/.test( this.type ) )
- this.checked = (jQuery.inArray(this.value, value) >= 0 ||
- jQuery.inArray(this.name, value) >= 0);
-
- else if ( jQuery.nodeName( this, "select" ) ) {
- var values = jQuery.makeArray(value);
-
- jQuery( "option", this ).each(function(){
- this.selected = (jQuery.inArray( this.value, values ) >= 0 ||
- jQuery.inArray( this.text, values ) >= 0);
- });
-
- if ( !values.length )
- this.selectedIndex = -1;
-
- } else
- this.value = value;
- });
- },
-
- html: function( value ) {
- return value === undefined ?
- (this[0] ?
- this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g, "") :
- null) :
- this.empty().append( value );
- },
-
- replaceWith: function( value ) {
- return this.after( value ).remove();
- },
-
- eq: function( i ) {
- return this.slice( i, +i + 1 );
- },
-
- slice: function() {
- return this.pushStack( Array.prototype.slice.apply( this, arguments ),
- "slice", Array.prototype.slice.call(arguments).join(",") );
- },
-
- map: function( callback ) {
- return this.pushStack( jQuery.map(this, function(elem, i){
- return callback.call( elem, i, elem );
- }));
- },
-
- andSelf: function() {
- return this.add( this.prevObject );
- },
-
- domManip: function( args, table, callback ) {
- if ( this[0] ) {
- var fragment = (this[0].ownerDocument || this[0]).createDocumentFragment(),
- scripts = jQuery.clean( args, (this[0].ownerDocument || this[0]), fragment ),
- first = fragment.firstChild;
-
- if ( first )
- for ( var i = 0, l = this.length; i < l; i++ )
- callback.call( root(this[i], first), this.length > 1 || i > 0 ?
- fragment.cloneNode(true) : fragment );
-
- if ( scripts )
- jQuery.each( scripts, evalScript );
- }
-
- return this;
-
- function root( elem, cur ) {
- return table && jQuery.nodeName(elem, "table") && jQuery.nodeName(cur, "tr") ?
- (elem.getElementsByTagName("tbody")[0] ||
- elem.appendChild(elem.ownerDocument.createElement("tbody"))) :
- elem;
- }
- }
-};
-
-// Give the init function the jQuery prototype for later instantiation
-jQuery.fn.init.prototype = jQuery.fn;
-
-function evalScript( i, elem ) {
- if ( elem.src )
- jQuery.ajax({
- url: elem.src,
- async: false,
- dataType: "script"
- });
-
- else
- jQuery.globalEval( elem.text || elem.textContent || elem.innerHTML || "" );
-
- if ( elem.parentNode )
- elem.parentNode.removeChild( elem );
-}
-
-function now(){
- return +new Date;
-}
-
-jQuery.extend = jQuery.fn.extend = function() {
- // copy reference to target object
- var target = arguments[0] || {}, i = 1, length = arguments.length, deep = false, options;
-
- // Handle a deep copy situation
- if ( typeof target === "boolean" ) {
- deep = target;
- target = arguments[1] || {};
- // skip the boolean and the target
- i = 2;
- }
-
- // Handle case when target is a string or something (possible in deep copy)
- if ( typeof target !== "object" && !jQuery.isFunction(target) )
- target = {};
-
- // extend jQuery itself if only one argument is passed
- if ( length == i ) {
- target = this;
- --i;
- }
-
- for ( ; i < length; i++ )
- // Only deal with non-null/undefined values
- if ( (options = arguments[ i ]) != null )
- // Extend the base object
- for ( var name in options ) {
- var src = target[ name ], copy = options[ name ];
-
- // Prevent never-ending loop
- if ( target === copy )
- continue;
-
- // Recurse if we're merging object values
- if ( deep && copy && typeof copy === "object" && !copy.nodeType )
- target[ name ] = jQuery.extend( deep,
- // Never move original objects, clone them
- src || ( copy.length != null ? [ ] : { } )
- , copy );
-
- // Don't bring in undefined values
- else if ( copy !== undefined )
- target[ name ] = copy;
-
- }
-
- // Return the modified object
- return target;
-};
-
-// exclude the following css properties to add px
-var exclude = /z-?index|font-?weight|opacity|zoom|line-?height/i,
- // cache defaultView
- defaultView = document.defaultView || {},
- toString = Object.prototype.toString;
-
-jQuery.extend({
- noConflict: function( deep ) {
- window.$ = _$;
-
- if ( deep )
- window.jQuery = _jQuery;
-
- return jQuery;
- },
-
- // See test/unit/core.js for details concerning isFunction.
- // Since version 1.3, DOM methods and functions like alert
- // aren't supported. They return false on IE (#2968).
- isFunction: function( obj ) {
- return toString.call(obj) === "[object Function]";
- },
-
- isArray: function( obj ) {
- return toString.call(obj) === "[object Array]";
- },
-
- // check if an element is in a (or is an) XML document
- isXMLDoc: function( elem ) {
- return elem.nodeType === 9 && elem.documentElement.nodeName !== "HTML" ||
- !!elem.ownerDocument && jQuery.isXMLDoc( elem.ownerDocument );
- },
-
- // Evalulates a script in a global context
- globalEval: function( data ) {
- if ( data && /\S/.test(data) ) {
- // Inspired by code by Andrea Giammarchi
- // http://webreflection.blogspot.com/2007/08/global-scope-evaluation-and-dom.html
- var head = document.getElementsByTagName("head")[0] || document.documentElement,
- script = document.createElement("script");
-
- script.type = "text/javascript";
- if ( jQuery.support.scriptEval )
- script.appendChild( document.createTextNode( data ) );
- else
- script.text = data;
-
- // Use insertBefore instead of appendChild to circumvent an IE6 bug.
- // This arises when a base node is used (#2709).
- head.insertBefore( script, head.firstChild );
- head.removeChild( script );
- }
- },
-
- nodeName: function( elem, name ) {
- return elem.nodeName && elem.nodeName.toUpperCase() == name.toUpperCase();
- },
-
- // args is for internal usage only
- each: function( object, callback, args ) {
- var name, i = 0, length = object.length;
-
- if ( args ) {
- if ( length === undefined ) {
- for ( name in object )
- if ( callback.apply( object[ name ], args ) === false )
- break;
- } else
- for ( ; i < length; )
- if ( callback.apply( object[ i++ ], args ) === false )
- break;
-
- // A special, fast, case for the most common use of each
- } else {
- if ( length === undefined ) {
- for ( name in object )
- if ( callback.call( object[ name ], name, object[ name ] ) === false )
- break;
- } else
- for ( var value = object[0];
- i < length && callback.call( value, i, value ) !== false; value = object[++i] ){}
- }
-
- return object;
- },
-
- prop: function( elem, value, type, i, name ) {
- // Handle executable functions
- if ( jQuery.isFunction( value ) )
- value = value.call( elem, i );
-
- // Handle passing in a number to a CSS property
- return typeof value === "number" && type == "curCSS" && !exclude.test( name ) ?
- value + "px" :
- value;
- },
-
- className: {
- // internal only, use addClass("class")
- add: function( elem, classNames ) {
- jQuery.each((classNames || "").split(/\s+/), function(i, className){
- if ( elem.nodeType == 1 && !jQuery.className.has( elem.className, className ) )
- elem.className += (elem.className ? " " : "") + className;
- });
- },
-
- // internal only, use removeClass("class")
- remove: function( elem, classNames ) {
- if (elem.nodeType == 1)
- elem.className = classNames !== undefined ?
- jQuery.grep(elem.className.split(/\s+/), function(className){
- return !jQuery.className.has( classNames, className );
- }).join(" ") :
- "";
- },
-
- // internal only, use hasClass("class")
- has: function( elem, className ) {
- return elem && jQuery.inArray( className, (elem.className || elem).toString().split(/\s+/) ) > -1;
- }
- },
-
- // A method for quickly swapping in/out CSS properties to get correct calculations
- swap: function( elem, options, callback ) {
- var old = {};
- // Remember the old values, and insert the new ones
- for ( var name in options ) {
- old[ name ] = elem.style[ name ];
- elem.style[ name ] = options[ name ];
- }
-
- callback.call( elem );
-
- // Revert the old values
- for ( var name in options )
- elem.style[ name ] = old[ name ];
- },
-
- css: function( elem, name, force, extra ) {
- if ( name == "width" || name == "height" ) {
- var val, props = { position: "absolute", visibility: "hidden", display:"block" }, which = name == "width" ? [ "Left", "Right" ] : [ "Top", "Bottom" ];
-
- function getWH() {
- val = name == "width" ? elem.offsetWidth : elem.offsetHeight;
-
- if ( extra === "border" )
- return;
-
- jQuery.each( which, function() {
- if ( !extra )
- val -= parseFloat(jQuery.curCSS( elem, "padding" + this, true)) || 0;
- if ( extra === "margin" )
- val += parseFloat(jQuery.curCSS( elem, "margin" + this, true)) || 0;
- else
- val -= parseFloat(jQuery.curCSS( elem, "border" + this + "Width", true)) || 0;
- });
- }
-
- if ( elem.offsetWidth !== 0 )
- getWH();
- else
- jQuery.swap( elem, props, getWH );
-
- return Math.max(0, Math.round(val));
- }
-
- return jQuery.curCSS( elem, name, force );
- },
-
- curCSS: function( elem, name, force ) {
- var ret, style = elem.style;
-
- // We need to handle opacity special in IE
- if ( name == "opacity" && !jQuery.support.opacity ) {
- ret = jQuery.attr( style, "opacity" );
-
- return ret == "" ?
- "1" :
- ret;
- }
-
- // Make sure we're using the right name for getting the float value
- if ( name.match( /float/i ) )
- name = styleFloat;
-
- if ( !force && style && style[ name ] )
- ret = style[ name ];
-
- else if ( defaultView.getComputedStyle ) {
-
- // Only "float" is needed here
- if ( name.match( /float/i ) )
- name = "float";
-
- name = name.replace( /([A-Z])/g, "-$1" ).toLowerCase();
- try{
- var computedStyle = defaultView.getComputedStyle( elem, null );
- }catch(e){
- // Error in getting computedStyle
- }
- if ( computedStyle )
- ret = computedStyle.getPropertyValue( name );
-
- // We should always get a number back from opacity
- if ( name == "opacity" && ret == "" )
- ret = "1";
-
- } else if ( elem.currentStyle ) {
- var camelCase = name.replace(/\-(\w)/g, function(all, letter){
- return letter.toUpperCase();
- });
-
- ret = elem.currentStyle[ name ] || elem.currentStyle[ camelCase ];
-
- // From the awesome hack by Dean Edwards
- // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291
-
- // If we're not dealing with a regular pixel number
- // but a number that has a weird ending, we need to convert it to pixels
- if ( !/^\d+(px)?$/i.test( ret ) && /^\d/.test( ret ) ) {
- // Remember the original values
- var left = style.left, rsLeft = elem.runtimeStyle.left;
-
- // Put in the new values to get a computed value out
- elem.runtimeStyle.left = elem.currentStyle.left;
- style.left = ret || 0;
- ret = style.pixelLeft + "px";
-
- // Revert the changed values
- style.left = left;
- elem.runtimeStyle.left = rsLeft;
- }
- }
-
- return ret;
- },
-
- clean: function( elems, context, fragment ) {
- context = context || document;
-
- // !context.createElement fails in IE with an error but returns typeof 'object'
- if ( typeof context.createElement === "undefined" )
- context = context.ownerDocument || context[0] && context[0].ownerDocument || document;
-
- // If a single string is passed in and it's a single tag
- // just do a createElement and skip the rest
- if ( !fragment && elems.length === 1 && typeof elems[0] === "string" ) {
- var match = /^<(\w+)\s*\/?>$/.exec(elems[0]);
- if ( match )
- return [ context.createElement( match[1] ) ];
- }
-
- var ret = [], scripts = [], div = context.createElement("div");
-
- jQuery.each(elems, function(i, elem){
- if ( typeof elem === "number" )
- elem += '';
-
- if ( !elem )
- return;
-
- // Convert html string into DOM nodes
- if ( typeof elem === "string" ) {
- // Fix "XHTML"-style tags in all browsers
- elem = elem.replace(/(<(\w+)[^>]*?)\/>/g, function(all, front, tag){
- return tag.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i) ?
- all :
- front + "></" + tag + ">";
- });
-
- // Trim whitespace, otherwise indexOf won't work as expected
- var tags = elem.replace(/^\s+/, "").substring(0, 10).toLowerCase();
-
- var wrap =
- // option or optgroup
- !tags.indexOf("<opt") &&
- [ 1, "<select multiple='multiple'>", "</select>" ] ||
-
- !tags.indexOf("<leg") &&
- [ 1, "<fieldset>", "</fieldset>" ] ||
-
- tags.match(/^<(thead|tbody|tfoot|colg|cap)/) &&
- [ 1, "<table>", "</table>" ] ||
-
- !tags.indexOf("<tr") &&
- [ 2, "<table><tbody>", "</tbody></table>" ] ||
-
- // <thead> matched above
- (!tags.indexOf("<td") || !tags.indexOf("<th")) &&
- [ 3, "<table><tbody><tr>", "</tr></tbody></table>" ] ||
-
- !tags.indexOf("<col") &&
- [ 2, "<table><tbody></tbody><colgroup>", "</colgroup></table>" ] ||
-
- // IE can't serialize <link> and <script> tags normally
- !jQuery.support.htmlSerialize &&
- [ 1, "div<div>", "</div>" ] ||
-
- [ 0, "", "" ];
-
- // Go to html and back, then peel off extra wrappers
- div.innerHTML = wrap[1] + elem + wrap[2];
-
- // Move to the right depth
- while ( wrap[0]-- )
- div = div.lastChild;
-
- // Remove IE's autoinserted <tbody> from table fragments
- if ( !jQuery.support.tbody ) {
-
- // String was a <table>, *may* have spurious <tbody>
- var hasBody = /<tbody/i.test(elem),
- tbody = !tags.indexOf("<table") && !hasBody ?
- div.firstChild && div.firstChild.childNodes :
-
- // String was a bare <thead> or <tfoot>
- wrap[1] == "<table>" && !hasBody ?
- div.childNodes :
- [];
-
- for ( var j = tbody.length - 1; j >= 0 ; --j )
- if ( jQuery.nodeName( tbody[ j ], "tbody" ) && !tbody[ j ].childNodes.length )
- tbody[ j ].parentNode.removeChild( tbody[ j ] );
-
- }
-
- // IE completely kills leading whitespace when innerHTML is used
- if ( !jQuery.support.leadingWhitespace && /^\s/.test( elem ) )
- div.insertBefore( context.createTextNode( elem.match(/^\s*/)[0] ), div.firstChild );
-
- elem = jQuery.makeArray( div.childNodes );
- }
-
- if ( elem.nodeType )
- ret.push( elem );
- else
- ret = jQuery.merge( ret, elem );
-
- });
-
- if ( fragment ) {
- for ( var i = 0; ret[i]; i++ ) {
- if ( jQuery.nodeName( ret[i], "script" ) && (!ret[i].type || ret[i].type.toLowerCase() === "text/javascript") ) {
- scripts.push( ret[i].parentNode ? ret[i].parentNode.removeChild( ret[i] ) : ret[i] );
- } else {
- if ( ret[i].nodeType === 1 )
- ret.splice.apply( ret, [i + 1, 0].concat(jQuery.makeArray(ret[i].getElementsByTagName("script"))) );
- fragment.appendChild( ret[i] );
- }
- }
-
- return scripts;
- }
-
- return ret;
- },
-
- attr: function( elem, name, value ) {
- // don't set attributes on text and comment nodes
- if (!elem || elem.nodeType == 3 || elem.nodeType == 8)
- return undefined;
-
- var notxml = !jQuery.isXMLDoc( elem ),
- // Whether we are setting (or getting)
- set = value !== undefined;
-
- // Try to normalize/fix the name
- name = notxml && jQuery.props[ name ] || name;
-
- // Only do all the following if this is a node (faster for style)
- // IE elem.getAttribute passes even for style
- if ( elem.tagName ) {
-
- // These attributes require special treatment
- var special = /href|src|style/.test( name );
-
- // Safari mis-reports the default selected property of a hidden option
- // Accessing the parent's selectedIndex property fixes it
- if ( name == "selected" && elem.parentNode )
- elem.parentNode.selectedIndex;
-
- // If applicable, access the attribute via the DOM 0 way
- if ( name in elem && notxml && !special ) {
- if ( set ){
- // We can't allow the type property to be changed (since it causes problems in IE)
- if ( name == "type" && jQuery.nodeName( elem, "input" ) && elem.parentNode )
- throw "type property can't be changed";
-
- elem[ name ] = value;
- }
-
- // browsers index elements by id/name on forms, give priority to attributes.
- if( jQuery.nodeName( elem, "form" ) && elem.getAttributeNode(name) )
- return elem.getAttributeNode( name ).nodeValue;
-
- // elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set
- // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/
- if ( name == "tabIndex" ) {
- var attributeNode = elem.getAttributeNode( "tabIndex" );
- return attributeNode && attributeNode.specified
- ? attributeNode.value
- : elem.nodeName.match(/(button|input|object|select|textarea)/i)
- ? 0
- : elem.nodeName.match(/^(a|area)$/i) && elem.href
- ? 0
- : undefined;
- }
-
- return elem[ name ];
- }
-
- if ( !jQuery.support.style && notxml && name == "style" )
- return jQuery.attr( elem.style, "cssText", value );
-
- if ( set )
- // convert the value to a string (all browsers do this but IE) see #1070
- elem.setAttribute( name, "" + value );
-
- var attr = !jQuery.support.hrefNormalized && notxml && special
- // Some attributes require a special call on IE
- ? elem.getAttribute( name, 2 )
- : elem.getAttribute( name );
-
- // Non-existent attributes return null, we normalize to undefined
- return attr === null ? undefined : attr;
- }
-
- // elem is actually elem.style ... set the style
-
- // IE uses filters for opacity
- if ( !jQuery.support.opacity && name == "opacity" ) {
- if ( set ) {
- // IE has trouble with opacity if it does not have layout
- // Force it by setting the zoom level
- elem.zoom = 1;
-
- // Set the alpha filter to set the opacity
- elem.filter = (elem.filter || "").replace( /alpha\([^)]*\)/, "" ) +
- (parseInt( value ) + '' == "NaN" ? "" : "alpha(opacity=" + value * 100 + ")");
- }
-
- return elem.filter && elem.filter.indexOf("opacity=") >= 0 ?
- (parseFloat( elem.filter.match(/opacity=([^)]*)/)[1] ) / 100) + '':
- "";
- }
-
- name = name.replace(/-([a-z])/ig, function(all, letter){
- return letter.toUpperCase();
- });
-
- if ( set && value != 'NaNpx' && value != 'nullpx' ) // Patched by Trevor, see http://is.gd/5NXiD
- elem[ name ] = value;
-
- return elem[ name ];
- },
-
- trim: function( text ) {
- return (text || "").replace( /^\s+|\s+$/g, "" );
- },
-
- makeArray: function( array ) {
- var ret = [];
-
- if( array != null ){
- var i = array.length;
- // The window, strings (and functions) also have 'length'
- if( i == null || typeof array === "string" || jQuery.isFunction(array) || array.setInterval )
- ret[0] = array;
- else
- while( i )
- ret[--i] = array[i];
- }
-
- return ret;
- },
-
- inArray: function( elem, array ) {
- for ( var i = 0, length = array.length; i < length; i++ )
- // Use === because on IE, window == document
- if ( array[ i ] === elem )
- return i;
-
- return -1;
- },
-
- merge: function( first, second ) {
- // We have to loop this way because IE & Opera overwrite the length
- // expando of getElementsByTagName
- var i = 0, elem, pos = first.length;
- // Also, we need to make sure that the correct elements are being returned
- // (IE returns comment nodes in a '*' query)
- if ( !jQuery.support.getAll ) {
- while ( (elem = second[ i++ ]) != null )
- if ( elem.nodeType != 8 )
- first[ pos++ ] = elem;
-
- } else
- while ( (elem = second[ i++ ]) != null )
- first[ pos++ ] = elem;
-
- return first;
- },
-
- unique: function( array ) {
- var ret = [], done = {};
-
- try {
-
- for ( var i = 0, length = array.length; i < length; i++ ) {
- var id = jQuery.data( array[ i ] );
-
- if ( !done[ id ] ) {
- done[ id ] = true;
- ret.push( array[ i ] );
- }
- }
-
- } catch( e ) {
- ret = array;
- }
-
- return ret;
- },
-
- grep: function( elems, callback, inv ) {
- var ret = [];
-
- // Go through the array, only saving the items
- // that pass the validator function
- for ( var i = 0, length = elems.length; i < length; i++ )
- if ( !inv != !callback( elems[ i ], i ) )
- ret.push( elems[ i ] );
-
- return ret;
- },
-
- map: function( elems, callback ) {
- var ret = [];
-
- // Go through the array, translating each of the items to their
- // new value (or values).
- for ( var i = 0, length = elems.length; i < length; i++ ) {
- var value = callback( elems[ i ], i );
-
- if ( value != null )
- ret[ ret.length ] = value;
- }
-
- return ret.concat.apply( [], ret );
- }
-});
-
-// Use of jQuery.browser is deprecated.
-// It's included for backwards compatibility and plugins,
-// although they should work to migrate away.
-
-var userAgent = navigator.userAgent.toLowerCase();
-
-// Figure out what browser is being used
-jQuery.browser = {
- version: (userAgent.match( /.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/ ) || [0,'0'])[1],
- safari: /webkit/.test( userAgent ),
- opera: /opera/.test( userAgent ),
- msie: /msie/.test( userAgent ) && !/opera/.test( userAgent ),
- mozilla: /mozilla/.test( userAgent ) && !/(compatible|webkit)/.test( userAgent )
-};
-
-jQuery.each({
- parent: function(elem){return elem.parentNode;},
- parents: function(elem){return jQuery.dir(elem,"parentNode");},
- next: function(elem){return jQuery.nth(elem,2,"nextSibling");},
- prev: function(elem){return jQuery.nth(elem,2,"previousSibling");},
- nextAll: function(elem){return jQuery.dir(elem,"nextSibling");},
- prevAll: function(elem){return jQuery.dir(elem,"previousSibling");},
- siblings: function(elem){return jQuery.sibling(elem.parentNode.firstChild,elem);},
- children: function(elem){return jQuery.sibling(elem.firstChild);},
- contents: function(elem){return jQuery.nodeName(elem,"iframe")?elem.contentDocument||elem.contentWindow.document:jQuery.makeArray(elem.childNodes);}
-}, function(name, fn){
- jQuery.fn[ name ] = function( selector ) {
- var ret = jQuery.map( this, fn );
-
- if ( selector && typeof selector == "string" )
- ret = jQuery.multiFilter( selector, ret );
-
- return this.pushStack( jQuery.unique( ret ), name, selector );
- };
-});
-
-jQuery.each({
- appendTo: "append",
- prependTo: "prepend",
- insertBefore: "before",
- insertAfter: "after",
- replaceAll: "replaceWith"
-}, function(name, original){
- jQuery.fn[ name ] = function( selector ) {
- var ret = [], insert = jQuery( selector );
-
- for ( var i = 0, l = insert.length; i < l; i++ ) {
- var elems = (i > 0 ? this.clone(true) : this).get();
- jQuery.fn[ original ].apply( jQuery(insert[i]), elems );
- ret = ret.concat( elems );
- }
-
- return this.pushStack( ret, name, selector );
- };
-});
-
-jQuery.each({
- removeAttr: function( name ) {
- jQuery.attr( this, name, "" );
- if (this.nodeType == 1)
- this.removeAttribute( name );
- },
-
- addClass: function( classNames ) {
- jQuery.className.add( this, classNames );
- },
-
- removeClass: function( classNames ) {
- jQuery.className.remove( this, classNames );
- },
-
- toggleClass: function( classNames, state ) {
- if( typeof state !== "boolean" )
- state = !jQuery.className.has( this, classNames );
- jQuery.className[ state ? "add" : "remove" ]( this, classNames );
- },
-
- remove: function( selector ) {
- if ( !selector || jQuery.filter( selector, [ this ] ).length ) {
- // Prevent memory leaks
- jQuery( "*", this ).add([this]).each(function(){
- jQuery.event.remove(this);
- jQuery.removeData(this);
- });
- if (this.parentNode)
- this.parentNode.removeChild( this );
- }
- },
-
- empty: function() {
- // Remove element nodes and prevent memory leaks
- jQuery(this).children().remove();
-
- // Remove any remaining nodes
- while ( this.firstChild )
- this.removeChild( this.firstChild );
- }
-}, function(name, fn){
- jQuery.fn[ name ] = function(){
- return this.each( fn, arguments );
- };
-});
-
-// Helper function used by the dimensions and offset modules
-function num(elem, prop) {
- return elem[0] && parseInt( jQuery.curCSS(elem[0], prop, true), 10 ) || 0;
-}
-var expando = "jQuery" + now(), uuid = 0, windowData = {};
-
-jQuery.extend({
- cache: {},
-
- data: function( elem, name, data ) {
- elem = elem == window ?
- windowData :
- elem;
-
- var id = elem[ expando ];
-
- // Compute a unique ID for the element
- if ( !id )
- id = elem[ expando ] = ++uuid;
-
- // Only generate the data cache if we're
- // trying to access or manipulate it
- if ( name && !jQuery.cache[ id ] )
- jQuery.cache[ id ] = {};
-
- // Prevent overriding the named cache with undefined values
- if ( data !== undefined )
- jQuery.cache[ id ][ name ] = data;
-
- // Return the named cache data, or the ID for the element
- return name ?
- jQuery.cache[ id ][ name ] :
- id;
- },
-
- removeData: function( elem, name ) {
- elem = elem == window ?
- windowData :
- elem;
-
- var id = elem[ expando ];
-
- // If we want to remove a specific section of the element's data
- if ( name ) {
- if ( jQuery.cache[ id ] ) {
- // Remove the section of cache data
- delete jQuery.cache[ id ][ name ];
-
- // If we've removed all the data, remove the element's cache
- name = "";
-
- for ( name in jQuery.cache[ id ] )
- break;
-
- if ( !name )
- jQuery.removeData( elem );
- }
-
- // Otherwise, we want to remove all of the element's data
- } else {
- // Clean up the element expando
- try {
- delete elem[ expando ];
- } catch(e){
- // IE has trouble directly removing the expando
- // but it's ok with using removeAttribute
- if ( elem.removeAttribute )
- elem.removeAttribute( expando );
- }
-
- // Completely remove the data cache
- delete jQuery.cache[ id ];
- }
- },
- queue: function( elem, type, data ) {
- if ( elem ){
-
- type = (type || "fx") + "queue";
-
- var q = jQuery.data( elem, type );
-
- if ( !q || jQuery.isArray(data) )
- q = jQuery.data( elem, type, jQuery.makeArray(data) );
- else if( data )
- q.push( data );
-
- }
- return q;
- },
-
- dequeue: function( elem, type ){
- var queue = jQuery.queue( elem, type ),
- fn = queue.shift();
-
- if( !type || type === "fx" )
- fn = queue[0];
-
- if( fn !== undefined )
- fn.call(elem);
- }
-});
-
-jQuery.fn.extend({
- data: function( key, value ){
- var parts = key.split(".");
- parts[1] = parts[1] ? "." + parts[1] : "";
-
- if ( value === undefined ) {
- var data = this.triggerHandler("getData" + parts[1] + "!", [parts[0]]);
-
- if ( data === undefined && this.length )
- data = jQuery.data( this[0], key );
-
- return data === undefined && parts[1] ?
- this.data( parts[0] ) :
- data;
- } else
- return this.trigger("setData" + parts[1] + "!", [parts[0], value]).each(function(){
- jQuery.data( this, key, value );
- });
- },
-
- removeData: function( key ){
- return this.each(function(){
- jQuery.removeData( this, key );
- });
- },
- queue: function(type, data){
- if ( typeof type !== "string" ) {
- data = type;
- type = "fx";
- }
-
- if ( data === undefined )
- return jQuery.queue( this[0], type );
-
- return this.each(function(){
- var queue = jQuery.queue( this, type, data );
-
- if( type == "fx" && queue.length == 1 )
- queue[0].call(this);
- });
- },
- dequeue: function(type){
- return this.each(function(){
- jQuery.dequeue( this, type );
- });
- }
-});/*!
- * Sizzle CSS Selector Engine - v0.9.3
- * Copyright 2009, The Dojo Foundation
- * Released under the MIT, BSD, and GPL Licenses.
- * More information: http://sizzlejs.com/
- */
-(function(){
-
-var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,
- done = 0,
- toString = Object.prototype.toString;
-
-var Sizzle = function(selector, context, results, seed) {
- results = results || [];
- context = context || document;
-
- if ( context.nodeType !== 1 && context.nodeType !== 9 )
- return [];
-
- if ( !selector || typeof selector !== "string" ) {
- return results;
- }
-
- var parts = [], m, set, checkSet, check, mode, extra, prune = true;
-
- // Reset the position of the chunker regexp (start from head)
- chunker.lastIndex = 0;
-
- while ( (m = chunker.exec(selector)) !== null ) {
- parts.push( m[1] );
-
- if ( m[2] ) {
- extra = RegExp.rightContext;
- break;
- }
- }
-
- if ( parts.length > 1 && origPOS.exec( selector ) ) {
- if ( parts.length === 2 && Expr.relative[ parts[0] ] ) {
- set = posProcess( parts[0] + parts[1], context );
- } else {
- set = Expr.relative[ parts[0] ] ?
- [ context ] :
- Sizzle( parts.shift(), context );
-
- while ( parts.length ) {
- selector = parts.shift();
-
- if ( Expr.relative[ selector ] )
- selector += parts.shift();
-
- set = posProcess( selector, set );
- }
- }
- } else {
- var ret = seed ?
- { expr: parts.pop(), set: makeArray(seed) } :
- Sizzle.find( parts.pop(), parts.length === 1 && context.parentNode ? context.parentNode : context, isXML(context) );
- set = Sizzle.filter( ret.expr, ret.set );
-
- if ( parts.length > 0 ) {
- checkSet = makeArray(set);
- } else {
- prune = false;
- }
-
- while ( parts.length ) {
- var cur = parts.pop(), pop = cur;
-
- if ( !Expr.relative[ cur ] ) {
- cur = "";
- } else {
- pop = parts.pop();
- }
-
- if ( pop == null ) {
- pop = context;
- }
-
- Expr.relative[ cur ]( checkSet, pop, isXML(context) );
- }
- }
-
- if ( !checkSet ) {
- checkSet = set;
- }
-
- if ( !checkSet ) {
- throw "Syntax error, unrecognized expression: " + (cur || selector);
- }
-
- if ( toString.call(checkSet) === "[object Array]" ) {
- if ( !prune ) {
- results.push.apply( results, checkSet );
- } else if ( context.nodeType === 1 ) {
- for ( var i = 0; checkSet[i] != null; i++ ) {
- if ( checkSet[i] && (checkSet[i] === true || checkSet[i].nodeType === 1 && contains(context, checkSet[i])) ) {
- results.push( set[i] );
- }
- }
- } else {
- for ( var i = 0; checkSet[i] != null; i++ ) {
- if ( checkSet[i] && checkSet[i].nodeType === 1 ) {
- results.push( set[i] );
- }
- }
- }
- } else {
- makeArray( checkSet, results );
- }
-
- if ( extra ) {
- Sizzle( extra, context, results, seed );
-
- if ( sortOrder ) {
- hasDuplicate = false;
- results.sort(sortOrder);
-
- if ( hasDuplicate ) {
- for ( var i = 1; i < results.length; i++ ) {
- if ( results[i] === results[i-1] ) {
- results.splice(i--, 1);
- }
- }
- }
- }
- }
-
- return results;
-};
-
-Sizzle.matches = function(expr, set){
- return Sizzle(expr, null, null, set);
-};
-
-Sizzle.find = function(expr, context, isXML){
- var set, match;
-
- if ( !expr ) {
- return [];
- }
-
- for ( var i = 0, l = Expr.order.length; i < l; i++ ) {
- var type = Expr.order[i], match;
-
- if ( (match = Expr.match[ type ].exec( expr )) ) {
- var left = RegExp.leftContext;
-
- if ( left.substr( left.length - 1 ) !== "\\" ) {
- match[1] = (match[1] || "").replace(/\\/g, "");
- set = Expr.find[ type ]( match, context, isXML );
- if ( set != null ) {
- expr = expr.replace( Expr.match[ type ], "" );
- break;
- }
- }
- }
- }
-
- if ( !set ) {
- set = context.getElementsByTagName("*");
- }
-
- return {set: set, expr: expr};
-};
-
-Sizzle.filter = function(expr, set, inplace, not){
- var old = expr, result = [], curLoop = set, match, anyFound,
- isXMLFilter = set && set[0] && isXML(set[0]);
-
- while ( expr && set.length ) {
- for ( var type in Expr.filter ) {
- if ( (match = Expr.match[ type ].exec( expr )) != null ) {
- var filter = Expr.filter[ type ], found, item;
- anyFound = false;
-
- if ( curLoop == result ) {
- result = [];
- }
-
- if ( Expr.preFilter[ type ] ) {
- match = Expr.preFilter[ type ]( match, curLoop, inplace, result, not, isXMLFilter );
-
- if ( !match ) {
- anyFound = found = true;
- } else if ( match === true ) {
- continue;
- }
- }
-
- if ( match ) {
- for ( var i = 0; (item = curLoop[i]) != null; i++ ) {
- if ( item ) {
- found = filter( item, match, i, curLoop );
- var pass = not ^ !!found;
-
- if ( inplace && found != null ) {
- if ( pass ) {
- anyFound = true;
- } else {
- curLoop[i] = false;
- }
- } else if ( pass ) {
- result.push( item );
- anyFound = true;
- }
- }
- }
- }
-
- if ( found !== undefined ) {
- if ( !inplace ) {
- curLoop = result;
- }
-
- expr = expr.replace( Expr.match[ type ], "" );
-
- if ( !anyFound ) {
- return [];
- }
-
- break;
- }
- }
- }
-
- // Improper expression
- if ( expr == old ) {
- if ( anyFound == null ) {
- throw "Syntax error, unrecognized expression: " + expr;
- } else {
- break;
- }
- }
-
- old = expr;
- }
-
- return curLoop;
-};
-
-var Expr = Sizzle.selectors = {
- order: [ "ID", "NAME", "TAG" ],
- match: {
- ID: /#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,
- CLASS: /\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,
- NAME: /\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/,
- ATTR: /\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,
- TAG: /^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,
- CHILD: /:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,
- POS: /:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,
- PSEUDO: /:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/
- },
- attrMap: {
- "class": "className",
- "for": "htmlFor"
- },
- attrHandle: {
- href: function(elem){
- return elem.getAttribute("href");
- }
- },
- relative: {
- "+": function(checkSet, part, isXML){
- var isPartStr = typeof part === "string",
- isTag = isPartStr && !/\W/.test(part),
- isPartStrNotTag = isPartStr && !isTag;
-
- if ( isTag && !isXML ) {
- part = part.toUpperCase();
- }
-
- for ( var i = 0, l = checkSet.length, elem; i < l; i++ ) {
- if ( (elem = checkSet[i]) ) {
- while ( (elem = elem.previousSibling) && elem.nodeType !== 1 ) {}
-
- checkSet[i] = isPartStrNotTag || elem && elem.nodeName === part ?
- elem || false :
- elem === part;
- }
- }
-
- if ( isPartStrNotTag ) {
- Sizzle.filter( part, checkSet, true );
- }
- },
- ">": function(checkSet, part, isXML){
- var isPartStr = typeof part === "string";
-
- if ( isPartStr && !/\W/.test(part) ) {
- part = isXML ? part : part.toUpperCase();
-
- for ( var i = 0, l = checkSet.length; i < l; i++ ) {
- var elem = checkSet[i];
- if ( elem ) {
- var parent = elem.parentNode;
- checkSet[i] = parent.nodeName === part ? parent : false;
- }
- }
- } else {
- for ( var i = 0, l = checkSet.length; i < l; i++ ) {
- var elem = checkSet[i];
- if ( elem ) {
- checkSet[i] = isPartStr ?
- elem.parentNode :
- elem.parentNode === part;
- }
- }
-
- if ( isPartStr ) {
- Sizzle.filter( part, checkSet, true );
- }
- }
- },
- "": function(checkSet, part, isXML){
- var doneName = done++, checkFn = dirCheck;
-
- if ( !part.match(/\W/) ) {
- var nodeCheck = part = isXML ? part : part.toUpperCase();
- checkFn = dirNodeCheck;
- }
-
- checkFn("parentNode", part, doneName, checkSet, nodeCheck, isXML);
- },
- "~": function(checkSet, part, isXML){
- var doneName = done++, checkFn = dirCheck;
-
- if ( typeof part === "string" && !part.match(/\W/) ) {
- var nodeCheck = part = isXML ? part : part.toUpperCase();
- checkFn = dirNodeCheck;
- }
-
- checkFn("previousSibling", part, doneName, checkSet, nodeCheck, isXML);
- }
- },
- find: {
- ID: function(match, context, isXML){
- if ( typeof context.getElementById !== "undefined" && !isXML ) {
- var m = context.getElementById(match[1]);
- return m ? [m] : [];
- }
- },
- NAME: function(match, context, isXML){
- if ( typeof context.getElementsByName !== "undefined" ) {
- var ret = [], results = context.getElementsByName(match[1]);
-
- for ( var i = 0, l = results.length; i < l; i++ ) {
- if ( results[i].getAttribute("name") === match[1] ) {
- ret.push( results[i] );
- }
- }
-
- return ret.length === 0 ? null : ret;
- }
- },
- TAG: function(match, context){
- return context.getElementsByTagName(match[1]);
- }
- },
- preFilter: {
- CLASS: function(match, curLoop, inplace, result, not, isXML){
- match = " " + match[1].replace(/\\/g, "") + " ";
-
- if ( isXML ) {
- return match;
- }
-
- for ( var i = 0, elem; (elem = curLoop[i]) != null; i++ ) {
- if ( elem ) {
- if ( not ^ (elem.className && (" " + elem.className + " ").indexOf(match) >= 0) ) {
- if ( !inplace )
- result.push( elem );
- } else if ( inplace ) {
- curLoop[i] = false;
- }
- }
- }
-
- return false;
- },
- ID: function(match){
- return match[1].replace(/\\/g, "");
- },
- TAG: function(match, curLoop){
- for ( var i = 0; curLoop[i] === false; i++ ){}
- return curLoop[i] && isXML(curLoop[i]) ? match[1] : match[1].toUpperCase();
- },
- CHILD: function(match){
- if ( match[1] == "nth" ) {
- // parse equations like 'even', 'odd', '5', '2n', '3n+2', '4n-1', '-n+6'
- var test = /(-?)(\d*)n((?:\+|-)?\d*)/.exec(
- match[2] == "even" && "2n" || match[2] == "odd" && "2n+1" ||
- !/\D/.test( match[2] ) && "0n+" + match[2] || match[2]);
-
- // calculate the numbers (first)n+(last) including if they are negative
- match[2] = (test[1] + (test[2] || 1)) - 0;
- match[3] = test[3] - 0;
- }
-
- // TODO: Move to normal caching system
- match[0] = done++;
-
- return match;
- },
- ATTR: function(match, curLoop, inplace, result, not, isXML){
- var name = match[1].replace(/\\/g, "");
-
- if ( !isXML && Expr.attrMap[name] ) {
- match[1] = Expr.attrMap[name];
- }
-
- if ( match[2] === "~=" ) {
- match[4] = " " + match[4] + " ";
- }
-
- return match;
- },
- PSEUDO: function(match, curLoop, inplace, result, not){
- if ( match[1] === "not" ) {
- // If we're dealing with a complex expression, or a simple one
- if ( match[3].match(chunker).length > 1 || /^\w/.test(match[3]) ) {
- match[3] = Sizzle(match[3], null, null, curLoop);
- } else {
- var ret = Sizzle.filter(match[3], curLoop, inplace, true ^ not);
- if ( !inplace ) {
- result.push.apply( result, ret );
- }
- return false;
- }
- } else if ( Expr.match.POS.test( match[0] ) || Expr.match.CHILD.test( match[0] ) ) {
- return true;
- }
-
- return match;
- },
- POS: function(match){
- match.unshift( true );
- return match;
- }
- },
- filters: {
- enabled: function(elem){
- return elem.disabled === false && elem.type !== "hidden";
- },
- disabled: function(elem){
- return elem.disabled === true;
- },
- checked: function(elem){
- return elem.checked === true;
- },
- selected: function(elem){
- // Accessing this property makes selected-by-default
- // options in Safari work properly
- elem.parentNode.selectedIndex;
- return elem.selected === true;
- },
- parent: function(elem){
- return !!elem.firstChild;
- },
- empty: function(elem){
- return !elem.firstChild;
- },
- has: function(elem, i, match){
- return !!Sizzle( match[3], elem ).length;
- },
- header: function(elem){
- return /h\d/i.test( elem.nodeName );
- },
- text: function(elem){
- return "text" === elem.type;
- },
- radio: function(elem){
- return "radio" === elem.type;
- },
- checkbox: function(elem){
- return "checkbox" === elem.type;
- },
- file: function(elem){
- return "file" === elem.type;
- },
- password: function(elem){
- return "password" === elem.type;
- },
- submit: function(elem){
- return "submit" === elem.type;
- },
- image: function(elem){
- return "image" === elem.type;
- },
- reset: function(elem){
- return "reset" === elem.type;
- },
- button: function(elem){
- return "button" === elem.type || elem.nodeName.toUpperCase() === "BUTTON";
- },
- input: function(elem){
- return /input|select|textarea|button/i.test(elem.nodeName);
- }
- },
- setFilters: {
- first: function(elem, i){
- return i === 0;
- },
- last: function(elem, i, match, array){
- return i === array.length - 1;
- },
- even: function(elem, i){
- return i % 2 === 0;
- },
- odd: function(elem, i){
- return i % 2 === 1;
- },
- lt: function(elem, i, match){
- return i < match[3] - 0;
- },
- gt: function(elem, i, match){
- return i > match[3] - 0;
- },
- nth: function(elem, i, match){
- return match[3] - 0 == i;
- },
- eq: function(elem, i, match){
- return match[3] - 0 == i;
- }
- },
- filter: {
- PSEUDO: function(elem, match, i, array){
- var name = match[1], filter = Expr.filters[ name ];
-
- if ( filter ) {
- return filter( elem, i, match, array );
- } else if ( name === "contains" ) {
- return (elem.textContent || elem.innerText || "").indexOf(match[3]) >= 0;
- } else if ( name === "not" ) {
- var not = match[3];
-
- for ( var i = 0, l = not.length; i < l; i++ ) {
- if ( not[i] === elem ) {
- return false;
- }
- }
-
- return true;
- }
- },
- CHILD: function(elem, match){
- var type = match[1], node = elem;
- switch (type) {
- case 'only':
- case 'first':
- while (node = node.previousSibling) {
- if ( node.nodeType === 1 ) return false;
- }
- if ( type == 'first') return true;
- node = elem;
- case 'last':
- while (node = node.nextSibling) {
- if ( node.nodeType === 1 ) return false;
- }
- return true;
- case 'nth':
- var first = match[2], last = match[3];
-
- if ( first == 1 && last == 0 ) {
- return true;
- }
-
- var doneName = match[0],
- parent = elem.parentNode;
-
- if ( parent && (parent.sizcache !== doneName || !elem.nodeIndex) ) {
- var count = 0;
- for ( node = parent.firstChild; node; node = node.nextSibling ) {
- if ( node.nodeType === 1 ) {
- node.nodeIndex = ++count;
- }
- }
- parent.sizcache = doneName;
- }
-
- var diff = elem.nodeIndex - last;
- if ( first == 0 ) {
- return diff == 0;
- } else {
- return ( diff % first == 0 && diff / first >= 0 );
- }
- }
- },
- ID: function(elem, match){
- return elem.nodeType === 1 && elem.getAttribute("id") === match;
- },
- TAG: function(elem, match){
- return (match === "*" && elem.nodeType === 1) || elem.nodeName === match;
- },
- CLASS: function(elem, match){
- return (" " + (elem.className || elem.getAttribute("class")) + " ")
- .indexOf( match ) > -1;
- },
- ATTR: function(elem, match){
- var name = match[1],
- result = Expr.attrHandle[ name ] ?
- Expr.attrHandle[ name ]( elem ) :
- elem[ name ] != null ?
- elem[ name ] :
- elem.getAttribute( name ),
- value = result + "",
- type = match[2],
- check = match[4];
-
- return result == null ?
- type === "!=" :
- type === "=" ?
- value === check :
- type === "*=" ?
- value.indexOf(check) >= 0 :
- type === "~=" ?
- (" " + value + " ").indexOf(check) >= 0 :
- !check ?
- value && result !== false :
- type === "!=" ?
- value != check :
- type === "^=" ?
- value.indexOf(check) === 0 :
- type === "$=" ?
- value.substr(value.length - check.length) === check :
- type === "|=" ?
- value === check || value.substr(0, check.length + 1) === check + "-" :
- false;
- },
- POS: function(elem, match, i, array){
- var name = match[2], filter = Expr.setFilters[ name ];
-
- if ( filter ) {
- return filter( elem, i, match, array );
- }
- }
- }
-};
-
-var origPOS = Expr.match.POS;
-
-for ( var type in Expr.match ) {
- Expr.match[ type ] = RegExp( Expr.match[ type ].source + /(?![^\[]*\])(?![^\(]*\))/.source );
-}
-
-var makeArray = function(array, results) {
- array = Array.prototype.slice.call( array );
-
- if ( results ) {
- results.push.apply( results, array );
- return results;
- }
-
- return array;
-};
-
-// Perform a simple check to determine if the browser is capable of
-// converting a NodeList to an array using builtin methods.
-try {
- Array.prototype.slice.call( document.documentElement.childNodes );
-
-// Provide a fallback method if it does not work
-} catch(e){
- makeArray = function(array, results) {
- var ret = results || [];
-
- if ( toString.call(array) === "[object Array]" ) {
- Array.prototype.push.apply( ret, array );
- } else {
- if ( typeof array.length === "number" ) {
- for ( var i = 0, l = array.length; i < l; i++ ) {
- ret.push( array[i] );
- }
- } else {
- for ( var i = 0; array[i]; i++ ) {
- ret.push( array[i] );
- }
- }
- }
-
- return ret;
- };
-}
-
-var sortOrder;
-
-if ( document.documentElement.compareDocumentPosition ) {
- sortOrder = function( a, b ) {
- var ret = a.compareDocumentPosition(b) & 4 ? -1 : a === b ? 0 : 1;
- if ( ret === 0 ) {
- hasDuplicate = true;
- }
- return ret;
- };
-} else if ( "sourceIndex" in document.documentElement ) {
- sortOrder = function( a, b ) {
- var ret = a.sourceIndex - b.sourceIndex;
- if ( ret === 0 ) {
- hasDuplicate = true;
- }
- return ret;
- };
-} else if ( document.createRange ) {
- sortOrder = function( a, b ) {
- var aRange = a.ownerDocument.createRange(), bRange = b.ownerDocument.createRange();
- aRange.selectNode(a);
- aRange.collapse(true);
- bRange.selectNode(b);
- bRange.collapse(true);
- var ret = aRange.compareBoundaryPoints(Range.START_TO_END, bRange);
- if ( ret === 0 ) {
- hasDuplicate = true;
- }
- return ret;
- };
-}
-
-// Check to see if the browser returns elements by name when
-// querying by getElementById (and provide a workaround)
-(function(){
- // We're going to inject a fake input element with a specified name
- var form = document.createElement("form"),
- id = "script" + (new Date).getTime();
- form.innerHTML = "<input name='" + id + "'/>";
-
- // Inject it into the root element, check its status, and remove it quickly
- var root = document.documentElement;
- root.insertBefore( form, root.firstChild );
-
- // The workaround has to do additional checks after a getElementById
- // Which slows things down for other browsers (hence the branching)
- if ( !!document.getElementById( id ) ) {
- Expr.find.ID = function(match, context, isXML){
- if ( typeof context.getElementById !== "undefined" && !isXML ) {
- var m = context.getElementById(match[1]);
- return m ? m.id === match[1] || typeof m.getAttributeNode !== "undefined" && m.getAttributeNode("id").nodeValue === match[1] ? [m] : undefined : [];
- }
- };
-
- Expr.filter.ID = function(elem, match){
- var node = typeof elem.getAttributeNode !== "undefined" && elem.getAttributeNode("id");
- return elem.nodeType === 1 && node && node.nodeValue === match;
- };
- }
-
- root.removeChild( form );
-})();
-
-(function(){
- // Check to see if the browser returns only elements
- // when doing getElementsByTagName("*")
-
- // Create a fake element
- var div = document.createElement("div");
- div.appendChild( document.createComment("") );
-
- // Make sure no comments are found
- if ( div.getElementsByTagName("*").length > 0 ) {
- Expr.find.TAG = function(match, context){
- var results = context.getElementsByTagName(match[1]);
-
- // Filter out possible comments
- if ( match[1] === "*" ) {
- var tmp = [];
-
- for ( var i = 0; results[i]; i++ ) {
- if ( results[i].nodeType === 1 ) {
- tmp.push( results[i] );
- }
- }
-
- results = tmp;
- }
-
- return results;
- };
- }
-
- // Check to see if an attribute returns normalized href attributes
- div.innerHTML = "<a href='#'></a>";
- if ( div.firstChild && typeof div.firstChild.getAttribute !== "undefined" &&
- div.firstChild.getAttribute("href") !== "#" ) {
- Expr.attrHandle.href = function(elem){
- return elem.getAttribute("href", 2);
- };
- }
-})();
-
-if ( document.querySelectorAll ) (function(){
- var oldSizzle = Sizzle, div = document.createElement("div");
- div.innerHTML = "<p class='TEST'></p>";
-
- // Safari can't handle uppercase or unicode characters when
- // in quirks mode.
- if ( div.querySelectorAll && div.querySelectorAll(".TEST").length === 0 ) {
- return;
- }
-
- Sizzle = function(query, context, extra, seed){
- context = context || document;
-
- // Only use querySelectorAll on non-XML documents
- // (ID selectors don't work in non-HTML documents)
- if ( !seed && context.nodeType === 9 && !isXML(context) ) {
- try {
- return makeArray( context.querySelectorAll(query), extra );
- } catch(e){}
- }
-
- return oldSizzle(query, context, extra, seed);
- };
-
- Sizzle.find = oldSizzle.find;
- Sizzle.filter = oldSizzle.filter;
- Sizzle.selectors = oldSizzle.selectors;
- Sizzle.matches = oldSizzle.matches;
-})();
-
-if ( document.getElementsByClassName && document.documentElement.getElementsByClassName ) (function(){
- var div = document.createElement("div");
- div.innerHTML = "<div class='test e'></div><div class='test'></div>";
-
- // Opera can't find a second classname (in 9.6)
- if ( div.getElementsByClassName("e").length === 0 )
- return;
-
- // Safari caches class attributes, doesn't catch changes (in 3.2)
- div.lastChild.className = "e";
-
- if ( div.getElementsByClassName("e").length === 1 )
- return;
-
- Expr.order.splice(1, 0, "CLASS");
- Expr.find.CLASS = function(match, context, isXML) {
- if ( typeof context.getElementsByClassName !== "undefined" && !isXML ) {
- return context.getElementsByClassName(match[1]);
- }
- };
-})();
-
-function dirNodeCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
- var sibDir = dir == "previousSibling" && !isXML;
- for ( var i = 0, l = checkSet.length; i < l; i++ ) {
- var elem = checkSet[i];
- if ( elem ) {
- if ( sibDir && elem.nodeType === 1 ){
- elem.sizcache = doneName;
- elem.sizset = i;
- }
- elem = elem[dir];
- var match = false;
-
- while ( elem ) {
- if ( elem.sizcache === doneName ) {
- match = checkSet[elem.sizset];
- break;
- }
-
- if ( elem.nodeType === 1 && !isXML ){
- elem.sizcache = doneName;
- elem.sizset = i;
- }
-
- if ( elem.nodeName === cur ) {
- match = elem;
- break;
- }
-
- elem = elem[dir];
- }
-
- checkSet[i] = match;
- }
- }
-}
-
-function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
- var sibDir = dir == "previousSibling" && !isXML;
- for ( var i = 0, l = checkSet.length; i < l; i++ ) {
- var elem = checkSet[i];
- if ( elem ) {
- if ( sibDir && elem.nodeType === 1 ) {
- elem.sizcache = doneName;
- elem.sizset = i;
- }
- elem = elem[dir];
- var match = false;
-
- while ( elem ) {
- if ( elem.sizcache === doneName ) {
- match = checkSet[elem.sizset];
- break;
- }
-
- if ( elem.nodeType === 1 ) {
- if ( !isXML ) {
- elem.sizcache = doneName;
- elem.sizset = i;
- }
- if ( typeof cur !== "string" ) {
- if ( elem === cur ) {
- match = true;
- break;
- }
-
- } else if ( Sizzle.filter( cur, [elem] ).length > 0 ) {
- match = elem;
- break;
- }
- }
-
- elem = elem[dir];
- }
-
- checkSet[i] = match;
- }
- }
-}
-
-var contains = document.compareDocumentPosition ? function(a, b){
- return a.compareDocumentPosition(b) & 16;
-} : function(a, b){
- return a !== b && (a.contains ? a.contains(b) : true);
-};
-
-var isXML = function(elem){
- return elem.nodeType === 9 && elem.documentElement.nodeName !== "HTML" ||
- !!elem.ownerDocument && isXML( elem.ownerDocument );
-};
-
-var posProcess = function(selector, context){
- var tmpSet = [], later = "", match,
- root = context.nodeType ? [context] : context;
-
- // Position selectors must be done after the filter
- // And so must :not(positional) so we move all PSEUDOs to the end
- while ( (match = Expr.match.PSEUDO.exec( selector )) ) {
- later += match[0];
- selector = selector.replace( Expr.match.PSEUDO, "" );
- }
-
- selector = Expr.relative[selector] ? selector + "*" : selector;
-
- for ( var i = 0, l = root.length; i < l; i++ ) {
- Sizzle( selector, root[i], tmpSet );
- }
-
- return Sizzle.filter( later, tmpSet );
-};
-
-// EXPOSE
-jQuery.find = Sizzle;
-jQuery.filter = Sizzle.filter;
-jQuery.expr = Sizzle.selectors;
-jQuery.expr[":"] = jQuery.expr.filters;
-
-Sizzle.selectors.filters.hidden = function(elem){
- return elem.offsetWidth === 0 || elem.offsetHeight === 0;
-};
-
-Sizzle.selectors.filters.visible = function(elem){
- return elem.offsetWidth > 0 || elem.offsetHeight > 0;
-};
-
-Sizzle.selectors.filters.animated = function(elem){
- return jQuery.grep(jQuery.timers, function(fn){
- return elem === fn.elem;
- }).length;
-};
-
-jQuery.multiFilter = function( expr, elems, not ) {
- if ( not ) {
- expr = ":not(" + expr + ")";
- }
-
- return Sizzle.matches(expr, elems);
-};
-
-jQuery.dir = function( elem, dir ){
- var matched = [], cur = elem[dir];
- while ( cur && cur != document ) {
- if ( cur.nodeType == 1 )
- matched.push( cur );
- cur = cur[dir];
- }
- return matched;
-};
-
-jQuery.nth = function(cur, result, dir, elem){
- result = result || 1;
- var num = 0;
-
- for ( ; cur; cur = cur[dir] )
- if ( cur.nodeType == 1 && ++num == result )
- break;
-
- return cur;
-};
-
-jQuery.sibling = function(n, elem){
- var r = [];
-
- for ( ; n; n = n.nextSibling ) {
- if ( n.nodeType == 1 && n != elem )
- r.push( n );
- }
-
- return r;
-};
-
-return;
-
-window.Sizzle = Sizzle;
-
-})();
-/*
- * A number of helper functions used for managing events.
- * Many of the ideas behind this code originated from
- * Dean Edwards' addEvent library.
- */
-jQuery.event = {
-
- // Bind an event to an element
- // Original by Dean Edwards
- add: function(elem, types, handler, data) {
- if ( elem.nodeType == 3 || elem.nodeType == 8 )
- return;
-
- // For whatever reason, IE has trouble passing the window object
- // around, causing it to be cloned in the process
- if ( elem.setInterval && elem != window )
- elem = window;
-
- // Make sure that the function being executed has a unique ID
- if ( !handler.guid )
- handler.guid = this.guid++;
-
- // if data is passed, bind to handler
- if ( data !== undefined ) {
- // Create temporary function pointer to original handler
- var fn = handler;
-
- // Create unique handler function, wrapped around original handler
- handler = this.proxy( fn );
-
- // Store data in unique handler
- handler.data = data;
- }
-
- // Init the element's event structure
- var events = jQuery.data(elem, "events") || jQuery.data(elem, "events", {}),
- handle = jQuery.data(elem, "handle") || jQuery.data(elem, "handle", function(){
- // Handle the second event of a trigger and when
- // an event is called after a page has unloaded
- return typeof jQuery !== "undefined" && !jQuery.event.triggered ?
- jQuery.event.handle.apply(arguments.callee.elem, arguments) :
- undefined;
- });
- // Add elem as a property of the handle function
- // This is to prevent a memory leak with non-native
- // event in IE.
- handle.elem = elem;
-
- // Handle multiple events separated by a space
- // jQuery(...).bind("mouseover mouseout", fn);
- jQuery.each(types.split(/\s+/), function(index, type) {
- // Namespaced event handlers
- var namespaces = type.split(".");
- type = namespaces.shift();
- handler.type = namespaces.slice().sort().join(".");
-
- // Get the current list of functions bound to this event
- var handlers = events[type];
-
- if ( jQuery.event.specialAll[type] )
- jQuery.event.specialAll[type].setup.call(elem, data, namespaces);
-
- // Init the event handler queue
- if (!handlers) {
- handlers = events[type] = {};
-
- // Check for a special event handler
- // Only use addEventListener/attachEvent if the special
- // events handler returns false
- if ( !jQuery.event.special[type] || jQuery.event.special[type].setup.call(elem, data, namespaces) === false ) {
- // Bind the global event handler to the element
- if (elem.addEventListener)
- elem.addEventListener(type, handle, false);
- else if (elem.attachEvent)
- elem.attachEvent("on" + type, handle);
- }
- }
-
- // Add the function to the element's handler list
- handlers[handler.guid] = handler;
-
- // Keep track of which events have been used, for global triggering
- jQuery.event.global[type] = true;
- });
-
- // Nullify elem to prevent memory leaks in IE
- elem = null;
- },
-
- guid: 1,
- global: {},
-
- // Detach an event or set of events from an element
- remove: function(elem, types, handler) {
- // don't do events on text and comment nodes
- if ( elem.nodeType == 3 || elem.nodeType == 8 )
- return;
-
- var events = jQuery.data(elem, "events"), ret, index;
-
- if ( events ) {
- // Unbind all events for the element
- if ( types === undefined || (typeof types === "string" && types.charAt(0) == ".") )
- for ( var type in events )
- this.remove( elem, type + (types || "") );
- else {
- // types is actually an event object here
- if ( types.type ) {
- handler = types.handler;
- types = types.type;
- }
-
- // Handle multiple events seperated by a space
- // jQuery(...).unbind("mouseover mouseout", fn);
- jQuery.each(types.split(/\s+/), function(index, type){
- // Namespaced event handlers
- var namespaces = type.split(".");
- type = namespaces.shift();
- var namespace = RegExp("(^|\\.)" + namespaces.slice().sort().join(".*\\.") + "(\\.|$)");
-
- if ( events[type] ) {
- // remove the given handler for the given type
- if ( handler )
- delete events[type][handler.guid];
-
- // remove all handlers for the given type
- else
- for ( var handle in events[type] )
- // Handle the removal of namespaced events
- if ( namespace.test(events[type][handle].type) )
- delete events[type][handle];
-
- if ( jQuery.event.specialAll[type] )
- jQuery.event.specialAll[type].teardown.call(elem, namespaces);
-
- // remove generic event handler if no more handlers exist
- for ( ret in events[type] ) break;
- if ( !ret ) {
- if ( !jQuery.event.special[type] || jQuery.event.special[type].teardown.call(elem, namespaces) === false ) {
- if (elem.removeEventListener)
- elem.removeEventListener(type, jQuery.data(elem, "handle"), false);
- else if (elem.detachEvent)
- elem.detachEvent("on" + type, jQuery.data(elem, "handle"));
- }
- ret = null;
- delete events[type];
- }
- }
- });
- }
-
- // Remove the expando if it's no longer used
- for ( ret in events ) break;
- if ( !ret ) {
- var handle = jQuery.data( elem, "handle" );
- if ( handle ) handle.elem = null;
- jQuery.removeData( elem, "events" );
- jQuery.removeData( elem, "handle" );
- }
- }
- },
-
- // bubbling is internal
- trigger: function( event, data, elem, bubbling ) {
- // Event object or event type
- var type = event.type || event;
-
- if( !bubbling ){
- event = typeof event === "object" ?
- // jQuery.Event object
- event[expando] ? event :
- // Object literal
- jQuery.extend( jQuery.Event(type), event ) :
- // Just the event type (string)
- jQuery.Event(type);
-
- if ( type.indexOf("!") >= 0 ) {
- event.type = type = type.slice(0, -1);
- event.exclusive = true;
- }
-
- // Handle a global trigger
- if ( !elem ) {
- // Don't bubble custom events when global (to avoid too much overhead)
- event.stopPropagation();
- // Only trigger if we've ever bound an event for it
- if ( this.global[type] )
- jQuery.each( jQuery.cache, function(){
- if ( this.events && this.events[type] )
- jQuery.event.trigger( event, data, this.handle.elem );
- });
- }
-
- // Handle triggering a single element
-
- // don't do events on text and comment nodes
- if ( !elem || elem.nodeType == 3 || elem.nodeType == 8 )
- return undefined;
-
- // Clean up in case it is reused
- event.result = undefined;
- event.target = elem;
-
- // Clone the incoming data, if any
- data = jQuery.makeArray(data);
- data.unshift( event );
- }
-
- event.currentTarget = elem;
-
- // Trigger the event, it is assumed that "handle" is a function
- var handle = jQuery.data(elem, "handle");
- if ( handle )
- handle.apply( elem, data );
-
- // Handle triggering native .onfoo handlers (and on links since we don't call .click() for links)
- if ( (!elem[type] || (jQuery.nodeName(elem, 'a') && type == "click")) && elem["on"+type] && elem["on"+type].apply( elem, data ) === false )
- event.result = false;
-
- // Trigger the native events (except for clicks on links)
- if ( !bubbling && elem[type] && !event.isDefaultPrevented() && !(jQuery.nodeName(elem, 'a') && type == "click") ) {
- this.triggered = true;
- try {
- elem[ type ]();
- // prevent IE from throwing an error for some hidden elements
- } catch (e) {}
- }
-
- this.triggered = false;
-
- if ( !event.isPropagationStopped() ) {
- var parent = elem.parentNode || elem.ownerDocument;
- if ( parent )
- jQuery.event.trigger(event, data, parent, true);
- }
- },
-
- handle: function(event) {
- // returned undefined or false
- var all, handlers;
-
- event = arguments[0] = jQuery.event.fix( event || window.event );
- event.currentTarget = this;
-
- // Namespaced event handlers
- var namespaces = event.type.split(".");
- event.type = namespaces.shift();
-
- // Cache this now, all = true means, any handler
- all = !namespaces.length && !event.exclusive;
-
- var namespace = RegExp("(^|\\.)" + namespaces.slice().sort().join(".*\\.") + "(\\.|$)");
-
- handlers = ( jQuery.data(this, "events") || {} )[event.type];
-
- for ( var j in handlers ) {
- var handler = handlers[j];
-
- // Filter the functions by class
- if ( all || namespace.test(handler.type) ) {
- // Pass in a reference to the handler function itself
- // So that we can later remove it
- event.handler = handler;
- event.data = handler.data;
-
- var ret = handler.apply(this, arguments);
-
- if( ret !== undefined ){
- event.result = ret;
- if ( ret === false ) {
- event.preventDefault();
- event.stopPropagation();
- }
- }
-
- if( event.isImmediatePropagationStopped() )
- break;
-
- }
- }
- },
-
- props: "altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
-
- fix: function(event) {
- if ( event[expando] )
- return event;
-
- // store a copy of the original event object
- // and "clone" to set read-only properties
- var originalEvent = event;
- event = jQuery.Event( originalEvent );
-
- for ( var i = this.props.length, prop; i; ){
- prop = this.props[ --i ];
- event[ prop ] = originalEvent[ prop ];
- }
-
- // Fix target property, if necessary
- if ( !event.target )
- event.target = event.srcElement || document; // Fixes #1925 where srcElement might not be defined either
-
- // check if target is a textnode (safari)
- if ( event.target.nodeType == 3 )
- event.target = event.target.parentNode;
-
- // Add relatedTarget, if necessary
- if ( !event.relatedTarget && event.fromElement )
- event.relatedTarget = event.fromElement == event.target ? event.toElement : event.fromElement;
-
- // Calculate pageX/Y if missing and clientX/Y available
- if ( event.pageX == null && event.clientX != null ) {
- var doc = document.documentElement, body = document.body;
- event.pageX = event.clientX + (doc && doc.scrollLeft || body && body.scrollLeft || 0) - (doc.clientLeft || 0);
- event.pageY = event.clientY + (doc && doc.scrollTop || body && body.scrollTop || 0) - (doc.clientTop || 0);
- }
-
- // Add which for key events
- if ( !event.which && ((event.charCode || event.charCode === 0) ? event.charCode : event.keyCode) )
- event.which = event.charCode || event.keyCode;
-
- // Add metaKey to non-Mac browsers (use ctrl for PC's and Meta for Macs)
- if ( !event.metaKey && event.ctrlKey )
- event.metaKey = event.ctrlKey;
-
- // Add which for click: 1 == left; 2 == middle; 3 == right
- // Note: button is not normalized, so don't use it
- if ( !event.which && event.button )
- event.which = (event.button & 1 ? 1 : ( event.button & 2 ? 3 : ( event.button & 4 ? 2 : 0 ) ));
-
- return event;
- },
-
- proxy: function( fn, proxy ){
- proxy = proxy || function(){ return fn.apply(this, arguments); };
- // Set the guid of unique handler to the same of original handler, so it can be removed
- proxy.guid = fn.guid = fn.guid || proxy.guid || this.guid++;
- // So proxy can be declared as an argument
- return proxy;
- },
-
- special: {
- ready: {
- // Make sure the ready event is setup
- setup: bindReady,
- teardown: function() {}
- }
- },
-
- specialAll: {
- live: {
- setup: function( selector, namespaces ){
- jQuery.event.add( this, namespaces[0], liveHandler );
- },
- teardown: function( namespaces ){
- if ( namespaces.length ) {
- var remove = 0, name = RegExp("(^|\\.)" + namespaces[0] + "(\\.|$)");
-
- jQuery.each( (jQuery.data(this, "events").live || {}), function(){
- if ( name.test(this.type) )
- remove++;
- });
-
- if ( remove < 1 )
- jQuery.event.remove( this, namespaces[0], liveHandler );
- }
- }
- }
- }
-};
-
-jQuery.Event = function( src ){
- // Allow instantiation without the 'new' keyword
- if( !this.preventDefault )
- return new jQuery.Event(src);
-
- // Event object
- if( src && src.type ){
- this.originalEvent = src;
- this.type = src.type;
- // Event type
- }else
- this.type = src;
-
- // timeStamp is buggy for some events on Firefox(#3843)
- // So we won't rely on the native value
- this.timeStamp = now();
-
- // Mark it as fixed
- this[expando] = true;
-};
-
-function returnFalse(){
- return false;
-}
-function returnTrue(){
- return true;
-}
-
-// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding
-// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html
-jQuery.Event.prototype = {
- preventDefault: function() {
- this.isDefaultPrevented = returnTrue;
-
- var e = this.originalEvent;
- if( !e )
- return;
- // if preventDefault exists run it on the original event
- if (e.preventDefault)
- e.preventDefault();
- // otherwise set the returnValue property of the original event to false (IE)
- e.returnValue = false;
- },
- stopPropagation: function() {
- this.isPropagationStopped = returnTrue;
-
- var e = this.originalEvent;
- if( !e )
- return;
- // if stopPropagation exists run it on the original event
- if (e.stopPropagation)
- e.stopPropagation();
- // otherwise set the cancelBubble property of the original event to true (IE)
- e.cancelBubble = true;
- },
- stopImmediatePropagation:function(){
- this.isImmediatePropagationStopped = returnTrue;
- this.stopPropagation();
- },
- isDefaultPrevented: returnFalse,
- isPropagationStopped: returnFalse,
- isImmediatePropagationStopped: returnFalse
-};
-// Checks if an event happened on an element within another element
-// Used in jQuery.event.special.mouseenter and mouseleave handlers
-var withinElement = function(event) {
- // Check if mouse(over|out) are still within the same parent element
- var parent = event.relatedTarget;
- // Traverse up the tree
- while ( parent && parent != this )
- try { parent = parent.parentNode; }
- catch(e) { parent = this; }
-
- if( parent != this ){
- // set the correct event type
- event.type = event.data;
- // handle event if we actually just moused on to a non sub-element
- jQuery.event.handle.apply( this, arguments );
- }
-};
-
-jQuery.each({
- mouseover: 'mouseenter',
- mouseout: 'mouseleave'
-}, function( orig, fix ){
- jQuery.event.special[ fix ] = {
- setup: function(){
- jQuery.event.add( this, orig, withinElement, fix );
- },
- teardown: function(){
- jQuery.event.remove( this, orig, withinElement );
- }
- };
-});
-
-jQuery.fn.extend({
- bind: function( type, data, fn ) {
- return type == "unload" ? this.one(type, data, fn) : this.each(function(){
- jQuery.event.add( this, type, fn || data, fn && data );
- });
- },
-
- one: function( type, data, fn ) {
- var one = jQuery.event.proxy( fn || data, function(event) {
- jQuery(this).unbind(event, one);
- return (fn || data).apply( this, arguments );
- });
- return this.each(function(){
- jQuery.event.add( this, type, one, fn && data);
- });
- },
-
- unbind: function( type, fn ) {
- return this.each(function(){
- jQuery.event.remove( this, type, fn );
- });
- },
-
- trigger: function( type, data ) {
- return this.each(function(){
- jQuery.event.trigger( type, data, this );
- });
- },
-
- triggerHandler: function( type, data ) {
- if( this[0] ){
- var event = jQuery.Event(type);
- event.preventDefault();
- event.stopPropagation();
- jQuery.event.trigger( event, data, this[0] );
- return event.result;
- }
- },
-
- toggle: function( fn ) {
- // Save reference to arguments for access in closure
- var args = arguments, i = 1;
-
- // link all the functions, so any of them can unbind this click handler
- while( i < args.length )
- jQuery.event.proxy( fn, args[i++] );
-
- return this.click( jQuery.event.proxy( fn, function(event) {
- // Figure out which function to execute
- this.lastToggle = ( this.lastToggle || 0 ) % i;
-
- // Make sure that clicks stop
- event.preventDefault();
-
- // and execute the function
- return args[ this.lastToggle++ ].apply( this, arguments ) || false;
- }));
- },
-
- hover: function(fnOver, fnOut) {
- return this.mouseenter(fnOver).mouseleave(fnOut);
- },
-
- ready: function(fn) {
- // Attach the listeners
- bindReady();
-
- // If the DOM is already ready
- if ( jQuery.isReady )
- // Execute the function immediately
- fn.call( document, jQuery );
-
- // Otherwise, remember the function for later
- else
- // Add the function to the wait list
- jQuery.readyList.push( fn );
-
- return this;
- },
-
- live: function( type, fn ){
- var proxy = jQuery.event.proxy( fn );
- proxy.guid += this.selector + type;
-
- jQuery(document).bind( liveConvert(type, this.selector), this.selector, proxy );
-
- return this;
- },
-
- die: function( type, fn ){
- jQuery(document).unbind( liveConvert(type, this.selector), fn ? { guid: fn.guid + this.selector + type } : null );
- return this;
- }
-});
-
-function liveHandler( event ){
- var check = RegExp("(^|\\.)" + event.type + "(\\.|$)"),
- stop = true,
- elems = [];
-
- jQuery.each(jQuery.data(this, "events").live || [], function(i, fn){
- if ( check.test(fn.type) ) {
- var elem = jQuery(event.target).closest(fn.data)[0];
- if ( elem )
- elems.push({ elem: elem, fn: fn });
- }
- });
-
- elems.sort(function(a,b) {
- return jQuery.data(a.elem, "closest") - jQuery.data(b.elem, "closest");
- });
-
- jQuery.each(elems, function(){
- if ( this.fn.call(this.elem, event, this.fn.data) === false )
- return (stop = false);
- });
-
- return stop;
-}
-
-function liveConvert(type, selector){
- return ["live", type, selector.replace(/\./g, "`").replace(/ /g, "|")].join(".");
-}
-
-jQuery.extend({
- isReady: false,
- readyList: [],
- // Handle when the DOM is ready
- ready: function() {
- // Make sure that the DOM is not already loaded
- if ( !jQuery.isReady ) {
- // Remember that the DOM is ready
- jQuery.isReady = true;
-
- // If there are functions bound, to execute
- if ( jQuery.readyList ) {
- // Execute all of them
- jQuery.each( jQuery.readyList, function(){
- this.call( document, jQuery );
- });
-
- // Reset the list of functions
- jQuery.readyList = null;
- }
-
- // Trigger any bound ready events
- jQuery(document).triggerHandler("ready");
- }
- }
-});
-
-var readyBound = false;
-
-function bindReady(){
- if ( readyBound ) return;
- readyBound = true;
-
- // Mozilla, Opera and webkit nightlies currently support this event
- if ( document.addEventListener ) {
- // Use the handy event callback
- document.addEventListener( "DOMContentLoaded", function(){
- document.removeEventListener( "DOMContentLoaded", arguments.callee, false );
- jQuery.ready();
- }, false );
-
- // If IE event model is used
- } else if ( document.attachEvent ) {
- // ensure firing before onload,
- // maybe late but safe also for iframes
- document.attachEvent("onreadystatechange", function(){
- if ( document.readyState === "complete" ) {
- document.detachEvent( "onreadystatechange", arguments.callee );
- jQuery.ready();
- }
- });
-
- // If IE and not an iframe
- // continually check to see if the document is ready
- if ( document.documentElement.doScroll && window == window.top ) (function(){
- if ( jQuery.isReady ) return;
-
- try {
- // If IE is used, use the trick by Diego Perini
- // http://javascript.nwbox.com/IEContentLoaded/
- document.documentElement.doScroll("left");
- } catch( error ) {
- setTimeout( arguments.callee, 0 );
- return;
- }
-
- // and execute any waiting functions
- jQuery.ready();
- })();
- }
-
- // A fallback to window.onload, that will always work
- jQuery.event.add( window, "load", jQuery.ready );
-}
-
-jQuery.each( ("blur,focus,load,resize,scroll,unload,click,dblclick," +
- "mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave," +
- "change,select,submit,keydown,keypress,keyup,error").split(","), function(i, name){
-
- // Handle event binding
- jQuery.fn[name] = function(fn){
- return fn ? this.bind(name, fn) : this.trigger(name);
- };
-});
-
-// Prevent memory leaks in IE
-// And prevent errors on refresh with events like mouseover in other browsers
-// Window isn't included so as not to unbind existing unload events
-jQuery( window ).bind( 'unload', function(){
- for ( var id in jQuery.cache )
- // Skip the window
- if ( id != 1 && jQuery.cache[ id ].handle )
- jQuery.event.remove( jQuery.cache[ id ].handle.elem );
-});
-(function(){
-
- jQuery.support = {};
-
- var root = document.documentElement,
- script = document.createElement("script"),
- div = document.createElement("div"),
- id = "script" + (new Date).getTime();
-
- div.style.display = "none";
- div.innerHTML = ' <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';
-
- var all = div.getElementsByTagName("*"),
- a = div.getElementsByTagName("a")[0];
-
- // Can't get basic test support
- if ( !all || !all.length || !a ) {
- return;
- }
-
- jQuery.support = {
- // IE strips leading whitespace when .innerHTML is used
- leadingWhitespace: div.firstChild.nodeType == 3,
-
- // Make sure that tbody elements aren't automatically inserted
- // IE will insert them into empty tables
- tbody: !div.getElementsByTagName("tbody").length,
-
- // Make sure that you can get all elements in an <object> element
- // IE 7 always returns no results
- objectAll: !!div.getElementsByTagName("object")[0]
- .getElementsByTagName("*").length,
-
- // Make sure that link elements get serialized correctly by innerHTML
- // This requires a wrapper element in IE
- htmlSerialize: !!div.getElementsByTagName("link").length,
-
- // Get the style information from getAttribute
- // (IE uses .cssText insted)
- style: /red/.test( a.getAttribute("style") ),
-
- // Make sure that URLs aren't manipulated
- // (IE normalizes it by default)
- hrefNormalized: a.getAttribute("href") === "/a",
-
- // Make sure that element opacity exists
- // (IE uses filter instead)
- opacity: a.style.opacity === "0.5",
-
- // Verify style float existence
- // (IE uses styleFloat instead of cssFloat)
- cssFloat: !!a.style.cssFloat,
-
- // Will be defined later
- scriptEval: false,
- noCloneEvent: true,
- boxModel: null
- };
-
- script.type = "text/javascript";
- try {
- script.appendChild( document.createTextNode( "window." + id + "=1;" ) );
- } catch(e){}
-
- root.insertBefore( script, root.firstChild );
-
- // Make sure that the execution of code works by injecting a script
- // tag with appendChild/createTextNode
- // (IE doesn't support this, fails, and uses .text instead)
- if ( window[ id ] ) {
- jQuery.support.scriptEval = true;
- delete window[ id ];
- }
-
- root.removeChild( script );
-
- if ( div.attachEvent && div.fireEvent ) {
- div.attachEvent("onclick", function(){
- // Cloning a node shouldn't copy over any
- // bound event handlers (IE does this)
- jQuery.support.noCloneEvent = false;
- div.detachEvent("onclick", arguments.callee);
- });
- div.cloneNode(true).fireEvent("onclick");
- }
-
- // Figure out if the W3C box model works as expected
- // document.body must exist before we can do this
- jQuery(function(){
- var div = document.createElement("div");
- div.style.width = div.style.paddingLeft = "1px";
-
- document.body.appendChild( div );
- jQuery.boxModel = jQuery.support.boxModel = div.offsetWidth === 2;
- document.body.removeChild( div ).style.display = 'none';
- });
-})();
-
-var styleFloat = jQuery.support.cssFloat ? "cssFloat" : "styleFloat";
-
-jQuery.props = {
- "for": "htmlFor",
- "class": "className",
- "float": styleFloat,
- cssFloat: styleFloat,
- styleFloat: styleFloat,
- readonly: "readOnly",
- maxlength: "maxLength",
- cellspacing: "cellSpacing",
- rowspan: "rowSpan",
- tabindex: "tabIndex"
-};
-jQuery.fn.extend({
- // Keep a copy of the old load
- _load: jQuery.fn.load,
-
- load: function( url, params, callback ) {
- if ( typeof url !== "string" )
- return this._load( url );
-
- var off = url.indexOf(" ");
- if ( off >= 0 ) {
- var selector = url.slice(off, url.length);
- url = url.slice(0, off);
- }
-
- // Default to a GET request
- var type = "GET";
-
- // If the second parameter was provided
- if ( params )
- // If it's a function
- if ( jQuery.isFunction( params ) ) {
- // We assume that it's the callback
- callback = params;
- params = null;
-
- // Otherwise, build a param string
- } else if( typeof params === "object" ) {
- params = jQuery.param( params );
- type = "POST";
- }
-
- var self = this;
-
- // Request the remote document
- jQuery.ajax({
- url: url,
- type: type,
- dataType: "html",
- data: params,
- complete: function(res, status){
- // If successful, inject the HTML into all the matched elements
- if ( status == "success" || status == "notmodified" )
- // See if a selector was specified
- self.html( selector ?
- // Create a dummy div to hold the results
- jQuery("<div/>")
- // inject the contents of the document in, removing the scripts
- // to avoid any 'Permission Denied' errors in IE
- .append(res.responseText.replace(/<script(.|\s)*?\/script>/g, ""))
-
- // Locate the specified elements
- .find(selector) :
-
- // If not, just inject the full result
- res.responseText );
-
- if( callback )
- self.each( callback, [res.responseText, status, res] );
- }
- });
- return this;
- },
-
- serialize: function() {
- return jQuery.param(this.serializeArray());
- },
- serializeArray: function() {
- return this.map(function(){
- return this.elements ? jQuery.makeArray(this.elements) : this;
- })
- .filter(function(){
- return this.name && !this.disabled &&
- (this.checked || /select|textarea/i.test(this.nodeName) ||
- /text|hidden|password|search/i.test(this.type));
- })
- .map(function(i, elem){
- var val = jQuery(this).val();
- return val == null ? null :
- jQuery.isArray(val) ?
- jQuery.map( val, function(val, i){
- return {name: elem.name, value: val};
- }) :
- {name: elem.name, value: val};
- }).get();
- }
-});
-
-// Attach a bunch of functions for handling common AJAX events
-jQuery.each( "ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","), function(i,o){
- jQuery.fn[o] = function(f){
- return this.bind(o, f);
- };
-});
-
-var jsc = now();
-
-jQuery.extend({
-
- get: function( url, data, callback, type ) {
- // shift arguments if data argument was ommited
- if ( jQuery.isFunction( data ) ) {
- callback = data;
- data = null;
- }
-
- return jQuery.ajax({
- type: "GET",
- url: url,
- data: data,
- success: callback,
- dataType: type
- });
- },
-
- getScript: function( url, callback ) {
- return jQuery.get(url, null, callback, "script");
- },
-
- getJSON: function( url, data, callback ) {
- return jQuery.get(url, data, callback, "json");
- },
-
- post: function( url, data, callback, type ) {
- if ( jQuery.isFunction( data ) ) {
- callback = data;
- data = {};
- }
-
- return jQuery.ajax({
- type: "POST",
- url: url,
- data: data,
- success: callback,
- dataType: type
- });
- },
-
- ajaxSetup: function( settings ) {
- jQuery.extend( jQuery.ajaxSettings, settings );
- },
-
- ajaxSettings: {
- url: location.href,
- global: true,
- type: "GET",
- contentType: "application/x-www-form-urlencoded",
- processData: true,
- async: true,
- /*
- timeout: 0,
- data: null,
- username: null,
- password: null,
- */
- // Create the request object; Microsoft failed to properly
- // implement the XMLHttpRequest in IE7, so we use the ActiveXObject when it is available
- // This function can be overriden by calling jQuery.ajaxSetup
- xhr:function(){
- return window.ActiveXObject ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest();
- },
- accepts: {
- xml: "application/xml, text/xml",
- html: "text/html",
- script: "text/javascript, application/javascript",
- json: "application/json, text/javascript",
- text: "text/plain",
- _default: "*/*"
- }
- },
-
- // Last-Modified header cache for next request
- lastModified: {},
-
- ajax: function( s ) {
- // Extend the settings, but re-extend 's' so that it can be
- // checked again later (in the test suite, specifically)
- s = jQuery.extend(true, s, jQuery.extend(true, {}, jQuery.ajaxSettings, s));
-
- var jsonp, jsre = /=\?(&|$)/g, status, data,
- type = s.type.toUpperCase();
-
- // convert data if not already a string
- if ( s.data && s.processData && typeof s.data !== "string" )
- s.data = jQuery.param(s.data);
-
- // Handle JSONP Parameter Callbacks
- if ( s.dataType == "jsonp" ) {
- if ( type == "GET" ) {
- if ( !s.url.match(jsre) )
- s.url += (s.url.match(/\?/) ? "&" : "?") + (s.jsonp || "callback") + "=?";
- } else if ( !s.data || !s.data.match(jsre) )
- s.data = (s.data ? s.data + "&" : "") + (s.jsonp || "callback") + "=?";
- s.dataType = "json";
- }
-
- // Build temporary JSONP function
- if ( s.dataType == "json" && (s.data && s.data.match(jsre) || s.url.match(jsre)) ) {
- jsonp = "jsonp" + jsc++;
-
- // Replace the =? sequence both in the query string and the data
- if ( s.data )
- s.data = (s.data + "").replace(jsre, "=" + jsonp + "$1");
- s.url = s.url.replace(jsre, "=" + jsonp + "$1");
-
- // We need to make sure
- // that a JSONP style response is executed properly
- s.dataType = "script";
-
- // Handle JSONP-style loading
- window[ jsonp ] = function(tmp){
- data = tmp;
- success();
- complete();
- // Garbage collect
- window[ jsonp ] = undefined;
- try{ delete window[ jsonp ]; } catch(e){}
- if ( head )
- head.removeChild( script );
- };
- }
-
- if ( s.dataType == "script" && s.cache == null )
- s.cache = false;
-
- if ( s.cache === false && type == "GET" ) {
- var ts = now();
- // try replacing _= if it is there
- var ret = s.url.replace(/(\?|&)_=.*?(&|$)/, "$1_=" + ts + "$2");
- // if nothing was replaced, add timestamp to the end
- s.url = ret + ((ret == s.url) ? (s.url.match(/\?/) ? "&" : "?") + "_=" + ts : "");
- }
-
- // If data is available, append data to url for get requests
- if ( s.data && type == "GET" ) {
- s.url += (s.url.match(/\?/) ? "&" : "?") + s.data;
-
- // IE likes to send both get and post data, prevent this
- s.data = null;
- }
-
- // Watch for a new set of requests
- if ( s.global && ! jQuery.active++ )
- jQuery.event.trigger( "ajaxStart" );
-
- // Matches an absolute URL, and saves the domain
- var parts = /^(\w+:)?\/\/([^\/?#]+)/.exec( s.url );
-
- // If we're requesting a remote document
- // and trying to load JSON or Script with a GET
- if ( s.dataType == "script" && type == "GET" && parts
- && ( parts[1] && parts[1] != location.protocol || parts[2] != location.host )){
-
- var head = document.getElementsByTagName("head")[0];
- var script = document.createElement("script");
- script.src = s.url;
- if (s.scriptCharset)
- script.charset = s.scriptCharset;
-
- // Handle Script loading
- if ( !jsonp ) {
- var done = false;
-
- // Attach handlers for all browsers
- script.onload = script.onreadystatechange = function(){
- if ( !done && (!this.readyState ||
- this.readyState == "loaded" || this.readyState == "complete") ) {
- done = true;
- success();
- complete();
-
- // Handle memory leak in IE
- script.onload = script.onreadystatechange = null;
- head.removeChild( script );
- }
- };
- }
-
- head.appendChild(script);
-
- // We handle everything using the script element injection
- return undefined;
- }
-
- var requestDone = false;
-
- // Create the request object
- var xhr = s.xhr();
-
- // Open the socket
- // Passing null username, generates a login popup on Opera (#2865)
- if( s.username )
- xhr.open(type, s.url, s.async, s.username, s.password);
- else
- xhr.open(type, s.url, s.async);
-
- // Need an extra try/catch for cross domain requests in Firefox 3
- try {
- // Set the correct header, if data is being sent
- if ( s.data )
- xhr.setRequestHeader("Content-Type", s.contentType);
-
- // Set the If-Modified-Since header, if ifModified mode.
- if ( s.ifModified )
- xhr.setRequestHeader("If-Modified-Since",
- jQuery.lastModified[s.url] || "Thu, 01 Jan 1970 00:00:00 GMT" );
-
- // Set header so the called script knows that it's an XMLHttpRequest
- xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest");
-
- // Set the Accepts header for the server, depending on the dataType
- xhr.setRequestHeader("Accept", s.dataType && s.accepts[ s.dataType ] ?
- s.accepts[ s.dataType ] + ", */*" :
- s.accepts._default );
- } catch(e){}
-
- // Allow custom headers/mimetypes and early abort
- if ( s.beforeSend && s.beforeSend(xhr, s) === false ) {
- // Handle the global AJAX counter
- if ( s.global && ! --jQuery.active )
- jQuery.event.trigger( "ajaxStop" );
- // close opended socket
- xhr.abort();
- return false;
- }
-
- if ( s.global )
- jQuery.event.trigger("ajaxSend", [xhr, s]);
-
- // Wait for a response to come back
- var onreadystatechange = function(isTimeout){
- // The request was aborted, clear the interval and decrement jQuery.active
- if (xhr.readyState == 0) {
- if (ival) {
- // clear poll interval
- clearInterval(ival);
- ival = null;
- // Handle the global AJAX counter
- if ( s.global && ! --jQuery.active )
- jQuery.event.trigger( "ajaxStop" );
- }
- // The transfer is complete and the data is available, or the request timed out
- } else if ( !requestDone && xhr && (xhr.readyState == 4 || isTimeout == "timeout") ) {
- requestDone = true;
-
- // clear poll interval
- if (ival) {
- clearInterval(ival);
- ival = null;
- }
-
- status = isTimeout == "timeout" ? "timeout" :
- !jQuery.httpSuccess( xhr ) ? "error" :
- s.ifModified && jQuery.httpNotModified( xhr, s.url ) ? "notmodified" :
- "success";
-
- if ( status == "success" ) {
- // Watch for, and catch, XML document parse errors
- try {
- // process the data (runs the xml through httpData regardless of callback)
- data = jQuery.httpData( xhr, s.dataType, s );
- } catch(e) {
- status = "parsererror";
- }
- }
-
- // Make sure that the request was successful or notmodified
- if ( status == "success" ) {
- // Cache Last-Modified header, if ifModified mode.
- var modRes;
- try {
- modRes = xhr.getResponseHeader("Last-Modified");
- } catch(e) {} // swallow exception thrown by FF if header is not available
-
- if ( s.ifModified && modRes )
- jQuery.lastModified[s.url] = modRes;
-
- // JSONP handles its own success callback
- if ( !jsonp )
- success();
- } else
- jQuery.handleError(s, xhr, status);
-
- // Fire the complete handlers
- complete();
-
- if ( isTimeout )
- xhr.abort();
-
- // Stop memory leaks
- if ( s.async )
- xhr = null;
- }
- };
-
- if ( s.async ) {
- // don't attach the handler to the request, just poll it instead
- var ival = setInterval(onreadystatechange, 13);
-
- // Timeout checker
- if ( s.timeout > 0 )
- setTimeout(function(){
- // Check to see if the request is still happening
- if ( xhr && !requestDone )
- onreadystatechange( "timeout" );
- }, s.timeout);
- }
-
- // Send the data
- try {
- xhr.send(s.data);
- } catch(e) {
- jQuery.handleError(s, xhr, null, e);
- }
-
- // firefox 1.5 doesn't fire statechange for sync requests
- if ( !s.async )
- onreadystatechange();
-
- function success(){
- // If a local callback was specified, fire it and pass it the data
- if ( s.success )
- s.success( data, status );
-
- // Fire the global callback
- if ( s.global )
- jQuery.event.trigger( "ajaxSuccess", [xhr, s] );
- }
-
- function complete(){
- // Process result
- if ( s.complete )
- s.complete(xhr, status);
-
- // The request was completed
- if ( s.global )
- jQuery.event.trigger( "ajaxComplete", [xhr, s] );
-
- // Handle the global AJAX counter
- if ( s.global && ! --jQuery.active )
- jQuery.event.trigger( "ajaxStop" );
- }
-
- // return XMLHttpRequest to allow aborting the request etc.
- return xhr;
- },
-
- handleError: function( s, xhr, status, e ) {
- // If a local callback was specified, fire it
- if ( s.error ) s.error( xhr, status, e );
-
- // Fire the global callback
- if ( s.global )
- jQuery.event.trigger( "ajaxError", [xhr, s, e] );
- },
-
- // Counter for holding the number of active queries
- active: 0,
-
- // Determines if an XMLHttpRequest was successful or not
- httpSuccess: function( xhr ) {
- try {
- // IE error sometimes returns 1223 when it should be 204 so treat it as success, see #1450
- return !xhr.status && location.protocol == "file:" ||
- ( xhr.status >= 200 && xhr.status < 300 ) || xhr.status == 304 || xhr.status == 1223;
- } catch(e){}
- return false;
- },
-
- // Determines if an XMLHttpRequest returns NotModified
- httpNotModified: function( xhr, url ) {
- try {
- var xhrRes = xhr.getResponseHeader("Last-Modified");
-
- // Firefox always returns 200. check Last-Modified date
- return xhr.status == 304 || xhrRes == jQuery.lastModified[url];
- } catch(e){}
- return false;
- },
-
- httpData: function( xhr, type, s ) {
- var ct = xhr.getResponseHeader("content-type"),
- xml = type == "xml" || !type && ct && ct.indexOf("xml") >= 0,
- data = xml ? xhr.responseXML : xhr.responseText;
-
- if ( xml && data.documentElement.tagName == "parsererror" )
- throw "parsererror";
-
- // Allow a pre-filtering function to sanitize the response
- // s != null is checked to keep backwards compatibility
- if( s && s.dataFilter )
- data = s.dataFilter( data, type );
-
- // The filter can actually parse the response
- if( typeof data === "string" ){
-
- // If the type is "script", eval it in global context
- if ( type == "script" )
- jQuery.globalEval( data );
-
- // Get the JavaScript object, if JSON is used.
- if ( type == "json" )
- data = window["eval"]("(" + data + ")");
- }
-
- return data;
- },
-
- // Serialize an array of form elements or a set of
- // key/values into a query string
- param: function( a ) {
- var s = [ ];
-
- function add( key, value ){
- s[ s.length ] = encodeURIComponent(key) + '=' + encodeURIComponent(value);
- };
-
- // If an array was passed in, assume that it is an array
- // of form elements
- if ( jQuery.isArray(a) || a.jquery )
- // Serialize the form elements
- jQuery.each( a, function(){
- add( this.name, this.value );
- });
-
- // Otherwise, assume that it's an object of key/value pairs
- else
- // Serialize the key/values
- for ( var j in a )
- // If the value is an array then the key names need to be repeated
- if ( jQuery.isArray(a[j]) )
- jQuery.each( a[j], function(){
- add( j, this );
- });
- else
- add( j, jQuery.isFunction(a[j]) ? a[j]() : a[j] );
-
- // Return the resulting serialization
- return s.join("&").replace(/%20/g, "+");
- }
-
-});
-var elemdisplay = {},
- timerId,
- fxAttrs = [
- // height animations
- [ "height", "marginTop", "marginBottom", "paddingTop", "paddingBottom" ],
- // width animations
- [ "width", "marginLeft", "marginRight", "paddingLeft", "paddingRight" ],
- // opacity animations
- [ "opacity" ]
- ];
-
-function genFx( type, num ){
- var obj = {};
- jQuery.each( fxAttrs.concat.apply([], fxAttrs.slice(0,num)), function(){
- obj[ this ] = type;
- });
- return obj;
-}
-
-jQuery.fn.extend({
- show: function(speed,callback){
- if ( speed ) {
- return this.animate( genFx("show", 3), speed, callback);
- } else {
- for ( var i = 0, l = this.length; i < l; i++ ){
- var old = jQuery.data(this[i], "olddisplay");
-
- this[i].style.display = old || "";
-
- if ( jQuery.css(this[i], "display") === "none" ) {
- var tagName = this[i].tagName, display;
-
- if ( elemdisplay[ tagName ] ) {
- display = elemdisplay[ tagName ];
- } else {
- var elem = jQuery("<" + tagName + " />").appendTo("body");
-
- display = elem.css("display");
- if ( display === "none" )
- display = "block";
-
- elem.remove();
-
- elemdisplay[ tagName ] = display;
- }
-
- jQuery.data(this[i], "olddisplay", display);
- }
- }
-
- // Set the display of the elements in a second loop
- // to avoid the constant reflow
- for ( var i = 0, l = this.length; i < l; i++ ){
- this[i].style.display = jQuery.data(this[i], "olddisplay") || "";
- }
-
- return this;
- }
- },
-
- hide: function(speed,callback){
- if ( speed ) {
- return this.animate( genFx("hide", 3), speed, callback);
- } else {
- for ( var i = 0, l = this.length; i < l; i++ ){
- var old = jQuery.data(this[i], "olddisplay");
- if ( !old && old !== "none" )
- jQuery.data(this[i], "olddisplay", jQuery.css(this[i], "display"));
- }
-
- // Set the display of the elements in a second loop
- // to avoid the constant reflow
- for ( var i = 0, l = this.length; i < l; i++ ){
- this[i].style.display = "none";
- }
-
- return this;
- }
- },
-
- // Save the old toggle function
- _toggle: jQuery.fn.toggle,
-
- toggle: function( fn, fn2 ){
- var bool = typeof fn === "boolean";
-
- return jQuery.isFunction(fn) && jQuery.isFunction(fn2) ?
- this._toggle.apply( this, arguments ) :
- fn == null || bool ?
- this.each(function(){
- var state = bool ? fn : jQuery(this).is(":hidden");
- jQuery(this)[ state ? "show" : "hide" ]();
- }) :
- this.animate(genFx("toggle", 3), fn, fn2);
- },
-
- fadeTo: function(speed,to,callback){
- return this.animate({opacity: to}, speed, callback);
- },
-
- animate: function( prop, speed, easing, callback ) {
- var optall = jQuery.speed(speed, easing, callback);
-
- return this[ optall.queue === false ? "each" : "queue" ](function(){
-
- var opt = jQuery.extend({}, optall), p,
- hidden = this.nodeType == 1 && jQuery(this).is(":hidden"),
- self = this;
-
- for ( p in prop ) {
- if ( prop[p] == "hide" && hidden || prop[p] == "show" && !hidden )
- return opt.complete.call(this);
-
- if ( ( p == "height" || p == "width" ) && this.style ) {
- // Store display property
- opt.display = jQuery.css(this, "display");
-
- // Make sure that nothing sneaks out
- opt.overflow = this.style.overflow;
- }
- }
-
- if ( opt.overflow != null )
- this.style.overflow = "hidden";
-
- opt.curAnim = jQuery.extend({}, prop);
-
- jQuery.each( prop, function(name, val){
- var e = new jQuery.fx( self, opt, name );
-
- if ( /toggle|show|hide/.test(val) )
- e[ val == "toggle" ? hidden ? "show" : "hide" : val ]( prop );
- else {
- var parts = val.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),
- start = e.cur(true) || 0;
-
- if ( parts ) {
- var end = parseFloat(parts[2]),
- unit = parts[3] || "px";
-
- // We need to compute starting value
- if ( unit != "px" ) {
- self.style[ name ] = (end || 1) + unit;
- start = ((end || 1) / e.cur(true)) * start;
- self.style[ name ] = start + unit;
- }
-
- // If a +=/-= token was provided, we're doing a relative animation
- if ( parts[1] )
- end = ((parts[1] == "-=" ? -1 : 1) * end) + start;
-
- e.custom( start, end, unit );
- } else
- e.custom( start, val, "" );
- }
- });
-
- // For JS strict compliance
- return true;
- });
- },
-
- stop: function(clearQueue, gotoEnd){
- var timers = jQuery.timers;
-
- if (clearQueue)
- this.queue([]);
-
- this.each(function(){
- // go in reverse order so anything added to the queue during the loop is ignored
- for ( var i = timers.length - 1; i >= 0; i-- )
- if ( timers[i].elem == this ) {
- if (gotoEnd)
- // force the next step to be the last
- timers[i](true);
- timers.splice(i, 1);
- }
- });
-
- // start the next in the queue if the last step wasn't forced
- if (!gotoEnd)
- this.dequeue();
-
- return this;
- }
-
-});
-
-// Generate shortcuts for custom animations
-jQuery.each({
- slideDown: genFx("show", 1),
- slideUp: genFx("hide", 1),
- slideToggle: genFx("toggle", 1),
- fadeIn: { opacity: "show" },
- fadeOut: { opacity: "hide" }
-}, function( name, props ){
- jQuery.fn[ name ] = function( speed, callback ){
- return this.animate( props, speed, callback );
- };
-});
-
-jQuery.extend({
-
- speed: function(speed, easing, fn) {
- var opt = typeof speed === "object" ? speed : {
- complete: fn || !fn && easing ||
- jQuery.isFunction( speed ) && speed,
- duration: speed,
- easing: fn && easing || easing && !jQuery.isFunction(easing) && easing
- };
-
- opt.duration = jQuery.fx.off ? 0 : typeof opt.duration === "number" ? opt.duration :
- jQuery.fx.speeds[opt.duration] || jQuery.fx.speeds._default;
-
- // Queueing
- opt.old = opt.complete;
- opt.complete = function(){
- if ( opt.queue !== false )
- jQuery(this).dequeue();
- if ( jQuery.isFunction( opt.old ) )
- opt.old.call( this );
- };
-
- return opt;
- },
-
- easing: {
- linear: function( p, n, firstNum, diff ) {
- return firstNum + diff * p;
- },
- swing: function( p, n, firstNum, diff ) {
- return ((-Math.cos(p*Math.PI)/2) + 0.5) * diff + firstNum;
- }
- },
-
- timers: [],
-
- fx: function( elem, options, prop ){
- this.options = options;
- this.elem = elem;
- this.prop = prop;
-
- if ( !options.orig )
- options.orig = {};
- }
-
-});
-
-jQuery.fx.prototype = {
-
- // Simple function for setting a style value
- update: function(){
- if ( this.options.step )
- this.options.step.call( this.elem, this.now, this );
-
- (jQuery.fx.step[this.prop] || jQuery.fx.step._default)( this );
-
- // Set display property to block for height/width animations
- if ( ( this.prop == "height" || this.prop == "width" ) && this.elem.style )
- this.elem.style.display = "block";
- },
-
- // Get the current size
- cur: function(force){
- if ( this.elem[this.prop] != null && (!this.elem.style || this.elem.style[this.prop] == null) )
- return this.elem[ this.prop ];
-
- var r = parseFloat(jQuery.css(this.elem, this.prop, force));
- return r && r > -10000 ? r : parseFloat(jQuery.curCSS(this.elem, this.prop)) || 0;
- },
-
- // Start an animation from one number to another
- custom: function(from, to, unit){
- this.startTime = now();
- this.start = from;
- this.end = to;
- this.unit = unit || this.unit || "px";
- this.now = this.start;
- this.pos = this.state = 0;
-
- var self = this;
- function t(gotoEnd){
- return self.step(gotoEnd);
- }
-
- t.elem = this.elem;
-
- if ( t() && jQuery.timers.push(t) && !timerId ) {
- timerId = setInterval(function(){
- var timers = jQuery.timers;
-
- for ( var i = 0; i < timers.length; i++ )
- if ( !timers[i]() )
- timers.splice(i--, 1);
-
- if ( !timers.length ) {
- clearInterval( timerId );
- timerId = undefined;
- }
- }, 13);
- }
- },
-
- // Simple 'show' function
- show: function(){
- // Remember where we started, so that we can go back to it later
- this.options.orig[this.prop] = jQuery.attr( this.elem.style, this.prop );
- this.options.show = true;
-
- // Begin the animation
- // Make sure that we start at a small width/height to avoid any
- // flash of content
- this.custom(this.prop == "width" || this.prop == "height" ? 1 : 0, this.cur());
-
- // Start by showing the element
- jQuery(this.elem).show();
- },
-
- // Simple 'hide' function
- hide: function(){
- // Remember where we started, so that we can go back to it later
- this.options.orig[this.prop] = jQuery.attr( this.elem.style, this.prop );
- this.options.hide = true;
-
- // Begin the animation
- this.custom(this.cur(), 0);
- },
-
- // Each step of an animation
- step: function(gotoEnd){
- var t = now();
-
- if ( gotoEnd || t >= this.options.duration + this.startTime ) {
- this.now = this.end;
- this.pos = this.state = 1;
- this.update();
-
- this.options.curAnim[ this.prop ] = true;
-
- var done = true;
- for ( var i in this.options.curAnim )
- if ( this.options.curAnim[i] !== true )
- done = false;
-
- if ( done ) {
- if ( this.options.display != null ) {
- // Reset the overflow
- this.elem.style.overflow = this.options.overflow;
-
- // Reset the display
- this.elem.style.display = this.options.display;
- if ( jQuery.css(this.elem, "display") == "none" )
- this.elem.style.display = "block";
- }
-
- // Hide the element if the "hide" operation was done
- if ( this.options.hide )
- jQuery(this.elem).hide();
-
- // Reset the properties, if the item has been hidden or shown
- if ( this.options.hide || this.options.show )
- for ( var p in this.options.curAnim )
- jQuery.attr(this.elem.style, p, this.options.orig[p]);
-
- // Execute the complete function
- this.options.complete.call( this.elem );
- }
-
- return false;
- } else {
- var n = t - this.startTime;
- this.state = n / this.options.duration;
-
- // Perform the easing function, defaults to swing
- this.pos = jQuery.easing[this.options.easing || (jQuery.easing.swing ? "swing" : "linear")](this.state, n, 0, 1, this.options.duration);
- this.now = this.start + ((this.end - this.start) * this.pos);
-
- // Perform the next step of the animation
- this.update();
- }
-
- return true;
- }
-
-};
-
-jQuery.extend( jQuery.fx, {
- speeds:{
- slow: 600,
- fast: 200,
- // Default speed
- _default: 400
- },
- step: {
-
- opacity: function(fx){
- jQuery.attr(fx.elem.style, "opacity", fx.now);
- },
-
- _default: function(fx){
- if ( fx.elem.style && fx.elem.style[ fx.prop ] != null )
- fx.elem.style[ fx.prop ] = fx.now + fx.unit;
- else
- fx.elem[ fx.prop ] = fx.now;
- }
- }
-});
-if ( document.documentElement["getBoundingClientRect"] )
- jQuery.fn.offset = function() {
- if ( !this[0] ) return { top: 0, left: 0 };
- if ( this[0] === this[0].ownerDocument.body ) return jQuery.offset.bodyOffset( this[0] );
- var box = this[0].getBoundingClientRect(), doc = this[0].ownerDocument, body = doc.body, docElem = doc.documentElement,
- clientTop = docElem.clientTop || body.clientTop || 0, clientLeft = docElem.clientLeft || body.clientLeft || 0,
- top = box.top + (self.pageYOffset || jQuery.boxModel && docElem.scrollTop || body.scrollTop ) - clientTop,
- left = box.left + (self.pageXOffset || jQuery.boxModel && docElem.scrollLeft || body.scrollLeft) - clientLeft;
- return { top: top, left: left };
- };
-else
- jQuery.fn.offset = function() {
- if ( !this[0] ) return { top: 0, left: 0 };
- if ( this[0] === this[0].ownerDocument.body ) return jQuery.offset.bodyOffset( this[0] );
- jQuery.offset.initialized || jQuery.offset.initialize();
-
- var elem = this[0], offsetParent = elem.offsetParent, prevOffsetParent = elem,
- doc = elem.ownerDocument, computedStyle, docElem = doc.documentElement,
- body = doc.body, defaultView = doc.defaultView,
- prevComputedStyle = defaultView.getComputedStyle(elem, null),
- top = elem.offsetTop, left = elem.offsetLeft;
-
- while ( (elem = elem.parentNode) && elem !== body && elem !== docElem ) {
- computedStyle = defaultView.getComputedStyle(elem, null);
- top -= elem.scrollTop, left -= elem.scrollLeft;
- if ( elem === offsetParent ) {
- top += elem.offsetTop, left += elem.offsetLeft;
- if ( jQuery.offset.doesNotAddBorder && !(jQuery.offset.doesAddBorderForTableAndCells && /^t(able|d|h)$/i.test(elem.tagName)) )
- top += parseInt( computedStyle.borderTopWidth, 10) || 0,
- left += parseInt( computedStyle.borderLeftWidth, 10) || 0;
- prevOffsetParent = offsetParent, offsetParent = elem.offsetParent;
- }
- if ( jQuery.offset.subtractsBorderForOverflowNotVisible && computedStyle.overflow !== "visible" )
- top += parseInt( computedStyle.borderTopWidth, 10) || 0,
- left += parseInt( computedStyle.borderLeftWidth, 10) || 0;
- prevComputedStyle = computedStyle;
- }
-
- if ( prevComputedStyle.position === "relative" || prevComputedStyle.position === "static" )
- top += body.offsetTop,
- left += body.offsetLeft;
-
- if ( prevComputedStyle.position === "fixed" )
- top += Math.max(docElem.scrollTop, body.scrollTop),
- left += Math.max(docElem.scrollLeft, body.scrollLeft);
-
- return { top: top, left: left };
- };
-
-jQuery.offset = {
- initialize: function() {
- if ( this.initialized ) return;
- var body = document.body, container = document.createElement('div'), innerDiv, checkDiv, table, td, rules, prop, bodyMarginTop = body.style.marginTop,
- html = '<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>';
-
- rules = { position: 'absolute', top: 0, left: 0, margin: 0, border: 0, width: '1px', height: '1px', visibility: 'hidden' };
- for ( prop in rules ) container.style[prop] = rules[prop];
-
- container.innerHTML = html;
- body.insertBefore(container, body.firstChild);
- innerDiv = container.firstChild, checkDiv = innerDiv.firstChild, td = innerDiv.nextSibling.firstChild.firstChild;
-
- this.doesNotAddBorder = (checkDiv.offsetTop !== 5);
- this.doesAddBorderForTableAndCells = (td.offsetTop === 5);
-
- innerDiv.style.overflow = 'hidden', innerDiv.style.position = 'relative';
- this.subtractsBorderForOverflowNotVisible = (checkDiv.offsetTop === -5);
-
- body.style.marginTop = '1px';
- this.doesNotIncludeMarginInBodyOffset = (body.offsetTop === 0);
- body.style.marginTop = bodyMarginTop;
-
- body.removeChild(container);
- this.initialized = true;
- },
-
- bodyOffset: function(body) {
- jQuery.offset.initialized || jQuery.offset.initialize();
- var top = body.offsetTop, left = body.offsetLeft;
- if ( jQuery.offset.doesNotIncludeMarginInBodyOffset )
- top += parseInt( jQuery.curCSS(body, 'marginTop', true), 10 ) || 0,
- left += parseInt( jQuery.curCSS(body, 'marginLeft', true), 10 ) || 0;
- return { top: top, left: left };
- }
-};
-
-
-jQuery.fn.extend({
- position: function() {
- var left = 0, top = 0, results;
-
- if ( this[0] ) {
- // Get *real* offsetParent
- var offsetParent = this.offsetParent(),
-
- // Get correct offsets
- offset = this.offset(),
- parentOffset = /^body|html$/i.test(offsetParent[0].tagName) ? { top: 0, left: 0 } : offsetParent.offset();
-
- // Subtract element margins
- // note: when an element has margin: auto the offsetLeft and marginLeft
- // are the same in Safari causing offset.left to incorrectly be 0
- offset.top -= num( this, 'marginTop' );
- offset.left -= num( this, 'marginLeft' );
-
- // Add offsetParent borders
- parentOffset.top += num( offsetParent, 'borderTopWidth' );
- parentOffset.left += num( offsetParent, 'borderLeftWidth' );
-
- // Subtract the two offsets
- results = {
- top: offset.top - parentOffset.top,
- left: offset.left - parentOffset.left
- };
- }
-
- return results;
- },
-
- offsetParent: function() {
- var offsetParent = this[0].offsetParent || document.body;
- while ( offsetParent && (!/^body|html$/i.test(offsetParent.tagName) && jQuery.css(offsetParent, 'position') == 'static') )
- offsetParent = offsetParent.offsetParent;
- return jQuery(offsetParent);
- }
-});
-
-
-// Create scrollLeft and scrollTop methods
-jQuery.each( ['Left', 'Top'], function(i, name) {
- var method = 'scroll' + name;
-
- jQuery.fn[ method ] = function(val) {
- if (!this[0]) return null;
-
- return val !== undefined ?
-
- // Set the scroll offset
- this.each(function() {
- this == window || this == document ?
- window.scrollTo(
- !i ? val : jQuery(window).scrollLeft(),
- i ? val : jQuery(window).scrollTop()
- ) :
- this[ method ] = val;
- }) :
-
- // Return the scroll offset
- this[0] == window || this[0] == document ?
- self[ i ? 'pageYOffset' : 'pageXOffset' ] ||
- jQuery.boxModel && document.documentElement[ method ] ||
- document.body[ method ] :
- this[0][ method ];
- };
-});
-// Create innerHeight, innerWidth, outerHeight and outerWidth methods
-jQuery.each([ "Height", "Width" ], function(i, name){
-
- var tl = i ? "Left" : "Top", // top or left
- br = i ? "Right" : "Bottom", // bottom or right
- lower = name.toLowerCase();
-
- // innerHeight and innerWidth
- jQuery.fn["inner" + name] = function(){
- return this[0] ?
- jQuery.css( this[0], lower, false, "padding" ) :
- null;
- };
-
- // outerHeight and outerWidth
- jQuery.fn["outer" + name] = function(margin) {
- return this[0] ?
- jQuery.css( this[0], lower, false, margin ? "margin" : "border" ) :
- null;
- };
-
- var type = name.toLowerCase();
-
- jQuery.fn[ type ] = function( size ) {
- // Get window width or height
- return this[0] == window ?
- // Everyone else use document.documentElement or document.body depending on Quirks vs Standards mode
- document.compatMode == "CSS1Compat" && document.documentElement[ "client" + name ] ||
- document.body[ "client" + name ] :
-
- // Get document width or height
- this[0] == document ?
- // Either scroll[Width/Height] or offset[Width/Height], whichever is greater
- Math.max(
- document.documentElement["client" + name],
- document.body["scroll" + name], document.documentElement["scroll" + name],
- document.body["offset" + name], document.documentElement["offset" + name]
- ) :
-
- // Get or set width or height on the element
- size === undefined ?
- // Get width or height on the element
- (this.length ? jQuery.css( this[0], type ) : null) :
-
- // Set the width or height on the element (default to pixels if value is unitless)
- this.css( type, typeof size === "string" ? size : size + "px" );
- };
-
-});
-})();
-
-/**
- * Add a suitable MW-specific alias
- */
-$j = jQuery.noConflict();
-
diff --git a/skins/common/jquery.min.js b/skins/common/jquery.min.js
deleted file mode 100644
index d872c9f..0000000
--- a/skins/common/jquery.min.js
+++ /dev/null
@@ -1,433 +0,0 @@
-
-(function(){var
-window=this,undefined,_jQuery=window.jQuery,_$=window.$,jQuery=window.jQuery=window.$=function(selector,context){return new jQuery.fn.init(selector,context);},quickExpr=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/;jQuery.fn=jQuery.prototype={init:function(selector,context){selector=selector||document;if(selector.nodeType){this[0]=selector;this.length=1;this.context=selector;return this;}
-if(typeof selector==="string"){var match=quickExpr.exec(selector);if(match&&(match[1]||!context)){if(match[1])
-selector=jQuery.clean([match[1]],context);else{var elem=document.getElementById(match[3]);if(elem&&elem.id!=match[3])
-return jQuery().find(selector);var ret=jQuery(elem||[]);ret.context=document;ret.selector=selector;return ret;}}else
-return jQuery(context).find(selector);}else if(jQuery.isFunction(selector))
-return jQuery(document).ready(selector);if(selector.selector&&selector.context){this.selector=selector.selector;this.context=selector.context;}
-return this.setArray(jQuery.isArray(selector)?selector:jQuery.makeArray(selector));},selector:"",jquery:"1.3.2",size:function(){return this.length;},get:function(num){return num===undefined?Array.prototype.slice.call(this):this[num];},pushStack:function(elems,name,selector){var ret=jQuery(elems);ret.prevObject=this;ret.context=this.context;if(name==="find")
-ret.selector=this.selector+(this.selector?" ":"")+selector;else if(name)
-ret.selector=this.selector+"."+name+"("+selector+")";return ret;},setArray:function(elems){this.length=0;Array.prototype.push.apply(this,elems);return this;},each:function(callback,args){return jQuery.each(this,callback,args);},index:function(elem){return jQuery.inArray(elem&&elem.jquery?elem[0]:elem,this);},attr:function(name,value,type){var options=name;if(typeof name==="string")
-if(value===undefined)
-return this[0]&&jQuery[type||"attr"](this[0],name);else{options={};options[name]=value;}
-return this.each(function(i){for(name in options)
-jQuery.attr(type?this.style:this,name,jQuery.prop(this,options[name],type,i,name));});},css:function(key,value){if((key=='width'||key=='height')&&parseFloat(value)<0)
-value=undefined;return this.attr(key,value,"curCSS");},text:function(text){if(typeof text!=="object"&&text!=null)
-return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(text));var ret="";jQuery.each(text||this,function(){jQuery.each(this.childNodes,function(){if(this.nodeType!=8)
-ret+=this.nodeType!=1?this.nodeValue:jQuery.fn.text([this]);});});return ret;},wrapAll:function(html){if(this[0]){var wrap=jQuery(html,this[0].ownerDocument).clone();if(this[0].parentNode)
-wrap.insertBefore(this[0]);wrap.map(function(){var elem=this;while(elem.firstChild)
-elem=elem.firstChild;return elem;}).append(this);}
-return this;},wrapInner:function(html){return this.each(function(){jQuery(this).contents().wrapAll(html);});},wrap:function(html){return this.each(function(){jQuery(this).wrapAll(html);});},append:function(){return this.domManip(arguments,true,function(elem){if(this.nodeType==1)
-this.appendChild(elem);});},prepend:function(){return this.domManip(arguments,true,function(elem){if(this.nodeType==1)
-this.insertBefore(elem,this.firstChild);});},before:function(){return this.domManip(arguments,false,function(elem){this.parentNode.insertBefore(elem,this);});},after:function(){return this.domManip(arguments,false,function(elem){this.parentNode.insertBefore(elem,this.nextSibling);});},end:function(){return this.prevObject||jQuery([]);},push:[].push,sort:[].sort,splice:[].splice,find:function(selector){if(this.length===1){var ret=this.pushStack([],"find",selector);ret.length=0;jQuery.find(selector,this[0],ret);return ret;}else{return this.pushStack(jQuery.unique(jQuery.map(this,function(elem){return jQuery.find(selector,elem);})),"find",selector);}},clone:function(events){var ret=this.map(function(){if(!jQuery.support.noCloneEvent&&!jQuery.isXMLDoc(this)){var html=this.outerHTML;if(!html){var div=this.ownerDocument.createElement("div");div.appendChild(this.cloneNode(true));html=div.innerHTML;}
-return jQuery.clean([html.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0];}else
-return this.cloneNode(true);});if(events===true){var orig=this.find("*").andSelf(),i=0;ret.find("*").andSelf().each(function(){if(this.nodeName!==orig[i].nodeName)
-return;var events=jQuery.data(orig[i],"events");for(var type in events){for(var handler in events[type]){jQuery.event.add(this,type,events[type][handler],events[type][handler].data);}}
-i++;});}
-return ret;},filter:function(selector){return this.pushStack(jQuery.isFunction(selector)&&jQuery.grep(this,function(elem,i){return selector.call(elem,i);})||jQuery.multiFilter(selector,jQuery.grep(this,function(elem){return elem.nodeType===1;})),"filter",selector);},closest:function(selector){var pos=jQuery.expr.match.POS.test(selector)?jQuery(selector):null,closer=0;return this.map(function(){var cur=this;while(cur&&cur.ownerDocument){if(pos?pos.index(cur)>-1:jQuery(cur).is(selector)){jQuery.data(cur,"closest",closer);return cur;}
-cur=cur.parentNode;closer++;}});},not:function(selector){if(typeof selector==="string")
-if(isSimple.test(selector))
-return this.pushStack(jQuery.multiFilter(selector,this,true),"not",selector);else
-selector=jQuery.multiFilter(selector,this);var isArrayLike=selector.length&&selector[selector.length-1]!==undefined&&!selector.nodeType;return this.filter(function(){return isArrayLike?jQuery.inArray(this,selector)<0:this!=selector;});},add:function(selector){return this.pushStack(jQuery.unique(jQuery.merge(this.get(),typeof selector==="string"?jQuery(selector):jQuery.makeArray(selector))));},is:function(selector){return!!selector&&jQuery.multiFilter(selector,this).length>0;},hasClass:function(selector){return!!selector&&this.is("."+selector);},val:function(value){if(value===undefined){var elem=this[0];if(elem){if(jQuery.nodeName(elem,'option'))
-return(elem.attributes.value||{}).specified?elem.value:elem.text;if(jQuery.nodeName(elem,"select")){var index=elem.selectedIndex,values=[],options=elem.options,one=elem.type=="select-one";if(index<0)
-return null;for(var i=one?index:0,max=one?index+1:options.length;i<max;i++){var option=options[i];if(option.selected){value=jQuery(option).val();if(one)
-return value;values.push(value);}}
-return values;}
-return(elem.value||"").replace(/\r/g,"");}
-return undefined;}
-if(typeof value==="number")
-value+='';return this.each(function(){if(this.nodeType!=1)
-return;if(jQuery.isArray(value)&&/radio|checkbox/.test(this.type))
-this.checked=(jQuery.inArray(this.value,value)>=0||jQuery.inArray(this.name,value)>=0);else if(jQuery.nodeName(this,"select")){var values=jQuery.makeArray(value);jQuery("option",this).each(function(){this.selected=(jQuery.inArray(this.value,values)>=0||jQuery.inArray(this.text,values)>=0);});if(!values.length)
-this.selectedIndex=-1;}else
-this.value=value;});},html:function(value){return value===undefined?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(value);},replaceWith:function(value){return this.after(value).remove();},eq:function(i){return this.slice(i,+i+1);},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","));},map:function(callback){return this.pushStack(jQuery.map(this,function(elem,i){return callback.call(elem,i,elem);}));},andSelf:function(){return this.add(this.prevObject);},domManip:function(args,table,callback){if(this[0]){var fragment=(this[0].ownerDocument||this[0]).createDocumentFragment(),scripts=jQuery.clean(args,(this[0].ownerDocument||this[0]),fragment),first=fragment.firstChild;if(first)
-for(var i=0,l=this.length;i<l;i++)
-callback.call(root(this[i],first),this.length>1||i>0?fragment.cloneNode(true):fragment);if(scripts)
-jQuery.each(scripts,evalScript);}
-return this;function root(elem,cur){return table&&jQuery.nodeName(elem,"table")&&jQuery.nodeName(cur,"tr")?(elem.getElementsByTagName("tbody")[0]||elem.appendChild(elem.ownerDocument.createElement("tbody"))):elem;}}};jQuery.fn.init.prototype=jQuery.fn;function evalScript(i,elem){if(elem.src)
-jQuery.ajax({url:elem.src,async:false,dataType:"script"});else
-jQuery.globalEval(elem.text||elem.textContent||elem.innerHTML||"");if(elem.parentNode)
-elem.parentNode.removeChild(elem);}
-function now(){return+new Date;}
-jQuery.extend=jQuery.fn.extend=function(){var target=arguments[0]||{},i=1,length=arguments.length,deep=false,options;if(typeof target==="boolean"){deep=target;target=arguments[1]||{};i=2;}
-if(typeof target!=="object"&&!jQuery.isFunction(target))
-target={};if(length==i){target=this;--i;}
-for(;i<length;i++)
-if((options=arguments[i])!=null)
-for(var name in options){var src=target[name],copy=options[name];if(target===copy)
-continue;if(deep&&copy&&typeof copy==="object"&&!copy.nodeType)
-target[name]=jQuery.extend(deep,src||(copy.length!=null?[]:{}),copy);else if(copy!==undefined)
-target[name]=copy;}
-return target;};var exclude=/z-?index|font-?weight|opacity|zoom|line-?height/i,defaultView=document.defaultView||{},toString=Object.prototype.toString;jQuery.extend({noConflict:function(deep){window.$=_$;if(deep)
-window.jQuery=_jQuery;return jQuery;},isFunction:function(obj){return toString.call(obj)==="[object Function]";},isArray:function(obj){return toString.call(obj)==="[object Array]";},isXMLDoc:function(elem){return elem.nodeType===9&&elem.documentElement.nodeName!=="HTML"||!!elem.ownerDocument&&jQuery.isXMLDoc(elem.ownerDocument);},globalEval:function(data){if(data&&/\S/.test(data)){var head=document.getElementsByTagName("head")[0]||document.documentElement,script=document.createElement("script");script.type="text/javascript";if(jQuery.support.scriptEval)
-script.appendChild(document.createTextNode(data));else
-script.text=data;head.insertBefore(script,head.firstChild);head.removeChild(script);}},nodeName:function(elem,name){return elem.nodeName&&elem.nodeName.toUpperCase()==name.toUpperCase();},each:function(object,callback,args){var name,i=0,length=object.length;if(args){if(length===undefined){for(name in object)
-if(callback.apply(object[name],args)===false)
-break;}else
-for(;i<length;)
-if(callback.apply(object[i++],args)===false)
-break;}else{if(length===undefined){for(name in object)
-if(callback.call(object[name],name,object[name])===false)
-break;}else
-for(var value=object[0];i<length&&callback.call(value,i,value)!==false;value=object[++i]){}}
-return object;},prop:function(elem,value,type,i,name){if(jQuery.isFunction(value))
-value=value.call(elem,i);return typeof value==="number"&&type=="curCSS"&&!exclude.test(name)?value+"px":value;},className:{add:function(elem,classNames){jQuery.each((classNames||"").split(/\s+/),function(i,className){if(elem.nodeType==1&&!jQuery.className.has(elem.className,className))
-elem.className+=(elem.className?" ":"")+className;});},remove:function(elem,classNames){if(elem.nodeType==1)
-elem.className=classNames!==undefined?jQuery.grep(elem.className.split(/\s+/),function(className){return!jQuery.className.has(classNames,className);}).join(" "):"";},has:function(elem,className){return elem&&jQuery.inArray(className,(elem.className||elem).toString().split(/\s+/))>-1;}},swap:function(elem,options,callback){var old={};for(var name in options){old[name]=elem.style[name];elem.style[name]=options[name];}
-callback.call(elem);for(var name in options)
-elem.style[name]=old[name];},css:function(elem,name,force,extra){if(name=="width"||name=="height"){var val,props={position:"absolute",visibility:"hidden",display:"block"},which=name=="width"?["Left","Right"]:["Top","Bottom"];function getWH(){val=name=="width"?elem.offsetWidth:elem.offsetHeight;if(extra==="border")
-return;jQuery.each(which,function(){if(!extra)
-val-=parseFloat(jQuery.curCSS(elem,"padding"+this,true))||0;if(extra==="margin")
-val+=parseFloat(jQuery.curCSS(elem,"margin"+this,true))||0;else
-val-=parseFloat(jQuery.curCSS(elem,"border"+this+"Width",true))||0;});}
-if(elem.offsetWidth!==0)
-getWH();else
-jQuery.swap(elem,props,getWH);return Math.max(0,Math.round(val));}
-return jQuery.curCSS(elem,name,force);},curCSS:function(elem,name,force){var ret,style=elem.style;if(name=="opacity"&&!jQuery.support.opacity){ret=jQuery.attr(style,"opacity");return ret==""?"1":ret;}
-if(name.match(/float/i))
-name=styleFloat;if(!force&&style&&style[name])
-ret=style[name];else if(defaultView.getComputedStyle){if(name.match(/float/i))
-name="float";name=name.replace(/([A-Z])/g,"-$1").toLowerCase();try{var computedStyle=defaultView.getComputedStyle(elem,null);}catch(e){}
-if(computedStyle)
-ret=computedStyle.getPropertyValue(name);if(name=="opacity"&&ret=="")
-ret="1";}else if(elem.currentStyle){var camelCase=name.replace(/\-(\w)/g,function(all,letter){return letter.toUpperCase();});ret=elem.currentStyle[name]||elem.currentStyle[camelCase];if(!/^\d+(px)?$/i.test(ret)&&/^\d/.test(ret)){var left=style.left,rsLeft=elem.runtimeStyle.left;elem.runtimeStyle.left=elem.currentStyle.left;style.left=ret||0;ret=style.pixelLeft+"px";style.left=left;elem.runtimeStyle.left=rsLeft;}}
-return ret;},clean:function(elems,context,fragment){context=context||document;if(typeof context.createElement==="undefined")
-context=context.ownerDocument||context[0]&&context[0].ownerDocument||document;if(!fragment&&elems.length===1&&typeof elems[0]==="string"){var match=/^<(\w+)\s*\/?>$/.exec(elems[0]);if(match)
-return[context.createElement(match[1])];}
-var ret=[],scripts=[],div=context.createElement("div");jQuery.each(elems,function(i,elem){if(typeof elem==="number")
-elem+='';if(!elem)
-return;if(typeof elem==="string"){elem=elem.replace(/(<(\w+)[^>]*?)\/>/g,function(all,front,tag){return tag.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?all:front+"></"+tag+">";});var tags=elem.replace(/^\s+/,"").substring(0,10).toLowerCase();var wrap=!tags.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!tags.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||tags.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!tags.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!tags.indexOf("<td")||!tags.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!tags.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!jQuery.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];div.innerHTML=wrap[1]+elem+wrap[2];while(wrap[0]--)
-div=div.lastChild;if(!jQuery.support.tbody){var hasBody=/<tbody/i.test(elem),tbody=!tags.indexOf("<table")&&!hasBody?div.firstChild&&div.firstChild.childNodes:wrap[1]=="<table>"&&!hasBody?div.childNodes:[];for(var j=tbody.length-1;j>=0;--j)
-if(jQuery.nodeName(tbody[j],"tbody")&&!tbody[j].childNodes.length)
-tbody[j].parentNode.removeChild(tbody[j]);}
-if(!jQuery.support.leadingWhitespace&&/^\s/.test(elem))
-div.insertBefore(context.createTextNode(elem.match(/^\s*/)[0]),div.firstChild);elem=jQuery.makeArray(div.childNodes);}
-if(elem.nodeType)
-ret.push(elem);else
-ret=jQuery.merge(ret,elem);});if(fragment){for(var i=0;ret[i];i++){if(jQuery.nodeName(ret[i],"script")&&(!ret[i].type||ret[i].type.toLowerCase()==="text/javascript")){scripts.push(ret[i].parentNode?ret[i].parentNode.removeChild(ret[i]):ret[i]);}else{if(ret[i].nodeType===1)
-ret.splice.apply(ret,[i+1,0].concat(jQuery.makeArray(ret[i].getElementsByTagName("script"))));fragment.appendChild(ret[i]);}}
-return scripts;}
-return ret;},attr:function(elem,name,value){if(!elem||elem.nodeType==3||elem.nodeType==8)
-return undefined;var notxml=!jQuery.isXMLDoc(elem),set=value!==undefined;name=notxml&&jQuery.props[name]||name;if(elem.tagName){var special=/href|src|style/.test(name);if(name=="selected"&&elem.parentNode)
-elem.parentNode.selectedIndex;if(name in elem&&notxml&&!special){if(set){if(name=="type"&&jQuery.nodeName(elem,"input")&&elem.parentNode)
-throw"type property can't be changed";elem[name]=value;}
-if(jQuery.nodeName(elem,"form")&&elem.getAttributeNode(name))
-return elem.getAttributeNode(name).nodeValue;if(name=="tabIndex"){var attributeNode=elem.getAttributeNode("tabIndex");return attributeNode&&attributeNode.specified?attributeNode.value:elem.nodeName.match(/(button|input|object|select|textarea)/i)?0:elem.nodeName.match(/^(a|area)$/i)&&elem.href?0:undefined;}
-return elem[name];}
-if(!jQuery.support.style&&notxml&&name=="style")
-return jQuery.attr(elem.style,"cssText",value);if(set)
-elem.setAttribute(name,""+value);var attr=!jQuery.support.hrefNormalized&&notxml&&special?elem.getAttribute(name,2):elem.getAttribute(name);return attr===null?undefined:attr;}
-if(!jQuery.support.opacity&&name=="opacity"){if(set){elem.zoom=1;elem.filter=(elem.filter||"").replace(/alpha\([^)]*\)/,"")+
-(parseInt(value)+''=="NaN"?"":"alpha(opacity="+value*100+")");}
-return elem.filter&&elem.filter.indexOf("opacity=")>=0?(parseFloat(elem.filter.match(/opacity=([^)]*)/)[1])/100)+'':"";}
-name=name.replace(/-([a-z])/ig,function(all,letter){return letter.toUpperCase();});if(set&&value!='NaNpx'&&value!='nullpx')
-elem[name]=value;return elem[name];},trim:function(text){return(text||"").replace(/^\s+|\s+$/g,"");},makeArray:function(array){var ret=[];if(array!=null){var i=array.length;if(i==null||typeof array==="string"||jQuery.isFunction(array)||array.setInterval)
-ret[0]=array;else
-while(i)
-ret[--i]=array[i];}
-return ret;},inArray:function(elem,array){for(var i=0,length=array.length;i<length;i++)
-if(array[i]===elem)
-return i;return-1;},merge:function(first,second){var i=0,elem,pos=first.length;if(!jQuery.support.getAll){while((elem=second[i++])!=null)
-if(elem.nodeType!=8)
-first[pos++]=elem;}else
-while((elem=second[i++])!=null)
-first[pos++]=elem;return first;},unique:function(array){var ret=[],done={};try{for(var i=0,length=array.length;i<length;i++){var id=jQuery.data(array[i]);if(!done[id]){done[id]=true;ret.push(array[i]);}}}catch(e){ret=array;}
-return ret;},grep:function(elems,callback,inv){var ret=[];for(var i=0,length=elems.length;i<length;i++)
-if(!inv!=!callback(elems[i],i))
-ret.push(elems[i]);return ret;},map:function(elems,callback){var ret=[];for(var i=0,length=elems.length;i<length;i++){var value=callback(elems[i],i);if(value!=null)
-ret[ret.length]=value;}
-return ret.concat.apply([],ret);}});var userAgent=navigator.userAgent.toLowerCase();jQuery.browser={version:(userAgent.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,'0'])[1],safari:/webkit/.test(userAgent),opera:/opera/.test(userAgent),msie:/msie/.test(userAgent)&&!/opera/.test(userAgent),mozilla:/mozilla/.test(userAgent)&&!/(compatible|webkit)/.test(userAgent)};jQuery.each({parent:function(elem){return elem.parentNode;},parents:function(elem){return jQuery.dir(elem,"parentNode");},next:function(elem){return jQuery.nth(elem,2,"nextSibling");},prev:function(elem){return jQuery.nth(elem,2,"previousSibling");},nextAll:function(elem){return jQuery.dir(elem,"nextSibling");},prevAll:function(elem){return jQuery.dir(elem,"previousSibling");},siblings:function(elem){return jQuery.sibling(elem.parentNode.firstChild,elem);},children:function(elem){return jQuery.sibling(elem.firstChild);},contents:function(elem){return jQuery.nodeName(elem,"iframe")?elem.contentDocument||elem.contentWindow.document:jQuery.makeArray(elem.childNodes);}},function(name,fn){jQuery.fn[name]=function(selector){var ret=jQuery.map(this,fn);if(selector&&typeof selector=="string")
-ret=jQuery.multiFilter(selector,ret);return this.pushStack(jQuery.unique(ret),name,selector);};});jQuery.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(name,original){jQuery.fn[name]=function(selector){var ret=[],insert=jQuery(selector);for(var i=0,l=insert.length;i<l;i++){var elems=(i>0?this.clone(true):this).get();jQuery.fn[original].apply(jQuery(insert[i]),elems);ret=ret.concat(elems);}
-return this.pushStack(ret,name,selector);};});jQuery.each({removeAttr:function(name){jQuery.attr(this,name,"");if(this.nodeType==1)
-this.removeAttribute(name);},addClass:function(classNames){jQuery.className.add(this,classNames);},removeClass:function(classNames){jQuery.className.remove(this,classNames);},toggleClass:function(classNames,state){if(typeof state!=="boolean")
-state=!jQuery.className.has(this,classNames);jQuery.className[state?"add":"remove"](this,classNames);},remove:function(selector){if(!selector||jQuery.filter(selector,[this]).length){jQuery("*",this).add([this]).each(function(){jQuery.event.remove(this);jQuery.removeData(this);});if(this.parentNode)
-this.parentNode.removeChild(this);}},empty:function(){jQuery(this).children().remove();while(this.firstChild)
-this.removeChild(this.firstChild);}},function(name,fn){jQuery.fn[name]=function(){return this.each(fn,arguments);};});function num(elem,prop){return elem[0]&&parseInt(jQuery.curCSS(elem[0],prop,true),10)||0;}
-var expando="jQuery"+now(),uuid=0,windowData={};jQuery.extend({cache:{},data:function(elem,name,data){elem=elem==window?windowData:elem;var id=elem[expando];if(!id)
-id=elem[expando]=++uuid;if(name&&!jQuery.cache[id])
-jQuery.cache[id]={};if(data!==undefined)
-jQuery.cache[id][name]=data;return name?jQuery.cache[id][name]:id;},removeData:function(elem,name){elem=elem==window?windowData:elem;var id=elem[expando];if(name){if(jQuery.cache[id]){delete jQuery.cache[id][name];name="";for(name in jQuery.cache[id])
-break;if(!name)
-jQuery.removeData(elem);}}else{try{delete elem[expando];}catch(e){if(elem.removeAttribute)
-elem.removeAttribute(expando);}
-delete jQuery.cache[id];}},queue:function(elem,type,data){if(elem){type=(type||"fx")+"queue";var q=jQuery.data(elem,type);if(!q||jQuery.isArray(data))
-q=jQuery.data(elem,type,jQuery.makeArray(data));else if(data)
-q.push(data);}
-return q;},dequeue:function(elem,type){var queue=jQuery.queue(elem,type),fn=queue.shift();if(!type||type==="fx")
-fn=queue[0];if(fn!==undefined)
-fn.call(elem);}});jQuery.fn.extend({data:function(key,value){var parts=key.split(".");parts[1]=parts[1]?"."+parts[1]:"";if(value===undefined){var data=this.triggerHandler("getData"+parts[1]+"!",[parts[0]]);if(data===undefined&&this.length)
-data=jQuery.data(this[0],key);return data===undefined&&parts[1]?this.data(parts[0]):data;}else
-return this.trigger("setData"+parts[1]+"!",[parts[0],value]).each(function(){jQuery.data(this,key,value);});},removeData:function(key){return this.each(function(){jQuery.removeData(this,key);});},queue:function(type,data){if(typeof type!=="string"){data=type;type="fx";}
-if(data===undefined)
-return jQuery.queue(this[0],type);return this.each(function(){var queue=jQuery.queue(this,type,data);if(type=="fx"&&queue.length==1)
-queue[0].call(this);});},dequeue:function(type){return this.each(function(){jQuery.dequeue(this,type);});}});(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,done=0,toString=Object.prototype.toString;var Sizzle=function(selector,context,results,seed){results=results||[];context=context||document;if(context.nodeType!==1&&context.nodeType!==9)
-return[];if(!selector||typeof selector!=="string"){return results;}
-var parts=[],m,set,checkSet,check,mode,extra,prune=true;chunker.lastIndex=0;while((m=chunker.exec(selector))!==null){parts.push(m[1]);if(m[2]){extra=RegExp.rightContext;break;}}
-if(parts.length>1&&origPOS.exec(selector)){if(parts.length===2&&Expr.relative[parts[0]]){set=posProcess(parts[0]+parts[1],context);}else{set=Expr.relative[parts[0]]?[context]:Sizzle(parts.shift(),context);while(parts.length){selector=parts.shift();if(Expr.relative[selector])
-selector+=parts.shift();set=posProcess(selector,set);}}}else{var ret=seed?{expr:parts.pop(),set:makeArray(seed)}:Sizzle.find(parts.pop(),parts.length===1&&context.parentNode?context.parentNode:context,isXML(context));set=Sizzle.filter(ret.expr,ret.set);if(parts.length>0){checkSet=makeArray(set);}else{prune=false;}
-while(parts.length){var cur=parts.pop(),pop=cur;if(!Expr.relative[cur]){cur="";}else{pop=parts.pop();}
-if(pop==null){pop=context;}
-Expr.relative[cur](checkSet,pop,isXML(context));}}
-if(!checkSet){checkSet=set;}
-if(!checkSet){throw"Syntax error, unrecognized expression: "+(cur||selector);}
-if(toString.call(checkSet)==="[object Array]"){if(!prune){results.push.apply(results,checkSet);}else if(context.nodeType===1){for(var i=0;checkSet[i]!=null;i++){if(checkSet[i]&&(checkSet[i]===true||checkSet[i].nodeType===1&&contains(context,checkSet[i]))){results.push(set[i]);}}}else{for(var i=0;checkSet[i]!=null;i++){if(checkSet[i]&&checkSet[i].nodeType===1){results.push(set[i]);}}}}else{makeArray(checkSet,results);}
-if(extra){Sizzle(extra,context,results,seed);if(sortOrder){hasDuplicate=false;results.sort(sortOrder);if(hasDuplicate){for(var i=1;i<results.length;i++){if(results[i]===results[i-1]){results.splice(i--,1);}}}}}
-return results;};Sizzle.matches=function(expr,set){return Sizzle(expr,null,null,set);};Sizzle.find=function(expr,context,isXML){var set,match;if(!expr){return[];}
-for(var i=0,l=Expr.order.length;i<l;i++){var type=Expr.order[i],match;if((match=Expr.match[type].exec(expr))){var left=RegExp.leftContext;if(left.substr(left.length-1)!=="\\"){match[1]=(match[1]||"").replace(/\\/g,"");set=Expr.find[type](match,context,isXML);if(set!=null){expr=expr.replace(Expr.match[type],"");break;}}}}
-if(!set){set=context.getElementsByTagName("*");}
-return{set:set,expr:expr};};Sizzle.filter=function(expr,set,inplace,not){var old=expr,result=[],curLoop=set,match,anyFound,isXMLFilter=set&&set[0]&&isXML(set[0]);while(expr&&set.length){for(var type in Expr.filter){if((match=Expr.match[type].exec(expr))!=null){var filter=Expr.filter[type],found,item;anyFound=false;if(curLoop==result){result=[];}
-if(Expr.preFilter[type]){match=Expr.preFilter[type](match,curLoop,inplace,result,not,isXMLFilter);if(!match){anyFound=found=true;}else if(match===true){continue;}}
-if(match){for(var i=0;(item=curLoop[i])!=null;i++){if(item){found=filter(item,match,i,curLoop);var pass=not^!!found;if(inplace&&found!=null){if(pass){anyFound=true;}else{curLoop[i]=false;}}else if(pass){result.push(item);anyFound=true;}}}}
-if(found!==undefined){if(!inplace){curLoop=result;}
-expr=expr.replace(Expr.match[type],"");if(!anyFound){return[];}
-break;}}}
-if(expr==old){if(anyFound==null){throw"Syntax error, unrecognized expression: "+expr;}else{break;}}
-old=expr;}
-return curLoop;};var Expr=Sizzle.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(elem){return elem.getAttribute("href");}},relative:{"+":function(checkSet,part,isXML){var isPartStr=typeof part==="string",isTag=isPartStr&&!/\W/.test(part),isPartStrNotTag=isPartStr&&!isTag;if(isTag&&!isXML){part=part.toUpperCase();}
-for(var i=0,l=checkSet.length,elem;i<l;i++){if((elem=checkSet[i])){while((elem=elem.previousSibling)&&elem.nodeType!==1){}
-checkSet[i]=isPartStrNotTag||elem&&elem.nodeName===part?elem||false:elem===part;}}
-if(isPartStrNotTag){Sizzle.filter(part,checkSet,true);}},">":function(checkSet,part,isXML){var isPartStr=typeof part==="string";if(isPartStr&&!/\W/.test(part)){part=isXML?part:part.toUpperCase();for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){var parent=elem.parentNode;checkSet[i]=parent.nodeName===part?parent:false;}}}else{for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){checkSet[i]=isPartStr?elem.parentNode:elem.parentNode===part;}}
-if(isPartStr){Sizzle.filter(part,checkSet,true);}}},"":function(checkSet,part,isXML){var doneName=done++,checkFn=dirCheck;if(!part.match(/\W/)){var nodeCheck=part=isXML?part:part.toUpperCase();checkFn=dirNodeCheck;}
-checkFn("parentNode",part,doneName,checkSet,nodeCheck,isXML);},"~":function(checkSet,part,isXML){var doneName=done++,checkFn=dirCheck;if(typeof part==="string"&&!part.match(/\W/)){var nodeCheck=part=isXML?part:part.toUpperCase();checkFn=dirNodeCheck;}
-checkFn("previousSibling",part,doneName,checkSet,nodeCheck,isXML);}},find:{ID:function(match,context,isXML){if(typeof context.getElementById!=="undefined"&&!isXML){var m=context.getElementById(match[1]);return m?[m]:[];}},NAME:function(match,context,isXML){if(typeof context.getElementsByName!=="undefined"){var ret=[],results=context.getElementsByName(match[1]);for(var i=0,l=results.length;i<l;i++){if(results[i].getAttribute("name")===match[1]){ret.push(results[i]);}}
-return ret.length===0?null:ret;}},TAG:function(match,context){return context.getElementsByTagName(match[1]);}},preFilter:{CLASS:function(match,curLoop,inplace,result,not,isXML){match=" "+match[1].replace(/\\/g,"")+" ";if(isXML){return match;}
-for(var i=0,elem;(elem=curLoop[i])!=null;i++){if(elem){if(not^(elem.className&&(" "+elem.className+" ").indexOf(match)>=0)){if(!inplace)
-result.push(elem);}else if(inplace){curLoop[i]=false;}}}
-return false;},ID:function(match){return match[1].replace(/\\/g,"");},TAG:function(match,curLoop){for(var i=0;curLoop[i]===false;i++){}
-return curLoop[i]&&isXML(curLoop[i])?match[1]:match[1].toUpperCase();},CHILD:function(match){if(match[1]=="nth"){var test=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(match[2]=="even"&&"2n"||match[2]=="odd"&&"2n+1"||!/\D/.test(match[2])&&"0n+"+match[2]||match[2]);match[2]=(test[1]+(test[2]||1))-0;match[3]=test[3]-0;}
-match[0]=done++;return match;},ATTR:function(match,curLoop,inplace,result,not,isXML){var name=match[1].replace(/\\/g,"");if(!isXML&&Expr.attrMap[name]){match[1]=Expr.attrMap[name];}
-if(match[2]==="~="){match[4]=" "+match[4]+" ";}
-return match;},PSEUDO:function(match,curLoop,inplace,result,not){if(match[1]==="not"){if(match[3].match(chunker).length>1||/^\w/.test(match[3])){match[3]=Sizzle(match[3],null,null,curLoop);}else{var ret=Sizzle.filter(match[3],curLoop,inplace,true^not);if(!inplace){result.push.apply(result,ret);}
-return false;}}else if(Expr.match.POS.test(match[0])||Expr.match.CHILD.test(match[0])){return true;}
-return match;},POS:function(match){match.unshift(true);return match;}},filters:{enabled:function(elem){return elem.disabled===false&&elem.type!=="hidden";},disabled:function(elem){return elem.disabled===true;},checked:function(elem){return elem.checked===true;},selected:function(elem){elem.parentNode.selectedIndex;return elem.selected===true;},parent:function(elem){return!!elem.firstChild;},empty:function(elem){return!elem.firstChild;},has:function(elem,i,match){return!!Sizzle(match[3],elem).length;},header:function(elem){return/h\d/i.test(elem.nodeName);},text:function(elem){return"text"===elem.type;},radio:function(elem){return"radio"===elem.type;},checkbox:function(elem){return"checkbox"===elem.type;},file:function(elem){return"file"===elem.type;},password:function(elem){return"password"===elem.type;},submit:function(elem){return"submit"===elem.type;},image:function(elem){return"image"===elem.type;},reset:function(elem){return"reset"===elem.type;},button:function(elem){return"button"===elem.type||elem.nodeName.toUpperCase()==="BUTTON";},input:function(elem){return/input|select|textarea|button/i.test(elem.nodeName);}},setFilters:{first:function(elem,i){return i===0;},last:function(elem,i,match,array){return i===array.length-1;},even:function(elem,i){return i%2===0;},odd:function(elem,i){return i%2===1;},lt:function(elem,i,match){return i<match[3]-0;},gt:function(elem,i,match){return i>match[3]-0;},nth:function(elem,i,match){return match[3]-0==i;},eq:function(elem,i,match){return match[3]-0==i;}},filter:{PSEUDO:function(elem,match,i,array){var name=match[1],filter=Expr.filters[name];if(filter){return filter(elem,i,match,array);}else if(name==="contains"){return(elem.textContent||elem.innerText||"").indexOf(match[3])>=0;}else if(name==="not"){var not=match[3];for(var i=0,l=not.length;i<l;i++){if(not[i]===elem){return false;}}
-return true;}},CHILD:function(elem,match){var type=match[1],node=elem;switch(type){case'only':case'first':while(node=node.previousSibling){if(node.nodeType===1)return false;}
-if(type=='first')return true;node=elem;case'last':while(node=node.nextSibling){if(node.nodeType===1)return false;}
-return true;case'nth':var first=match[2],last=match[3];if(first==1&&last==0){return true;}
-var doneName=match[0],parent=elem.parentNode;if(parent&&(parent.sizcache!==doneName||!elem.nodeIndex)){var count=0;for(node=parent.firstChild;node;node=node.nextSibling){if(node.nodeType===1){node.nodeIndex=++count;}}
-parent.sizcache=doneName;}
-var diff=elem.nodeIndex-last;if(first==0){return diff==0;}else{return(diff%first==0&&diff/first>=0);}}},ID:function(elem,match){return elem.nodeType===1&&elem.getAttribute("id")===match;},TAG:function(elem,match){return(match==="*"&&elem.nodeType===1)||elem.nodeName===match;},CLASS:function(elem,match){return(" "+(elem.className||elem.getAttribute("class"))+" ").indexOf(match)>-1;},ATTR:function(elem,match){var name=match[1],result=Expr.attrHandle[name]?Expr.attrHandle[name](elem):elem[name]!=null?elem[name]:elem.getAttribute(name),value=result+"",type=match[2],check=match[4];return result==null?type==="!=":type==="="?value===check:type==="*="?value.indexOf(check)>=0:type==="~="?(" "+value+" ").indexOf(check)>=0:!check?value&&result!==false:type==="!="?value!=check:type==="^="?value.indexOf(check)===0:type==="$="?value.substr(value.length-check.length)===check:type==="|="?value===check||value.substr(0,check.length+1)===check+"-":false;},POS:function(elem,match,i,array){var name=match[2],filter=Expr.setFilters[name];if(filter){return filter(elem,i,match,array);}}}};var origPOS=Expr.match.POS;for(var type in Expr.match){Expr.match[type]=RegExp(Expr.match[type].source+/(?![^\[]*\])(?![^\(]*\))/.source);}
-var makeArray=function(array,results){array=Array.prototype.slice.call(array);if(results){results.push.apply(results,array);return results;}
-return array;};try{Array.prototype.slice.call(document.documentElement.childNodes);}catch(e){makeArray=function(array,results){var ret=results||[];if(toString.call(array)==="[object Array]"){Array.prototype.push.apply(ret,array);}else{if(typeof array.length==="number"){for(var i=0,l=array.length;i<l;i++){ret.push(array[i]);}}else{for(var i=0;array[i];i++){ret.push(array[i]);}}}
-return ret;};}
-var sortOrder;if(document.documentElement.compareDocumentPosition){sortOrder=function(a,b){var ret=a.compareDocumentPosition(b)&4?-1:a===b?0:1;if(ret===0){hasDuplicate=true;}
-return ret;};}else if("sourceIndex"in document.documentElement){sortOrder=function(a,b){var ret=a.sourceIndex-b.sourceIndex;if(ret===0){hasDuplicate=true;}
-return ret;};}else if(document.createRange){sortOrder=function(a,b){var aRange=a.ownerDocument.createRange(),bRange=b.ownerDocument.createRange();aRange.selectNode(a);aRange.collapse(true);bRange.selectNode(b);bRange.collapse(true);var ret=aRange.compareBoundaryPoints(Range.START_TO_END,bRange);if(ret===0){hasDuplicate=true;}
-return ret;};}
-(function(){var form=document.createElement("form"),id="script"+(new Date).getTime();form.innerHTML="<input name='"+id+"'/>";var root=document.documentElement;root.insertBefore(form,root.firstChild);if(!!document.getElementById(id)){Expr.find.ID=function(match,context,isXML){if(typeof context.getElementById!=="undefined"&&!isXML){var m=context.getElementById(match[1]);return m?m.id===match[1]||typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id").nodeValue===match[1]?[m]:undefined:[];}};Expr.filter.ID=function(elem,match){var node=typeof elem.getAttributeNode!=="undefined"&&elem.getAttributeNode("id");return elem.nodeType===1&&node&&node.nodeValue===match;};}
-root.removeChild(form);})();(function(){var div=document.createElement("div");div.appendChild(document.createComment(""));if(div.getElementsByTagName("*").length>0){Expr.find.TAG=function(match,context){var results=context.getElementsByTagName(match[1]);if(match[1]==="*"){var tmp=[];for(var i=0;results[i];i++){if(results[i].nodeType===1){tmp.push(results[i]);}}
-results=tmp;}
-return results;};}
-div.innerHTML="<a href='#'></a>";if(div.firstChild&&typeof div.firstChild.getAttribute!=="undefined"&&div.firstChild.getAttribute("href")!=="#"){Expr.attrHandle.href=function(elem){return elem.getAttribute("href",2);};}})();if(document.querySelectorAll)(function(){var oldSizzle=Sizzle,div=document.createElement("div");div.innerHTML="<p class='TEST'></p>";if(div.querySelectorAll&&div.querySelectorAll(".TEST").length===0){return;}
-Sizzle=function(query,context,extra,seed){context=context||document;if(!seed&&context.nodeType===9&&!isXML(context)){try{return makeArray(context.querySelectorAll(query),extra);}catch(e){}}
-return oldSizzle(query,context,extra,seed);};Sizzle.find=oldSizzle.find;Sizzle.filter=oldSizzle.filter;Sizzle.selectors=oldSizzle.selectors;Sizzle.matches=oldSizzle.matches;})();if(document.getElementsByClassName&&document.documentElement.getElementsByClassName)(function(){var div=document.createElement("div");div.innerHTML="<div class='test e'></div><div class='test'></div>";if(div.getElementsByClassName("e").length===0)
-return;div.lastChild.className="e";if(div.getElementsByClassName("e").length===1)
-return;Expr.order.splice(1,0,"CLASS");Expr.find.CLASS=function(match,context,isXML){if(typeof context.getElementsByClassName!=="undefined"&&!isXML){return context.getElementsByClassName(match[1]);}};})();function dirNodeCheck(dir,cur,doneName,checkSet,nodeCheck,isXML){var sibDir=dir=="previousSibling"&&!isXML;for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){if(sibDir&&elem.nodeType===1){elem.sizcache=doneName;elem.sizset=i;}
-elem=elem[dir];var match=false;while(elem){if(elem.sizcache===doneName){match=checkSet[elem.sizset];break;}
-if(elem.nodeType===1&&!isXML){elem.sizcache=doneName;elem.sizset=i;}
-if(elem.nodeName===cur){match=elem;break;}
-elem=elem[dir];}
-checkSet[i]=match;}}}
-function dirCheck(dir,cur,doneName,checkSet,nodeCheck,isXML){var sibDir=dir=="previousSibling"&&!isXML;for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){if(sibDir&&elem.nodeType===1){elem.sizcache=doneName;elem.sizset=i;}
-elem=elem[dir];var match=false;while(elem){if(elem.sizcache===doneName){match=checkSet[elem.sizset];break;}
-if(elem.nodeType===1){if(!isXML){elem.sizcache=doneName;elem.sizset=i;}
-if(typeof cur!=="string"){if(elem===cur){match=true;break;}}else if(Sizzle.filter(cur,[elem]).length>0){match=elem;break;}}
-elem=elem[dir];}
-checkSet[i]=match;}}}
-var contains=document.compareDocumentPosition?function(a,b){return a.compareDocumentPosition(b)&16;}:function(a,b){return a!==b&&(a.contains?a.contains(b):true);};var isXML=function(elem){return elem.nodeType===9&&elem.documentElement.nodeName!=="HTML"||!!elem.ownerDocument&&isXML(elem.ownerDocument);};var posProcess=function(selector,context){var tmpSet=[],later="",match,root=context.nodeType?[context]:context;while((match=Expr.match.PSEUDO.exec(selector))){later+=match[0];selector=selector.replace(Expr.match.PSEUDO,"");}
-selector=Expr.relative[selector]?selector+"*":selector;for(var i=0,l=root.length;i<l;i++){Sizzle(selector,root[i],tmpSet);}
-return Sizzle.filter(later,tmpSet);};jQuery.find=Sizzle;jQuery.filter=Sizzle.filter;jQuery.expr=Sizzle.selectors;jQuery.expr[":"]=jQuery.expr.filters;Sizzle.selectors.filters.hidden=function(elem){return elem.offsetWidth===0||elem.offsetHeight===0;};Sizzle.selectors.filters.visible=function(elem){return elem.offsetWidth>0||elem.offsetHeight>0;};Sizzle.selectors.filters.animated=function(elem){return jQuery.grep(jQuery.timers,function(fn){return elem===fn.elem;}).length;};jQuery.multiFilter=function(expr,elems,not){if(not){expr=":not("+expr+")";}
-return Sizzle.matches(expr,elems);};jQuery.dir=function(elem,dir){var matched=[],cur=elem[dir];while(cur&&cur!=document){if(cur.nodeType==1)
-matched.push(cur);cur=cur[dir];}
-return matched;};jQuery.nth=function(cur,result,dir,elem){result=result||1;var num=0;for(;cur;cur=cur[dir])
-if(cur.nodeType==1&&++num==result)
-break;return cur;};jQuery.sibling=function(n,elem){var r=[];for(;n;n=n.nextSibling){if(n.nodeType==1&&n!=elem)
-r.push(n);}
-return r;};return;window.Sizzle=Sizzle;})();jQuery.event={add:function(elem,types,handler,data){if(elem.nodeType==3||elem.nodeType==8)
-return;if(elem.setInterval&&elem!=window)
-elem=window;if(!handler.guid)
-handler.guid=this.guid++;if(data!==undefined){var fn=handler;handler=this.proxy(fn);handler.data=data;}
-var events=jQuery.data(elem,"events")||jQuery.data(elem,"events",{}),handle=jQuery.data(elem,"handle")||jQuery.data(elem,"handle",function(){return typeof jQuery!=="undefined"&&!jQuery.event.triggered?jQuery.event.handle.apply(arguments.callee.elem,arguments):undefined;});handle.elem=elem;jQuery.each(types.split(/\s+/),function(index,type){var namespaces=type.split(".");type=namespaces.shift();handler.type=namespaces.slice().sort().join(".");var handlers=events[type];if(jQuery.event.specialAll[type])
-jQuery.event.specialAll[type].setup.call(elem,data,namespaces);if(!handlers){handlers=events[type]={};if(!jQuery.event.special[type]||jQuery.event.special[type].setup.call(elem,data,namespaces)===false){if(elem.addEventListener)
-elem.addEventListener(type,handle,false);else if(elem.attachEvent)
-elem.attachEvent("on"+type,handle);}}
-handlers[handler.guid]=handler;jQuery.event.global[type]=true;});elem=null;},guid:1,global:{},remove:function(elem,types,handler){if(elem.nodeType==3||elem.nodeType==8)
-return;var events=jQuery.data(elem,"events"),ret,index;if(events){if(types===undefined||(typeof types==="string"&&types.charAt(0)=="."))
-for(var type in events)
-this.remove(elem,type+(types||""));else{if(types.type){handler=types.handler;types=types.type;}
-jQuery.each(types.split(/\s+/),function(index,type){var namespaces=type.split(".");type=namespaces.shift();var namespace=RegExp("(^|\\.)"+namespaces.slice().sort().join(".*\\.")+"(\\.|$)");if(events[type]){if(handler)
-delete events[type][handler.guid];else
-for(var handle in events[type])
-if(namespace.test(events[type][handle].type))
-delete events[type][handle];if(jQuery.event.specialAll[type])
-jQuery.event.specialAll[type].teardown.call(elem,namespaces);for(ret in events[type])break;if(!ret){if(!jQuery.event.special[type]||jQuery.event.special[type].teardown.call(elem,namespaces)===false){if(elem.removeEventListener)
-elem.removeEventListener(type,jQuery.data(elem,"handle"),false);else if(elem.detachEvent)
-elem.detachEvent("on"+type,jQuery.data(elem,"handle"));}
-ret=null;delete events[type];}}});}
-for(ret in events)break;if(!ret){var handle=jQuery.data(elem,"handle");if(handle)handle.elem=null;jQuery.removeData(elem,"events");jQuery.removeData(elem,"handle");}}},trigger:function(event,data,elem,bubbling){var type=event.type||event;if(!bubbling){event=typeof event==="object"?event[expando]?event:jQuery.extend(jQuery.Event(type),event):jQuery.Event(type);if(type.indexOf("!")>=0){event.type=type=type.slice(0,-1);event.exclusive=true;}
-if(!elem){event.stopPropagation();if(this.global[type])
-jQuery.each(jQuery.cache,function(){if(this.events&&this.events[type])
-jQuery.event.trigger(event,data,this.handle.elem);});}
-if(!elem||elem.nodeType==3||elem.nodeType==8)
-return undefined;event.result=undefined;event.target=elem;data=jQuery.makeArray(data);data.unshift(event);}
-event.currentTarget=elem;var handle=jQuery.data(elem,"handle");if(handle)
-handle.apply(elem,data);if((!elem[type]||(jQuery.nodeName(elem,'a')&&type=="click"))&&elem["on"+type]&&elem["on"+type].apply(elem,data)===false)
-event.result=false;if(!bubbling&&elem[type]&&!event.isDefaultPrevented()&&!(jQuery.nodeName(elem,'a')&&type=="click")){this.triggered=true;try{elem[type]();}catch(e){}}
-this.triggered=false;if(!event.isPropagationStopped()){var parent=elem.parentNode||elem.ownerDocument;if(parent)
-jQuery.event.trigger(event,data,parent,true);}},handle:function(event){var all,handlers;event=arguments[0]=jQuery.event.fix(event||window.event);event.currentTarget=this;var namespaces=event.type.split(".");event.type=namespaces.shift();all=!namespaces.length&&!event.exclusive;var namespace=RegExp("(^|\\.)"+namespaces.slice().sort().join(".*\\.")+"(\\.|$)");handlers=(jQuery.data(this,"events")||{})[event.type];for(var j in handlers){var handler=handlers[j];if(all||namespace.test(handler.type)){event.handler=handler;event.data=handler.data;var ret=handler.apply(this,arguments);if(ret!==undefined){event.result=ret;if(ret===false){event.preventDefault();event.stopPropagation();}}
-if(event.isImmediatePropagationStopped())
-break;}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(event){if(event[expando])
-return event;var originalEvent=event;event=jQuery.Event(originalEvent);for(var i=this.props.length,prop;i;){prop=this.props[--i];event[prop]=originalEvent[prop];}
-if(!event.target)
-event.target=event.srcElement||document;if(event.target.nodeType==3)
-event.target=event.target.parentNode;if(!event.relatedTarget&&event.fromElement)
-event.relatedTarget=event.fromElement==event.target?event.toElement:event.fromElement;if(event.pageX==null&&event.clientX!=null){var doc=document.documentElement,body=document.body;event.pageX=event.clientX+(doc&&doc.scrollLeft||body&&body.scrollLeft||0)-(doc.clientLeft||0);event.pageY=event.clientY+(doc&&doc.scrollTop||body&&body.scrollTop||0)-(doc.clientTop||0);}
-if(!event.which&&((event.charCode||event.charCode===0)?event.charCode:event.keyCode))
-event.which=event.charCode||event.keyCode;if(!event.metaKey&&event.ctrlKey)
-event.metaKey=event.ctrlKey;if(!event.which&&event.button)
-event.which=(event.button&1?1:(event.button&2?3:(event.button&4?2:0)));return event;},proxy:function(fn,proxy){proxy=proxy||function(){return fn.apply(this,arguments);};proxy.guid=fn.guid=fn.guid||proxy.guid||this.guid++;return proxy;},special:{ready:{setup:bindReady,teardown:function(){}}},specialAll:{live:{setup:function(selector,namespaces){jQuery.event.add(this,namespaces[0],liveHandler);},teardown:function(namespaces){if(namespaces.length){var remove=0,name=RegExp("(^|\\.)"+namespaces[0]+"(\\.|$)");jQuery.each((jQuery.data(this,"events").live||{}),function(){if(name.test(this.type))
-remove++;});if(remove<1)
-jQuery.event.remove(this,namespaces[0],liveHandler);}}}}};jQuery.Event=function(src){if(!this.preventDefault)
-return new jQuery.Event(src);if(src&&src.type){this.originalEvent=src;this.type=src.type;}else
-this.type=src;this.timeStamp=now();this[expando]=true;};function returnFalse(){return false;}
-function returnTrue(){return true;}
-jQuery.Event.prototype={preventDefault:function(){this.isDefaultPrevented=returnTrue;var e=this.originalEvent;if(!e)
-return;if(e.preventDefault)
-e.preventDefault();e.returnValue=false;},stopPropagation:function(){this.isPropagationStopped=returnTrue;var e=this.originalEvent;if(!e)
-return;if(e.stopPropagation)
-e.stopPropagation();e.cancelBubble=true;},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=returnTrue;this.stopPropagation();},isDefaultPrevented:returnFalse,isPropagationStopped:returnFalse,isImmediatePropagationStopped:returnFalse};var withinElement=function(event){var parent=event.relatedTarget;while(parent&&parent!=this)
-try{parent=parent.parentNode;}
-catch(e){parent=this;}
-if(parent!=this){event.type=event.data;jQuery.event.handle.apply(this,arguments);}};jQuery.each({mouseover:'mouseenter',mouseout:'mouseleave'},function(orig,fix){jQuery.event.special[fix]={setup:function(){jQuery.event.add(this,orig,withinElement,fix);},teardown:function(){jQuery.event.remove(this,orig,withinElement);}};});jQuery.fn.extend({bind:function(type,data,fn){return type=="unload"?this.one(type,data,fn):this.each(function(){jQuery.event.add(this,type,fn||data,fn&&data);});},one:function(type,data,fn){var one=jQuery.event.proxy(fn||data,function(event){jQuery(this).unbind(event,one);return(fn||data).apply(this,arguments);});return this.each(function(){jQuery.event.add(this,type,one,fn&&data);});},unbind:function(type,fn){return this.each(function(){jQuery.event.remove(this,type,fn);});},trigger:function(type,data){return this.each(function(){jQuery.event.trigger(type,data,this);});},triggerHandler:function(type,data){if(this[0]){var event=jQuery.Event(type);event.preventDefault();event.stopPropagation();jQuery.event.trigger(event,data,this[0]);return event.result;}},toggle:function(fn){var args=arguments,i=1;while(i<args.length)
-jQuery.event.proxy(fn,args[i++]);return this.click(jQuery.event.proxy(fn,function(event){this.lastToggle=(this.lastToggle||0)%i;event.preventDefault();return args[this.lastToggle++].apply(this,arguments)||false;}));},hover:function(fnOver,fnOut){return this.mouseenter(fnOver).mouseleave(fnOut);},ready:function(fn){bindReady();if(jQuery.isReady)
-fn.call(document,jQuery);else
-jQuery.readyList.push(fn);return this;},live:function(type,fn){var proxy=jQuery.event.proxy(fn);proxy.guid+=this.selector+type;jQuery(document).bind(liveConvert(type,this.selector),this.selector,proxy);return this;},die:function(type,fn){jQuery(document).unbind(liveConvert(type,this.selector),fn?{guid:fn.guid+this.selector+type}:null);return this;}});function liveHandler(event){var check=RegExp("(^|\\.)"+event.type+"(\\.|$)"),stop=true,elems=[];jQuery.each(jQuery.data(this,"events").live||[],function(i,fn){if(check.test(fn.type)){var elem=jQuery(event.target).closest(fn.data)[0];if(elem)
-elems.push({elem:elem,fn:fn});}});elems.sort(function(a,b){return jQuery.data(a.elem,"closest")-jQuery.data(b.elem,"closest");});jQuery.each(elems,function(){if(this.fn.call(this.elem,event,this.fn.data)===false)
-return(stop=false);});return stop;}
-function liveConvert(type,selector){return["live",type,selector.replace(/\./g,"`").replace(/ /g,"|")].join(".");}
-jQuery.extend({isReady:false,readyList:[],ready:function(){if(!jQuery.isReady){jQuery.isReady=true;if(jQuery.readyList){jQuery.each(jQuery.readyList,function(){this.call(document,jQuery);});jQuery.readyList=null;}
-jQuery(document).triggerHandler("ready");}}});var readyBound=false;function bindReady(){if(readyBound)return;readyBound=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);jQuery.ready();},false);}else if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);jQuery.ready();}});if(document.documentElement.doScroll&&window==window.top)(function(){if(jQuery.isReady)return;try{document.documentElement.doScroll("left");}catch(error){setTimeout(arguments.callee,0);return;}
-jQuery.ready();})();}
-jQuery.event.add(window,"load",jQuery.ready);}
-jQuery.each(("blur,focus,load,resize,scroll,unload,click,dblclick,"+"mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,"+"change,select,submit,keydown,keypress,keyup,error").split(","),function(i,name){jQuery.fn[name]=function(fn){return fn?this.bind(name,fn):this.trigger(name);};});jQuery(window).bind('unload',function(){for(var id in jQuery.cache)
-if(id!=1&&jQuery.cache[id].handle)
-jQuery.event.remove(jQuery.cache[id].handle.elem);});(function(){jQuery.support={};var root=document.documentElement,script=document.createElement("script"),div=document.createElement("div"),id="script"+(new Date).getTime();div.style.display="none";div.innerHTML=' <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';var all=div.getElementsByTagName("*"),a=div.getElementsByTagName("a")[0];if(!all||!all.length||!a){return;}
-jQuery.support={leadingWhitespace:div.firstChild.nodeType==3,tbody:!div.getElementsByTagName("tbody").length,objectAll:!!div.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!div.getElementsByTagName("link").length,style:/red/.test(a.getAttribute("style")),hrefNormalized:a.getAttribute("href")==="/a",opacity:a.style.opacity==="0.5",cssFloat:!!a.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};script.type="text/javascript";try{script.appendChild(document.createTextNode("window."+id+"=1;"));}catch(e){}
-root.insertBefore(script,root.firstChild);if(window[id]){jQuery.support.scriptEval=true;delete window[id];}
-root.removeChild(script);if(div.attachEvent&&div.fireEvent){div.attachEvent("onclick",function(){jQuery.support.noCloneEvent=false;div.detachEvent("onclick",arguments.callee);});div.cloneNode(true).fireEvent("onclick");}
-jQuery(function(){var div=document.createElement("div");div.style.width=div.style.paddingLeft="1px";document.body.appendChild(div);jQuery.boxModel=jQuery.support.boxModel=div.offsetWidth===2;document.body.removeChild(div).style.display='none';});})();var styleFloat=jQuery.support.cssFloat?"cssFloat":"styleFloat";jQuery.props={"for":"htmlFor","class":"className","float":styleFloat,cssFloat:styleFloat,styleFloat:styleFloat,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};jQuery.fn.extend({_load:jQuery.fn.load,load:function(url,params,callback){if(typeof url!=="string")
-return this._load(url);var off=url.indexOf(" ");if(off>=0){var selector=url.slice(off,url.length);url=url.slice(0,off);}
-var type="GET";if(params)
-if(jQuery.isFunction(params)){callback=params;params=null;}else if(typeof params==="object"){params=jQuery.param(params);type="POST";}
-var self=this;jQuery.ajax({url:url,type:type,dataType:"html",data:params,complete:function(res,status){if(status=="success"||status=="notmodified")
-self.html(selector?jQuery("<div/>").append(res.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(selector):res.responseText);if(callback)
-self.each(callback,[res.responseText,status,res]);}});return this;},serialize:function(){return jQuery.param(this.serializeArray());},serializeArray:function(){return this.map(function(){return this.elements?jQuery.makeArray(this.elements):this;}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type));}).map(function(i,elem){var val=jQuery(this).val();return val==null?null:jQuery.isArray(val)?jQuery.map(val,function(val,i){return{name:elem.name,value:val};}):{name:elem.name,value:val};}).get();}});jQuery.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(i,o){jQuery.fn[o]=function(f){return this.bind(o,f);};});var jsc=now();jQuery.extend({get:function(url,data,callback,type){if(jQuery.isFunction(data)){callback=data;data=null;}
-return jQuery.ajax({type:"GET",url:url,data:data,success:callback,dataType:type});},getScript:function(url,callback){return jQuery.get(url,null,callback,"script");},getJSON:function(url,data,callback){return jQuery.get(url,data,callback,"json");},post:function(url,data,callback,type){if(jQuery.isFunction(data)){callback=data;data={};}
-return jQuery.ajax({type:"POST",url:url,data:data,success:callback,dataType:type});},ajaxSetup:function(settings){jQuery.extend(jQuery.ajaxSettings,settings);},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest();},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(s){s=jQuery.extend(true,s,jQuery.extend(true,{},jQuery.ajaxSettings,s));var jsonp,jsre=/=\?(&|$)/g,status,data,type=s.type.toUpperCase();if(s.data&&s.processData&&typeof s.data!=="string")
-s.data=jQuery.param(s.data);if(s.dataType=="jsonp"){if(type=="GET"){if(!s.url.match(jsre))
-s.url+=(s.url.match(/\?/)?"&":"?")+(s.jsonp||"callback")+"=?";}else if(!s.data||!s.data.match(jsre))
-s.data=(s.data?s.data+"&":"")+(s.jsonp||"callback")+"=?";s.dataType="json";}
-if(s.dataType=="json"&&(s.data&&s.data.match(jsre)||s.url.match(jsre))){jsonp="jsonp"+jsc++;if(s.data)
-s.data=(s.data+"").replace(jsre,"="+jsonp+"$1");s.url=s.url.replace(jsre,"="+jsonp+"$1");s.dataType="script";window[jsonp]=function(tmp){data=tmp;success();complete();window[jsonp]=undefined;try{delete window[jsonp];}catch(e){}
-if(head)
-head.removeChild(script);};}
-if(s.dataType=="script"&&s.cache==null)
-s.cache=false;if(s.cache===false&&type=="GET"){var ts=now();var ret=s.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+ts+"$2");s.url=ret+((ret==s.url)?(s.url.match(/\?/)?"&":"?")+"_="+ts:"");}
-if(s.data&&type=="GET"){s.url+=(s.url.match(/\?/)?"&":"?")+s.data;s.data=null;}
-if(s.global&&!jQuery.active++)
-jQuery.event.trigger("ajaxStart");var parts=/^(\w+:)?\/\/([^\/?#]+)/.exec(s.url);if(s.dataType=="script"&&type=="GET"&&parts&&(parts[1]&&parts[1]!=location.protocol||parts[2]!=location.host)){var head=document.getElementsByTagName("head")[0];var script=document.createElement("script");script.src=s.url;if(s.scriptCharset)
-script.charset=s.scriptCharset;if(!jsonp){var done=false;script.onload=script.onreadystatechange=function(){if(!done&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){done=true;success();complete();script.onload=script.onreadystatechange=null;head.removeChild(script);}};}
-head.appendChild(script);return undefined;}
-var requestDone=false;var xhr=s.xhr();if(s.username)
-xhr.open(type,s.url,s.async,s.username,s.password);else
-xhr.open(type,s.url,s.async);try{if(s.data)
-xhr.setRequestHeader("Content-Type",s.contentType);if(s.ifModified)
-xhr.setRequestHeader("If-Modified-Since",jQuery.lastModified[s.url]||"Thu, 01 Jan 1970 00:00:00 GMT");xhr.setRequestHeader("X-Requested-With","XMLHttpRequest");xhr.setRequestHeader("Accept",s.dataType&&s.accepts[s.dataType]?s.accepts[s.dataType]+", */*":s.accepts._default);}catch(e){}
-if(s.beforeSend&&s.beforeSend(xhr,s)===false){if(s.global&&!--jQuery.active)
-jQuery.event.trigger("ajaxStop");xhr.abort();return false;}
-if(s.global)
-jQuery.event.trigger("ajaxSend",[xhr,s]);var onreadystatechange=function(isTimeout){if(xhr.readyState==0){if(ival){clearInterval(ival);ival=null;if(s.global&&!--jQuery.active)
-jQuery.event.trigger("ajaxStop");}}else if(!requestDone&&xhr&&(xhr.readyState==4||isTimeout=="timeout")){requestDone=true;if(ival){clearInterval(ival);ival=null;}
-status=isTimeout=="timeout"?"timeout":!jQuery.httpSuccess(xhr)?"error":s.ifModified&&jQuery.httpNotModified(xhr,s.url)?"notmodified":"success";if(status=="success"){try{data=jQuery.httpData(xhr,s.dataType,s);}catch(e){status="parsererror";}}
-if(status=="success"){var modRes;try{modRes=xhr.getResponseHeader("Last-Modified");}catch(e){}
-if(s.ifModified&&modRes)
-jQuery.lastModified[s.url]=modRes;if(!jsonp)
-success();}else
-jQuery.handleError(s,xhr,status);complete();if(isTimeout)
-xhr.abort();if(s.async)
-xhr=null;}};if(s.async){var ival=setInterval(onreadystatechange,13);if(s.timeout>0)
-setTimeout(function(){if(xhr&&!requestDone)
-onreadystatechange("timeout");},s.timeout);}
-try{xhr.send(s.data);}catch(e){jQuery.handleError(s,xhr,null,e);}
-if(!s.async)
-onreadystatechange();function success(){if(s.success)
-s.success(data,status);if(s.global)
-jQuery.event.trigger("ajaxSuccess",[xhr,s]);}
-function complete(){if(s.complete)
-s.complete(xhr,status);if(s.global)
-jQuery.event.trigger("ajaxComplete",[xhr,s]);if(s.global&&!--jQuery.active)
-jQuery.event.trigger("ajaxStop");}
-return xhr;},handleError:function(s,xhr,status,e){if(s.error)s.error(xhr,status,e);if(s.global)
-jQuery.event.trigger("ajaxError",[xhr,s,e]);},active:0,httpSuccess:function(xhr){try{return!xhr.status&&location.protocol=="file:"||(xhr.status>=200&&xhr.status<300)||xhr.status==304||xhr.status==1223;}catch(e){}
-return false;},httpNotModified:function(xhr,url){try{var xhrRes=xhr.getResponseHeader("Last-Modified");return xhr.status==304||xhrRes==jQuery.lastModified[url];}catch(e){}
-return false;},httpData:function(xhr,type,s){var ct=xhr.getResponseHeader("content-type"),xml=type=="xml"||!type&&ct&&ct.indexOf("xml")>=0,data=xml?xhr.responseXML:xhr.responseText;if(xml&&data.documentElement.tagName=="parsererror")
-throw"parsererror";if(s&&s.dataFilter)
-data=s.dataFilter(data,type);if(typeof data==="string"){if(type=="script")
-jQuery.globalEval(data);if(type=="json")
-data=window["eval"]("("+data+")");}
-return data;},param:function(a){var s=[];function add(key,value){s[s.length]=encodeURIComponent(key)+'='+encodeURIComponent(value);};if(jQuery.isArray(a)||a.jquery)
-jQuery.each(a,function(){add(this.name,this.value);});else
-for(var j in a)
-if(jQuery.isArray(a[j]))
-jQuery.each(a[j],function(){add(j,this);});else
-add(j,jQuery.isFunction(a[j])?a[j]():a[j]);return s.join("&").replace(/%20/g,"+");}});var elemdisplay={},timerId,fxAttrs=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function genFx(type,num){var obj={};jQuery.each(fxAttrs.concat.apply([],fxAttrs.slice(0,num)),function(){obj[this]=type;});return obj;}
-jQuery.fn.extend({show:function(speed,callback){if(speed){return this.animate(genFx("show",3),speed,callback);}else{for(var i=0,l=this.length;i<l;i++){var old=jQuery.data(this[i],"olddisplay");this[i].style.display=old||"";if(jQuery.css(this[i],"display")==="none"){var tagName=this[i].tagName,display;if(elemdisplay[tagName]){display=elemdisplay[tagName];}else{var elem=jQuery("<"+tagName+" />").appendTo("body");display=elem.css("display");if(display==="none")
-display="block";elem.remove();elemdisplay[tagName]=display;}
-jQuery.data(this[i],"olddisplay",display);}}
-for(var i=0,l=this.length;i<l;i++){this[i].style.display=jQuery.data(this[i],"olddisplay")||"";}
-return this;}},hide:function(speed,callback){if(speed){return this.animate(genFx("hide",3),speed,callback);}else{for(var i=0,l=this.length;i<l;i++){var old=jQuery.data(this[i],"olddisplay");if(!old&&old!=="none")
-jQuery.data(this[i],"olddisplay",jQuery.css(this[i],"display"));}
-for(var i=0,l=this.length;i<l;i++){this[i].style.display="none";}
-return this;}},_toggle:jQuery.fn.toggle,toggle:function(fn,fn2){var bool=typeof fn==="boolean";return jQuery.isFunction(fn)&&jQuery.isFunction(fn2)?this._toggle.apply(this,arguments):fn==null||bool?this.each(function(){var state=bool?fn:jQuery(this).is(":hidden");jQuery(this)[state?"show":"hide"]();}):this.animate(genFx("toggle",3),fn,fn2);},fadeTo:function(speed,to,callback){return this.animate({opacity:to},speed,callback);},animate:function(prop,speed,easing,callback){var optall=jQuery.speed(speed,easing,callback);return this[optall.queue===false?"each":"queue"](function(){var opt=jQuery.extend({},optall),p,hidden=this.nodeType==1&&jQuery(this).is(":hidden"),self=this;for(p in prop){if(prop[p]=="hide"&&hidden||prop[p]=="show"&&!hidden)
-return opt.complete.call(this);if((p=="height"||p=="width")&&this.style){opt.display=jQuery.css(this,"display");opt.overflow=this.style.overflow;}}
-if(opt.overflow!=null)
-this.style.overflow="hidden";opt.curAnim=jQuery.extend({},prop);jQuery.each(prop,function(name,val){var e=new jQuery.fx(self,opt,name);if(/toggle|show|hide/.test(val))
-e[val=="toggle"?hidden?"show":"hide":val](prop);else{var parts=val.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),start=e.cur(true)||0;if(parts){var end=parseFloat(parts[2]),unit=parts[3]||"px";if(unit!="px"){self.style[name]=(end||1)+unit;start=((end||1)/e.cur(true))*start;self.style[name]=start+unit;}
-if(parts[1])
-end=((parts[1]=="-="?-1:1)*end)+start;e.custom(start,end,unit);}else
-e.custom(start,val,"");}});return true;});},stop:function(clearQueue,gotoEnd){var timers=jQuery.timers;if(clearQueue)
-this.queue([]);this.each(function(){for(var i=timers.length-1;i>=0;i--)
-if(timers[i].elem==this){if(gotoEnd)
-timers[i](true);timers.splice(i,1);}});if(!gotoEnd)
-this.dequeue();return this;}});jQuery.each({slideDown:genFx("show",1),slideUp:genFx("hide",1),slideToggle:genFx("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(name,props){jQuery.fn[name]=function(speed,callback){return this.animate(props,speed,callback);};});jQuery.extend({speed:function(speed,easing,fn){var opt=typeof speed==="object"?speed:{complete:fn||!fn&&easing||jQuery.isFunction(speed)&&speed,duration:speed,easing:fn&&easing||easing&&!jQuery.isFunction(easing)&&easing};opt.duration=jQuery.fx.off?0:typeof opt.duration==="number"?opt.duration:jQuery.fx.speeds[opt.duration]||jQuery.fx.speeds._default;opt.old=opt.complete;opt.complete=function(){if(opt.queue!==false)
-jQuery(this).dequeue();if(jQuery.isFunction(opt.old))
-opt.old.call(this);};return opt;},easing:{linear:function(p,n,firstNum,diff){return firstNum+diff*p;},swing:function(p,n,firstNum,diff){return((-Math.cos(p*Math.PI)/2)+0.5)*diff+firstNum;}},timers:[],fx:function(elem,options,prop){this.options=options;this.elem=elem;this.prop=prop;if(!options.orig)
-options.orig={};}});jQuery.fx.prototype={update:function(){if(this.options.step)
-this.options.step.call(this.elem,this.now,this);(jQuery.fx.step[this.prop]||jQuery.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style)
-this.elem.style.display="block";},cur:function(force){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))
-return this.elem[this.prop];var r=parseFloat(jQuery.css(this.elem,this.prop,force));return r&&r>-10000?r:parseFloat(jQuery.curCSS(this.elem,this.prop))||0;},custom:function(from,to,unit){this.startTime=now();this.start=from;this.end=to;this.unit=unit||this.unit||"px";this.now=this.start;this.pos=this.state=0;var self=this;function t(gotoEnd){return self.step(gotoEnd);}
-t.elem=this.elem;if(t()&&jQuery.timers.push(t)&&!timerId){timerId=setInterval(function(){var timers=jQuery.timers;for(var i=0;i<timers.length;i++)
-if(!timers[i]())
-timers.splice(i--,1);if(!timers.length){clearInterval(timerId);timerId=undefined;}},13);}},show:function(){this.options.orig[this.prop]=jQuery.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());jQuery(this.elem).show();},hide:function(){this.options.orig[this.prop]=jQuery.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0);},step:function(gotoEnd){var t=now();if(gotoEnd||t>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var done=true;for(var i in this.options.curAnim)
-if(this.options.curAnim[i]!==true)
-done=false;if(done){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(jQuery.css(this.elem,"display")=="none")
-this.elem.style.display="block";}
-if(this.options.hide)
-jQuery(this.elem).hide();if(this.options.hide||this.options.show)
-for(var p in this.options.curAnim)
-jQuery.attr(this.elem.style,p,this.options.orig[p]);this.options.complete.call(this.elem);}
-return false;}else{var n=t-this.startTime;this.state=n/this.options.duration;this.pos=jQuery.easing[this.options.easing||(jQuery.easing.swing?"swing":"linear")](this.state,n,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update();}
-return true;}};jQuery.extend(jQuery.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(fx){jQuery.attr(fx.elem.style,"opacity",fx.now);},_default:function(fx){if(fx.elem.style&&fx.elem.style[fx.prop]!=null)
-fx.elem.style[fx.prop]=fx.now+fx.unit;else
-fx.elem[fx.prop]=fx.now;}}});if(document.documentElement["getBoundingClientRect"])
-jQuery.fn.offset=function(){if(!this[0])return{top:0,left:0};if(this[0]===this[0].ownerDocument.body)return jQuery.offset.bodyOffset(this[0]);var box=this[0].getBoundingClientRect(),doc=this[0].ownerDocument,body=doc.body,docElem=doc.documentElement,clientTop=docElem.clientTop||body.clientTop||0,clientLeft=docElem.clientLeft||body.clientLeft||0,top=box.top+(self.pageYOffset||jQuery.boxModel&&docElem.scrollTop||body.scrollTop)-clientTop,left=box.left+(self.pageXOffset||jQuery.boxModel&&docElem.scrollLeft||body.scrollLeft)-clientLeft;return{top:top,left:left};};else
-jQuery.fn.offset=function(){if(!this[0])return{top:0,left:0};if(this[0]===this[0].ownerDocument.body)return jQuery.offset.bodyOffset(this[0]);jQuery.offset.initialized||jQuery.offset.initialize();var elem=this[0],offsetParent=elem.offsetParent,prevOffsetParent=elem,doc=elem.ownerDocument,computedStyle,docElem=doc.documentElement,body=doc.body,defaultView=doc.defaultView,prevComputedStyle=defaultView.getComputedStyle(elem,null),top=elem.offsetTop,left=elem.offsetLeft;while((elem=elem.parentNode)&&elem!==body&&elem!==docElem){computedStyle=defaultView.getComputedStyle(elem,null);top-=elem.scrollTop,left-=elem.scrollLeft;if(elem===offsetParent){top+=elem.offsetTop,left+=elem.offsetLeft;if(jQuery.offset.doesNotAddBorder&&!(jQuery.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(elem.tagName)))
-top+=parseInt(computedStyle.borderTopWidth,10)||0,left+=parseInt(computedStyle.borderLeftWidth,10)||0;prevOffsetParent=offsetParent,offsetParent=elem.offsetParent;}
-if(jQuery.offset.subtractsBorderForOverflowNotVisible&&computedStyle.overflow!=="visible")
-top+=parseInt(computedStyle.borderTopWidth,10)||0,left+=parseInt(computedStyle.borderLeftWidth,10)||0;prevComputedStyle=computedStyle;}
-if(prevComputedStyle.position==="relative"||prevComputedStyle.position==="static")
-top+=body.offsetTop,left+=body.offsetLeft;if(prevComputedStyle.position==="fixed")
-top+=Math.max(docElem.scrollTop,body.scrollTop),left+=Math.max(docElem.scrollLeft,body.scrollLeft);return{top:top,left:left};};jQuery.offset={initialize:function(){if(this.initialized)return;var body=document.body,container=document.createElement('div'),innerDiv,checkDiv,table,td,rules,prop,bodyMarginTop=body.style.marginTop,html='<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>';rules={position:'absolute',top:0,left:0,margin:0,border:0,width:'1px',height:'1px',visibility:'hidden'};for(prop in rules)container.style[prop]=rules[prop];container.innerHTML=html;body.insertBefore(container,body.firstChild);innerDiv=container.firstChild,checkDiv=innerDiv.firstChild,td=innerDiv.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(checkDiv.offsetTop!==5);this.doesAddBorderForTableAndCells=(td.offsetTop===5);innerDiv.style.overflow='hidden',innerDiv.style.position='relative';this.subtractsBorderForOverflowNotVisible=(checkDiv.offsetTop===-5);body.style.marginTop='1px';this.doesNotIncludeMarginInBodyOffset=(body.offsetTop===0);body.style.marginTop=bodyMarginTop;body.removeChild(container);this.initialized=true;},bodyOffset:function(body){jQuery.offset.initialized||jQuery.offset.initialize();var top=body.offsetTop,left=body.offsetLeft;if(jQuery.offset.doesNotIncludeMarginInBodyOffset)
-top+=parseInt(jQuery.curCSS(body,'marginTop',true),10)||0,left+=parseInt(jQuery.curCSS(body,'marginLeft',true),10)||0;return{top:top,left:left};}};jQuery.fn.extend({position:function(){var left=0,top=0,results;if(this[0]){var offsetParent=this.offsetParent(),offset=this.offset(),parentOffset=/^body|html$/i.test(offsetParent[0].tagName)?{top:0,left:0}:offsetParent.offset();offset.top-=num(this,'marginTop');offset.left-=num(this,'marginLeft');parentOffset.top+=num(offsetParent,'borderTopWidth');parentOffset.left+=num(offsetParent,'borderLeftWidth');results={top:offset.top-parentOffset.top,left:offset.left-parentOffset.left};}
-return results;},offsetParent:function(){var offsetParent=this[0].offsetParent||document.body;while(offsetParent&&(!/^body|html$/i.test(offsetParent.tagName)&&jQuery.css(offsetParent,'position')=='static'))
-offsetParent=offsetParent.offsetParent;return jQuery(offsetParent);}});jQuery.each(['Left','Top'],function(i,name){var method='scroll'+name;jQuery.fn[method]=function(val){if(!this[0])return null;return val!==undefined?this.each(function(){this==window||this==document?window.scrollTo(!i?val:jQuery(window).scrollLeft(),i?val:jQuery(window).scrollTop()):this[method]=val;}):this[0]==window||this[0]==document?self[i?'pageYOffset':'pageXOffset']||jQuery.boxModel&&document.documentElement[method]||document.body[method]:this[0][method];};});jQuery.each(["Height","Width"],function(i,name){var tl=i?"Left":"Top",br=i?"Right":"Bottom",lower=name.toLowerCase();jQuery.fn["inner"+name]=function(){return this[0]?jQuery.css(this[0],lower,false,"padding"):null;};jQuery.fn["outer"+name]=function(margin){return this[0]?jQuery.css(this[0],lower,false,margin?"margin":"border"):null;};var type=name.toLowerCase();jQuery.fn[type]=function(size){return this[0]==window?document.compatMode=="CSS1Compat"&&document.documentElement["client"+name]||document.body["client"+name]:this[0]==document?Math.max(document.documentElement["client"+name],document.body["scroll"+name],document.documentElement["scroll"+name],document.body["offset"+name],document.documentElement["offset"+name]):size===undefined?(this.length?jQuery.css(this[0],type):null):this.css(type,typeof size==="string"?size:size+"px");};});})();$j=jQuery.noConflict(); \ No newline at end of file
diff --git a/skins/common/metadata.js b/skins/common/metadata.js
deleted file mode 100644
index 86fc6bd..0000000
--- a/skins/common/metadata.js
+++ /dev/null
@@ -1,49 +0,0 @@
-// Exif metadata display for MediaWiki file uploads
-//
-// Add an expand/collapse link and collapse by default if set to
-// (with JS disabled, user will see all items)
-//
-// attachMetadataToggle('mw_metadata', 'More...', 'Fewer...');
-
-function attachMetadataToggle( tableId, showText, hideText ) {
- if ( document.createTextNode ) {
- var box = document.getElementById( tableId );
- if ( !box ) {
- return false;
- }
-
- var tbody = box.getElementsByTagName('tbody')[0];
-
- var row = document.createElement( 'tr' );
-
- var col = document.createElement( 'td' );
- col.colSpan = 2;
-
- var link = document.createElement( 'a' );
- link.href = '#';
-
- link.onclick = function() {
- if ( box.className == 'mw_metadata collapsed' ) {
- changeText( link, hideText );
- box.className = 'mw_metadata expanded';
- } else {
- changeText( link, showText );
- box.className = 'mw_metadata collapsed';
- }
- return false;
- };
-
- var text = document.createTextNode( hideText );
-
- link.appendChild( text );
- col.appendChild( link );
- row.appendChild( col );
- tbody.appendChild( row );
-
- // And collapse!
- link.onclick();
-
- return true;
- }
- return false;
-}
diff --git a/skins/common/mwsuggest.js b/skins/common/mwsuggest.js
deleted file mode 100644
index 8f638c4..0000000
--- a/skins/common/mwsuggest.js
+++ /dev/null
@@ -1,995 +0,0 @@
-/*
- * OpenSearch ajax suggestion engine for MediaWiki
- *
- * uses core MediaWiki open search support to fetch suggestions
- * and show them below search boxes and other inputs
- *
- * by Robert Stojnic (April 2008)
- */
-
-// search_box_id -> Results object
-var os_map = {};
-// cached data, url -> json_text
-var os_cache = {};
-// global variables for suggest_keypress
-var os_cur_keypressed = 0;
-var os_keypressed_count = 0;
-// type: Timer
-var os_timer = null;
-// tie mousedown/up events
-var os_mouse_pressed = false;
-var os_mouse_num = -1;
-// if true, the last change was made by mouse (and not keyboard)
-var os_mouse_moved = false;
-// delay between keypress and suggestion (in ms)
-var os_search_timeout = 250;
-// these pairs of inputs/forms will be autoloaded at startup
-var os_autoload_inputs = new Array('searchInput', 'searchInput2', 'powerSearchText', 'searchText');
-var os_autoload_forms = new Array('searchform', 'searchform2', 'powersearch', 'search' );
-// if we stopped the service
-var os_is_stopped = false;
-// max lines to show in suggest table
-var os_max_lines_per_suggest = 7;
-// number of steps to animate expansion/contraction of container width
-var os_animation_steps = 6;
-// num of pixels of smallest step
-var os_animation_min_step = 2;
-// delay between steps (in ms)
-var os_animation_delay = 30;
-// max width of container in percent of normal size (1 == 100%)
-var os_container_max_width = 2;
-// currently active animation timer
-var os_animation_timer = null;
-/**
- * <datalist> is a new HTML5 element that allows you to manually supply
- * suggestion lists and have them rendered according to the right platform
- * conventions. However, the only shipping browser as of early 2010 is Opera,
- * and that has a fatal problem: the suggestion lags behind what the user types
- * by one keypress. (Reported as DSK-276870 to Opera's secret bug tracker.)
- * The code here otherwise seems to work, though, so this can be flipped on
- * (maybe with a UA check) when some browser has a better implementation.
- */
-// var os_use_datalist = 'list' in document.createElement( 'input' );
-var os_use_datalist = false;
-
-/** Timeout timer class that will fetch the results */
-function os_Timer( id, r, query ) {
- this.id = id;
- this.r = r;
- this.query = query;
-}
-
-/** Property class for single search box */
-function os_Results( name, formname ) {
- this.searchform = formname; // id of the searchform
- this.searchbox = name; // id of the searchbox
- this.container = name + 'Suggest'; // div that holds results
- this.resultTable = name + 'Result'; // id base for the result table (+num = table row)
- this.resultText = name + 'ResultText'; // id base for the spans within result tables (+num)
- this.toggle = name + 'Toggle'; // div that has the toggle (enable/disable) link
- this.query = null; // last processed query
- this.results = null; // parsed titles
- this.resultCount = 0; // number of results
- this.original = null; // query that user entered
- this.selected = -1; // which result is selected
- this.containerCount = 0; // number of results visible in container
- this.containerRow = 0; // height of result field in the container
- this.containerTotal = 0; // total height of the container will all results
- this.visible = false; // if container is visible
- this.stayHidden = false; // don't try to show if lost focus
-}
-
-/** Timer user to animate expansion/contraction of container width */
-function os_AnimationTimer( r, target ) {
- this.r = r;
- var current = document.getElementById(r.container).offsetWidth;
- this.inc = Math.round( ( target - current ) / os_animation_steps );
- if( this.inc < os_animation_min_step && this.inc >=0 ) {
- this.inc = os_animation_min_step; // minimal animation step
- }
- if( this.inc > -os_animation_min_step && this.inc < 0 ) {
- this.inc = -os_animation_min_step;
- }
- this.target = target;
-}
-
-/******************
- * Initialization
- ******************/
-
-/** Initialization, call upon page onload */
-function os_MWSuggestInit() {
- for( i = 0; i < os_autoload_inputs.length; i++ ) {
- var id = os_autoload_inputs[i];
- var form = os_autoload_forms[i];
- element = document.getElementById( id );
- if( element != null ) {
- os_initHandlers( id, form, element );
- }
- }
-}
-
-/** Init Result objects and event handlers */
-function os_initHandlers( name, formname, element ) {
- var r = new os_Results( name, formname );
- // event handler
- os_hookEvent( element, 'keyup', function( event ) { os_eventKeyup( event ); } );
- os_hookEvent( element, 'keydown', function( event ) { os_eventKeydown( event ); } );
- os_hookEvent( element, 'keypress', function( event ) { os_eventKeypress( event ); } );
- if ( !os_use_datalist ) {
- // These are needed for the div hack to hide it if the user blurs.
- os_hookEvent( element, 'blur', function( event ) { os_eventBlur( event ); } );
- os_hookEvent( element, 'focus', function( event ) { os_eventFocus( event ); } );
- // We don't want browser auto-suggestions interfering with our div, but
- // autocomplete must be on for datalist to work (at least in Opera
- // 10.10).
- element.setAttribute( 'autocomplete', 'off' );
- }
- // stopping handler
- os_hookEvent( document.getElementById( formname ), 'submit', function( event ) { return os_eventOnsubmit( event ); } );
- os_map[name] = r;
- // toggle link
- if( document.getElementById( r.toggle ) == null ) {
- // TODO: disable this while we figure out a way for this to work in all browsers
- /* if( name == 'searchInput' ) {
- // special case: place above the main search box
- var t = os_createToggle( r, 'os-suggest-toggle' );
- var searchBody = document.getElementById( 'searchBody' );
- var first = searchBody.parentNode.firstChild.nextSibling.appendChild(t);
- } else {
- // default: place below search box to the right
- var t = os_createToggle( r, 'os-suggest-toggle-def' );
- var top = element.offsetTop + element.offsetHeight;
- var left = element.offsetLeft + element.offsetWidth;
- t.style.position = 'absolute';
- t.style.top = top + 'px';
- t.style.left = left + 'px';
- element.parentNode.appendChild( t );
- // only now width gets calculated, shift right
- left -= t.offsetWidth;
- t.style.left = left + 'px';
- t.style.visibility = 'visible';
- } */
- }
-
-}
-
-function os_hookEvent( element, hookName, hookFunct ) {
- if ( element.addEventListener ) {
- element.addEventListener( hookName, hookFunct, false );
- } else if ( window.attachEvent ) {
- element.attachEvent( 'on' + hookName, hookFunct );
- }
-}
-
-/********************
- * Keyboard events
- ********************/
-
-/** Event handler that will fetch results on keyup */
-function os_eventKeyup( e ) {
- var targ = os_getTarget( e );
- var r = os_map[targ.id];
- if( r == null ) {
- return; // not our event
- }
-
- // some browsers won't generate keypressed for arrow keys, catch it
- if( os_keypressed_count == 0 ) {
- os_processKey( r, os_cur_keypressed, targ );
- }
- var query = targ.value;
- os_fetchResults( r, query, os_search_timeout );
-}
-
-/** catch arrows up/down and escape to hide the suggestions */
-function os_processKey( r, keypressed, targ ) {
- if ( keypressed == 40 && !r.visible && os_timer == null ) {
- // If the user hits the down arrow, fetch results immediately if none
- // are already displayed.
- r.query = '';
- os_fetchResults( r, targ.value, 0 );
- }
- // Otherwise, if we're not using datalist, we need to handle scrolling and
- // so on.
- if ( os_use_datalist ) {
- return;
- }
- if ( keypressed == 40 ) { // Arrow Down
- if ( r.visible ) {
- os_changeHighlight( r, r.selected, r.selected + 1, true );
- }
- } else if ( keypressed == 38 ) { // Arrow Up
- if ( r.visible ) {
- os_changeHighlight( r, r.selected, r.selected - 1, true );
- }
- } else if( keypressed == 27 ) { // Escape
- document.getElementById( r.searchbox ).value = r.original;
- r.query = r.original;
- os_hideResults( r );
- } else if( r.query != document.getElementById( r.searchbox ).value ) {
- // os_hideResults( r ); // don't show old suggestions
- }
-}
-
-/** When keys is held down use a timer to output regular events */
-function os_eventKeypress( e ) {
- var targ = os_getTarget( e );
- var r = os_map[targ.id];
- if( r == null ) {
- return; // not our event
- }
-
- var keypressed = os_cur_keypressed;
-
- os_keypressed_count++;
- os_processKey( r, keypressed, targ );
-}
-
-/** Catch the key code (Firefox bug) */
-function os_eventKeydown( e ) {
- if ( !e ) {
- e = window.event;
- }
- var targ = os_getTarget( e );
- var r = os_map[targ.id];
- if( r == null ) {
- return; // not our event
- }
-
- os_mouse_moved = false;
-
- os_cur_keypressed = ( e.keyCode == undefined ) ? e.which : e.keyCode;
- os_keypressed_count = 0;
-}
-
-
-/** When the form is submitted hide everything, cancel updates... */
-function os_eventOnsubmit( e ) {
- var targ = os_getTarget( e );
-
- os_is_stopped = true;
- // kill timed requests
- if( os_timer != null && os_timer.id != null ) {
- clearTimeout( os_timer.id );
- os_timer = null;
- }
- // Hide all suggestions
- for( i = 0; i < os_autoload_inputs.length; i++ ) {
- var r = os_map[os_autoload_inputs[i]];
- if( r != null ) {
- var b = document.getElementById( r.searchform );
- if( b != null && b == targ ) {
- // set query value so the handler won't try to fetch additional results
- r.query = document.getElementById( r.searchbox ).value;
- }
- os_hideResults( r );
- }
- }
- return true;
-}
-
-
-
-/** Hide results from the user, either making the div visibility=hidden or
- * detaching the datalist from the input. */
-function os_hideResults( r ) {
- if ( os_use_datalist ) {
- document.getElementById( r.searchbox ).setAttribute( 'list', '' );
- } else {
- var c = document.getElementById( r.container );
- if ( c != null ) {
- c.style.visibility = 'hidden';
- }
- }
- r.visible = false;
- r.selected = -1;
-}
-
-function os_decodeValue( value ) {
- if ( decodeURIComponent ) {
- return decodeURIComponent( value );
- }
- if( unescape ) {
- return unescape( value );
- }
- return null;
-}
-
-function os_encodeQuery( value ) {
- if ( encodeURIComponent ) {
- return encodeURIComponent( value );
- }
- if( escape ) {
- return escape( value );
- }
- return null;
-}
-
-/** Handles data from XMLHttpRequest, and updates the suggest results */
-function os_updateResults( r, query, text, cacheKey ) {
- os_cache[cacheKey] = text;
- r.query = query;
- r.original = query;
- if( text == '' ) {
- r.results = null;
- r.resultCount = 0;
- os_hideResults( r );
- } else {
- try {
- var p = eval( '(' + text + ')' ); // simple json parse, could do a safer one
- if( p.length < 2 || p[1].length == 0 ) {
- r.results = null;
- r.resultCount = 0;
- os_hideResults( r );
- return;
- }
- if ( os_use_datalist ) {
- os_setupDatalist( r, p[1] );
- } else {
- os_setupDiv( r, p[1] );
- }
- } catch( e ) {
- // bad response from server or such
- os_hideResults( r );
- os_cache[cacheKey] = null;
- }
- }
-}
-
-/**
- * Create and populate a <datalist>.
- *
- * @param r os_Result object
- * @param results Array of the new results to replace existing ones
- */
-function os_setupDatalist( r, results ) {
- var s = document.getElementById( r.searchbox );
- var c = document.getElementById( r.container );
- if ( c == null ) {
- c = document.createElement( 'datalist' );
- c.setAttribute( 'id', r.container );
- document.body.appendChild( c );
- } else {
- c.innerHTML = '';
- }
- s.setAttribute( 'list', r.container );
-
- r.results = new Array();
- r.resultCount = results.length;
- r.visible = true;
- for ( i = 0; i < results.length; i++ ) {
- var title = os_decodeValue( results[i] );
- var opt = document.createElement( 'option' );
- opt.value = title;
- r.results[i] = title;
- c.appendChild( opt );
- }
-}
-
-/** Fetch namespaces from checkboxes or hidden fields in the search form,
- if none defined use wgSearchNamespaces global */
-function os_getNamespaces( r ) {
- var namespaces = '';
- var elements = document.forms[r.searchform].elements;
- for( i = 0; i < elements.length; i++ ) {
- var name = elements[i].name;
- if( typeof name != 'undefined' && name.length > 2 && name[0] == 'n' &&
- name[1] == 's' && (
- ( elements[i].type == 'checkbox' && elements[i].checked ) ||
- ( elements[i].type == 'hidden' && elements[i].value == '1' )
- )
- ) {
- if( namespaces != '' ) {
- namespaces += '|';
- }
- namespaces += name.substring( 2 );
- }
- }
- if( namespaces == '' ) {
- namespaces = wgSearchNamespaces.join('|');
- }
- return namespaces;
-}
-
-/** Update results if user hasn't already typed something else */
-function os_updateIfRelevant( r, query, text, cacheKey ) {
- var t = document.getElementById( r.searchbox );
- if( t != null && t.value == query ) { // check if response is still relevant
- os_updateResults( r, query, text, cacheKey );
- }
- r.query = query;
-}
-
-/** Fetch results after some timeout */
-function os_delayedFetch() {
- if( os_timer == null ) {
- return;
- }
- var r = os_timer.r;
- var query = os_timer.query;
- os_timer = null;
- var path = wgMWSuggestTemplate.replace( "{namespaces}", os_getNamespaces( r ) )
- .replace( "{dbname}", wgDBname )
- .replace( "{searchTerms}", os_encodeQuery( query ) );
-
- // try to get from cache, if not fetch using ajax
- var cached = os_cache[path];
- if( cached != null && cached != undefined ) {
- os_updateIfRelevant( r, query, cached, path );
- } else {
- var xmlhttp = sajax_init_object();
- if( xmlhttp ) {
- try {
- xmlhttp.open( 'GET', path, true );
- xmlhttp.onreadystatechange = function() {
- if ( xmlhttp.readyState == 4 && typeof os_updateIfRelevant == 'function' ) {
- os_updateIfRelevant( r, query, xmlhttp.responseText, path );
- }
- };
- xmlhttp.send( null );
- } catch ( e ) {
- if ( window.location.hostname == 'localhost' ) {
- alert( "Your browser blocks XMLHttpRequest to 'localhost', try using a real hostname for development/testing." );
- }
- throw e;
- }
- }
- }
-}
-
-/** Init timed update via os_delayedUpdate() */
-function os_fetchResults( r, query, timeout ) {
- if( query == '' ) {
- r.query = '';
- os_hideResults( r );
- return;
- } else if( query == r.query ) {
- return; // no change
- }
-
- os_is_stopped = false; // make sure we're running
-
- // cancel any pending fetches
- if( os_timer != null && os_timer.id != null ) {
- clearTimeout( os_timer.id );
- }
- // schedule delayed fetching of results
- if( timeout != 0 ) {
- os_timer = new os_Timer( setTimeout( "os_delayedFetch()", timeout ), r, query );
- } else {
- os_timer = new os_Timer( null, r, query );
- os_delayedFetch(); // do it now!
- }
-}
-
-/** Find event target */
-function os_getTarget( e ) {
- if ( !e ) {
- e = window.event;
- }
- if ( e.target ) {
- return e.target;
- } else if ( e.srcElement ) {
- return e.srcElement;
- } else {
- return null;
- }
-}
-
-/** Check if x is a valid integer */
-function os_isNumber( x ) {
- if( x == '' || isNaN( x ) ) {
- return false;
- }
- for( var i = 0; i < x.length; i++ ) {
- var c = x.charAt( i );
- if( !( c >= '0' && c <= '9' ) ) {
- return false;
- }
- }
- return true;
-}
-
-/** Call this to enable suggestions on input (id=inputId), on a form (name=formName) */
-function os_enableSuggestionsOn( inputId, formName ) {
- os_initHandlers( inputId, formName, document.getElementById( inputId ) );
-}
-
-/** Call this to disable suggestios on input box (id=inputId) */
-function os_disableSuggestionsOn( inputId ) {
- r = os_map[inputId];
- if( r != null ) {
- // cancel/hide results
- os_timer = null;
- os_hideResults( r );
- // turn autocomplete on !
- document.getElementById( inputId ).setAttribute( 'autocomplete', 'on' );
- // remove descriptor
- os_map[inputId] = null;
- }
-
- // Remove the element from the os_autoload_* arrays
- var index = os_autoload_inputs.indexOf( inputId );
- if ( index >= 0 ) {
- os_autoload_inputs[index] = os_autoload_forms[index] = '';
- }
-}
-
-/************************************************
- * Div-only functions (irrelevant for datalist)
- ************************************************/
-
-/** Event: loss of focus of input box */
-function os_eventBlur( e ) {
- var targ = os_getTarget( e );
- var r = os_map[targ.id];
- if( r == null ) {
- return; // not our event
- }
- if( !os_mouse_pressed ) {
- os_hideResults( r );
- // force canvas to stay hidden
- r.stayHidden = true;
- // cancel any pending fetches
- if( os_timer != null && os_timer.id != null ) {
- clearTimeout( os_timer.id );
- }
- os_timer = null;
- }
-}
-
-/** Event: focus (catch only when stopped) */
-function os_eventFocus( e ) {
- var targ = os_getTarget( e );
- var r = os_map[targ.id];
- if( r == null ) {
- return; // not our event
- }
- r.stayHidden = false;
-}
-
-/**
- * Create and populate a <div>, for non-<datalist>-supporting browsers.
- *
- * @param r os_Result object
- * @param results Array of the new results to replace existing ones
- */
-function os_setupDiv( r, results ) {
- var c = document.getElementById( r.container );
- if ( c == null ) {
- c = os_createContainer( r );
- }
- c.innerHTML = os_createResultTable( r, results );
- // init container table sizes
- var t = document.getElementById( r.resultTable );
- r.containerTotal = t.offsetHeight;
- r.containerRow = t.offsetHeight / r.resultCount;
- os_fitContainer( r );
- os_trimResultText( r );
- os_showResults( r );
-}
-
-/** Create the result table to be placed in the container div */
-function os_createResultTable( r, results ) {
- var c = document.getElementById( r.container );
- var width = c.offsetWidth - os_operaWidthFix( c.offsetWidth );
- var html = '<table class="os-suggest-results" id="' + r.resultTable + '" style="width: ' + width + 'px;">';
- r.results = new Array();
- r.resultCount = results.length;
- for( i = 0; i < results.length; i++ ) {
- var title = os_decodeValue( results[i] );
- r.results[i] = title;
- html += '<tr><td class="os-suggest-result" id="' + r.resultTable + i + '"><span id="' + r.resultText + i + '">' + title + '</span></td></tr>';
- }
- html += '</table>';
- return html;
-}
-
-/** Show results div */
-function os_showResults( r ) {
- if( os_is_stopped ) {
- return;
- }
- if( r.stayHidden ) {
- return;
- }
- os_fitContainer( r );
- var c = document.getElementById( r.container );
- r.selected = -1;
- if( c != null ) {
- c.scrollTop = 0;
- c.style.visibility = 'visible';
- r.visible = true;
- }
-}
-
-function os_operaWidthFix( x ) {
- // For browsers that don't understand overflow-x, estimate scrollbar width
- if( typeof document.body.style.overflowX != 'string' ) {
- return 30;
- }
- return 0;
-}
-
-/** Brower-dependent functions to find window inner size, and scroll status */
-function f_clientWidth() {
- return f_filterResults(
- window.innerWidth ? window.innerWidth : 0,
- document.documentElement ? document.documentElement.clientWidth : 0,
- document.body ? document.body.clientWidth : 0
- );
-}
-
-function f_clientHeight() {
- return f_filterResults(
- window.innerHeight ? window.innerHeight : 0,
- document.documentElement ? document.documentElement.clientHeight : 0,
- document.body ? document.body.clientHeight : 0
- );
-}
-
-function f_scrollLeft() {
- return f_filterResults(
- window.pageXOffset ? window.pageXOffset : 0,
- document.documentElement ? document.documentElement.scrollLeft : 0,
- document.body ? document.body.scrollLeft : 0
- );
-}
-
-function f_scrollTop() {
- return f_filterResults(
- window.pageYOffset ? window.pageYOffset : 0,
- document.documentElement ? document.documentElement.scrollTop : 0,
- document.body ? document.body.scrollTop : 0
- );
-}
-
-function f_filterResults( n_win, n_docel, n_body ) {
- var n_result = n_win ? n_win : 0;
- if ( n_docel && ( !n_result || ( n_result > n_docel ) ) ) {
- n_result = n_docel;
- }
- return n_body && ( !n_result || ( n_result > n_body ) ) ? n_body : n_result;
-}
-
-/** Get the height available for the results container */
-function os_availableHeight( r ) {
- var absTop = document.getElementById( r.container ).style.top;
- var px = absTop.lastIndexOf( 'px' );
- if( px > 0 ) {
- absTop = absTop.substring( 0, px );
- }
- return f_clientHeight() - ( absTop - f_scrollTop() );
-}
-
-/** Get element absolute position {left,top} */
-function os_getElementPosition( elemID ) {
- var offsetTrail = document.getElementById( elemID );
- var offsetLeft = 0;
- var offsetTop = 0;
- while ( offsetTrail ) {
- offsetLeft += offsetTrail.offsetLeft;
- offsetTop += offsetTrail.offsetTop;
- offsetTrail = offsetTrail.offsetParent;
- }
- if ( navigator.userAgent.indexOf('Mac') != -1 && typeof document.body.leftMargin != 'undefined' ) {
- offsetLeft += document.body.leftMargin;
- offsetTop += document.body.topMargin;
- }
- return { left:offsetLeft, top:offsetTop };
-}
-
-/** Create the container div that will hold the suggested titles */
-function os_createContainer( r ) {
- var c = document.createElement( 'div' );
- var s = document.getElementById( r.searchbox );
- var pos = os_getElementPosition( r.searchbox );
- var left = pos.left;
- var top = pos.top + s.offsetHeight;
- c.className = 'os-suggest';
- c.setAttribute( 'id', r.container );
- document.body.appendChild( c );
-
- // dynamically generated style params
- // IE workaround, cannot explicitely set "style" attribute
- c = document.getElementById( r.container );
- c.style.top = top + 'px';
- c.style.left = left + 'px';
- c.style.width = s.offsetWidth + 'px';
-
- // mouse event handlers
- c.onmouseover = function( event ) { os_eventMouseover( r.searchbox, event ); };
- c.onmousemove = function( event ) { os_eventMousemove( r.searchbox, event ); };
- c.onmousedown = function( event ) { return os_eventMousedown( r.searchbox, event ); };
- c.onmouseup = function( event ) { os_eventMouseup( r.searchbox, event ); };
- return c;
-}
-
-/** change container height to fit to screen */
-function os_fitContainer( r ) {
- var c = document.getElementById( r.container );
- var h = os_availableHeight( r ) - 20;
- var inc = r.containerRow;
- h = parseInt( h / inc ) * inc;
- if( h < ( 2 * inc ) && r.resultCount > 1 ) { // min: two results
- h = 2 * inc;
- }
- if( ( h / inc ) > os_max_lines_per_suggest ) {
- h = inc * os_max_lines_per_suggest;
- }
- if( h < r.containerTotal ) {
- c.style.height = h + 'px';
- r.containerCount = parseInt( Math.round( h / inc ) );
- } else {
- c.style.height = r.containerTotal + 'px';
- r.containerCount = r.resultCount;
- }
-}
-
-/** If some entries are longer than the box, replace text with "..." */
-function os_trimResultText( r ) {
- // find max width, first see if we could expand the container to fit it
- var maxW = 0;
- for( var i = 0; i < r.resultCount; i++ ) {
- var e = document.getElementById( r.resultText + i );
- if( e.offsetWidth > maxW ) {
- maxW = e.offsetWidth;
- }
- }
- var w = document.getElementById( r.container ).offsetWidth;
- var fix = 0;
- if( r.containerCount < r.resultCount ) {
- fix = 20; // give 20px for scrollbar
- } else {
- fix = os_operaWidthFix( w );
- }
- if( fix < 4 ) {
- fix = 4; // basic padding
- }
- maxW += fix;
-
- // resize container to fit more data if permitted
- var normW = document.getElementById( r.searchbox ).offsetWidth;
- var prop = maxW / normW;
- if( prop > os_container_max_width ) {
- prop = os_container_max_width;
- } else if( prop < 1 ) {
- prop = 1;
- }
- var newW = Math.round( normW * prop );
- if( w != newW ) {
- w = newW;
- if( os_animation_timer != null ) {
- clearInterval( os_animation_timer.id );
- }
- os_animation_timer = new os_AnimationTimer( r, w );
- os_animation_timer.id = setInterval( "os_animateChangeWidth()", os_animation_delay );
- w -= fix; // this much is reserved
- }
-
- // trim results
- if( w < 10 ) {
- return;
- }
- for( var i = 0; i < r.resultCount; i++ ) {
- var e = document.getElementById( r.resultText + i );
- var replace = 1;
- var lastW = e.offsetWidth + 1;
- var iteration = 0;
- var changedText = false;
- while( e.offsetWidth > w && ( e.offsetWidth < lastW || iteration < 2 ) ) {
- changedText = true;
- lastW = e.offsetWidth;
- var l = e.innerHTML;
- e.innerHTML = l.substring( 0, l.length - replace ) + '...';
- iteration++;
- replace = 4; // how many chars to replace
- }
- if( changedText ) {
- // show hint for trimmed titles
- document.getElementById( r.resultTable + i ).setAttribute( 'title', r.results[i] );
- }
- }
-}
-
-/** Invoked on timer to animate change in container width */
-function os_animateChangeWidth() {
- var r = os_animation_timer.r;
- var c = document.getElementById( r.container );
- var w = c.offsetWidth;
- var normW = document.getElementById( r.searchbox ).offsetWidth;
- var normL = os_getElementPosition( r.searchbox ).left;
- var inc = os_animation_timer.inc;
- var target = os_animation_timer.target;
- var nw = w + inc;
- if( ( inc > 0 && nw >= target ) || ( inc <= 0 && nw <= target ) ) {
- // finished !
- c.style.width = target + 'px';
- clearInterval( os_animation_timer.id );
- os_animation_timer = null;
- } else {
- // in-progress
- c.style.width = nw + 'px';
- if( document.documentElement.dir == 'rtl' ) {
- c.style.left = ( normL + normW + ( target - nw ) - os_animation_timer.target - 1 ) + 'px';
- }
- }
-}
-
-/** Change the highlighted row (i.e. suggestion), from position cur to next */
-function os_changeHighlight( r, cur, next, updateSearchBox ) {
- if ( next >= r.resultCount ) {
- next = r.resultCount - 1;
- }
- if ( next < -1 ) {
- next = -1;
- }
- r.selected = next;
- if ( cur == next ) {
- return; // nothing to do.
- }
-
- if( cur >= 0 ) {
- var curRow = document.getElementById( r.resultTable + cur );
- if( curRow != null ) {
- curRow.className = 'os-suggest-result';
- }
- }
- var newText;
- if( next >= 0 ) {
- var nextRow = document.getElementById( r.resultTable + next );
- if( nextRow != null ) {
- nextRow.className = os_HighlightClass();
- }
- newText = r.results[next];
- } else {
- newText = r.original;
- }
-
- // adjust the scrollbar if any
- if( r.containerCount < r.resultCount ) {
- var c = document.getElementById( r.container );
- var vStart = c.scrollTop / r.containerRow;
- var vEnd = vStart + r.containerCount;
- if( next < vStart ) {
- c.scrollTop = next * r.containerRow;
- } else if( next >= vEnd ) {
- c.scrollTop = ( next - r.containerCount + 1 ) * r.containerRow;
- }
- }
-
- // update the contents of the search box
- if( updateSearchBox ) {
- os_updateSearchQuery( r, newText );
- }
-}
-
-function os_HighlightClass() {
- var match = navigator.userAgent.match(/AppleWebKit\/(\d+)/);
- if ( match ) {
- var webKitVersion = parseInt( match[1] );
- if ( webKitVersion < 523 ) {
- // CSS system highlight colors broken on old Safari
- // https://bugs.webkit.org/show_bug.cgi?id=6129
- // Safari 3.0.4, 3.1 known ok
- return 'os-suggest-result-hl-webkit';
- }
- }
- return 'os-suggest-result-hl';
-}
-
-function os_updateSearchQuery( r, newText ) {
- document.getElementById( r.searchbox ).value = newText;
- r.query = newText;
-}
-
-
-/********************
- * Mouse events
- ********************/
-
-/** Mouse over the container */
-function os_eventMouseover( srcId, e ) {
- var targ = os_getTarget( e );
- var r = os_map[srcId];
- if( r == null || !os_mouse_moved ) {
- return; // not our event
- }
- var num = os_getNumberSuffix( targ.id );
- if( num >= 0 ) {
- os_changeHighlight( r, r.selected, num, false );
- }
-}
-
-/* Get row where the event occured (from its id) */
-function os_getNumberSuffix( id ) {
- var num = id.substring( id.length - 2 );
- if( !( num.charAt( 0 ) >= '0' && num.charAt( 0 ) <= '9' ) ) {
- num = num.substring( 1 );
- }
- if( os_isNumber( num ) ) {
- return parseInt( num );
- } else {
- return -1;
- }
-}
-
-/** Save mouse move as last action */
-function os_eventMousemove( srcId, e ) {
- os_mouse_moved = true;
-}
-
-/** Mouse button held down, register possible click */
-function os_eventMousedown( srcId, e ) {
- var targ = os_getTarget( e );
- var r = os_map[srcId];
- if( r == null ) {
- return; // not our event
- }
- var num = os_getNumberSuffix( targ.id );
-
- os_mouse_pressed = true;
- if( num >= 0 ) {
- os_mouse_num = num;
- // os_updateSearchQuery( r, r.results[num] );
- }
- // keep the focus on the search field
- document.getElementById( r.searchbox ).focus();
-
- return false; // prevents selection
-}
-
-/** Mouse button released, check for click on some row */
-function os_eventMouseup( srcId, e ) {
- var targ = os_getTarget( e );
- var r = os_map[srcId];
- if( r == null ) {
- return; // not our event
- }
- var num = os_getNumberSuffix( targ.id );
-
- if( num >= 0 && os_mouse_num == num ) {
- os_updateSearchQuery( r, r.results[num] );
- os_hideResults( r );
- document.getElementById( r.searchform ).submit();
- }
- os_mouse_pressed = false;
- // keep the focus on the search field
- document.getElementById( r.searchbox ).focus();
-}
-
-/** Toggle stuff seems to be dead code? */
-
-/** Return the span element that contains the toggle link */
-function os_createToggle( r, className ) {
- var t = document.createElement( 'span' );
- t.className = className;
- t.setAttribute( 'id', r.toggle );
- var link = document.createElement( 'a' );
- link.setAttribute( 'href', 'javascript:void(0);' );
- link.onclick = function() { os_toggle( r.searchbox, r.searchform ); };
- var msg = document.createTextNode( wgMWSuggestMessages[0] );
- link.appendChild( msg );
- t.appendChild( link );
- return t;
-}
-
-/** Call when user clicks on some of the toggle links */
-function os_toggle( inputId, formName ) {
- r = os_map[inputId];
- var msg = '';
- if( r == null ) {
- os_enableSuggestionsOn( inputId, formName );
- r = os_map[inputId];
- msg = wgMWSuggestMessages[0];
- } else{
- os_disableSuggestionsOn( inputId, formName );
- msg = wgMWSuggestMessages[1];
- }
- // change message
- var link = document.getElementById( r.toggle ).firstChild;
- link.replaceChild( document.createTextNode( msg ), link.firstChild );
-}
-
-hookEvent( 'load', os_MWSuggestInit );
diff --git a/skins/common/nostalgia.css b/skins/common/nostalgia.css
deleted file mode 100644
index c9b36a7..0000000
--- a/skins/common/nostalgia.css
+++ /dev/null
@@ -1,17 +0,0 @@
-body {
- /* Background color is set separately on page type */
- color: black;
-}
-#specialform { display: inline; }
-#powersearch {
- background: #DDEEFF; border-style: solid; border-width: 1px; padding: 2px;
-}
-a.interwiki, a.external { color: #3366BB; }
-a.printable { text-decoration: underline; }
-a.stub { color:#772233; text-decoration:none; }
-h1.pagetitle { padding-top: 0; margin-top: 0; padding-bottom: 0; margin-bottom: 0; }
-h2, h3, h4, h5, h6 { margin-bottom: 0; }
-textarea { overflow: auto; }
-p.subtitle { padding-top: 0; margin-top: 0; }
-
-
diff --git a/skins/common/oldshared.css b/skins/common/oldshared.css
deleted file mode 100644
index 1bd1544..0000000
--- a/skins/common/oldshared.css
+++ /dev/null
@@ -1,383 +0,0 @@
-/*
- * oldshared.css
- * This file contains CSS settings common to Wikistandard, Nostalgia and
- * CologneBlue, the old pre-Monobook skins
- */
-
-/* For clarity, explicitly state some recommendations from <http://www.w3.org/
- TR/CSS21/sample.html> to make sure the editsection links scale right */
-
-h1 { font-size: 2em; }
-h2 { font-size: 1.5em; }
-h3 { font-size: 1.17em; }
-h5 { font-size: .83em; }
-h6 { font-size: .75em; }
-h1, h2, h3, h4, h5, h6 { font-weight: bolder }
-
-/* Now the custom parts */
-
-/* Make edit sections (which are inside h# tags) normal-sized */
-.editsection {
- font-weight: normal;
-}
-h1 .editsection { font-size: 50% }
-h2 .editsection { font-size: 66.7% }
-h3 .editsection { font-size: 85.5% }
-h5 .editsection { font-size: 120% }
-h6 .editsection { font-size: 133% }
-
-#footer { clear: both }
-/* images */
-div.floatright { float: right; clear: right; margin: 0 0 1em 1em; }
-div.floatright p { font-style: italic; }
-div.floatleft { float: left; clear: left; margin: 0.3em 0.5em 0.5em 0; }
-div.floatleft p { font-style: italic; }
-
-
-/* Print-specific things to hide */
-.printfooter {
- display: none;
-}
-
-/* table standards */
-table.rimage {
- float:right;
- margin-left:1em;
- margin-bottom:1em;
- text-align:center;
- font-size:smaller;
-}
-
-/* thumbnails */
-div.thumb {
- margin-bottom: .5em;
- border-style: solid;
- border-color: white;
- width: auto;
-}
-div.thumbinner {
- border: 1px solid #ccc;
- padding: 3px !important;
- background-color: #f9f9f9;
- font-size: 94%;
- text-align: center;
- overflow: hidden;
-}
-html .thumbimage {
- border: 1px solid #ccc;
-}
-html .thumbcaption {
- border: none;
- text-align: left;
- line-height: 1.4em;
- padding: 3px !important;
- font-size: 94%;
-}
-div.magnify {
- float: right;
- border: none !important;
- background: none !important;
-}
-div.magnify a, div.magnify img {
- display: block;
- border: none !important;
- background: none !important;
-}
-div.tright {
- clear: right;
- float: right;
- border-width: .5em 0 .8em 1.4em;
-}
-div.tleft {
- float: left;
- clear: left;
- margin-right: .5em;
- border-width: .5em 1.4em .8em 0;
-}
-img.thumbborder {
- border: 1px solid #dddddd;
-}
-
-/* Page history styling */
-/* the auto-generated edit comments */
-.autocomment { color: #4b4b4b; }
-
-img { border: none; }
-
-#toc,
-.toc {
- border: 1px solid #bba;
- background-color: #f7f8ff;
- padding: 5px;
- font-size: 95%;
- text-align: center;
-}
-#toc h2,
-.toc h2 {
- display: inline;
- border: none;
- padding: 0;
- font-size: 100%;
- font-weight: bold;
-}
-#toc ul,
-.toc ul {
- list-style-type: none;
- list-style-image: none;
- margin-left: 0;
- padding-left: 0;
- text-align: left;
-}
-#toc ul ul,
-.toc ul ul {
- margin: 0 0 0 2em;
-}
-#toc .toctoggle,
-.toc .toctoggle {
- font-size: 94%;
-}
-
-
-.error {
- color: red;
- font-size: larger;
-}
-
-/* preference page with js-genrated toc */
-#mw-pref-clear {
- clear: both;
-}
-#preftoc {
- float: left;
- margin: 1em 1em 1em 1em;
- width: 13em;
-}
-#preftoc li { border: 1px solid White; }
-#preftoc li.selected {
- background-color:#f9f9f9;
- border:1px dashed #aaaaaa;
-}
-#preftoc a,
-#preftoc a:active {
- display: block;
- color: #005189;
-}
-.mw-prefs-buttons {
- clear: left;
- float: left;
- margin-top: 1em;
-}
-div.htmlform-tip {
- font-size: 94%;
- margin-top: 0.4em;
- color: #666;
-}
-fieldset.prefsection { margin-top: 1em }
-fieldset.operaprefsection { margin-left: 15em }
-
-/* emulate center */
-.center {
- width: 100%;
- text-align: center;
-}
-*.center * {
- margin-left: auto;
- margin-right: auto;
-}
-/* small for tables and similar */
-.small, .small * { font-size: 94%; }
-table.small { font-size: 100% }
-
-/* use this instead of #toc for page content */
-.toccolours {
- border:1px solid #aaaaaa;
- background-color:#f9f9f9;
- padding:5px;
- font-size: 95%;
-}
-#siteNotice {
- border:1px solid #aaaaaa;
- padding-left: 0.5em;
- padding-right: 0.5em;
-}
-.redirectText {
- font-size:150%;
- margin:5px;
-}
-.sharedUploadNotice {
- font-style: italic;
-}
-span.unpatrolled {
- font-weight:bold;
- color:red;
-}
-
-span.updatedmarker {
- color:black;
- background-color:#00FF00;
-}
-
-div.gallerybox {
- width: 150px;
-}
-
-span.comment {
- font-style: italic;
-}
-
-span.changedby {
- font-size: 95%;
-}
-
-.previewnote {
- text-align: center;
- color: #cc0000;
-}
-.editExternally {
- border-style:solid;
- border-width:1px;
- border-color:gray;
- background: #ffffff;
- padding:3px;
- margin-top:0.5em;
- float:left;
- font-size:small;
- text-align:center;
-}
-.editExternallyHelp {
- font-style:italic;
- color:gray;
-}
-
-li span.deleted {
- text-decoration: line-through;
- color: #888;
- font-style: italic;
-}
-
-/* Classes for EXIF data display */
-table.mw_metadata {
- margin-left: 0.5em;
-}
-
-table.mw_metadata caption { font-weight: bold; }
-table.mw_metadata th { font-weight: normal; }
-table.mw_metadata td { padding: 0.1em; }
-
-table.mw_metadata {
- border: none;
- border-collapse: collapse;
-}
-table.mw_metadata td, table.mw_metadata th {
- border: 1px solid #aaaaaa;
- padding-left: 4px;
- padding-right: 4px;
-}
-table.mw_metadata th {
- background-color: #f9f9f9;
-}
-table.mw_metadata td {
- background-color: #fcfcfc;
-}
-table.mw_metadata td.spacer {
- background: inherit;
- border-top: none;
- border-bottom: none;
-}
-table.collapsed tr.collapsable {
- display: none;
-}
-
-.visualClear {
- clear: both;
-}
-
-/* Allmessages table */
-
-#allmessagestable th {
- background-color: #b2b2ff;
-}
-
-#allmessagestable tr.orig {
- background-color: #ffe2e2;
-}
-
-#allmessagestable tr.new {
- background-color: #e2ffe2;
-}
-
-#allmessagestable tr.def {
- background-color: #f0f0ff;
-}
-
-#jump-to-nav {
- display: none;
-}
-
-div.multipageimagenavbox {
- border: solid 1px silver;
- padding: 4px;
- margin: 1em;
- background: #f0f0f0;
-}
-
-div.multipageimagenavbox div.thumb {
- border: none;
- margin-left: 2em;
- margin-right: 2em;
-}
-
-div.multipageimagenavbox hr {
- margin: 6px;
-}
-
-table.multipageimage td {
- text-align: center;
-}
-
-/*
- Table pager (e.g. Special:Imagelist)
- - remove underlines from the navigation link
- - collapse borders
- - set the borders to outsets (similar to Special:Allmessages)
- - remove line wrapping for all td and th, set background color
- - restore line wrapping for the last two table cells (description and size)
-*/
-.TablePager_nav a { text-decoration: none; }
-.TablePager { border-collapse: collapse; }
-.TablePager, .TablePager td, .TablePager th {
- border: 0.15em solid #777777;
- padding: 0 0.15em 0 0.15em;
-}
-.TablePager th { background-color: #eeeeff }
-.TablePager td { background-color: #ffffff }
-.TablePager tr:hover td { background-color: #eeeeff }
-
-.imagelist td, .imagelist th { white-space: nowrap }
-.imagelist .TablePager_col_links { background-color: #eeeeff }
-.imagelist .TablePager_col_img_description { white-space: normal }
-.imagelist th.TablePager_sort { background-color: #ccccff }
-
-.templatesUsed { margin-top: 1em; }
-
-.MediaTransformError {
- border: thin solid #777;
- background-color: #ccc;
- padding: 0.1em;
-}
-.MediaTransformError td {
- text-align: center;
- vertical-align: middle;
- font-size: 90%;
-}
-
-form#specialpages {
- display: inline;
-}
-
-body {
- background-color: #ffffec;
-}
-body.ns-0 {
- background-color: white;
-}
diff --git a/skins/common/prefs.js b/skins/common/prefs.js
deleted file mode 100644
index ca55632..0000000
--- a/skins/common/prefs.js
+++ /dev/null
@@ -1,217 +0,0 @@
-// generate toc from prefs form, fold sections
-// XXX: needs testing on IE/Mac and safari
-// more comments to follow
-function tabbedprefs() {
- var prefform = document.getElementById( 'preferences' );
- if ( !prefform || !document.createElement ) {
- return;
- }
- if ( prefform.nodeName.toLowerCase() == 'a' ) {
- return; // Occasional IE problem
- }
- prefform.className = prefform.className + 'jsprefs';
- var sections = [];
- var children = prefform.childNodes;
- var seci = 0;
- for ( var i = 0; i < children.length; i++ ) {
- if ( children[i].nodeName.toLowerCase() == 'fieldset' ) {
- children[i].id = 'prefsection-' + seci;
- children[i].className = 'prefsection';
- if ( is_opera ) {
- children[i].className = 'prefsection operaprefsection';
- }
- var legends = children[i].getElementsByTagName('legend');
- sections[seci] = {};
- if ( legends[0] ) {
- legends[0].className = 'mainLegend';
- }
- if ( legends[0] && legends[0].firstChild.nodeValue ) {
- sections[seci].text = legends[0].firstChild.nodeValue;
- } else {
- sections[seci].text = '# ' + seci;
- }
- sections[seci].secid = children[i].id;
- seci++;
- if ( sections.length != 1 ) {
- children[i].style.display = 'none';
- } else {
- var selectedid = children[i].id;
- }
- }
- }
- var toc = document.createElement( 'ul' );
- toc.id = 'preftoc';
- toc.selectedid = selectedid;
- for ( i = 0; i < sections.length; i++ ) {
- var li = document.createElement( 'li' );
- if ( i === 0 ) {
- li.className = 'selected';
- }
- var a = document.createElement( 'a' );
- a.href = '#' + sections[i].secid;
- a.onmousedown = a.onclick = uncoversection;
- a.appendChild( document.createTextNode( sections[i].text ) );
- a.secid = sections[i].secid;
- li.appendChild( a );
- toc.appendChild( li );
- }
- prefform.parentNode.insertBefore( toc, prefform.parentNode.childNodes[0] );
- document.getElementById( 'prefsubmit' ).id = 'prefcontrol';
-}
-
-function uncoversection() {
- var oldsecid = this.parentNode.parentNode.selectedid;
- var newsec = document.getElementById( this.secid );
- if ( oldsecid != this.secid ) {
- var ul = document.getElementById( 'preftoc' );
- document.getElementById( oldsecid ).style.display = 'none';
- newsec.style.display = 'block';
- ul.selectedid = this.secid;
- var lis = ul.getElementsByTagName( 'li' );
- for ( var i = 0; i< lis.length; i++ ) {
- lis[i].className = '';
- }
- this.parentNode.className = 'selected';
- }
- return false;
-}
-
-// Timezone stuff
-// tz in format [+-]HHMM
-function checkTimezone( tz, msg ) {
- var localclock = new Date();
- // returns negative offset from GMT in minutes
- var tzRaw = localclock.getTimezoneOffset();
- var tzHour = Math.floor( Math.abs( tzRaw ) / 60 );
- var tzMin = Math.abs( tzRaw ) % 60;
- var tzString = ( ( tzRaw >= 0 ) ? '-' : '+' ) + ( ( tzHour < 10 ) ? '0' : '' ) + tzHour + ( ( tzMin < 10 ) ? '0' : '' ) + tzMin;
- if ( tz != tzString ) {
- var junk = msg.split('$1');
- document.write( junk[0] + 'UTC' + tzString + junk[1] );
- }
-}
-
-function timezoneSetup() {
- var tzSelect = document.getElementById( 'mw-input-timecorrection' );
- var tzTextbox = document.getElementById( 'mw-input-timecorrection-other' );
-
- if ( tzSelect && tzTextbox ) {
- addHandler( tzSelect, 'change', function( e ) { updateTimezoneSelection( false ); } );
- addHandler( tzTextbox, 'blur', function( e ) { updateTimezoneSelection( true ); } );
- }
-
- updateTimezoneSelection( false );
-}
-
-// in [-]HH:MM format...
-// won't yet work with non-even tzs
-function fetchTimezone() {
- // FIXME: work around Safari bug
- var localclock = new Date();
- // returns negative offset from GMT in minutes
- var tzRaw = localclock.getTimezoneOffset();
- var tzHour = Math.floor( Math.abs( tzRaw ) / 60 );
- var tzMin = Math.abs( tzRaw ) % 60;
- var tzString = ( ( tzRaw >= 0 ) ? '-' : '' ) + ( ( tzHour < 10 ) ? '0' : '' ) + tzHour +
- ':' + ( ( tzMin < 10 ) ? '0' : '' ) + tzMin;
- return tzString;
-}
-
-function guessTimezone() {
- var textbox = document.getElementById( 'mw-input-timecorrection-other' );
- var selector = document.getElementById( 'mw-input-timecorrection' );
-
- selector.value = 'other';
- textbox.value = fetchTimezone();
- textbox.disabled = false; // The changed handler doesn't trip, obviously.
- updateTimezoneSelection( true );
-}
-
-function updateTimezoneSelection( force_offset ) {
- var selector = document.getElementById( 'mw-input-timecorrection' );
-
- if ( selector.value == 'guess' ) {
- return guessTimezone();
- }
-
- var textbox = document.getElementById( 'mw-input-timecorrection-other' );
- var localtimeHolder = document.getElementById( 'wpLocalTime' );
- var servertime = document.getElementsByName( 'wpServerTime' )[0].value;
- var minDiff = 0;
-
- // Compatibility code.
- if ( !selector.value ) {
- selector.value = selector.options[selector.selectedIndex].value;
- }
-
- // Handle force_offset
- if ( force_offset ) {
- selector.value = 'other';
- }
-
- // Get min_diff
- if ( selector.value == 'other' ) {
- // Grab data from the textbox, parse it.
- var diffArr = textbox.value.split(':');
- if ( diffArr.length == 1 ) {
- // Specification is of the form [-]XX
- minDiff = parseInt( diffArr[0], 10 ) * 60;
- } else {
- // Specification is of the form [-]XX:XX
- minDiff = Math.abs( parseInt( diffArr[0], 10 ) ) * 60 + parseInt( diffArr[1], 10 );
- if ( parseInt( diffArr[0], 10 ) < 0 ) {
- minDiff = -minDiff;
- }
- }
- } else {
- // Grab data from the selector value
- var diffArr = selector.value.split('|');
- minDiff = parseInt( diffArr[1], 10 );
- }
-
- // Gracefully handle non-numbers.
- if ( isNaN( minDiff ) ) {
- minDiff = 0;
- }
-
- // Determine local time from server time and minutes difference, for display.
- var localTime = parseInt( servertime, 10 ) + minDiff;
-
- // Bring time within the [0,1440) range.
- while ( localTime < 0 ) {
- localTime += 1440;
- }
- while ( localTime >= 1440 ) {
- localTime -= 1440;
- }
-
- // Split to hour and minute
- var hour = String( Math.floor( localTime / 60 ) );
- if ( hour.length < 2 ) {
- hour = '0' + hour;
- }
- var min = String(localTime%60);
- if ( min.length < 2 ) {
- min = '0' + min;
- }
- changeText( localtimeHolder, hour + ':' + min );
-
- // If the user selected from the drop-down, fill the offset field.
- if ( selector.value != 'other' ) {
- hour = String( Math.abs( Math.floor( minDiff / 60 ) ) );
- if ( hour.length < 2 ) {
- hour = '0' + hour;
- }
- if ( minDiff < 0 ) {
- hour = '-' + hour;
- }
- min = String(minDiff%60);
- if ( min.length < 2 ) {
- min = '0' + min;
- }
- textbox.value = hour + ':' + min;
- }
-}
-
-addOnloadHook( timezoneSetup );
-addOnloadHook( tabbedprefs );
diff --git a/skins/common/preview.js b/skins/common/preview.js
deleted file mode 100644
index db5633d..0000000
--- a/skins/common/preview.js
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
- * Live preview script for MediaWiki
- */
-
-function doLivePreview( e ) {
- e.preventDefault();
- var previewText = $j('#wpTextbox1').val();
-
- var editToken = $j( '[name="wpEditToken"]' ).attr( 'value' );
- var editTime = $j( '[name="wpEdittime"]' ).attr( 'value' );
- var startTime = $j( '[name="wpStarttime"]' ).attr( 'value' );
-
- var postData = { 'action' : 'submit', 'wpTextbox1' : previewText, 'wpPreview' : true,
- 'wpEditToken' : editToken, 'wpEdittime': editTime, 'wpStarttime': startTime, 'title' : wgPageName };
-
- // Hide active diff, used templates, old preview if shown
- var copyElements = ['#wikiPreview', '.templatesUsed', '.hiddencats',
- '#catlinks'];
- var copySelector = copyElements.join(',');
-
- $j.each( copyElements, function(k,v) { $j(v).fadeOut('fast'); } );
-
- // Display a loading graphic
- var loadSpinner = $j('<div class="mw-ajax-loader"/>');
- $j('#wikiPreview').before( loadSpinner );
-
- var page = $j('<div/>');
- page.load( wgScript+'?action=submit '+copySelector,
- postData,
- function() {
-
- for( var i=0; i<copyElements.length; ++i) {
- // For all the specified elements, find the elements in the loaded page
- // and the real page, empty the element in the real page, and fill it
- // with the content of the loaded page
- var copyContent = page.find( copyElements[i] ).contents();
- $j(copyElements[i]).empty().append( copyContent );
- var newClasses = page.find( copyElements[i] ).attr('class');
- $j(copyElements[i]).attr( 'class', newClasses );
- }
-
- $j.each( copyElements, function(k,v) {
- // Don't belligerently show elements that are supposed to be hidden
- $j(v).fadeIn( 'fast', function() { $j(this).css('display', ''); } );
- } );
-
- loadSpinner.remove();
- } );
-}
-
-$j(document).ready( function() {
- $j('#wpPreview').click( doLivePreview );
-} );
diff --git a/skins/common/protect.js b/skins/common/protect.js
deleted file mode 100644
index e037f08..0000000
--- a/skins/common/protect.js
+++ /dev/null
@@ -1,351 +0,0 @@
-
-var ProtectionForm = {
- 'existingMatch': false,
-
- /**
- * Set up the protection chaining interface (i.e. "unlock move permissions" checkbox)
- * on the protection form
- *
- * @param Object opts : parameters with members:
- * tableId Identifier of the table containing UI bits
- * labelText Text to use for the checkbox label
- * numTypes The number of protection types
- * existingMatch True if all the existing expiry times match
- */
- 'init': function( opts ) {
- if( !( document.createTextNode && document.getElementById && document.getElementsByTagName ) )
- return false;
-
- var box = document.getElementById( opts.tableId );
- if( !box )
- return false;
-
- var boxbody = box.getElementsByTagName('tbody')[0]
- var row = document.createElement( 'tr' );
- boxbody.insertBefore( row, boxbody.firstChild.nextSibling );
-
- this.existingMatch = opts.existingMatch;
-
- var cell = document.createElement( 'td' );
- row.appendChild( cell );
- // If there is only one protection type, there is nothing to chain
- if( opts.numTypes > 1 ) {
- var check = document.createElement( 'input' );
- check.id = 'mwProtectUnchained';
- check.type = 'checkbox';
- cell.appendChild( check );
- addClickHandler( check, function() { ProtectionForm.onChainClick(); } );
-
- cell.appendChild( document.createTextNode( ' ' ) );
- var label = document.createElement( 'label' );
- label.htmlFor = 'mwProtectUnchained';
- label.appendChild( document.createTextNode( opts.labelText ) );
- cell.appendChild( label );
-
- check.checked = !this.areAllTypesMatching();
- this.enableUnchainedInputs( check.checked );
- }
-
- this.updateCascadeCheckbox();
-
- return true;
- },
-
- /**
- * Sets the disabled attribute on the cascade checkbox depending on the current selected levels
- */
- 'updateCascadeCheckbox': function() {
- // For non-existent titles, there is no cascade option
- if( !document.getElementById( 'mwProtect-cascade' ) ) {
- return;
- }
- var lists = this.getLevelSelectors();
- for( var i = 0; i < lists.length; i++ ) {
- if( lists[i].selectedIndex > -1 ) {
- var items = lists[i].getElementsByTagName( 'option' );
- var selected = items[ lists[i].selectedIndex ].value;
- if( !this.isCascadeableLevel(selected) ) {
- document.getElementById( 'mwProtect-cascade' ).checked = false;
- document.getElementById( 'mwProtect-cascade' ).disabled = true;
- return;
- }
- }
- }
- document.getElementById( 'mwProtect-cascade' ).disabled = false;
- },
-
- /**
- * Is this protection level cascadeable?
- * @param String level
- *
- * @return boolean
- *
- */
- 'isCascadeableLevel': function( level ) {
- for (var k = 0; k < wgCascadeableLevels.length; k++) {
- if ( wgCascadeableLevels[k] == level ) {
- return true;
- }
- }
- return false;
- },
-
- /**
- * When protection levels are locked together, update the rest
- * when one action's level changes
- *
- * @param Element source Level selector that changed
- */
- 'updateLevels': function(source) {
- if( !this.isUnchained() )
- this.setAllSelectors( source.selectedIndex );
- this.updateCascadeCheckbox();
- },
-
- /**
- * When protection levels are locked together, update the
- * expiries when one changes
- *
- * @param Element source expiry input that changed
- */
-
- 'updateExpiry': function(source) {
- if( !this.isUnchained() ) {
- var expiry = source.value;
- this.forEachExpiryInput(function(element) {
- element.value = expiry;
- });
- }
- var listId = source.id.replace( /^mwProtect-(\w+)-expires$/, 'mwProtectExpirySelection-$1' );
- var list = document.getElementById( listId );
- if (list && list.value != 'othertime' ) {
- if ( this.isUnchained() ) {
- list.value = 'othertime';
- } else {
- this.forEachExpirySelector(function(element) {
- element.value = 'othertime';
- });
- }
- }
- },
-
- /**
- * When protection levels are locked together, update the
- * expiry lists when one changes and clear the custom inputs
- *
- * @param Element source expiry selector that changed
- */
- 'updateExpiryList': function(source) {
- if( !this.isUnchained() ) {
- var expiry = source.value;
- this.forEachExpirySelector(function(element) {
- element.value = expiry;
- });
- this.forEachExpiryInput(function(element) {
- element.value = '';
- });
- }
- },
-
- /**
- * Update chain status and enable/disable various bits of the UI
- * when the user changes the "unlock move permissions" checkbox
- */
- 'onChainClick': function() {
- if( this.isUnchained() ) {
- this.enableUnchainedInputs( true );
- } else {
- this.setAllSelectors( this.getMaxLevel() );
- this.enableUnchainedInputs( false );
- }
- this.updateCascadeCheckbox();
- },
-
- /**
- * Returns true if the named attribute in all objects in the given array are matching
- */
- 'matchAttribute' : function( objects, attrName ) {
- var value = null;
-
- // Check levels
- for ( var i = 0; i < objects.length; i++ ) {
- var element = objects[i];
- if ( value == null ) {
- value = element[attrName];
- } else {
- if ( value != element[attrName] ) {
- return false;
- }
- }
- }
- return true;
- },
-
- /**
- * Are all actions protected at the same level, with the same expiry time?
- *
- * @return boolean
- */
- 'areAllTypesMatching': function() {
- return this.existingMatch
- && this.matchAttribute( this.getLevelSelectors(), 'selectedIndex' )
- && this.matchAttribute( this.getExpirySelectors(), 'selectedIndex' )
- && this.matchAttribute( this.getExpiryInputs(), 'value' );
- },
-
- /**
- * Is protection chaining off?
- *
- * @return bool
- */
- 'isUnchained': function() {
- var element = document.getElementById( 'mwProtectUnchained' );
- return element
- ? element.checked
- : true; // No control, so we need to let the user set both levels
- },
-
- /**
- * Find the highest protection level in any selector
- */
- 'getMaxLevel': function() {
- var maxIndex = -1;
- this.forEachLevelSelector(function(element) {
- if (element.selectedIndex > maxIndex) {
- maxIndex = element.selectedIndex;
- }
- });
- return maxIndex;
- },
-
- /**
- * Protect all actions at the specified level
- *
- * @param int index Protection level
- */
- 'setAllSelectors': function(index) {
- this.forEachLevelSelector(function(element) {
- if (element.selectedIndex != index) {
- element.selectedIndex = index;
- }
- });
- },
-
- /**
- * Apply a callback to each protection selector
- *
- * @param callable func Callback function
- */
- 'forEachLevelSelector': function(func) {
- var selectors = this.getLevelSelectors();
- for (var i = 0; i < selectors.length; i++) {
- func(selectors[i]);
- }
- },
-
- /**
- * Get a list of all protection selectors on the page
- *
- * @return Array
- */
- 'getLevelSelectors': function() {
- var all = document.getElementsByTagName("select");
- var ours = new Array();
- for (var i = 0; i < all.length; i++) {
- var element = all[i];
- if (element.id.match(/^mwProtect-level-/)) {
- ours[ours.length] = element;
- }
- }
- return ours;
- },
-
- /**
- * Apply a callback to each expiry input
- *
- * @param callable func Callback function
- */
- 'forEachExpiryInput': function(func) {
- var inputs = this.getExpiryInputs();
- for (var i = 0; i < inputs.length; i++) {
- func(inputs[i]);
- }
- },
-
- /**
- * Get a list of all expiry inputs on the page
- *
- * @return Array
- */
- 'getExpiryInputs': function() {
- var all = document.getElementsByTagName("input");
- var ours = new Array();
- for (var i = 0; i < all.length; i++) {
- var element = all[i];
- if (element.name.match(/^mwProtect-expiry-/)) {
- ours[ours.length] = element;
- }
- }
- return ours;
- },
-
- /**
- * Apply a callback to each expiry selector list
- * @param callable func Callback function
- */
- 'forEachExpirySelector': function(func) {
- var inputs = this.getExpirySelectors();
- for (var i = 0; i < inputs.length; i++) {
- func(inputs[i]);
- }
- },
-
- /**
- * Get a list of all expiry selector lists on the page
- *
- * @return Array
- */
- 'getExpirySelectors': function() {
- var all = document.getElementsByTagName("select");
- var ours = new Array();
- for (var i = 0; i < all.length; i++) {
- var element = all[i];
- if (element.id.match(/^mwProtectExpirySelection-/)) {
- ours[ours.length] = element;
- }
- }
- return ours;
- },
-
- /**
- * Enable/disable protection selectors and expiry inputs
- *
- * @param boolean val Enable?
- */
- 'enableUnchainedInputs': function(val) {
- var first = true;
- this.forEachLevelSelector(function(element) {
- if (first) {
- first = false;
- } else {
- element.disabled = !val;
- }
- });
- first = true;
- this.forEachExpiryInput(function(element) {
- if (first) {
- first = false;
- } else {
- element.disabled = !val;
- }
- });
- first = true;
- this.forEachExpirySelector(function(element) {
- if (first) {
- first = false;
- } else {
- element.disabled = !val;
- }
- });
- }
-}
diff --git a/skins/common/quickbar-right.css b/skins/common/quickbar-right.css
deleted file mode 100644
index 43bd427..0000000
--- a/skins/common/quickbar-right.css
+++ /dev/null
@@ -1 +0,0 @@
-#quickbar { position: fixed; right: 0px; top: 0px; padding: 4px;}
diff --git a/skins/common/quickbar.css b/skins/common/quickbar.css
deleted file mode 100644
index d7930c2..0000000
--- a/skins/common/quickbar.css
+++ /dev/null
@@ -1 +0,0 @@
-#quickbar { position: fixed; padding: 4px; }
diff --git a/skins/common/rightclickedit.js b/skins/common/rightclickedit.js
deleted file mode 100644
index 83d552a..0000000
--- a/skins/common/rightclickedit.js
+++ /dev/null
@@ -1,48 +0,0 @@
-function setupRightClickEdit() {
- if (document.getElementsByTagName) {
- var spans = document.getElementsByTagName('span');
- for (var i = 0; i < spans.length; i++) {
- var el = spans[i];
- if(el.className == 'editsection') {
- addRightClickEditHandler(el);
- }
- }
- }
-}
-
-function addRightClickEditHandler(el) {
- for (var i = 0; i < el.childNodes.length; i++) {
- var link = el.childNodes[i];
- if (link.nodeType == 1 && link.nodeName.toLowerCase() == 'a') {
- var editHref = link.getAttribute('href');
- // find the enclosing (parent) header
- var prev = el.parentNode;
- if (prev && prev.nodeType == 1 &&
- prev.nodeName.match(/^[Hh][1-6]$/)) {
- prev.oncontextmenu = function(e) {
- if (!e) { e = window.event; }
- // e is now the event in all browsers
- var targ;
- if (e.target) { targ = e.target; }
- else if (e.srcElement) { targ = e.srcElement; }
- if (targ.nodeType == 3) { // defeat Safari bug
- targ = targ.parentNode;
- }
- // targ is now the target element
-
- // We don't want to deprive the noble reader of a context menu
- // for the section edit link, do we? (Might want to extend this
- // to all <a>'s?)
- if (targ.nodeName.toLowerCase() != 'a'
- || targ.parentNode.className != 'editsection') {
- document.location = editHref;
- return false;
- }
- return true;
- };
- }
- }
- }
-}
-
-hookEvent("load", setupRightClickEdit);
diff --git a/skins/common/search.js b/skins/common/search.js
deleted file mode 100644
index ff11429..0000000
--- a/skins/common/search.js
+++ /dev/null
@@ -1,50 +0,0 @@
-// JS specific to Special:Search
-
-// change the search link to what user entered
-function mwSearchHeaderClick( obj ) {
- var searchbox = document.getElementById( 'searchText' );
- if( searchbox === null ) {
- searchbox = document.getElementById( 'powerSearchText' );
- }
- if( searchbox === null ) {
- return; // should always have either normal or advanced search
- }
-
- var searchterm = searchbox.value;
- var parts = obj.href.split( 'search=' );
- var lastpart = '';
- var prefix = 'search=';
- if( parts.length > 1 && parts[1].indexOf('&') >= 0 ) {
- lastpart = parts[1].substring( parts[1].indexOf('&') );
- } else {
- prefix = '&search=';
- }
- obj.href = parts[0] + prefix + encodeURIComponent( searchterm ) + lastpart;
-}
-
-function mwToggleSearchCheckboxes( btn ) {
- if( !document.getElementById ) {
- return;
- }
-
- var nsInputs = document.getElementById( 'powersearch' ).getElementsByTagName( 'input' );
- var isChecked = false;
-
- for ( var i = 0; i < nsInputs.length; i++ ) {
- var pattern = /^ns/;
- if ( ( nsInputs[i].type == 'checkbox' ) && ( pattern.test( nsInputs[i].name ) ) ) {
- switch ( btn ) {
- case 'none':
- if ( nsInputs[i].checked ) {
- nsInputs[i].checked = false;
- }
- break;
- case 'all':
- if ( !nsInputs[i].checked ) {
- nsInputs[i].checked = true;
- }
- break;
- }
- }
- }
-}
diff --git a/skins/common/shared.css b/skins/common/shared.css
deleted file mode 100644
index 674d362..0000000
--- a/skins/common/shared.css
+++ /dev/null
@@ -1,831 +0,0 @@
-/**
- * CSS in this file is used by *all* skins (that have any CSS at all). Be
- * careful what you put in here, since what looks good in one skin may not in
- * another, but don't ignore the poor non-Monobook users either.
- */
-
-/* Colored watchlist and recent changes numbers */
-.mw-plusminus-pos { color: #006400; } /* dark green */
-.mw-plusminus-neg { color: #8b0000; } /* dark red */
-.mw-plusminus-null { color: #aaa; } /* gray */
-
-/* Comment and username portions of RC entries */
-span.comment {
- font-style: italic;
-}
-
-span.changedby {
- font-size: 95%;
-}
-
-/* Math */
-.texvc { direction: ltr; unicode-bidi: embed; }
-img.tex { vertical-align: middle; }
-span.texhtml { font-family: serif; }
-
-/* add a bit of margin space between the preview and the toolbar */
-/* this replaces the ugly <p><br /></p> we used to insert into the page source */
-#wikiPreview.ontop { margin-bottom: 1em; }
-
-/* Stop floats from intruding into edit area in previews */
-#editform, #toolbar, #wpTextbox1 { clear: both; }
-
-div#mw-js-message {
- margin: 1em 5%;
- padding: 0.5em 2.5%;
- border: solid 1px #ddd;
- background-color: #fcfcfc;
-}
-
-/* Edit section links */
-.editsection {
- float: right;
- margin-left: 5px;
-}
-
-/**
- * File histories
- */
-h2#filehistory {
- clear: both;
-}
-
-table.filehistory th,
-table.filehistory td {
- vertical-align:top;
-}
-table.filehistory th {
- text-align: left;
-}
-table.filehistory td.mw-imagepage-filesize,
-table.filehistory th.mw-imagepage-filesize {
- white-space:nowrap;
-}
-
-table.filehistory td.filehistory-selected {
- font-weight: bold;
-}
-
-/*
- * rev_deleted stuff
- */
-li span.deleted, span.history-deleted {
- text-decoration: line-through;
- color: #888;
- font-style: italic;
-}
-
-/**
- * Patrol stuff
- */
-.not-patrolled {
- background-color: #ffa;
-}
-
-.unpatrolled {
- font-weight: bold;
- color: red;
-}
-
-div.patrollink {
- font-size: 75%;
- text-align: right;
-}
-
-/**
- * Forms
- */
-body.ltr td.mw-label { text-align: right; }
-body.ltr td.mw-input { text-align: left; }
-body.ltr td.mw-submit { text-align: left; }
-body.rtl td.mw-label { text-align: left; }
-body.rtl td.mw-input { text-align: right; }
-body.rtl td.mw-submit { text-align: right; }
-
-td.mw-label { vertical-align: top; }
-.prefsection td.mw-label { width: 20%; }
-.prefsection table { width: 100%; }
-td.mw-submit { white-space: nowrap; }
-
-table.mw-htmlform-nolabel td.mw-label { width: 0 !important; }
-
-/**
- * Image captions
- */
-body.rtl .thumbcaption { text-align:right; }
-body.rtl .magnify { float:left; }
-
-body.ltr .thumbcaption { text-align:left; }
-body.ltr .magnify { float:right; }
-
-/**
- * Hidden categories
- */
-.mw-hidden-cats-hidden { display: none; }
-.catlinks-allhidden { display: none; }
-
-/* Convenience links to edit block, delete and protect reasons */
-p.mw-ipb-conveniencelinks, p.mw-protect-editreasons,
-p.mw-filedelete-editreasons, p.mw-delete-editreasons,
-p.mw-revdel-editreasons {
- font-size: 90%;
- float: right;
-}
-
-/* Search results */
-.searchresults {
-}
-
-.searchresults p {
- margin-left: 0.4em;
- margin-top: 1em;
- margin-bottom: 1.2em;
-}
-
-div.searchresult {
- font-size: 95%;
- width:38em;
-}
-
-.mw-search-results {
- margin-left: 0.4em;
-}
-
-.mw-search-results li {
- padding-bottom: 1em;
- list-style:none;
- list-style-image:none;
-}
-.mw-search-results li a {
- font-size: 108%;
-}
-
-.mw-search-result-data {
- color: green;
- font-size: 97%;
-}
-
-.mw-search-formheader {
- background-color: #f3f3f3;
- margin-top: 1em;
- border: 1px solid silver;
-}
-.mw-search-formheader div.search-types {
- float:left;
- padding-left: 0.25em;
-}
-.rtl .mw-search-formheader div.search-types {
- float: right;
-}
-.mw-search-formheader div.search-types ul {
- margin: 0 !important;
- padding: 0 !important;
- list-style: none !important;
-}
-.mw-search-formheader div.search-types ul li {
- float: left;
- margin: 0;
- padding: 0;
-}
-.mw-search-formheader div.search-types ul li a {
- display: block;
- padding: 0.5em;
-}
-.mw-search-formheader div.search-types ul li.current a {
- color: #333333;
- cursor: default;
-}
-.mw-search-formheader div.search-types ul li.current a:hover {
- text-decoration: none;
-}
-.mw-search-formheader div.results-info {
- float: right;
- padding: 0.5em;
- padding-right: 0.75em;
-}
-.mw-search-formheader div.results-info ul {
- margin: 0 !important;
- padding: 0 !important;
- list-style: none !important;
-}
-.mw-search-formheader div.results-info ul li {
- float: right;
- margin: 0;
- padding: 0;
-}
-fieldset#mw-searchoptions {
- margin: 0;
- padding-left: 0.75em !important;
- padding-right: 0.75em !important;
- padding-bottom: 0.5em !important;
- padding-top: 0.5em !important;
- border: none;
- background-color: #f9f9f9;
- border: 1px solid silver !important;
- border-top-width: 0 !important;
-}
-fieldset#mw-searchoptions legend {
- display: none;
-}
-fieldset#mw-searchoptions h4 {
- padding: 0;
- margin: 0;
- float: left;
-}
-.rtl fieldset#mw-searchoptions h4 {
- float: right;
-}
-fieldset#mw-searchoptions div#mw-search-togglebox {
- float: right;
-}
-.rtl fieldset#mw-searchoptions div#mw-search-togglebox {
- float: left;
-}
-
-fieldset#mw-searchoptions div#mw-search-togglebox label {
- margin-right: 0.25em;
-}
-fieldset#mw-searchoptions div#mw-search-togglebox input {
- margin-left: 0.25em;
-}
-fieldset#mw-searchoptions table {
- float: left;
- margin-right: 3em;
-}
-fieldset#mw-searchoptions table td {
- padding-right: 1em;
-}
-.rtl fieldset#mw-searchoptions table td {
- padding-left: 1em;
- padding-right: 0;
-}
-body.rtl fieldset#mw-searchoptions table {
- margin-right: 0;
- margin-left: 3em;
- float: right;
-}
-fieldset#mw-searchoptions div.divider {
- clear: both;
- border-bottom: 1px solid #DDDDDD;
- padding-top: 0.5em;
- margin-bottom: 0.5em;
-}
-
-td#mw-search-menu {
- padding-left:6em;
- font-size:85%;
-}
-
-div#mw-search-interwiki {
- float: right;
- width: 18em;
- border-style: solid;
- border-color: #AAAAAA;
- border-width: 1px;
- margin-top: 2ex;
-}
-
-.rtl div#mw-search-interwiki {
- float: left;
-}
-
-div#mw-search-interwiki li {
- font-size: 95%;
-}
-
-.mw-search-interwiki-more {
- float: right;
- font-size: 90%;
-}
-
-.rtl .mw-search-interwiki-more {
- float: left;
-}
-
-div#mw-search-interwiki-caption {
- text-align: center;
- font-weight: bold;
- font-size: 95%;
-}
-
-.mw-search-interwiki-project {
- font-size: 97%;
- text-align: left;
- padding-left: 0.2em;
- padding-right: 0.15em;
- padding-bottom: 0.2em;
- padding-top: 0.15em;
- background-color:#ececec;
- border-top:1px solid #BBBBBB;
-}
-
-.rtl .mw-search-interwiki-project {
- text-align: right;
-}
-
-span.searchalttitle {
- font-size: 95%;
-}
-
-div.searchdidyoumean {
- font-size: 127%;
- margin-top: 0.8em;
- /* Note that this color won't affect the link, as desired. */
- color: #c00;
-}
-
-div.searchdidyoumean em {
- font-weight: bold;
-}
-
-.searchmatch {
- font-weight: bold;
-}
-
-table#mw-search-top-table {
- background-color: transparent;
-}
-
-
-/*
- * Advanced PowerSearch box
- */
-
-td#mw-search-togglebox {
- text-align: right;
-}
-
-table#mw-search-powertable {
- width:100%;
-}
-
-form#powersearch {
- clear: both;
-}
-
-
-/*
- * UserRights stuff
- */
-.mw-userrights-disabled {
- color: #888;
-}
-
-table.mw-userrights-groups * td,table.mw-userrights-groups * th {
- padding-right: 1.5em;
-}
-
-/*
- * OpenSearch ajax suggestions
- */
-.os-suggest {
- overflow: auto;
- overflow-x: hidden;
- position: absolute;
- top: 0px;
- left: 0px;
- width: 0px;
- background-color: white;
- background-color: Window;
- border-style: solid;
- border-color: #AAAAAA;
- border-width: 1px;
- z-index:99;
- font-size:95%;
-}
-
-table.os-suggest-results {
- font-size: 95%;
- cursor: pointer;
- border: 0;
- border-collapse: collapse;
- width: 100%;
-}
-
-.os-suggest-result, .os-suggest-result-hl {
- white-space: nowrap;
- background-color: white;
- background-color: Window;
- color: black;
- color: WindowText;
- padding: 2px;
-}
-.os-suggest-result-hl,
-.os-suggest-result-hl-webkit {
- background-color: #4C59A6;
- color: white;
-}
-.os-suggest-result-hl {
- /* System colors are misimplemented in Safari 3.0 and earlier,
- making highlighted text illegible... */
- background-color: Highlight;
- color: HighlightText;
-}
-
-.os-suggest-toggle {
- position: relative;
- left: 1ex;
- font-size: 65%;
-}
-.os-suggest-toggle-def {
- position: absolute;
- top: 0px;
- left: 0px;
- font-size: 65%;
- visibility: hidden;
-}
-
-/* Page history styling */
-/* the auto-generated edit comments */
-.autocomment { color: gray; }
-#pagehistory .history-user {
- margin-left: 0.4em;
- margin-right: 0.2em;
-}
-#pagehistory span.minor { font-weight: bold; }
-#pagehistory li { border: 1px solid white; }
-#pagehistory li.selected {
- background-color: #f9f9f9;
- border: 1px dashed #aaa;
-}
-
-/** Generic minor/bot/newpage styling */
-.newpage, .minor, .bot {
- font-weight: bold;
-}
-
-/* Special:Contributions styling */
-.mw-uctop {
- font-weight: bold;
-}
-
-/* Special:ListGroupRights styling */
-table.mw-listgrouprights-table tr {
- vertical-align: top;
-}
-.listgrouprights-revoked { text-decoration: line-through; }
-
-/* Special:Statistics styling */
-td.mw-statistics-numbers {
- text-align: right;
-}
-
-/* Special:SpecialPages styling */
-h4.mw-specialpagesgroup {
- background-color: #dcdcdc;
- padding: 2px;
- margin: .3em 0em 0em 0em;
-}
-.mw-specialpagerestricted {
- font-weight: bold;
-}
-
-#shared-image-dup, #shared-image-conflict {
- font-style: italic;
-}
-
-/* Special:EmailUser styling */
-table.mw-emailuser-table {
- width: 98%;
-}
-td#mw-emailuser-sender, td#mw-emailuser-recipient {
- font-weight: bold;
-}
-
-/* Special:Allpages styling */
-table.allpageslist {
- background-color: transparent;
-}
-table.mw-allpages-table-form, table.mw-allpages-table-chunk {
- background-color: transparent;
- width: 100%;
-}
-td.mw-allpages-alphaindexline {
- text-align: right;
-}
-td.mw-allpages-nav, p.mw-allpages-nav {
- text-align: right;
- font-size: smaller;
- margin-bottom: 1em;
-}
-table.mw-allpages-table-form tr {
- vertical-align: top;
-}
-
-/* Special:Prefixindex styling */
-table#mw-prefixindex-list-table,
-table#mw-prefixindex-nav-table {
- width: 98%;
- background-color: transparent;
-}
-td#mw-prefixindex-nav-form {
- font-size: smaller;
- margin-bottom: 1em;
- text-align: right;
- vertical-align: top;
-}
-
-/*
- * Recreating deleted page warning
- * Reupload file warning
- * Page protection warning
- * incl. log entries for these warnings
- */
-div.mw-warning-with-logexcerpt {
- padding: 3px;
- margin-bottom: 3px;
- border: 2px solid #2F6FAB;
- clear: both;
-}
-div.mw-warning-with-logexcerpt ul li {
- font-size: 90%;
-}
-
-/* (show/hide) revision deletion links */
-span.mw-revdelundel-link,
-strong.mw-revdelundel-link {
- font-size: 90%;
-}
-span.mw-revdelundel-hidden,
-input.mw-revdelundel-hidden {
- visibility: hidden;
-}
-
-td.mw-revdel-checkbox, th.mw-revdel-checkbox {
- padding-right: 10px;
- text-align: center;
-}
-
-/* feed links */
-a.feedlink {
- background: url("images/feed-icon.png") center left no-repeat;
- padding-left: 16px;
-}
-
-/* Plainlinks - this can be used to switch
- * off special external link styling */
-.plainlinks a {
- background: none !important;
- padding: 0 !important;
-}
-
-/* wikitable class for skinning normal tables */
-table.wikitable {
- margin: 1em 1em 1em 0;
- background: #f9f9f9;
- border: 1px #aaa solid;
- border-collapse: collapse;
-}
-.wikitable th, .wikitable td {
- border: 1px #aaa solid;
- padding: 0.2em;
-}
-.wikitable th {
- background: #f2f2f2;
- text-align: center;
-}
-.wikitable caption {
- font-weight: bold;
-}
-
-/* hide initially collapsed collapsable tables */
-table.collapsed tr.collapsable {
- display: none;
-}
-
-/* success and error messages */
-.success {
- color: green;
- font-size: larger;
-}
-.error {
- color: red;
- font-size: larger;
-}
-.errorbox, .successbox {
- font-size: larger;
- border: 2px solid;
- padding: .5em 1em;
- float: left;
- margin-bottom: 2em;
- color: #000;
-}
-.errorbox {
- border-color: red;
- background-color: #fff2f2;
-}
-.successbox {
- border-color: green;
- background-color: #dfd;
-}
-.errorbox h2, .successbox h2 {
- font-size: 1em;
- font-weight: bold;
- display: inline;
- margin: 0 .5em 0 0;
- border: none;
-}
-
-.visualClear {
- clear: both;
-}
-
-#mw_trackbacks {
- border: solid 1px #bbbbff;
- background-color: #eeeeff;
- padding: 0.2em;
-}
-
-/*
- Table pager (e.g. Special:Imagelist)
- - remove underlines from the navigation link
- - collapse borders
- - set the borders to outsets (similar to Special:Allmessages)
- - remove line wrapping for all td and th, set background color
- - restore line wrapping for the last two table cells (description and size)
-*/
-.TablePager { min-width: 80%; }
-.TablePager_nav a { text-decoration: none; }
-.TablePager { border-collapse: collapse; }
-.TablePager, .TablePager td, .TablePager th {
- border: 1px solid #aaaaaa;
- padding: 0 0.15em 0 0.15em;
-}
-.TablePager th { background-color: #eeeeff }
-.TablePager td { background-color: #ffffff }
-.TablePager tr:hover td { background-color: #eeeeff }
-
-.imagelist td, .imagelist th { white-space: nowrap }
-.imagelist .TablePager_col_links { background-color: #eeeeff }
-.imagelist .TablePager_col_img_description { white-space: normal }
-.imagelist th.TablePager_sort { background-color: #ccccff }
-
- /* Allmessages table */
-#mw-allmessagestable .allmessages-customised td.am_default {
- background-color: #fcffc4;
-}
-
-#mw-allmessagestable tr.allmessages-customised:hover td.am_default {
- background-color: #faff90;
-}
-
-#mw-allmessagestable td.am_actual {
- background-color: #e2ffe2;
-}
-
-#mw-allmessagestable tr.allmessages-customised:hover + tr.allmessages-customised td.am_actual {
- background-color: #b1ffb1;
-}
-
-/* filetoc */
-ul#filetoc {
- text-align: center;
- border: 1px solid #aaaaaa;
- background-color: #f9f9f9;
- padding: 5px;
- font-size: 95%;
- margin-bottom: 0.5em;
- margin-left: 0;
- margin-right: 0;
-}
-
-#filetoc li {
- display: inline;
- list-style-type: none;
- padding-right: 2em;
-}
-
-/* Classes for EXIF data display */
-table.mw_metadata {
- font-size: 0.8em;
- margin-left: 0.5em;
- margin-bottom: 0.5em;
- width: 300px;
-}
-
-table.mw_metadata caption {
- font-weight: bold;
-}
-
-table.mw_metadata th {
- font-weight: normal;
-}
-
-table.mw_metadata td {
- padding: 0.1em;
-}
-
-table.mw_metadata {
- border: none;
- border-collapse: collapse;
-}
-
-table.mw_metadata td, table.mw_metadata th {
- text-align: center;
- border: 1px solid #aaaaaa;
- padding-left: 0.1em;
- padding-right: 0.1em;
-}
-
-table.mw_metadata th {
- background-color: #f9f9f9;
-}
-
-table.mw_metadata td {
- background-color: #fcfcfc;
-}
-
-/* Galleries */
-table.gallery {
- border: 1px solid #ccc;
- margin: 2px;
- padding: 2px;
- background-color: white;
-}
-
-table.gallery tr {
- vertical-align: top;
-}
-
-table.gallery td {
- vertical-align: top;
- background-color: #f9f9f9;
- border: solid 2px white;
-}
-table.gallery caption {
- font-weight: bold;
-}
-
-div.gallerybox {
- margin: 2px;
-}
-
-div.gallerybox div.thumb {
- text-align: center;
- border: 1px solid #ccc;
- margin: 2px;
-}
-
-div.gallerytext {
- overflow: hidden;
- font-size: 94%;
- padding: 2px 4px;
-}
-
-table.mw-enhanced-rc {
- background: none;
- border:0;
- border-spacing:0;
-}
-td.mw-enhanced-rc {
- white-space:nowrap;
- padding:0;
- vertical-align:top;
- font-family:monospace
-}
-
-#mw-addcategory-prompt {
- display: inline;
- margin-left: 1em;
-}
-
-#mw-addcategory-prompt input {
- margin-left: 0.5em;
- margin-right: 0.5em;
-}
-
-.mw-remove-category {
- padding: 8px;
- background-image: url(images/remove.png);
- background-position: center center;
- background-repeat: no-repeat;
-}
-
-.mw-ajax-addcategory {
- padding-left: 20px;
- background-image: url(images/add.png);
- background-position: left center;
- background-repeat: no-repeat;
-}
-
-.mw-ajax-loader {
- background-image: url(images/ajax-loader.gif);
- background-position: center center;
- background-repeat: no-repeat;
- padding: 16px;
- position: relative;
- top: -16px;
-}
-
-.mw-small-spinner {
- padding: 10px !important;
- margin-right: 0.6em;
- background-image: url(images/spinner.gif);
- background-position: center center;
- background-repeat: no-repeat;
-}
-
-/* Sort arrows added by SortableTables */
-a.sortheader {
- margin: 0 0.3em;
-}
diff --git a/skins/common/upload.js b/skins/common/upload.js
deleted file mode 100644
index f40f62e..0000000
--- a/skins/common/upload.js
+++ /dev/null
@@ -1,343 +0,0 @@
-function licenseSelectorCheck() {
- var selector = document.getElementById( "wpLicense" );
- var selection = selector.options[selector.selectedIndex].value;
- if( selector.selectedIndex > 0 ) {
- if( selection == "" ) {
- // Option disabled, but browser is broken and doesn't respect this
- selector.selectedIndex = 0;
- }
- }
- // We might show a preview
- wgUploadLicenseObj.fetchPreview( selection );
-}
-
-function wgUploadSetup() {
- // Disable URL box if the URL copy upload source type is not selected
- var e = document.getElementById( 'wpSourceTypeURL' );
- if( e ) {
- if( !e.checked ) {
- var ein = document.getElementById( 'wpUploadFileURL' );
- if(ein)
- ein.setAttribute( 'disabled', 'disabled' );
- }
- }
-
- // For MSIE/Mac: non-breaking spaces cause the <option> not to render.
- // But for some reason, setting the text to itself works
- var selector = document.getElementById("wpLicense");
- if (selector) {
- var ua = navigator.userAgent;
- var isMacIe = (ua.indexOf("MSIE") != -1) && (ua.indexOf("Mac") != -1);
- if (isMacIe) {
- for (var i = 0; i < selector.options.length; i++) {
- selector.options[i].text = selector.options[i].text;
- }
- }
- }
-
- // Toggle source type
- var sourceTypeCheckboxes = document.getElementsByName( 'wpSourceType' );
- for ( var i = 0; i < sourceTypeCheckboxes.length; i++ ) {
- sourceTypeCheckboxes[i].onchange = toggleUploadInputs;
- }
-
- // AJAX wpDestFile warnings
- if ( wgAjaxUploadDestCheck ) {
- // Insert an event handler that fetches upload warnings when wpDestFile
- // has been changed
- document.getElementById( 'wpDestFile' ).onchange = function ( e ) {
- wgUploadWarningObj.checkNow(this.value);
- };
- // Insert a row where the warnings will be displayed just below the
- // wpDestFile row
- var optionsTable = document.getElementById( 'mw-htmlform-description' ).tBodies[0];
- var row = optionsTable.insertRow( 1 );
- var td = document.createElement( 'td' );
- td.id = 'wpDestFile-warning';
- td.colSpan = 2;
-
- row.appendChild( td );
- }
-
- if ( wgAjaxLicensePreview ) {
- // License selector check
- document.getElementById( 'wpLicense' ).onchange = licenseSelectorCheck;
-
- // License selector table row
- var wpLicense = document.getElementById( 'wpLicense' );
- var wpLicenseRow = wpLicense.parentNode.parentNode;
- var wpLicenseTbody = wpLicenseRow.parentNode;
-
- var row = document.createElement( 'tr' );
- var td = document.createElement( 'td' );
- row.appendChild( td );
- td = document.createElement( 'td' );
- td.id = 'mw-license-preview';
- row.appendChild( td );
-
- wpLicenseTbody.insertBefore( row, wpLicenseRow.nextSibling );
- }
-
-
- // fillDestFile setup
- for ( var i = 0; i < wgUploadSourceIds.length; i++ )
- document.getElementById( wgUploadSourceIds[i] ).onchange = function (e) {
- fillDestFilename( this.id );
- };
-}
-
-/**
- * Iterate over all upload source fields and disable all except the selected one.
- *
- * @param enabledId The id of the selected radio button
- * @return emptiness
- */
-function toggleUploadInputs() {
- // Iterate over all rows with UploadSourceField
- var rows;
- if ( document.getElementsByClassName ) {
- rows = document.getElementsByClassName( 'mw-htmlform-field-UploadSourceField' );
- } else {
- // Older browsers don't support getElementsByClassName
- rows = new Array();
-
- var allRows = document.getElementsByTagName( 'tr' );
- for ( var i = 0; i < allRows.length; i++ ) {
- if ( allRows[i].className == 'mw-htmlform-field-UploadSourceField' )
- rows.push( allRows[i] );
- }
- }
-
- for ( var i = 0; i < rows.length; i++ ) {
- var inputs = rows[i].getElementsByTagName( 'input' );
-
- // Check if this row is selected
- var isChecked = true; // Default true in case wpSourceType is not found
- for ( var j = 0; j < inputs.length; j++ ) {
- if ( inputs[j].name == 'wpSourceType' )
- isChecked = inputs[j].checked;
- }
-
- // Disable all unselected rows
- for ( var j = 0; j < inputs.length; j++ ) {
- if ( inputs[j].type != 'radio')
- inputs[j].disabled = !isChecked;
- }
- }
-}
-
-var wgUploadWarningObj = {
- 'responseCache' : { '' : '&nbsp;' },
- 'nameToCheck' : '',
- 'typing': false,
- 'delay': 500, // ms
- 'timeoutID': false,
-
- 'keypress': function () {
- if ( !wgAjaxUploadDestCheck || !sajax_init_object() ) return;
-
- // Find file to upload
- var destFile = document.getElementById('wpDestFile');
- var warningElt = document.getElementById( 'wpDestFile-warning' );
- if ( !destFile || !warningElt ) return ;
-
- this.nameToCheck = destFile.value ;
-
- // Clear timer
- if ( this.timeoutID ) {
- window.clearTimeout( this.timeoutID );
- }
- // Check response cache
- for (cached in this.responseCache) {
- if (this.nameToCheck == cached) {
- this.setWarning(this.responseCache[this.nameToCheck]);
- return;
- }
- }
-
- this.timeoutID = window.setTimeout( 'wgUploadWarningObj.timeout()', this.delay );
- },
-
- 'checkNow': function (fname) {
- if ( !wgAjaxUploadDestCheck || !sajax_init_object() ) return;
- if ( this.timeoutID ) {
- window.clearTimeout( this.timeoutID );
- }
- this.nameToCheck = fname;
- this.timeout();
- },
-
- 'timeout' : function() {
- if ( !wgAjaxUploadDestCheck || !sajax_init_object() ) return;
- injectSpinner( document.getElementById( 'wpDestFile' ), 'destcheck' );
-
- // Get variables into local scope so that they will be preserved for the
- // anonymous callback. fileName is copied so that multiple overlapping
- // ajax requests can be supported.
- var obj = this;
- var fileName = this.nameToCheck;
- sajax_do_call( 'SpecialUpload::ajaxGetExistsWarning', [this.nameToCheck],
- function (result) {
- obj.processResult(result, fileName)
- }
- );
- },
-
- 'processResult' : function (result, fileName) {
- removeSpinner( 'destcheck' );
- this.setWarning(result.responseText);
- this.responseCache[fileName] = result.responseText;
- },
-
- 'setWarning' : function (warning) {
- var warningElt = document.getElementById( 'wpDestFile-warning' );
- var ackElt = document.getElementsByName( 'wpDestFileWarningAck' );
-
- this.setInnerHTML(warningElt, warning);
-
- // Set a value in the form indicating that the warning is acknowledged and
- // doesn't need to be redisplayed post-upload
- if ( warning == '' || warning == '&nbsp;' ) {
- ackElt[0].value = '';
- } else {
- ackElt[0].value = '1';
- }
-
- },
- 'setInnerHTML' : function (element, text) {
- // Check for no change to avoid flicker in IE 7
- if (element.innerHTML != text) {
- element.innerHTML = text;
- }
- }
-}
-
-function fillDestFilename(id) {
- if (!wgUploadAutoFill) {
- return;
- }
- if (!document.getElementById) {
- return;
- }
- // Remove any previously flagged errors
- var e = document.getElementById( 'mw-upload-permitted' );
- if( e ) e.className = '';
-
- var e = document.getElementById( 'mw-upload-prohibited' );
- if( e ) e.className = '';
-
- var path = document.getElementById(id).value;
- // Find trailing part
- var slash = path.lastIndexOf('/');
- var backslash = path.lastIndexOf('\\');
- var fname;
- if (slash == -1 && backslash == -1) {
- fname = path;
- } else if (slash > backslash) {
- fname = path.substring(slash+1, 10000);
- } else {
- fname = path.substring(backslash+1, 10000);
- }
-
- // Clear the filename if it does not have a valid extension.
- // URLs are less likely to have a useful extension, so don't include them in the
- // extension check.
- if( wgFileExtensions && id != 'wpUploadFileURL' ) {
- var found = false;
- if( fname.lastIndexOf( '.' ) != -1 ) {
- var ext = fname.substr( fname.lastIndexOf( '.' ) + 1 );
- for( var i = 0; i < wgFileExtensions.length; i++ ) {
- if( wgFileExtensions[i].toLowerCase() == ext.toLowerCase() ) {
- found = true;
- break;
- }
- }
- }
- if( !found ) {
- // Not a valid extension
- // Clear the upload and set mw-upload-permitted to error
- document.getElementById(id).value = '';
- var e = document.getElementById( 'mw-upload-permitted' );
- if( e ) e.className = 'error';
-
- var e = document.getElementById( 'mw-upload-prohibited' );
- if( e ) e.className = 'error';
-
- // Clear wpDestFile as well
- var e = document.getElementById( 'wpDestFile' )
- if( e ) e.value = '';
-
- return false;
- }
- }
-
- // Capitalise first letter and replace spaces by underscores
- // FIXME: $wgCapitalizedNamespaces
- fname = fname.charAt(0).toUpperCase().concat(fname.substring(1,10000)).replace(/ /g, '_');
-
- // Output result
- var destFile = document.getElementById('wpDestFile');
- if (destFile) {
- destFile.value = fname;
- wgUploadWarningObj.checkNow(fname) ;
- }
-}
-
-function toggleFilenameFiller() {
- if(!document.getElementById) return;
- var upfield = document.getElementById('wpUploadFile');
- var destName = document.getElementById('wpDestFile').value;
- if (destName=='' || destName==' ') {
- wgUploadAutoFill = true;
- } else {
- wgUploadAutoFill = false;
- }
-}
-
-var wgUploadLicenseObj = {
-
- 'responseCache' : { '' : '' },
-
- 'fetchPreview': function( license ) {
- if( !wgAjaxLicensePreview ) return;
- for (cached in this.responseCache) {
- if (cached == license) {
- this.showPreview( this.responseCache[license] );
- return;
- }
- }
- injectSpinner( document.getElementById( 'wpLicense' ), 'license' );
-
- var title = document.getElementById('wpDestFile').value;
- if ( !title ) title = 'File:Sample.jpg';
-
- var url = wgScriptPath + '/api' + wgScriptExtension
- + '?action=parse&text={{' + encodeURIComponent( license ) + '}}'
- + '&title=' + encodeURIComponent( title )
- + '&prop=text&pst&format=json';
-
- var req = sajax_init_object();
- req.onreadystatechange = function() {
- if ( req.readyState == 4 && req.status == 200 )
- wgUploadLicenseObj.processResult( eval( '(' + req.responseText + ')' ), license );
- };
- req.open( 'GET', url, true );
- req.send( '' );
- },
-
- 'processResult' : function( result, license ) {
- removeSpinner( 'license' );
- this.responseCache[license] = result['parse']['text']['*'];
- this.showPreview( this.responseCache[license] );
-
- },
-
- 'showPreview' : function( preview ) {
- var previewPanel = document.getElementById( 'mw-license-preview' );
- if( previewPanel.innerHTML != preview )
- previewPanel.innerHTML = preview;
- }
-
-}
-
-addOnloadHook( wgUploadSetup );
diff --git a/skins/common/wikibits.js b/skins/common/wikibits.js
deleted file mode 100644
index 94f23a9..0000000
--- a/skins/common/wikibits.js
+++ /dev/null
@@ -1,1042 +0,0 @@
-// MediaWiki JavaScript support functions
-
-var clientPC = navigator.userAgent.toLowerCase(); // Get client info
-var is_gecko = /gecko/.test( clientPC ) &&
- !/khtml|spoofer|netscape\/7\.0/.test(clientPC);
-var webkit_match = clientPC.match(/applewebkit\/(\d+)/);
-if (webkit_match) {
- var is_safari = clientPC.indexOf('applewebkit') != -1 &&
- clientPC.indexOf('spoofer') == -1;
- var is_safari_win = is_safari && clientPC.indexOf('windows') != -1;
- var webkit_version = parseInt(webkit_match[1]);
-}
-// For accesskeys; note that FF3+ is included here!
-var is_ff2 = /firefox\/[2-9]|minefield\/3/.test( clientPC );
-var ff2_bugs = /firefox\/2/.test( clientPC );
-// These aren't used here, but some custom scripts rely on them
-var is_ff2_win = is_ff2 && clientPC.indexOf('windows') != -1;
-var is_ff2_x11 = is_ff2 && clientPC.indexOf('x11') != -1;
-if (clientPC.indexOf('opera') != -1) {
- var is_opera = true;
- var is_opera_preseven = window.opera && !document.childNodes;
- var is_opera_seven = window.opera && document.childNodes;
- var is_opera_95 = /opera\/(9\.[5-9]|[1-9][0-9])/.test( clientPC );
- var opera6_bugs = is_opera_preseven;
- var opera7_bugs = is_opera_seven && !is_opera_95;
- var opera95_bugs = /opera\/(9\.5)/.test( clientPC );
-}
-// As recommended by <http://msdn.microsoft.com/en-us/library/ms537509.aspx>,
-// avoiding false positives from moronic extensions that append to the IE UA
-// string (bug 23171)
-var ie6_bugs = false;
-if ( /msie ([0-9]{1,}[\.0-9]{0,})/.exec( clientPC ) != null
-&& parseFloat( RegExp.$1 ) <= 6.0 ) {
- ie6_bugs = true;
-}
-
-// Global external objects used by this script.
-/*extern ta, stylepath, skin */
-
-// add any onload functions in this hook (please don't hard-code any events in the xhtml source)
-var doneOnloadHook;
-
-if (!window.onloadFuncts) {
- var onloadFuncts = [];
-}
-
-function addOnloadHook( hookFunct ) {
- // Allows add-on scripts to add onload functions
- if( !doneOnloadHook ) {
- onloadFuncts[onloadFuncts.length] = hookFunct;
- } else {
- hookFunct(); // bug in MSIE script loading
- }
-}
-
-function hookEvent( hookName, hookFunct ) {
- addHandler( window, hookName, hookFunct );
-}
-
-function importScript( page ) {
- // TODO: might want to introduce a utility function to match wfUrlencode() in PHP
- var uri = wgScript + '?title=' +
- encodeURIComponent(page.replace(/ /g,'_')).replace(/%2F/ig,'/').replace(/%3A/ig,':') +
- '&action=raw&ctype=text/javascript';
- return importScriptURI( uri );
-}
-
-var loadedScripts = {}; // included-scripts tracker
-function importScriptURI( url ) {
- if ( loadedScripts[url] ) {
- return null;
- }
- loadedScripts[url] = true;
- var s = document.createElement( 'script' );
- s.setAttribute( 'src', url );
- s.setAttribute( 'type', 'text/javascript' );
- document.getElementsByTagName('head')[0].appendChild( s );
- return s;
-}
-
-function importStylesheet( page ) {
- return importStylesheetURI( wgScript + '?action=raw&ctype=text/css&title=' + encodeURIComponent( page.replace(/ /g,'_') ) );
-}
-
-function importStylesheetURI( url, media ) {
- var l = document.createElement( 'link' );
- l.type = 'text/css';
- l.rel = 'stylesheet';
- l.href = url;
- if( media ) {
- l.media = media;
- }
- document.getElementsByTagName('head')[0].appendChild( l );
- return l;
-}
-
-function appendCSS( text ) {
- var s = document.createElement( 'style' );
- s.type = 'text/css';
- s.rel = 'stylesheet';
- if ( s.styleSheet ) {
- s.styleSheet.cssText = text; // IE
- } else {
- s.appendChild( document.createTextNode( text + '' ) ); // Safari sometimes borks on null
- }
- document.getElementsByTagName('head')[0].appendChild( s );
- return s;
-}
-
-// Special stylesheet links for Monobook only (see bug 14717)
-if ( typeof stylepath != 'undefined' && skin == 'monobook' ) {
- if ( opera6_bugs ) {
- importStylesheetURI( stylepath + '/' + skin + '/Opera6Fixes.css' );
- } else if ( opera7_bugs ) {
- importStylesheetURI( stylepath + '/' + skin + '/Opera7Fixes.css' );
- } else if ( opera95_bugs ) {
- importStylesheetURI( stylepath + '/' + skin + '/Opera9Fixes.css' );
- } else if ( ff2_bugs ) {
- importStylesheetURI( stylepath + '/' + skin + '/FF2Fixes.css' );
- }
-}
-
-
-if ( wgBreakFrames ) {
- // Un-trap us from framesets
- if ( window.top != window ) {
- window.top.location = window.location;
- }
-}
-
-function showTocToggle() {
- if ( document.createTextNode ) {
- // Uses DOM calls to avoid document.write + XHTML issues
-
- var linkHolder = document.getElementById( 'toctitle' );
- var existingLink = document.getElementById( 'togglelink' );
- if ( !linkHolder || existingLink ) {
- // Don't add the toggle link twice
- return;
- }
-
- var outerSpan = document.createElement( 'span' );
- outerSpan.className = 'toctoggle';
-
- var toggleLink = document.createElement( 'a' );
- toggleLink.id = 'togglelink';
- toggleLink.className = 'internal';
- toggleLink.href = 'javascript:toggleToc()';
- toggleLink.appendChild( document.createTextNode( tocHideText ) );
-
- outerSpan.appendChild( document.createTextNode( '[' ) );
- outerSpan.appendChild( toggleLink );
- outerSpan.appendChild( document.createTextNode( ']' ) );
-
- linkHolder.appendChild( document.createTextNode( ' ' ) );
- linkHolder.appendChild( outerSpan );
-
- var cookiePos = document.cookie.indexOf( "hidetoc=" );
- if ( cookiePos > -1 && document.cookie.charAt( cookiePos + 8 ) == 1 ) {
- toggleToc();
- }
- }
-}
-
-function changeText( el, newText ) {
- // Safari work around
- if ( el.innerText ) {
- el.innerText = newText;
- } else if ( el.firstChild && el.firstChild.nodeValue ) {
- el.firstChild.nodeValue = newText;
- }
-}
-
-function toggleToc() {
- var tocmain = document.getElementById( 'toc' );
- var toc = document.getElementById('toc').getElementsByTagName('ul')[0];
- var toggleLink = document.getElementById( 'togglelink' );
-
- if ( toc && toggleLink && toc.style.display == 'none' ) {
- changeText( toggleLink, tocHideText );
- toc.style.display = 'block';
- document.cookie = "hidetoc=0";
- tocmain.className = 'toc';
- } else {
- changeText( toggleLink, tocShowText );
- toc.style.display = 'none';
- document.cookie = "hidetoc=1";
- tocmain.className = 'toc tochidden';
- }
-}
-
-var mwEditButtons = [];
-var mwCustomEditButtons = []; // eg to add in MediaWiki:Common.js
-
-function escapeQuotes( text ) {
- var re = new RegExp( "'", "g" );
- text = text.replace( re, "\\'" );
- re = new RegExp( "\\n", "g" );
- text = text.replace( re, "\\n" );
- return escapeQuotesHTML( text );
-}
-
-function escapeQuotesHTML( text ) {
- var re = new RegExp( '&', "g" );
- text = text.replace( re, "&amp;" );
- re = new RegExp( '"', "g" );
- text = text.replace( re, "&quot;" );
- re = new RegExp( '<', "g" );
- text = text.replace( re, "&lt;" );
- re = new RegExp( '>', "g" );
- text = text.replace( re, "&gt;" );
- return text;
-}
-
-/**
- * Set the accesskey prefix based on browser detection.
- */
-var tooltipAccessKeyPrefix = 'alt-';
-if ( is_opera ) {
- tooltipAccessKeyPrefix = 'shift-esc-';
-} else if ( !is_safari_win && is_safari && webkit_version > 526 ) {
- tooltipAccessKeyPrefix = 'ctrl-alt-';
-} else if ( !is_safari_win && ( is_safari
- || clientPC.indexOf('mac') != -1
- || clientPC.indexOf('konqueror') != -1 ) ) {
- tooltipAccessKeyPrefix = 'ctrl-';
-} else if ( is_ff2 ) {
- tooltipAccessKeyPrefix = 'alt-shift-';
-}
-var tooltipAccessKeyRegexp = /\[(ctrl-)?(alt-)?(shift-)?(esc-)?(.)\]$/;
-
-/**
- * Add the appropriate prefix to the accesskey shown in the tooltip.
- * If the nodeList parameter is given, only those nodes are updated;
- * otherwise, all the nodes that will probably have accesskeys by
- * default are updated.
- *
- * @param Array nodeList -- list of elements to update
- */
-function updateTooltipAccessKeys( nodeList ) {
- if ( !nodeList ) {
- // Rather than scan all links on the whole page, we can just scan these
- // containers which contain the relevant links. This is really just an
- // optimization technique.
- var linkContainers = [
- 'column-one', // Monobook and Modern
- 'mw-head', 'mw-panel', 'p-logo' // Vector
- ];
- for ( var i in linkContainers ) {
- var linkContainer = document.getElementById( linkContainers[i] );
- if ( linkContainer ) {
- updateTooltipAccessKeys( linkContainer.getElementsByTagName( 'a' ) );
- }
- }
- // these are rare enough that no such optimization is needed
- updateTooltipAccessKeys( document.getElementsByTagName( 'input' ) );
- updateTooltipAccessKeys( document.getElementsByTagName( 'label' ) );
- return;
- }
-
- for ( var i = 0; i < nodeList.length; i++ ) {
- var element = nodeList[i];
- var tip = element.getAttribute( 'title' );
- if ( tip && tooltipAccessKeyRegexp.exec( tip ) ) {
- tip = tip.replace(tooltipAccessKeyRegexp,
- '[' + tooltipAccessKeyPrefix + "$5]");
- element.setAttribute( 'title', tip );
- }
- }
-}
-
-/**
- * Add a link to one of the portlet menus on the page, including:
- *
- * p-cactions: Content actions (shown as tabs above the main content in Monobook)
- * p-personal: Personal tools (shown at the top right of the page in Monobook)
- * p-navigation: Navigation
- * p-tb: Toolbox
- *
- * This function exists for the convenience of custom JS authors. All
- * but the first three parameters are optional, though providing at
- * least an id and a tooltip is recommended.
- *
- * By default the new link will be added to the end of the list. To
- * add the link before a given existing item, pass the DOM node of
- * that item (easily obtained with document.getElementById()) as the
- * nextnode parameter; to add the link _after_ an existing item, pass
- * the node's nextSibling instead.
- *
- * @param String portlet -- id of the target portlet ("p-cactions", "p-personal", "p-navigation" or "p-tb")
- * @param String href -- link URL
- * @param String text -- link text (will be automatically lowercased by CSS for p-cactions in Monobook)
- * @param String id -- id of the new item, should be unique and preferably have the appropriate prefix ("ca-", "pt-", "n-" or "t-")
- * @param String tooltip -- text to show when hovering over the link, without accesskey suffix
- * @param String accesskey -- accesskey to activate this link (one character, try to avoid conflicts)
- * @param Node nextnode -- the DOM node before which the new item should be added, should be another item in the same list
- *
- * @return Node -- the DOM node of the new item (an LI element) or null
- */
-function addPortletLink( portlet, href, text, id, tooltip, accesskey, nextnode ) {
- var root = document.getElementById( portlet );
- if ( !root ) {
- return null;
- }
- var node = root.getElementsByTagName( 'ul' )[0];
- if ( !node ) {
- return null;
- }
-
- // unhide portlet if it was hidden before
- root.className = root.className.replace( /(^| )emptyPortlet( |$)/, "$2" );
-
- var span = document.createElement( 'span' );
- span.appendChild( document.createTextNode( text ) );
-
- var link = document.createElement( 'a' );
- link.appendChild( span );
- link.href = href;
-
- var item = document.createElement( 'li' );
- item.appendChild( link );
- if ( id ) {
- item.id = id;
- }
-
- if ( accesskey ) {
- link.setAttribute( 'accesskey', accesskey );
- tooltip += ' [' + accesskey + ']';
- }
- if ( tooltip ) {
- link.setAttribute( 'title', tooltip );
- }
- if ( accesskey && tooltip ) {
- updateTooltipAccessKeys( new Array( link ) );
- }
-
- if ( nextnode && nextnode.parentNode == node ) {
- node.insertBefore( item, nextnode );
- } else {
- node.appendChild( item ); // IE compatibility (?)
- }
-
- return item;
-}
-
-function getInnerText( el ) {
- if ( typeof el == 'string' ) {
- return el;
- }
- if ( typeof el == 'undefined' ) {
- return el;
- }
- if ( el.textContent ) {
- return el.textContent; // not needed but it is faster
- }
- if ( el.innerText ) {
- return el.innerText; // IE doesn't have textContent
- }
- var str = '';
-
- var cs = el.childNodes;
- var l = cs.length;
- for ( var i = 0; i < l; i++ ) {
- switch ( cs[i].nodeType ) {
- case 1: // ELEMENT_NODE
- str += ts_getInnerText( cs[i] );
- break;
- case 3: // TEXT_NODE
- str += cs[i].nodeValue;
- break;
- }
- }
- return str;
-}
-
-/* Dummy for deprecated function */
-window.ta = [];
-function akeytt( doId ) {
-}
-
-var checkboxes;
-var lastCheckbox;
-
-function setupCheckboxShiftClick() {
- checkboxes = [];
- lastCheckbox = null;
- var inputs = document.getElementsByTagName( 'input' );
- addCheckboxClickHandlers( inputs );
-}
-
-function addCheckboxClickHandlers( inputs, start ) {
- if ( !start ) {
- start = 0;
- }
-
- var finish = start + 250;
- if ( finish > inputs.length ) {
- finish = inputs.length;
- }
-
- for ( var i = start; i < finish; i++ ) {
- var cb = inputs[i];
- if ( !cb.type || cb.type.toLowerCase() != 'checkbox' ) {
- continue;
- }
- var end = checkboxes.length;
- checkboxes[end] = cb;
- cb.index = end;
- cb.onclick = checkboxClickHandler;
- }
-
- if ( finish < inputs.length ) {
- setTimeout( function() {
- addCheckboxClickHandlers( inputs, finish );
- }, 200 );
- }
-}
-
-function checkboxClickHandler( e ) {
- if ( typeof e == 'undefined' ) {
- e = window.event;
- }
- if ( !e.shiftKey || lastCheckbox === null ) {
- lastCheckbox = this.index;
- return true;
- }
- var endState = this.checked;
- var start, finish;
- if ( this.index < lastCheckbox ) {
- start = this.index + 1;
- finish = lastCheckbox;
- } else {
- start = lastCheckbox;
- finish = this.index - 1;
- }
- for ( var i = start; i <= finish; ++i ) {
- checkboxes[i].checked = endState;
- if( i > start && typeof checkboxes[i].onchange == 'function' ) {
- checkboxes[i].onchange(); // fire triggers
- }
- }
- lastCheckbox = this.index;
- return true;
-}
-
-
-/*
- Written by Jonathan Snook, http://www.snook.ca/jonathan
- Add-ons by Robert Nyman, http://www.robertnyman.com
- Author says "The credit comment is all it takes, no license. Go crazy with it!:-)"
- From http://www.robertnyman.com/2005/11/07/the-ultimate-getelementsbyclassname/
-*/
-function getElementsByClassName( oElm, strTagName, oClassNames ) {
- var arrReturnElements = new Array();
- if ( typeof( oElm.getElementsByClassName ) == 'function' ) {
- /* Use a native implementation where possible FF3, Saf3.2, Opera 9.5 */
- var arrNativeReturn = oElm.getElementsByClassName( oClassNames );
- if ( strTagName == '*' ) {
- return arrNativeReturn;
- }
- for ( var h = 0; h < arrNativeReturn.length; h++ ) {
- if( arrNativeReturn[h].tagName.toLowerCase() == strTagName.toLowerCase() ) {
- arrReturnElements[arrReturnElements.length] = arrNativeReturn[h];
- }
- }
- return arrReturnElements;
- }
- var arrElements = ( strTagName == '*' && oElm.all ) ? oElm.all : oElm.getElementsByTagName( strTagName );
- var arrRegExpClassNames = new Array();
- if( typeof oClassNames == 'object' ) {
- for( var i = 0; i < oClassNames.length; i++ ) {
- arrRegExpClassNames[arrRegExpClassNames.length] =
- new RegExp("(^|\\s)" + oClassNames[i].replace(/\-/g, "\\-") + "(\\s|$)");
- }
- } else {
- arrRegExpClassNames[arrRegExpClassNames.length] =
- new RegExp("(^|\\s)" + oClassNames.replace(/\-/g, "\\-") + "(\\s|$)");
- }
- var oElement;
- var bMatchesAll;
- for( var j = 0; j < arrElements.length; j++ ) {
- oElement = arrElements[j];
- bMatchesAll = true;
- for( var k = 0; k < arrRegExpClassNames.length; k++ ) {
- if( !arrRegExpClassNames[k].test( oElement.className ) ) {
- bMatchesAll = false;
- break;
- }
- }
- if( bMatchesAll ) {
- arrReturnElements[arrReturnElements.length] = oElement;
- }
- }
- return ( arrReturnElements );
-}
-
-function redirectToFragment( fragment ) {
- var match = navigator.userAgent.match(/AppleWebKit\/(\d+)/);
- if ( match ) {
- var webKitVersion = parseInt( match[1] );
- if ( webKitVersion < 420 ) {
- // Released Safari w/ WebKit 418.9.1 messes up horribly
- // Nightlies of 420+ are ok
- return;
- }
- }
- if ( is_gecko ) {
- // Mozilla needs to wait until after load, otherwise the window doesn't scroll
- addOnloadHook(function() {
- if ( window.location.hash == '' ) {
- window.location.hash = fragment;
- }
- });
- } else {
- if ( window.location.hash == '' ) {
- window.location.hash = fragment;
- }
- }
-}
-
-/*
- * Table sorting script based on one (c) 1997-2006 Stuart Langridge and Joost
- * de Valk:
- * http://www.joostdevalk.nl/code/sortable-table/
- * http://www.kryogenix.org/code/browser/sorttable/
- *
- * @todo don't break on colspans/rowspans (bug 8028)
- * @todo language-specific digit grouping/decimals (bug 8063)
- * @todo support all accepted date formats (bug 8226)
- */
-
-var ts_image_path = stylepath + '/common/images/';
-var ts_image_up = 'sort_up.gif';
-var ts_image_down = 'sort_down.gif';
-var ts_image_none = 'sort_none.gif';
-var ts_europeandate = wgContentLanguage != 'en'; // The non-American-inclined can change to "true"
-var ts_alternate_row_colors = false;
-var ts_number_transform_table = null;
-var ts_number_regex = null;
-
-function sortables_init() {
- var idnum = 0;
- // Find all tables with class sortable and make them sortable
- var tables = getElementsByClassName( document, 'table', 'sortable' );
- for ( var ti = 0; ti < tables.length ; ti++ ) {
- if ( !tables[ti].id ) {
- tables[ti].setAttribute( 'id', 'sortable_table_id_' + idnum );
- ++idnum;
- }
- ts_makeSortable( tables[ti] );
- }
-}
-
-function ts_makeSortable( table ) {
- var firstRow;
- if ( table.rows && table.rows.length > 0 ) {
- if ( table.tHead && table.tHead.rows.length > 0 ) {
- firstRow = table.tHead.rows[table.tHead.rows.length-1];
- } else {
- firstRow = table.rows[0];
- }
- }
- if ( !firstRow ) {
- return;
- }
-
- // We have a first row: assume it's the header, and make its contents clickable links
- for ( var i = 0; i < firstRow.cells.length; i++ ) {
- var cell = firstRow.cells[i];
- if ( (' ' + cell.className + ' ').indexOf(' unsortable ') == -1 ) {
- cell.innerHTML += '<a href="#" class="sortheader" '
- + 'onclick="ts_resortTable(this);return false;">'
- + '<span class="sortarrow">'
- + '<img src="'
- + ts_image_path
- + ts_image_none
- + '" alt="&darr;"/></span></a>';
- }
- }
- if ( ts_alternate_row_colors ) {
- ts_alternate( table );
- }
-}
-
-function ts_getInnerText( el ) {
- return getInnerText( el );
-}
-
-function ts_resortTable( lnk ) {
- // get the span
- var span = lnk.getElementsByTagName('span')[0];
-
- var td = lnk.parentNode;
- var tr = td.parentNode;
- var column = td.cellIndex;
-
- var table = tr.parentNode;
- while ( table && !( table.tagName && table.tagName.toLowerCase() == 'table' ) ) {
- table = table.parentNode;
- }
- if ( !table ) {
- return;
- }
-
- if ( table.rows.length <= 1 ) {
- return;
- }
-
- // Generate the number transform table if it's not done already
- if ( ts_number_transform_table === null ) {
- ts_initTransformTable();
- }
-
- // Work out a type for the column
- // Skip the first row if that's where the headings are
- var rowStart = ( table.tHead && table.tHead.rows.length > 0 ? 0 : 1 );
-
- var itm = '';
- for ( var i = rowStart; i < table.rows.length; i++ ) {
- if ( table.rows[i].cells.length > column ) {
- itm = ts_getInnerText(table.rows[i].cells[column]);
- itm = itm.replace(/^[\s\xa0]+/, '').replace(/[\s\xa0]+$/, '');
- if ( itm != '' ) {
- break;
- }
- }
- }
-
- // TODO: bug 8226, localised date formats
- var sortfn = ts_sort_generic;
- var preprocessor = ts_toLowerCase;
- if ( /^\d\d[\/. -][a-zA-Z]{3}[\/. -]\d\d\d\d$/.test( itm ) ) {
- preprocessor = ts_dateToSortKey;
- } else if ( /^\d\d[\/.-]\d\d[\/.-]\d\d\d\d$/.test( itm ) ) {
- preprocessor = ts_dateToSortKey;
- } else if ( /^\d\d[\/.-]\d\d[\/.-]\d\d$/.test( itm ) ) {
- preprocessor = ts_dateToSortKey;
- // (minus sign)([pound dollar euro yen currency]|cents)
- } else if ( /(^([-\u2212] *)?[\u00a3$\u20ac\u00a4\u00a5]|\u00a2$)/.test( itm ) ) {
- preprocessor = ts_currencyToSortKey;
- } else if ( ts_number_regex.test( itm ) ) {
- preprocessor = ts_parseFloat;
- }
-
- var reverse = ( span.getAttribute( 'sortdir' ) == 'down' );
-
- var newRows = new Array();
- var staticRows = new Array();
- for ( var j = rowStart; j < table.rows.length; j++ ) {
- var row = table.rows[j];
- if( (' ' + row.className + ' ').indexOf(' unsortable ') < 0 ) {
- var keyText = ts_getInnerText( row.cells[column] );
- if( keyText === undefined ) {
- keyText = '';
- }
- var oldIndex = ( reverse ? -j : j );
- var preprocessed = preprocessor( keyText.replace(/^[\s\xa0]+/, '').replace(/[\s\xa0]+$/, '') );
-
- newRows[newRows.length] = new Array( row, preprocessed, oldIndex );
- } else {
- staticRows[staticRows.length] = new Array( row, false, j-rowStart );
- }
- }
-
- newRows.sort( sortfn );
-
- var arrowHTML;
- if ( reverse ) {
- arrowHTML = '<img src="' + ts_image_path + ts_image_down + '" alt="&darr;"/>';
- newRows.reverse();
- span.setAttribute( 'sortdir', 'up' );
- } else {
- arrowHTML = '<img src="' + ts_image_path + ts_image_up + '" alt="&uarr;"/>';
- span.setAttribute( 'sortdir', 'down' );
- }
-
- for ( var i = 0; i < staticRows.length; i++ ) {
- var row = staticRows[i];
- newRows.splice( row[2], 0, row );
- }
-
- // We appendChild rows that already exist to the tbody, so it moves them rather than creating new ones
- // don't do sortbottom rows
- for ( var i = 0; i < newRows.length; i++ ) {
- if ( ( ' ' + newRows[i][0].className + ' ').indexOf(' sortbottom ') == -1 ) {
- table.tBodies[0].appendChild( newRows[i][0] );
- }
- }
- // do sortbottom rows only
- for ( var i = 0; i < newRows.length; i++ ) {
- if ( ( ' ' + newRows[i][0].className + ' ').indexOf(' sortbottom ') != -1 ) {
- table.tBodies[0].appendChild( newRows[i][0] );
- }
- }
-
- // Delete any other arrows there may be showing
- var spans = getElementsByClassName( tr, 'span', 'sortarrow' );
- for ( var i = 0; i < spans.length; i++ ) {
- spans[i].innerHTML = '<img src="' + ts_image_path + ts_image_none + '" alt="&darr;"/>';
- }
- span.innerHTML = arrowHTML;
-
- if ( ts_alternate_row_colors ) {
- ts_alternate( table );
- }
-}
-
-function ts_initTransformTable() {
- if ( typeof wgSeparatorTransformTable == 'undefined'
- || ( wgSeparatorTransformTable[0] == '' && wgDigitTransformTable[2] == '' ) )
- {
- digitClass = "[0-9,.]";
- ts_number_transform_table = false;
- } else {
- ts_number_transform_table = {};
- // Unpack the transform table
- // Separators
- ascii = wgSeparatorTransformTable[0].split("\t");
- localised = wgSeparatorTransformTable[1].split("\t");
- for ( var i = 0; i < ascii.length; i++ ) {
- ts_number_transform_table[localised[i]] = ascii[i];
- }
- // Digits
- ascii = wgDigitTransformTable[0].split("\t");
- localised = wgDigitTransformTable[1].split("\t");
- for ( var i = 0; i < ascii.length; i++ ) {
- ts_number_transform_table[localised[i]] = ascii[i];
- }
-
- // Construct regex for number identification
- digits = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', ',', '\\.'];
- maxDigitLength = 1;
- for ( var digit in ts_number_transform_table ) {
- // Escape regex metacharacters
- digits.push(
- digit.replace( /[\\\\$\*\+\?\.\(\)\|\{\}\[\]\-]/,
- function( s ) { return '\\' + s; } )
- );
- if ( digit.length > maxDigitLength ) {
- maxDigitLength = digit.length;
- }
- }
- if ( maxDigitLength > 1 ) {
- digitClass = '[' + digits.join( '', digits ) + ']';
- } else {
- digitClass = '(' + digits.join( '|', digits ) + ')';
- }
- }
-
- // We allow a trailing percent sign, which we just strip. This works fine
- // if percents and regular numbers aren't being mixed.
- ts_number_regex = new RegExp(
- "^(" +
- "[-+\u2212]?[0-9][0-9,]*(\\.[0-9,]*)?(E[-+\u2212]?[0-9][0-9,]*)?" + // Fortran-style scientific
- "|" +
- "[-+\u2212]?" + digitClass + "+%?" + // Generic localised
- ")$", "i"
- );
-}
-
-function ts_toLowerCase( s ) {
- return s.toLowerCase();
-}
-
-function ts_dateToSortKey( date ) {
- // y2k notes: two digit years less than 50 are treated as 20XX, greater than 50 are treated as 19XX
- if ( date.length == 11 ) {
- switch ( date.substr( 3, 3 ).toLowerCase() ) {
- case 'jan':
- var month = '01';
- break;
- case 'feb':
- var month = '02';
- break;
- case 'mar':
- var month = '03';
- break;
- case 'apr':
- var month = '04';
- break;
- case 'may':
- var month = '05';
- break;
- case 'jun':
- var month = '06';
- break;
- case 'jul':
- var month = '07';
- break;
- case 'aug':
- var month = '08';
- break;
- case 'sep':
- var month = '09';
- break;
- case 'oct':
- var month = '10';
- break;
- case 'nov':
- var month = '11';
- break;
- case 'dec':
- var month = '12';
- break;
- // default: var month = '00';
- }
- return date.substr( 7, 4 ) + month + date.substr( 0, 2 );
- } else if ( date.length == 10 ) {
- if ( ts_europeandate == false ) {
- return date.substr( 6, 4 ) + date.substr( 0, 2 ) + date.substr( 3, 2 );
- } else {
- return date.substr( 6, 4 ) + date.substr( 3, 2 ) + date.substr( 0, 2 );
- }
- } else if ( date.length == 8 ) {
- yr = date.substr( 6, 2 );
- if ( parseInt( yr ) < 50 ) {
- yr = '20' + yr;
- } else {
- yr = '19' + yr;
- }
- if ( ts_europeandate == true ) {
- return yr + date.substr( 3, 2 ) + date.substr( 0, 2 );
- } else {
- return yr + date.substr( 0, 2 ) + date.substr( 3, 2 );
- }
- }
- return '00000000';
-}
-
-function ts_parseFloat( s ) {
- if ( !s ) {
- return 0;
- }
- if ( ts_number_transform_table != false ) {
- var newNum = '', c;
-
- for ( var p = 0; p < s.length; p++ ) {
- c = s.charAt( p );
- if ( c in ts_number_transform_table ) {
- newNum += ts_number_transform_table[c];
- } else {
- newNum += c;
- }
- }
- s = newNum;
- }
- num = parseFloat( s.replace(/[, ]/g, '').replace("\u2212", '-') );
- return ( isNaN( num ) ? -Infinity : num );
-}
-
-function ts_currencyToSortKey( s ) {
- return ts_parseFloat(s.replace(/[^-\u22120-9.,]/g,''));
-}
-
-function ts_sort_generic( a, b ) {
- return a[1] < b[1] ? -1 : a[1] > b[1] ? 1 : a[2] - b[2];
-}
-
-function ts_alternate( table ) {
- // Take object table and get all it's tbodies.
- var tableBodies = table.getElementsByTagName( 'tbody' );
- // Loop through these tbodies
- for ( var i = 0; i < tableBodies.length; i++ ) {
- // Take the tbody, and get all it's rows
- var tableRows = tableBodies[i].getElementsByTagName( 'tr' );
- // Loop through these rows
- // Start at 1 because we want to leave the heading row untouched
- for ( var j = 0; j < tableRows.length; j++ ) {
- // Check if j is even, and apply classes for both possible results
- var oldClasses = tableRows[j].className.split(' ');
- var newClassName = '';
- for ( var k = 0; k < oldClasses.length; k++ ) {
- if ( oldClasses[k] != '' && oldClasses[k] != 'even' && oldClasses[k] != 'odd' ) {
- newClassName += oldClasses[k] + ' ';
- }
- }
- tableRows[j].className = newClassName + ( j % 2 == 0 ? 'even' : 'odd' );
- }
- }
-}
-
-/*
- * End of table sorting code
- */
-
-
-/**
- * Add a cute little box at the top of the screen to inform the user of
- * something, replacing any preexisting message.
- *
- * @param String -or- Dom Object message HTML to be put inside the right div
- * @param String className Used in adding a class; should be different for each
- * call to allow CSS/JS to hide different boxes. null = no class used.
- * @return Boolean True on success, false on failure
- */
-function jsMsg( message, className ) {
- if ( !document.getElementById ) {
- return false;
- }
- // We special-case skin structures provided by the software. Skins that
- // choose to abandon or significantly modify our formatting can just define
- // an mw-js-message div to start with.
- var messageDiv = document.getElementById( 'mw-js-message' );
- if ( !messageDiv ) {
- messageDiv = document.createElement( 'div' );
- if ( document.getElementById( 'column-content' )
- && document.getElementById( 'content' ) ) {
- // MonoBook, presumably
- document.getElementById( 'content' ).insertBefore(
- messageDiv,
- document.getElementById( 'content' ).firstChild
- );
- } else if ( document.getElementById( 'content' )
- && document.getElementById( 'article' ) ) {
- // Non-Monobook but still recognizable (old-style)
- document.getElementById( 'article').insertBefore(
- messageDiv,
- document.getElementById( 'article' ).firstChild
- );
- } else {
- return false;
- }
- }
-
- messageDiv.setAttribute( 'id', 'mw-js-message' );
- messageDiv.style.display = 'block';
- if( className ) {
- messageDiv.setAttribute( 'class', 'mw-js-message-' + className );
- }
-
- if ( typeof message === 'object' ) {
- while ( messageDiv.hasChildNodes() ) { // Remove old content
- messageDiv.removeChild( messageDiv.firstChild );
- }
- messageDiv.appendChild( message ); // Append new content
- } else {
- messageDiv.innerHTML = message;
- }
- return true;
-}
-
-/**
- * Inject a cute little progress spinner after the specified element
- *
- * @param element Element to inject after
- * @param id Identifier string (for use with removeSpinner(), below)
- */
-function injectSpinner( element, id ) {
- var spinner = document.createElement( 'img' );
- spinner.id = 'mw-spinner-' + id;
- spinner.src = stylepath + '/common/images/spinner.gif';
- spinner.alt = spinner.title = '...';
- if( element.nextSibling ) {
- element.parentNode.insertBefore( spinner, element.nextSibling );
- } else {
- element.parentNode.appendChild( spinner );
- }
-}
-
-/**
- * Remove a progress spinner added with injectSpinner()
- *
- * @param id Identifier string
- */
-function removeSpinner( id ) {
- var spinner = document.getElementById( 'mw-spinner-' + id );
- if( spinner ) {
- spinner.parentNode.removeChild( spinner );
- }
-}
-
-function runOnloadHook() {
- // don't run anything below this for non-dom browsers
- if ( doneOnloadHook || !( document.getElementById && document.getElementsByTagName ) ) {
- return;
- }
-
- // set this before running any hooks, since any errors below
- // might cause the function to terminate prematurely
- doneOnloadHook = true;
-
- updateTooltipAccessKeys( null );
- setupCheckboxShiftClick();
- sortables_init();
-
- // Run any added-on functions
- for ( var i = 0; i < onloadFuncts.length; i++ ) {
- onloadFuncts[i]();
- }
-}
-
-/**
- * Add an event handler to an element
- *
- * @param Element element Element to add handler to
- * @param String attach Event to attach to
- * @param callable handler Event handler callback
- */
-function addHandler( element, attach, handler ) {
- if( window.addEventListener ) {
- element.addEventListener( attach, handler, false );
- } else if( window.attachEvent ) {
- element.attachEvent( 'on' + attach, handler );
- }
-}
-
-/**
- * Add a click event handler to an element
- *
- * @param Element element Element to add handler to
- * @param callable handler Event handler callback
- */
-function addClickHandler( element, handler ) {
- addHandler( element, 'click', handler );
-}
-
-/**
- * Removes an event handler from an element
- *
- * @param Element element Element to remove handler from
- * @param String remove Event to remove
- * @param callable handler Event handler callback to remove
- */
-function removeHandler( element, remove, handler ) {
- if( window.removeEventListener ) {
- element.removeEventListener( remove, handler, false );
- } else if( window.detachEvent ) {
- element.detachEvent( 'on' + remove, handler );
- }
-}
-// note: all skins should call runOnloadHook() at the end of html output,
-// so the below should be redundant. It's there just in case.
-hookEvent( 'load', runOnloadHook );
-
-if ( ie6_bugs ) {
- importScriptURI( stylepath + '/common/IEFixes.js' );
-}
-
-// For future use.
-mw = {};
-
-
diff --git a/skins/common/wikiprintable.css b/skins/common/wikiprintable.css
deleted file mode 100644
index 8b099bb..0000000
--- a/skins/common/wikiprintable.css
+++ /dev/null
@@ -1,46 +0,0 @@
-/* MediaWiki print stylesheet */
-
-body {
- color: #000000; background: #ffffff;
-}
-
-
-/* MSIE/Win doesn't understand 'inherit' */
-a, a.external, a.new, a.stub {
- color: black ! important;
- text-decoration: none ! important;
-}
-#article {
- margin: 0 ! important;
-}
-
-/* Continue ... */
-a, a.external, a.new, a.stub {
- color: inherit ! important;
- text-decoration: inherit ! important;
-}
-
-/* Hide ugly UI stuff */
-#quickbar, #topbar, #logo, #footer, #siteNotice,
-.editsection, .toctoggle {
- display: none;
-}
-
-/* */
-#article {
- position: relative;
- margin: inherit ! important;
-}
-
-.printfooter {
- border-top: solid 1px black;
- display: block ! important;
-}
-
-/* Old stuff, fixme:
-a.CBlink { color: #0000AA; text-decoration: none; font-size: 12pt; }
-a.interwiki, a.external { color: #3333BB; text-decoration: none; }
-h1.pagetitle { padding-bottom: 0; margin-bottom: 0; }
-i.link, u.link { color: #000066; }
-p.subtitle { padding-top: 0; margin-top: 0; }
-*/
diff --git a/skins/common/wikistandard.css b/skins/common/wikistandard.css
deleted file mode 100644
index 5bf5924..0000000
--- a/skins/common/wikistandard.css
+++ /dev/null
@@ -1,48 +0,0 @@
-#article { padding: 4px; }
-#content { margin: 0; padding: 0; }
-#footer { padding: 4px;font-size:95%;clear: both; }
-#pagestats { font-size: 9pt; }
-#powersearch {
- background: #DDEEFF; border-style: solid; border-width: 1px; padding: 2px;
-}
-#quickbar { width: 140px; height:100%; padding: 4px; visibility: visible; z-index:99;font-size:95%;}
-#topbar { padding: 4px;font-size:95%; }
-
-
-/* Table of contents */
-.toctoggle, .editsection { font-size: smaller; }
-
-/* ... */
-#toolbar { padding:0px; }
-#infobox { background:#eeeeff;color:black;}
-#editform { margin-top:1px; }
-a.interwiki, a.external { color: #3366BB; }
-a.printable { text-decoration: underline; }
-a.stub { color:#772233; text-decoration:none; }
-a:visited { color: #5A3696; }
-body { margin: 0px; padding: 4px; color: black; }
-form.inline { display: inline; }
-textarea { overflow: auto; }
-
-
-h1.pagetitle { padding-top: 0; margin-top: 0; padding-bottom: 0; margin-bottom: 0;
-font-size:150%; }
-h1.pagetitle .editsection { font-size: 66.7%; }
-h2 { font-size: 120%; }
-h2 .editsection { font-size: 83.3%; }
-h2, h3, h4, h5, h6 { margin-bottom: 0;}
-h3 { font-size: 106.25%; }
-h3 .editsection { font-size: 94.1%; }
-h4 { font-size: 103.125%; }
-h4 .editsection { font-size: 97.0%; }
-h5 { font-size: 100%; }
-h5 .editsection { font-size: 100%; }
-h6 { font-size: 95%; }
-h6 .editsection { font-size: 105.3%; }
-hr.sep { color:gray;height:1px;background-color:gray;}
-p.subpages { font-size:small;}
-p.subtitle { padding-top: 0; margin-top: 0;}
-.catlinks { font-size:small; margin-top:0; text-align:right;}
-td { empty-cells:show; }
-td.bottom { border-top: 1px solid gray; }
-td.top { border-bottom: 1px solid gray; }
diff --git a/skins/modern/audio.png b/skins/modern/audio.png
deleted file mode 100644
index 1c56bdc..0000000
--- a/skins/modern/audio.png
+++ /dev/null
Binary files differ
diff --git a/skins/modern/bullet.gif b/skins/modern/bullet.gif
deleted file mode 100644
index b43de48..0000000
--- a/skins/modern/bullet.gif
+++ /dev/null
Binary files differ
diff --git a/skins/modern/discussionitem_icon.gif b/skins/modern/discussionitem_icon.gif
deleted file mode 100644
index e3ca6d9..0000000
--- a/skins/modern/discussionitem_icon.gif
+++ /dev/null
Binary files differ
diff --git a/skins/modern/document.png b/skins/modern/document.png
deleted file mode 100644
index b48138e..0000000
--- a/skins/modern/document.png
+++ /dev/null
Binary files differ
diff --git a/skins/modern/external.png b/skins/modern/external.png
deleted file mode 100644
index 419c06f..0000000
--- a/skins/modern/external.png
+++ /dev/null
Binary files differ
diff --git a/skins/modern/file_icon.gif b/skins/modern/file_icon.gif
deleted file mode 100644
index 69dbeaf..0000000
--- a/skins/modern/file_icon.gif
+++ /dev/null
Binary files differ
diff --git a/skins/modern/footer-grad.png b/skins/modern/footer-grad.png
deleted file mode 100644
index 6f61d61..0000000
--- a/skins/modern/footer-grad.png
+++ /dev/null
Binary files differ
diff --git a/skins/modern/link_icon.gif b/skins/modern/link_icon.gif
deleted file mode 100644
index 168c1a2..0000000
--- a/skins/modern/link_icon.gif
+++ /dev/null
Binary files differ
diff --git a/skins/modern/lock_icon.gif b/skins/modern/lock_icon.gif
deleted file mode 100644
index 8284403..0000000
--- a/skins/modern/lock_icon.gif
+++ /dev/null
Binary files differ
diff --git a/skins/modern/mail_icon.gif b/skins/modern/mail_icon.gif
deleted file mode 100644
index cf5680d..0000000
--- a/skins/modern/mail_icon.gif
+++ /dev/null
Binary files differ
diff --git a/skins/modern/main.css b/skins/modern/main.css
deleted file mode 100644
index a25b6b5..0000000
--- a/skins/modern/main.css
+++ /dev/null
@@ -1,923 +0,0 @@
-body {
- margin: 0 0 0 0;
- padding: 0 0 0 0;
- /*font-size: 10pt;*/
- font-size: x-small;
-
-
- font-family: sans-serif;
- color: black;
- background-color: #f0f0f0;
-}
-
-#mw_main,
-#p-personal,
-#mw_header,
-.os-suggest {
- font-size: 130%;
-}
-
-#mw_header {
- position: absolute;
- top: 0;
- left: 0;
- margin: 0 0 0 0;
- padding: 0 0em 0 0em;
- border: none;
- height: 2em;
- width: 100%;
-
- background-color: #003366;
- color: white;
-}
-
-#mw_header h1 {
- margin: 0 0 0 0.5em;
- padding: 0 0 0 0;
- text-decoration: none;
- font-size: 150%;
-}
-
-#p-personal {
- position: absolute;
- top: 2em;
- left: 0;
- height: 1.5em;
- margin: 0 0 0 0;
- padding: 0 0 0 0;
- width: 100%;
-
-}
-
-#p-personal div.pBody {
- margin: 0 0 0 0;
- padding: 0 0 0 0;
- height: 1.5em;
- font-variant: small-caps;
-}
-
-#p-personal h5 {
- display: none;
-}
-
-#p-personal ul {
- margin: 0 0 0 0;
- padding: 0 0 0 0;
- display: block;
- height: 1.5em;
- background-color: #3c78b5;
-}
-
-#p-personal li {
- display: block; float: left;
- height: 1.5em;
- margin: 0 0 0 0;
- vertical-align: middle;
-
- font-weight: bold;
- text-transform: lowercase;
-}
-
-#p-personal li a {
- text-decoration: none;
- color: white;
- padding: 0 1em 0 1em;
-}
-
-#p-personal li a:hover {
- text-decoration: none;
- color: white;
-}
-
-#p-personal li:hover {
- background-color: #003366;
-}
-
-#jump-to-nav {
- display: none;
-}
-
-#mw_contentwrapper {
- width: 100%;
- margin: 0 0 0 -15em;
- float: right;
-}
-
-#mw_content {
- margin: 0 0 0 14em;
-
- background-color: white;
- border-top: solid 1px #bbbbbb;
- border-left: solid 1px #bbbbbb;
- border-bottom: solid 1px #bbbbbb;
-
- line-height: 1.5em;
- padding: 0 1em 1em 1em;
-}
-
-#mw_portlets {
- width: 14em;
-
- border-right: solid 1px #bbbbbb;
- background-color: #f0f0f0;
-}
-
-#mw_main {
- padding: 0 0 0 0;
- margin: 0 0 0 0;
- margin-top: 3.5em;
-}
-
-div.mw_clear {
- margin: 0 0 0 0;
- padding: 0 0 0 0;
- clear: both;
-}
-
-.portlet {
- padding: 0 0 0 0;
- margin: 0 0 0 0;
-}
-
-.portlet div.pBody {
- padding: 0em 0 0.5em 0;
-}
-
-textarea {
- width: 100%;
- padding: .1em;
-}
-
-#searchBody {
- text-align: center;
-}
-
-#searchInput {
- width: 85%;
- margin-left: auto;
- margin-right: auto;
-}
-
-#p-search #searchform div div {
- margin-top: .4em;
-}
-
-.portlet h5 {
- padding: 0.1em 0 0.3em 1em;
- margin: 0 0 0 0;
- background-color: #dddddd;
- font-weight: bold;
- border-bottom: solid 1px #3c78b5;
- height: 1.1em;
-}
-
-.portlet ul {
- margin: 0 0 0 1.5em;
- padding: 0 0 0 0;
-}
-
-#mw_portlets .portlet ul {
- line-height: 1.4em;
-}
-
-ul {
- list-style-image: url(bullet.gif);
-}
-
-#p-cactions {
- height: 1.5em;
- padding: 0 0 0 0;
- margin: 0 0 0 14em;
-}
-
-#p-cactions div.pBody {
- margin: 0 0 0 0;
- padding: 0 0 0 0;
-}
-
-#p-cactions a,
-#p-cactions a:hover {
- color: black;
- text-decoration: none;
-}
-
-#p-cactions ul {
- display: inline;
- margin: 0 0 0 0;
- padding: 0 0 0 0;
-}
-
-#p-cactions li {
- margin: 0 0.5em 0 0.5em;
- padding: 0 0.2em 0 0.2em;
- display: block;
- float: left;
- height: 1.5em;
- text-transform: lowercase;
-}
-
-#p-cactions li.selected {
- background-color: #bbbbbb;
-}
-
-#p-cactions li a,
-#p-cactions li a:hover,
-#p-cactions li a:visited {
- text-decoration: underline;
- color: #003366;
-}
-
-#p-cactions li.selected a,
-#p-cactions li.selected a:hover,
-#p-cactions li.selected a:visited {
- text-decoration: none;
- color: white;
-}
-
-#p-cactions h5 {
- display: none;
-}
-
-#siteSub {
- display: none;
-}
-
-#footer {
- background-color: #f0f0f0;
- background: url(footer-grad.png) repeat-x 0 0;
- padding: 10px 1em 1em 1em;
- clear:both;
- color: #444444;
-}
-
-#footer a,
-#footer a:hover,
-#footer a:visited {
- color: #444444;
- text-decoration: underline;
-}
-
-img {
- border: none;
-}
-
-#footer li {
- display: inline;
- list-style-type: none;
- padding: 0 0 0 0;
- margin: 0 0 0 0;
-}
-
-#footer ul {
- padding: 0 0 0 0;
- margin: 0 0 0 0;
-}
-
-div.printfooter {
- display: none;
-}
-
-p {
- margin: 1em 0 1em 0;
-}
-
-hr {
- height: 1px;
- color: #aaa;
- background-color: #aaa;
- border: 0;
- margin: .2em 0 .2em 0;
-}
-
-#contentSub {
- color: #888;
- font-size: small;
- padding-left: 2em;
-}
-
-#mw_portlets form {
- margin: 0 0 0 0;
- padding: 0 0 0 0;
-}
-
-a {
- text-decoration: none;
- color: #003366;
- background: none;
-}
-a:visited {
- color: #5a3696;
-}
-a:active {
- color: #faa700;
-}
-a:hover {
- text-decoration: underline;
-}
-a.stub {
- color: #772233;
-}
-a.new {
- color: #ba0000;
-}
-a.new:visited {
- color: #a55858;
-}
-
-span.editsection {
- font-size: small;
-}
-
-h1, h2 {
- border-bottom: solid 1px #003366;
-}
-
-#preftoc {
- width: 100%;
- margin: 0 0 0 0;
- padding: 0 0 0 0;
- height: 1.5em;
- clear: right;
-}
-
-#preftoc li {
- margin: 0 0.5em 0 0.5em;
- padding: 0 0.2em 0 0.2em;
- display: block;
- float: left;
- height: 1.5em;
- text-transform: lowercase;
-}
-
-#preferences {
- margin: 0 0 0 0;
- padding: 0em 1em 1em 1em;
- border: solid 1px #bbbbbb;
- clear: left; /* Multi-line toc should not push data to horizontally */
-}
-
-#preferences fieldset {
- margin-top: 0;
- border: none;
-}
-
-#preferences h2 {
-}
-
-.mainLegend {
- display: none;
-}
-
-.htmlform-tip {
- font-size: x-small;
- padding: .2em 2em;
- color: #666;
-}
-
-.prefsection legend {
- font-weight: bold;
-}
-
-#preftoc li.selected {
- background-color: #bbbbbb;
-}
-
-#preftoc li a,
-#preftoc li a:hover,
-#preftoc li a:visited {
- text-decoration: underline;
- color: #003366;
-}
-
-#preftoc li.selected a,
-#preftoc li.selected a:hover,
-#preftoc li.selected a:visited {
- text-decoration: none;
- color: white;
-}
-
-#mw-pref-clear {
- clear: both;
-}
-
-#mw_content a.external,
-#mw_content a[href ^="gopher://"] {
- background: url(external.png) center right no-repeat;
- padding-right: 13px;
-}
-#mw_content a[href ^="https://"],
-.link-https {
- background: url(lock_icon.gif) center right no-repeat;
- padding-right: 16px;
-}
-#mw_content a[href ^="mailto:"],
-.link-mailto {
- background: url(mail_icon.gif) center right no-repeat;
- padding-right: 18px;
-}
-#mw_content a[href ^="news://"] {
- background: url(news_icon.png) center right no-repeat;
- padding-right: 18px;
-}
-#mw_content a[href ^="ftp://"],
-.link-ftp {
- background: url(file_icon.gif) center right no-repeat;
- padding-right: 18px;
-}
-#mw_content a[href ^="irc://"],
-#mw_content a.extiw[href ^="irc://"],
-.link-irc {
- background: url(discussionitem_icon.gif) center right no-repeat;
- padding-right: 18px;
-}
-
-#mw_content a.external[href $=".ogg"], #mw_content a.external[href $=".OGG"],
-#mw_content a.external[href $=".mid"], #mw_content a.external[href $=".MID"],
-#mw_content a.external[href $=".midi"], #mw_content a.external[href $=".MIDI"],
-#mw_content a.external[href $=".mp3"], #mw_content a.external[href $=".MP3"],
-#mw_content a.external[href $=".wav"], #mw_content a.external[href $=".WAV"],
-#mw_content a.external[href $=".wma"], #mw_content a.external[href $=".WMA"],
-.link-audio {
- background: url("audio.png") center right no-repeat;
- padding-right: 13px;
-}
-#mw_content a.external[href $=".ogm"], #mw_content a.external[href $=".OGM"],
-#mw_content a.external[href $=".avi"], #mw_content a.external[href $=".AVI"],
-#mw_content a.external[href $=".mpeg"], #mw_content a.external[href $=".MPEG"],
-#mw_content a.external[href $=".mpg"], #mw_content a.external[href $=".MPG"],
-.link-video {
- background: url("video.png") center right no-repeat;
- padding-right: 13px;
-}
-#mw_content a.external[href $=".pdf"], #mw_content a.external[href $=".PDF"],
-#mw_content a.external[href *=".pdf#"], #mw_content a.external[href *=".PDF#"],
-#mw_content a.external[href *=".pdf?"], #mw_content a.external[href *=".PDF?"],
-.link-document {
- background: url("document.png") center right no-repeat;
- padding-right: 12px;
-}
-
-/* images */
-div.floatright, table.floatright {
- clear: right;
- float: right;
- position: relative;
- margin: 0 0 .5em .5em;
- border: 0;
-/*
- border: .5em solid white;
- border-width: .5em 0 .8em 1.4em;
-*/
-}
-div.floatright p { font-style: italic; }
-div.floatleft, table.floatleft {
- float: left;
- clear: left;
- position: relative;
- margin: 0 .5em .5em 0;
- border: 0;
-/*
- margin: .3em .5em .5em 0;
- border: .5em solid white;
- border-width: .5em 1.4em .8em 0;
-*/
-}
-div.floatleft p { font-style: italic; }
-/* thumbnails */
-div.thumb {
- margin-bottom: .5em;
- border-style: solid;
- border-color: white;
- width: auto;
-}
-div.thumbinner {
- border: 1px solid #ccc;
- padding: 3px !important;
- background-color: #f9f9f9;
- font-size: 94%;
- text-align: center;
- overflow: hidden;
-}
-html .thumbimage {
- border: 1px solid #ccc;
-}
-html .thumbcaption {
- border: none;
- text-align: left;
- line-height: 1.4em;
- padding: 3px !important;
- font-size: 94%;
-}
-div.magnify {
- float: right;
- border: none !important;
- background: none !important;
-}
-div.magnify a, div.magnify img {
- display: block;
- border: none !important;
- background: none !important;
-}
-div.tright {
- clear: right;
- float: right;
- border-width: .5em 0 .8em 1.4em;
-}
-div.tleft {
- float: left;
- clear: left;
- margin-right: .5em;
- border-width: .5em 1.4em .8em 0;
-}
-img.thumbborder {
- border: 1px solid #dddddd;
-}
-.hiddenStructure {
- display: none;
-}
-.mw-warning {
- border: 1px solid #aaa;
- background-color: #f9f9f9;
- padding: 5px;
- font-size: 95%;
-}
-
-#toc,
-.toc {
- margin: 0 0 0 0;
- padding: 0 0 0 0;
- border-spacing: 0;
- background-color: #f0f0f0;
- border: solid 1px #bbbbbb;
-}
-
-#toc tr, #toc td {
- margin: 0 0 0 0;
- padding: 0 0 0 0;
-}
-
-#toctitle {
- border-bottom: solid 1px #3c78b5;
- background-color: #dddddd;
- margin: 0 0 0 0;
-}
-
-#toc h2,
-.toc h2 {
- display: inline;
- border: none;
- padding: 0;
- font-size: 100%;
- font-weight: bold;
-}
-#toc #toctitle,
-.toc #toctitle,
-#toc .toctitle,
-.toc .toctitle {
- text-align: center;
-}
-
-#toc ul,
-.toc ul {
- list-style-type: none;
- list-style-image: none;
- margin: 0 1em 0 1em;
- padding-left: 0;
- text-align: left;
-}
-
-#toc ul ul,
-.toc ul ul {
- margin: 0 0 0 2em;
-}
-
-#toc .toctoggle,
-.toc .toctoggle {
- font-size: 94%;
-}
-
-.mw-warning {
- margin-left: 50px;
- margin-right: 50px;
- text-align: center;
-}
-
-.catlinks {
- border: solid 1px #bbbbbb;
- background-color: #f0f0f0;
- padding: 0.1em 0.3em 0.1em 0.3em;
- margin: 0 0 0 0;
-}
-
-#mw_header h1,
-#p-personal,
-#p-cactions {
- overflow: hidden;
-}
-
-/* disable interwiki styling */
-#mw_content a.extiw,
-#mw_content a.extiw:active {
- color: #36b;
- background: none;
- padding: 0;
-}
-#mw_content a.external {
- color: #36b;
-}
-
-
-
-.redirectText {
- font-size: 150%;
- margin: 5px;
-}
-
-.printfooter {
- display: none;
-}
-
-.sharedUploadNotice {
- font-style: italic;
-}
-
-span.updatedmarker {
- color: black;
- background-color: #0f0;
-}
-
-.previewnote {
- text-indent: 3em;
- color: #c00;
- border-bottom: 1px solid #aaa;
- padding-bottom: 1em;
- margin-bottom: 1em;
-}
-
-.previewnote p {
- margin: 0;
- padding: 0;
-}
-
-.editExternally {
- border: 1px solid gray;
- background-color: #ffffff;
- padding: 3px;
- margin-top: 0.5em;
- float: left;
- font-size: small;
- text-align: center;
-}
-.editExternallyHelp {
- font-style: italic;
- color: gray;
-}
-
-.toggle {
- margin-left: 2em;
- text-indent: -2em;
-}
-
-table.collapsed tr.collapsable {
- display: none;
-}
-
-input#wpSummary {
- width: 80%;
-}
-
-/* @bug 1714 */
-input#wpSave, input#wpDiff {
- margin-right: 0.33em;
-}
-
-#wpSave {
- font-weight: bold;
-}
-
-/* Classes for article validation */
-
-table.revisionform_default {
- border: 1px solid #000000;
-}
-
-table.revisionform_focus {
- border: 1px solid #000000;
- background-color:#00BBFF;
-}
-
-tr.revision_tr_default {
- background-color:#EEEEEE;
-}
-
-tr.revision_tr_first {
- background-color:#DDDDDD;
-}
-
-p.revision_saved {
- color: green;
- font-weight:bold;
-}
-
-/* noarticletext */
-div.noarticletext {
- border: 1px solid #ccc;
- background: #fff;
- padding: .2em 1em;
- color: #000;
-}
-
-div#searchTargetContainer {
- left: 10px;
- top: 10px;
- width: 90%;
- background: white;
-}
-
-div#searchTarget {
- padding: 3px;
- margin: 5px;
- background: #F0F0F0;
- border: solid 1px blue;
-}
-
-div#searchTarget ul li {
- list-style: none;
-}
-
-div#searchTarget ul li:before {
- color: orange;
- content: "\00BB \0020";
-}
-
-div#searchTargetHide {
- float:right;
- border:solid 1px black;
- background:gainsboro;
- padding:2px;
-}
-
-div.multipageimagenavbox {
- border: solid 1px silver;
- padding: 4px;
- margin: 1em;
- background: #f0f0f0;
-}
-
-div.multipageimagenavbox div.thumb {
- border: none;
- margin-left: 2em;
- margin-right: 2em;
-}
-
-div.multipageimagenavbox hr {
- margin: 6px;
-}
-
-table.multipageimage td {
- text-align: center;
-}
-
-/*
- Table pager (e.g. Special:Imagelist)
- - remove underlines from the navigation link
- - collapse borders
- - set the borders to outsets (similar to Special:Allmessages)
- - remove line wrapping for all td and th, set background color
- - restore line wrapping for the last two table cells (description and size)
-*/
-.TablePager_nav a { text-decoration: none; }
-.TablePager { border-collapse: collapse; }
-.TablePager, .TablePager td, .TablePager th {
- border: 1px solid #aaaaaa;
- padding: 0 0.15em 0 0.15em;
-}
-.TablePager th { background-color: #eeeeff }
-.TablePager td { background-color: #ffffff }
-.TablePager tr:hover td { background-color: #eeeeff }
-
-.imagelist td, .imagelist th { white-space: nowrap }
-.imagelist .TablePager_col_links { background-color: #eeeeff }
-.imagelist .TablePager_col_img_description { white-space: normal }
-.imagelist th.TablePager_sort { background-color: #ccccff }
-
-.templatesUsed { margin-top: 1.5em; }
-
-.mw-summary-preview {
- margin: 0.1em 0;
-}
-
-/* Friendlier slave lag warnings */
-div.mw-lag-warn-normal,
-div.mw-lag-warn-high {
- padding: 3px;
- text-align: center;
- margin: 3px auto;
-}
-div.mw-lag-warn-normal {
- border: 1px solid #FFCC66;
- background-color: #FFFFCC;
-}
-div.mw-lag-warn-high {
- font-weight: bold;
- border: 2px solid #FF0033;
- background-color: #FFCCCC;
-}
-
-.MediaTransformError {
- background-color: #ccc;
- padding: 0.1em;
-}
-.MediaTransformError td {
- text-align: center;
- vertical-align: middle;
- font-size: 90%;
-}
-ul {
- line-height: 1.5em;
- list-style-type: square;
- margin: .3em 0 0 1.5em;
- padding: 0;
- list-style-image: url(bullet.gif);
-}
-ol {
- line-height: 1.5em;
- margin: .3em 0 0 3.2em;
- padding: 0;
- list-style-image: none;
-}
-li {
- margin-bottom: .1em;
-}
-dt {
- font-weight: bold;
- margin-bottom: .1em;
-}
-dl {
- margin-top: .2em;
- margin-bottom: .5em;
-}
-
-#p-cactions li.new a {
- color: #cc2200;
-}
-
-span.subpages {
- font-size: 80%;
- display: block;
-}
-
-pre {
- border: solid 1px #3c78b5;
- padding: 0.4em;
- background-color: #f0f0f0;
-}
-
-.usermessage {
- background-color: #dadaff;
-}
-
-.mw-topboxes {
- border-collapse: collapse;
- margin: 0 -1em 1em -1em;
- padding: 0 0 8px 0;
- background: url(footer-grad.png) repeat-x bottom left;
-}
-
-.mw-topbox p {
- padding: 0 0 0 0;
- margin: 0 0 0 0;
-}
-
-.mw-topbox {
- color: black;
- font-weight: bold;
- margin: 0 0 0 0;
- padding: 0 1em 0 1em;
- vertical-align: middle;
- border-collapse: collapse;
- border-bottom: solid 1px #bbbbbb;
-}
-
-#siteSub {
- background-color: #dddddd;
-}
-
-/* emulate center */
-.center {
- width:100%;
- text-align:center;
-}
-*.center * {
- margin-left:auto;
- margin-right:auto;
-}
-
-/* table standards */
-.toccolours {
- border:1px solid #bbbbbb;
- background-color:#f0f0f0;
- border-spacing:0pt;
- margin:0pt;
- padding:0pt;
-}
diff --git a/skins/modern/news_icon.png b/skins/modern/news_icon.png
deleted file mode 100644
index dd1541d..0000000
--- a/skins/modern/news_icon.png
+++ /dev/null
Binary files differ
diff --git a/skins/modern/print.css b/skins/modern/print.css
deleted file mode 100644
index 33a36b2..0000000
--- a/skins/modern/print.css
+++ /dev/null
@@ -1,10 +0,0 @@
-#mw_portlets,
-#p-cactions,
-#p-personal,
-#jump-to-nav,
-#footer,
-span.editsection,
-.noprint
-{
- display: none;
-}
diff --git a/skins/modern/rtl.css b/skins/modern/rtl.css
deleted file mode 100644
index 7221048..0000000
--- a/skins/modern/rtl.css
+++ /dev/null
@@ -1,163 +0,0 @@
-body {
- direction: rtl;
- unicode-bidi: embed;
-}
-
-.editsection {
- float: left;
- margin-right: 5px;
- margin-left: 0; /* bug 9122: undo default LTR */
-}
-
-/* Fix alignment */
-.documentByLine,
-.portletDetails,
-.portletMore {
- text-align: left;
-}
-
-div div.thumbcaption {
- text-align: right;
-}
-
-div.magnify {
- left: auto;
- right: 0;
-}
-
-/* Fix margins for non-css2 browsers */
-/* top right bottom left */
-
-dd {
- margin-left: 0;
- margin-right: 1.6em;
-}
-.tocindent {
- margin-left: 0;
- margin-right: 2em;
-}
-div.tright, div.floatright, table.floatright {
- clear: none;
-}
-div.tleft, div.floatleft, table.floatleft {
- clear: left;
-}
-
-/* Fix link icons */
-.external, a.feedlink {
- padding: 0 !important;
- background: none !important;
-}
-
-/* js pref toc */
-
-#preftoc {
- margin-right: 1em;
-}
-
-.errorbox, .successbox, #preftoc li, .prefsection fieldset {
- float: right;
-}
-
-.prefsection {
- padding-right: 2em;
-}
-
-/* workaround for moz bug, displayed bullets on left side */
-
-#toc ul {
- text-align: right;
-}
-
-#toc ul ul {
- margin: 0 2em 0 0;
-}
-
-input#wpSave, input#wpDiff {
- margin-right: 0;
- margin-left: .33em;
-}
-
-#userlogin {
- margin: 0 0 1em 3em;
-}
-/* Convenience links to edit block, delete and protect reasons */
-p.mw-ipb-conveniencelinks, p.mw-protect-editreasons,
-p.mw-filedelete-editreasons, p.mw-delete-editreasons {
- float: left;
-}
-
-.toggle {
- margin-left: 0em;
- margin-right: 2em;
-}
-table.filehistory th {
- text-align: right;
-}
-
-#mw_contentwrapper {
- margin: 0 -15em 0 0;
- float: left;
-}
-
-#mw_content {
- margin: 0 14em 0 0;
- border-left: none;
- border-right: solid 1px #bbbbbb;
-}
-
-.portlet ul {
- margin: 0 1.5em 0 0;
- padding: 0 0 0 0;
-}
-
-.portlet h5 {
- padding: 0.1em 1em 0.3em 0;
-}
-
-#p-cactions li {
- float: right;
-}
-
-#p-personal li {
- float: right;
-}
-
-#p-cactions {
- margin: 0 14em 0 0;
-}
-
-#mw_portlets {
- border-right: none;
- border-left: solid 1px #bbbbbb;
-}
-
-/**
- * Lists:
- * The following lines don't have a visible effect on non-Gecko browsers
- * They fix a problem ith Gecko browsers rendering lists to the right of
- * left-floated objects in an RTL layout.
- */
-html > body div#mw_contentholder ul {
- display: table;
-}
-html > body div#mw_contentholder ul li {
- margin-right:10px;
-}
-html > body div.pBody ul li {
- margin-right:4px;
-}
-html > body div#mw_contentholder ul#filetoc {
- display: block;
-}
-
-/* Special:Allpages styling */
-td.mw-allpages-nav, p.mw-allpages-nav, td.mw-allpages-alphaindexline {
- text-align: left;
-}
-
-/* Special:Prefixindex styling */
-td#mw-prefixindex-nav-form {
- text-align: left;
-}
-
diff --git a/skins/modern/video.png b/skins/modern/video.png
deleted file mode 100644
index 38103da..0000000
--- a/skins/modern/video.png
+++ /dev/null
Binary files differ
diff --git a/skins/monobook/FF2Fixes.css b/skins/monobook/FF2Fixes.css
deleted file mode 100644
index c8b65f5..0000000
--- a/skins/monobook/FF2Fixes.css
+++ /dev/null
@@ -1,4 +0,0 @@
-.rtl .external, a.feedlink {
- padding: 0 !important;
- background: none !important;
-}
diff --git a/skins/monobook/IE50Fixes.css b/skins/monobook/IE50Fixes.css
deleted file mode 100644
index 26c3dc9..0000000
--- a/skins/monobook/IE50Fixes.css
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
-** IE5.0 Fix Stylesheet
-*/
-
-#column-content {
- margin: 0 !important;
- float: none;
-}
-#column-content #content {
- margin-top: 3em;
- height: 1%;
-}
-#column-one {
- position: absolute;
- overflow: visible;
- top: 0;
- left: 0;
- z-index: 3;
-}
-#footer {
- margin: 0 0 0 13.6em;
-}
-
-/* IE 5 & 5.5 interpret keyword sizes one off */
-body { font-size: xx-small; }
-/*
-** the edit tabs
-*/
-#p-cactions li {
- float: left;
- padding-top: 0;
- padding-bottom: 0 !important;
- height: 0.9em;
-}
-#p-cactions li a {
- display: block;
- padding-bottom: 0.045em;
-}
-#p-cactions li.selected a {
- padding-bottom: 0.17em;
-}
-#p-cactions li a:hover {
- padding-bottom: 0.17em;
-}
-/* 5.0 doesn't like the background icon for external links and user */
-.link-external,
-.external {
- background: none;
- padding: 0;
-}
-#p-personal ul { float: right }
-#p-personal li { float: left }
-li#pt-userpage,
-li#pt-anonuserpage,
-li#pt-login,
-li#pt-logout {
- background: none;
- padding-left: none;
-}
-.visualClear {
- width: 100%;
- height: 0px;
- padding:0;
- margin: 0;
-}
-#firstHeading { margin-bottom: .3em; }
-/*div{ border:1px solid Red !important;}*/
diff --git a/skins/monobook/IE55Fixes.css b/skins/monobook/IE55Fixes.css
deleted file mode 100644
index 637daae..0000000
--- a/skins/monobook/IE55Fixes.css
+++ /dev/null
@@ -1,85 +0,0 @@
-/* IE5.5/win- only fixes */
-
-#column-content {
- float: none;
- margin-left: 0;
- height: 1%;
-}
-#column-content #content {
- position: relative;
- z-index: 5;
- margin-left: 12.2em;
- margin-top: 3em;
- height: 1%;
-}
-#column-one {
- position: absolute;
- top: 0;
- left: 0;
- z-index: 4;
- width: 100%;
-}
-#footer {
- margin-left: 13.6em;
- border-left: 1px solid #fabd23;
-}
-
-/*#bodyContent div,
-#bodyContent pre { overflow: auto; }*/
-
-#p-personal { padding-bottom: .1em; }
-
-body { font-size: xx-small; }
-
-#p-cactions {
- width: 76% !important;
- z-index: 3 !important;
- float: none;
-}
-#p-cactions li {
- padding-bottom: 0 !important;
- border: none;
- background-color: transparent;
- cursor: default;
- float: none !important;
-}
-#p-cactions li a {
- display: inline-block !important;
- vertical-align: top;
- padding-bottom: 0;
- border: solid #aaa;
- border-width: 1px 1px 0;
-}
-#p-cactions li.selected a {
- border-color: #fabd23;
- padding-bottom: 0.17em;
-}
-#p-cactions li a:hover {
- padding-bottom: 0.17em;
-}
-#p-navigation a {
- display: inline-block;
- width: 100%;
-}
-.portlet {
- overflow: hidden;
-}
-#bodyContent a.external {
- background: url(external.png) center right no-repeat;
- padding-right: 13px;
-}
-/* show the hand */
-#p-logo a,
-#p-logo a:hover {
- cursor: pointer;
-}
-.visualClear {
- width: 90%;
- height: 1px;
- padding: 0;
- margin: 0;
-}
-
-#editform {
- width: 100%;
-}
diff --git a/skins/monobook/IE60Fixes.css b/skins/monobook/IE60Fixes.css
deleted file mode 100644
index e6e447f..0000000
--- a/skins/monobook/IE60Fixes.css
+++ /dev/null
@@ -1,98 +0,0 @@
-/* 6.0 - only fixes */
-/* content area */
-/* workaround for various ie float bugs */
-#column-content {
- float: none;
- margin-left: 0;
- height: 1%;
-}
-#column-content #content {
- margin-left: 12.2em;
- margin-top: 3em;
- height: 1%;
-}
-#column-one {
- position: absolute;
- top: 0;
- left: 0;
- z-index: 4;
-}
-#footer {
- margin-left: 13.6em;
- border-left: 1px solid #fabd23;
-}
-
-/* the tabs */
-
-#p-cactions {
- z-index: 3;
-}
-
-#p-cactions li {
- padding-bottom: 0 !important;
- border: none;
- background-color: transparent;
- cursor: default;
- float: none !important;
-}
-#p-cactions li a {
- display: inline-block !important;
- vertical-align: top;
- padding-bottom: 0;
- border: solid #aaa;
- border-width: 1px 1px 0;
-}
-#p-cactions li.selected a {
- border-color: #fabd23;
- padding-bottom: 0.17em;
-}
-#p-cactions li a:hover {
- padding-bottom: 0.17em;
-}
-#p-navigation a {
- display: inline-block;
- width: 100%;
-}
-#portal-personaltools {
- padding-bottom: 0.1em;
-}
-#bodyContent a.external {
- background: url(external.png) center right no-repeat;
- padding-right: 13px;
-}
-
-.rtl #bodyContent a.external {
- background-image: url(external-rtl.png);
- padding-right: 13px;
-}
-
-.rtl a.feedlink {
- background-position: right;
- padding-right: 0;
- padding-left: 16px;
-}
-
-/* show the hand */
-#p-logo a,
-#p-logo a:hover {
- cursor: pointer;
-}
-div.visualClear {
- width:100%;
- line-height: 0;
-}
-textarea {
- width: 96%;
-}
-
-div.editsection,
-#catlinks,
-div.tright,
-div.tleft {
- position: relative;
-}
-
-/* bug 12846 */
-body.rtl #preftoc a, body.rtl #preftoc a:active {
- float: left;
-}
diff --git a/skins/monobook/IE70Fixes.css b/skins/monobook/IE70Fixes.css
deleted file mode 100644
index 0014586..0000000
--- a/skins/monobook/IE70Fixes.css
+++ /dev/null
@@ -1,84 +0,0 @@
-/* 7.0 - only fixes */
-/* content area */
-/* workaround for various ie float bugs */
-
-/* This bit is needed to make links clickable... WTF */
-#column-content #content {
- margin-left: 12.2em;
- margin-top: 3em;
- height: 1%;
-}
-
-.rtl #column-one {
- /* For some reason it tries to inherit the padding-top into every div,
- * and I can't figure out how to get it back off.
- * Margin works correctly for this use, though.
- */
- padding-top: 0;
- margin-top: 160px;
-}
-
-.rtl #bodyContent a.external {
- background-image: url(external-rtl.png);
- padding: 0 13px 0 0;
-}
-
-.rtl a.feedlink {
- background-position: right;
- padding-right: 0;
- padding-left: 16px;
-}
-/* the tabs */
-
-#p-cactions {
- z-index: 3;
-}
-
-
-#p-cactions li {
- padding-bottom: 0 !important;
- border: none;
- background-color: transparent;
- cursor: default;
- float: none !important;
-}
-
-#p-cactions li a {
- display: inline-block !important;
- vertical-align: top;
- padding-bottom: 0;
- border: solid #aaa;
- border-width: 1px 1px 0;
-}
-#p-cactions li.selected a {
- border-color: #fabd23;
- padding-bottom: 0.17em;
-}
-#p-cactions li a:hover {
- padding-bottom: 0.17em;
-}
-#p-navigation a {
- display: inline-block;
- width: 100%;
-}
-#portal-personaltools {
- padding-bottom: 0.1em;
-}
-textarea {
- width: 96%;
-}
-
-/*
-div.editsection,
-#catlinks,
-div.tright,
-div.tleft {
- position: relative;
-}
-*/
-
-
-#footer li {
- /* Work around bug with inline <li> tags with right margins and nowrap */
- margin-right: 0;
-}
diff --git a/skins/monobook/Opera6Fixes.css b/skins/monobook/Opera6Fixes.css
deleted file mode 100644
index 2a3d78f..0000000
--- a/skins/monobook/Opera6Fixes.css
+++ /dev/null
@@ -1,20 +0,0 @@
-/* opera 6 fixes */
-#column-one {
- position: relative;
- max-width: 11.7em;
-}
-#p-personal {
- width: 45em;
- margin-left: 8.6em;
- right: 0;
-}
-#bodyContent a.external {
- background: url(external.png) center right no-repeat;
- padding-right: 13px;
-}
-
-.rtl a.feedlink {
- background-position: right;
- padding-right: 0;
- padding-left: 16px;
-}
diff --git a/skins/monobook/Opera7Fixes.css b/skins/monobook/Opera7Fixes.css
deleted file mode 100644
index 1dcba7c..0000000
--- a/skins/monobook/Opera7Fixes.css
+++ /dev/null
@@ -1,21 +0,0 @@
-/* small tweaks for opera seven */
-#p-cactions {
- margin-top: .1em;
-}
-#p-cactions li a {
- top: 2px;
-}
-#bodyContent a.external {
- background: url(external.png) center right no-repeat;
- padding-right: 13px;
-}
-.rtl #bodyContent a.external {
- background-image: url(external-rtl.png);
- padding-right: 13px;
-}
-
-.rtl a.feedlink {
- background-position: right;
- padding-right: 0;
- padding-left: 16px;
-}
diff --git a/skins/monobook/Opera9Fixes.css b/skins/monobook/Opera9Fixes.css
deleted file mode 100644
index 9c312a8..0000000
--- a/skins/monobook/Opera9Fixes.css
+++ /dev/null
@@ -1,11 +0,0 @@
-.rtl #bodyContent a.external {
- background-image: url(external-rtl.png);
- padding-right: 13px;
- padding-left: 0;
-}
-
-.rtl a.feedlink {
- background-position: right;
- padding-right: 0;
- padding-left: 16px;
-}
diff --git a/skins/monobook/audio.png b/skins/monobook/audio.png
deleted file mode 100644
index 1c56bdc..0000000
--- a/skins/monobook/audio.png
+++ /dev/null
Binary files differ
diff --git a/skins/monobook/bullet.gif b/skins/monobook/bullet.gif
deleted file mode 100644
index b43de48..0000000
--- a/skins/monobook/bullet.gif
+++ /dev/null
Binary files differ
diff --git a/skins/monobook/discussionitem_icon.gif b/skins/monobook/discussionitem_icon.gif
deleted file mode 100644
index e3ca6d9..0000000
--- a/skins/monobook/discussionitem_icon.gif
+++ /dev/null
Binary files differ
diff --git a/skins/monobook/document.png b/skins/monobook/document.png
deleted file mode 100644
index b48138e..0000000
--- a/skins/monobook/document.png
+++ /dev/null
Binary files differ
diff --git a/skins/monobook/external-rtl.png b/skins/monobook/external-rtl.png
deleted file mode 100644
index c5cd84d..0000000
--- a/skins/monobook/external-rtl.png
+++ /dev/null
Binary files differ
diff --git a/skins/monobook/external.png b/skins/monobook/external.png
deleted file mode 100644
index 419c06f..0000000
--- a/skins/monobook/external.png
+++ /dev/null
Binary files differ
diff --git a/skins/monobook/file_icon.gif b/skins/monobook/file_icon.gif
deleted file mode 100644
index 69dbeaf..0000000
--- a/skins/monobook/file_icon.gif
+++ /dev/null
Binary files differ
diff --git a/skins/monobook/headbg.jpg b/skins/monobook/headbg.jpg
deleted file mode 100644
index 5491c6e..0000000
--- a/skins/monobook/headbg.jpg
+++ /dev/null
Binary files differ
diff --git a/skins/monobook/link_icon.gif b/skins/monobook/link_icon.gif
deleted file mode 100644
index 168c1a2..0000000
--- a/skins/monobook/link_icon.gif
+++ /dev/null
Binary files differ
diff --git a/skins/monobook/lock_icon.gif b/skins/monobook/lock_icon.gif
deleted file mode 100644
index f71cd9b..0000000
--- a/skins/monobook/lock_icon.gif
+++ /dev/null
Binary files differ
diff --git a/skins/monobook/magnify-clip.png b/skins/monobook/magnify-clip.png
deleted file mode 100644
index ffd7637..0000000
--- a/skins/monobook/magnify-clip.png
+++ /dev/null
Binary files differ
diff --git a/skins/monobook/mail_icon.gif b/skins/monobook/mail_icon.gif
deleted file mode 100644
index cf5680d..0000000
--- a/skins/monobook/mail_icon.gif
+++ /dev/null
Binary files differ
diff --git a/skins/monobook/main.css b/skins/monobook/main.css
deleted file mode 100644
index 727355b..0000000
--- a/skins/monobook/main.css
+++ /dev/null
@@ -1,1308 +0,0 @@
-/*
-** MediaWiki 'monobook' style sheet for CSS2-capable browsers.
-** Copyright Gabriel Wicke - http://wikidev.net/
-** License: GPL (http://www.gnu.org/copyleft/gpl.html)
-**
-** Loosely based on http://www.positioniseverything.net/ordered-floats.html by Big John
-** and the Plone 2.0 styles, see http://plone.org/ (Alexander Limi,Joe Geldart & Tom Croucher,
-** Michael Zeltner and Geir Bækholt)
-** All you guys rock :)
-*/
-
-#column-content {
- width: 100%;
- float: right;
- margin: 0 0 .6em -12.2em;
- padding: 0;
-}
-#content {
- margin: 2.8em 0 0 12.2em;
- padding: 0 1em 1em 1em;
- position: relative;
- z-index: 2;
-}
-#column-one {
- padding-top: 160px;
-}
-#content {
- background: white;
- color: black;
- border: 1px solid #aaa;
- border-right: none;
- line-height: 1.5em;
-}
-/* the left column width is specified in class .portlet */
-
-/* Font size:
-** We take advantage of keyword scaling- browsers won't go below 9px
-** More at http://www.w3.org/2003/07/30-font-size
-** http://style.cleverchimp.com/font_size_intervals/altintervals.html
-*/
-
-body {
- font: x-small sans-serif;
- background: #f9f9f9 url(headbg.jpg) 0 0 no-repeat;
- color: black;
- margin: 0;
- padding: 0;
-}
-
-/* scale back up to a sane default */
-#globalWrapper {
- font-size: 127%;
- width: 100%;
- margin: 0;
- padding: 0;
-}
-
-/* general styles */
-
-table {
- font-size: 100%;
- color: black;
- /* we don't want the bottom borders of <h2>s to be visible through
- floated tables */
- background-color: white;
-}
-fieldset table {
- /* but keep table layouts in forms clean... */
- background: none;
-}
-a {
- text-decoration: none;
- color: #002bb8;
- background: none;
-}
-a:visited {
- color: #5a3696;
-}
-a:active {
- color: #faa700;
-}
-a:hover {
- text-decoration: underline;
-}
-a.stub {
- color: #772233;
-}
-a.new, #p-personal a.new {
- color: #ba0000;
-}
-a.new:visited, #p-personal a.new:visited {
- color: #a55858;
-}
-
-img {
- border: none;
- vertical-align: middle;
-}
-p {
- margin: .4em 0 .5em 0;
- line-height: 1.5em;
-}
-p img {
- margin: 0;
-}
-
-hr {
- height: 1px;
- color: #aaa;
- background-color: #aaa;
- border: 0;
- margin: .2em 0 .2em 0;
-}
-
-h1, h2, h3, h4, h5, h6 {
- color: black;
- background: none;
- font-weight: normal;
- margin: 0;
- padding-top: .5em;
- padding-bottom: .17em;
- border-bottom: 1px solid #aaa;
-}
-h1 { font-size: 188%; }
-h1 .editsection { font-size: 53%; }
-h2 { font-size: 150%; }
-h2 .editsection { font-size: 67%; }
-h3, h4, h5, h6 {
- border-bottom: none;
- font-weight: bold;
-}
-h3 { font-size: 132%; }
-h3 .editsection { font-size: 76%; font-weight: normal; }
-h4 { font-size: 116%; }
-h4 .editsection { font-size: 86%; font-weight: normal; }
-h5 { font-size: 100%; }
-h5 .editsection { font-weight: normal; }
-h6 { font-size: 80%; }
-h6 .editsection { font-size: 125%; font-weight: normal; }
-
-ul {
- line-height: 1.5em;
- list-style-type: square;
- margin: .3em 0 0 1.5em;
- padding: 0;
- list-style-image: url(bullet.gif);
-}
-ol {
- line-height: 1.5em;
- margin: .3em 0 0 3.2em;
- padding: 0;
- list-style-image: none;
-}
-li {
- margin-bottom: .1em;
-}
-dt {
- font-weight: bold;
- margin-bottom: .1em;
-}
-dl {
- margin-top: .2em;
- margin-bottom: .5em;
-}
-dd {
- line-height: 1.5em;
- margin-left: 2em;
- margin-bottom: .1em;
-}
-
-fieldset {
- border: 1px solid #2f6fab;
- margin: 1em 0 1em 0;
- padding: 0 1em 1em;
- line-height: 1.5em;
-}
-fieldset.nested {
- margin: 0 0 0.5em 0;
- padding: 0 0.5em 0.5em;
-}
-legend {
- padding: .5em;
- font-size: 95%;
-}
-form {
- border: none;
- margin: 0;
-}
-
-textarea {
- width: 100%;
- padding: .1em;
-}
-
-input.historysubmit {
- padding: 0 .3em .3em .3em !important;
- font-size: 94%;
- cursor: pointer;
- height: 1.7em !important;
- margin-left: 1.6em;
-}
-select {
- vertical-align: top;
-}
-abbr, acronym, .explain {
- border-bottom: 1px dotted black;
- color: black;
- background: none;
- cursor: help;
-}
-q {
- font-family: Times, "Times New Roman", serif;
- font-style: italic;
-}
-/* disabled for now
-blockquote {
- font-family: Times, "Times New Roman", serif;
- font-style: italic;
-}*/
-code {
- background-color: #f9f9f9;
-}
-pre {
- padding: 1em;
- border: 1px dashed #2f6fab;
- color: black;
- background-color: #f9f9f9;
- line-height: 1.1em;
-}
-
-/*
-** the main content area
-*/
-
-#siteSub {
- display: none;
-}
-#jump-to-nav {
- display: none;
-}
-
-#contentSub, #contentSub2 {
- font-size: 84%;
- line-height: 1.2em;
- margin: 0 0 1.4em 1em;
- color: #7d7d7d;
- width: auto;
-}
-span.subpages {
- display: block;
-}
-
-/* Some space under the headers in the content area */
-#bodyContent h1, #bodyContent h2 {
- margin-bottom: .6em;
-}
-#bodyContent h3, #bodyContent h4, #bodyContent h5 {
- margin-bottom: .3em;
-}
-#firstHeading {
- margin-bottom: .1em;
- /* These two rules hack around bug 2013 (fix for more limited bug 11325).
- When bug 2013 is fixed properly, they should be removed. */
- line-height: 1.2em;
- padding-bottom: 0;
-}
-
-/* user notification thing */
-.usermessage {
- background-color: #ffce7b;
- border: 1px solid #ffa500;
- color: black;
- font-weight: bold;
- margin: 2em 0 1em;
- padding: .5em 1em;
- vertical-align: middle;
-}
-#siteNotice {
- text-align: center;
- font-size: 95%;
- padding: 0 0.9em;
-}
-#siteNotice p {
- margin: 0;
- padding: 0;
-}
-
-.catlinks {
- border: 1px solid #aaa;
- background-color: #f9f9f9;
- padding: 5px;
- margin-top: 1em;
- clear: both;
-}
-/* currently unused, intended to be used by a metadata box
-in the bottom-right corner of the content area */
-.documentDescription {
- /* The summary text describing the document */
- font-weight: bold;
- display: block;
- margin: 1em 0;
- line-height: 1.5em;
-}
-.documentByLine {
- text-align: right;
- font-size: 90%;
- clear: both;
- font-weight: normal;
- color: #76797c;
-}
-
-/* emulate center */
-.center {
- width: 100%;
- text-align: center;
-}
-*.center * {
- margin-left: auto;
- margin-right: auto;
-}
-/* small for tables and similar */
-.small, .small * {
- font-size: 94%;
-}
-table.small {
- font-size: 100%;
-}
-
-/*
-** content styles
-*/
-
-#toc,
-.toc,
-.mw-warning {
- border: 1px solid #aaa;
- background-color: #f9f9f9;
- padding: 5px;
- font-size: 95%;
-}
-#toc h2,
-.toc h2 {
- display: inline;
- border: none;
- padding: 0;
- font-size: 100%;
- font-weight: bold;
-}
-#toc #toctitle,
-.toc #toctitle,
-#toc .toctitle,
-.toc .toctitle {
- text-align: center;
-}
-#toc ul,
-.toc ul {
- list-style-type: none;
- list-style-image: none;
- margin-left: 0;
- padding-left: 0;
- text-align: left;
-}
-#toc ul ul,
-.toc ul ul {
- margin: 0 0 0 2em;
-}
-#toc .toctoggle,
-.toc .toctoggle {
- font-size: 94%;
-}
-
-.mw-warning {
- margin-left: 50px;
- margin-right: 50px;
- text-align: center;
-}
-
-/* images */
-div.floatright, table.floatright {
- clear: right;
- float: right;
- position: relative;
- margin: 0 0 .5em .5em;
- border: 0;
-/*
- border: .5em solid white;
- border-width: .5em 0 .8em 1.4em;
-*/
-}
-div.floatright p { font-style: italic; }
-div.floatleft, table.floatleft {
- float: left;
- clear: left;
- position: relative;
- margin: 0 .5em .5em 0;
- border: 0;
-/*
- margin: .3em .5em .5em 0;
- border: .5em solid white;
- border-width: .5em 1.4em .8em 0;
-*/
-}
-div.floatleft p { font-style: italic; }
-/* thumbnails */
-div.thumb {
- margin-bottom: .5em;
- border-style: solid;
- border-color: white;
- width: auto;
-}
-div.thumbinner {
- border: 1px solid #ccc;
- padding: 3px !important;
- background-color: #f9f9f9;
- font-size: 94%;
- text-align: center;
- overflow: hidden;
-}
-html .thumbimage {
- border: 1px solid #ccc;
-}
-html .thumbcaption {
- border: none;
- text-align: left;
- line-height: 1.4em;
- padding: 3px !important;
- font-size: 94%;
-}
-div.magnify {
- float: right;
- border: none !important;
- background: none !important;
-}
-div.magnify a, div.magnify img {
- display: block;
- border: none !important;
- background: none !important;
-}
-div.tright {
- clear: right;
- float: right;
- border-width: .5em 0 .8em 1.4em;
-}
-div.tleft {
- float: left;
- clear: left;
- margin-right: .5em;
- border-width: .5em 1.4em .8em 0;
-}
-img.thumbborder {
- border: 1px solid #dddddd;
-}
-.hiddenStructure {
- display: none;
-}
-
-/*
-** classes for special content elements like town boxes
-** intended to be referenced directly from the wiki src
-*/
-
-/*
-** User styles
-*/
-/* table standards */
-table.rimage {
- float: right;
- position: relative;
- margin-left: 1em;
- margin-bottom: 1em;
- text-align: center;
-}
-.toccolours {
- border: 1px solid #aaa;
- background-color: #f9f9f9;
- padding: 5px;
- font-size: 95%;
-}
-
-/*
-** edit views etc
-*/
-.special li {
- line-height: 1.4em;
- margin: 0;
- padding: 0;
-}
-
-/*
-** keep the whitespace in front of the ^=, hides rule from konqueror
-** this is css3, the validator doesn't like it when validating as css2
-*/
-#bodyContent a.external,
-#bodyContent a.external[href ^="gopher://"] {
- background: url(external.png) center right no-repeat;
- padding: 0 13px;
-}
-.rtl #bodyContent a.external,
-.rtl #bodyContent a.external[href ^="gopher://"] {
- background-image: url(external-rtl.png);
-}
-#bodyContent a.external[href ^="https://"],
-.link-https {
- background: url(lock_icon.gif) center right no-repeat;
- padding: 0 16px;
-}
-#bodyContent a.external[href ^="mailto:"],
-.link-mailto {
- background: url(mail_icon.gif) center right no-repeat;
- padding: 0 18px;
-}
-#bodyContent a.external[href ^="news://"] {
- background: url(news_icon.png) center right no-repeat;
- padding: 0 18px;
-}
-#bodyContent a.external[href ^="ftp://"],
-.link-ftp {
- background: url(file_icon.gif) center right no-repeat;
- padding: 0 18px;
-}
-#bodyContent a.external[href ^="irc://"],
-.link-irc {
- background: url(discussionitem_icon.gif) center right no-repeat;
- padding: 0 18px;
-}
-#bodyContent a.external[href $=".ogg"], #bodyContent a.external[href $=".OGG"],
-#bodyContent a.external[href $=".mid"], #bodyContent a.external[href $=".MID"],
-#bodyContent a.external[href $=".midi"], #bodyContent a.external[href $=".MIDI"],
-#bodyContent a.external[href $=".mp3"], #bodyContent a.external[href $=".MP3"],
-#bodyContent a.external[href $=".wav"], #bodyContent a.external[href $=".WAV"],
-#bodyContent a.external[href $=".wma"], #bodyContent a.external[href $=".WMA"],
-.link-audio {
- background: url("audio.png") center right no-repeat;
- padding: 0 13px;
-}
-#bodyContent a.external[href $=".ogm"], #bodyContent a.external[href $=".OGM"],
-#bodyContent a.external[href $=".avi"], #bodyContent a.external[href $=".AVI"],
-#bodyContent a.external[href $=".mpeg"], #bodyContent a.external[href $=".MPEG"],
-#bodyContent a.external[href $=".mpg"], #bodyContent a.external[href $=".MPG"],
-.link-video {
- background: url("video.png") center right no-repeat;
- padding: 0 13px;
-}
-#bodyContent a.external[href $=".pdf"], #bodyContent a.external[href $=".PDF"],
-#bodyContent a.external[href *=".pdf#"], #bodyContent a.external[href *=".PDF#"],
-#bodyContent a.external[href *=".pdf?"], #bodyContent a.external[href *=".PDF?"],
-.link-document {
- background: url("document.png") center right no-repeat;
- padding: 0 12px;
-}
-
-/* for rtl wikis */
-.rtl #bodyContent a.external {
- background-position: left;
- padding-right: 0;
-}
-.rtl a.feedlink {
- background-position: right;
- padding-right: 16px;
- padding-left: 0;
-}
-
-/* correction for ltr wikis */
-.ltr #bodyContent a.external {
- padding-left: 0;
-}
-
-/* disable interwiki styling */
-#bodyContent a.extiw,
-#bodyContent a.extiw:active {
- color: #36b;
-}
-#bodyContent a.external {
- color: #36b;
-}
-/*
-** Structural Elements
-*/
-
-/*
-** general portlet styles (elements in the quickbar)
-*/
-.portlet {
- border: none;
- margin: 0 0 .5em;
- padding: 0;
- float: none;
- width: 11.6em;
- overflow: hidden;
-}
-.portlet h4 {
- font-size: 95%;
- font-weight: normal;
- white-space: nowrap;
-}
-.portlet h5 {
- background: transparent;
- padding: 0 1em 0 .5em;
- display: inline;
- height: 1em;
- text-transform: lowercase;
- font-size: 91%;
- font-weight: normal;
- white-space: nowrap;
-}
-.portlet h6 {
- background: #ffae2e;
- border: 1px solid #2f6fab;
- border-style: solid solid none solid;
- padding: 0 1em 0 1em;
- text-transform: lowercase;
- display: block;
- font-size: 1em;
- height: 1.2em;
- font-weight: normal;
- white-space: nowrap;
-}
-.pBody {
- font-size: 95%;
- background-color: white;
- color: black;
- border-collapse: collapse;
- border: 1px solid #aaa;
- padding: 0 .8em .3em .5em;
-}
-.portlet h1,
-.portlet h2,
-.portlet h3,
-.portlet h4 {
- margin: 0;
- padding: 0;
-}
-.portlet ul {
- line-height: 1.5em;
- list-style-type: square;
- list-style-image: url(bullet.gif);
- font-size: 95%;
-}
-.portlet li {
- padding: 0;
- margin: 0;
-}
-
-/*
-** Logo properties
-*/
-
-#p-logo {
- top: 0;
- left: 0;
- position: absolute; /*needed to use z-index */
- z-index: 3;
- height: 155px;
- width: 12em;
- overflow: visible;
-}
-#p-logo h5 {
- display: none;
-}
-#p-logo a,
-#p-logo a:hover {
- display: block;
- height: 155px;
- width: 12.2em;
- background-repeat: no-repeat;
- background-position: 35% 50% !important;
- text-decoration: none;
-}
-
-/*
-** Search portlet
-*/
-#p-search {
- position: relative;
- z-index: 3;
-}
-input.searchButton {
- margin-top: 1px;
- font-size: 95%;
-}
-#searchGoButton {
- padding-left: .5em;
- padding-right: .5em;
- font-weight: bold;
-}
-#searchInput {
- width: 10.9em;
- margin: 0;
- font-size: 95%;
-}
-#p-search .pBody {
- padding: .5em .4em .4em .4em;
- text-align: center;
-}
-#p-search #searchform div div {
- margin-top: .4em;
- font-size: 95%;
-}
-/*
-** the personal toolbar
-*/
-#p-personal {
- position: absolute;
- left: 0;
- top: 0;
- z-index: 0;
-}
-#p-personal {
- width: 100%;
- white-space: nowrap;
- padding: 0;
- margin: 0;
- border: none;
- background: none;
- overflow: visible;
- line-height: 1.2em;
-}
-#p-personal h5 {
- display: none;
-}
-#p-personal .portlet,
-#p-personal .pBody {
- z-index: 0;
- padding: 0;
- margin: 0;
- border: none;
- overflow: visible;
- background: none;
-}
-/* this is the ul contained in the portlet */
-#p-personal ul {
- border: none;
- line-height: 1.4em;
- color: #2f6fab;
- padding: 0 2em 0 3em;
- margin: 0;
- text-align: right;
- list-style: none;
- z-index: 0;
- background: none;
- cursor: default;
-}
-#p-personal li {
- z-index: 0;
- border: none;
- padding: 0;
- display: inline;
- color: #2f6fab;
- margin-left: 1em;
- line-height: 1.2em;
- background: none;
-}
-#p-personal li a {
- text-decoration: none;
- color: #005896;
- padding-bottom: .2em;
- background: none;
-}
-#p-personal li a:hover {
- background-color: white;
- padding-bottom: .2em;
- text-decoration: none;
-}
-#p-personal li.active a:hover {
- background-color: transparent;
-}
-/* the icon in front of the user name, single quotes
-in bg url to hide it from iemac */
-li#pt-userpage,
-li#pt-anonuserpage,
-li#pt-login {
- background: url(user.gif) top left no-repeat;
- padding-left: 20px;
- text-transform: none;
-}
-#p-personal ul {
- text-transform: lowercase;
-}
-#p-personal li.active {
- font-weight: bold;
-}
-/*
-** the page-related actions- page/talk, edit etc
-*/
-#p-cactions {
- position: absolute;
- top: 1.3em;
- left: 11.5em;
- margin: 0;
- white-space: nowrap;
- width: 76%;
- line-height: 1.1em;
- overflow: visible;
- background: none;
- border-collapse: collapse;
- padding-left: 1em;
- list-style: none;
- font-size: 95%;
-}
-#p-cactions ul {
- list-style: none;
-}
-#p-cactions li {
- display: inline;
- border: 1px solid #aaa;
- border-bottom: none;
- padding: 0 0 .1em 0;
- margin: 0 .3em 0 0;
- overflow: visible;
- background: white;
-}
-#p-cactions li.selected {
- border-color: #fabd23;
- padding: 0 0 .2em 0;
- font-weight: bold;
-}
-#p-cactions li a {
- background-color: #fbfbfb;
- color: #002bb8;
- border: none;
- padding: 0 .8em .3em;
- position: relative;
- z-index: 0;
- margin: 0;
- text-decoration: none;
-}
-#p-cactions li.selected a {
- z-index: 3;
- padding: 0 1em .2em!important;
- background-color: white;
-}
-#p-cactions .new a {
- color: #ba0000;
-}
-#p-cactions li a:hover {
- z-index: 3;
- text-decoration: none;
- background-color: white;
-}
-#p-cactions h5 {
- display: none;
-}
-#p-cactions li.istalk {
- margin-right: 0;
-}
-#p-cactions li.istalk a {
- padding-right: .5em;
-}
-#p-cactions #ca-addsection a {
- padding-left: .4em;
- padding-right: .4em;
-}
-/* offsets to distinguish the tab groups */
-li#ca-talk {
- margin-right: 1.6em;
-}
-li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
- margin-left: 1.6em;
-}
-#p-cactions .pBody {
- font-size: 1em;
- background-color: transparent;
- color: inherit;
- border-collapse: inherit;
- border: 0;
- padding: 0;
-}
-#p-cactions .hiddenStructure {
- display: none;
-}
-#p-cactions li a {
- text-transform: lowercase;
-}
-
-#p-lang {
- position: relative;
- z-index: 3;
-}
-
-/* Override text-transform on languages where capitalization is significant */
-.capitalize-all-nouns .portlet h5,
-.capitalize-all-nouns .portlet h6,
-.capitalize-all-nouns #p-personal ul,
-.capitalize-all-nouns #p-cactions ul li a {
- text-transform: none;
-}
-
-/* TODO: #t-iscite is only used by the Cite extension, come up with some
- * system which allows extensions to add to this file on the fly
- */
-#t-ispermalink, #t-iscite {
- color: #999;
-}
-/*
-** footer
-*/
-#footer {
- background-color: white;
- border-top: 1px solid #fabd23;
- border-bottom: 1px solid #fabd23;
- margin: .6em 0 1em 0;
- padding: .4em 0 1.2em 0;
- text-align: center;
- font-size: 90%;
-}
-#footer li {
- display: inline;
- margin: 0 1.3em;
-}
-#f-poweredbyico, #f-copyrightico {
- margin: 0 8px;
- position: relative;
- top: -2px; /* Bump it up just a tad */
-}
-#f-poweredbyico {
- float: right;
- height: 1%;
-}
-#f-copyrightico {
- float: left;
- height: 1%;
-}
-
-.mw-htmlform-submit {
- font-weight: bold;
- padding-left: .3em;
- padding-right: .3em;
- margin-right: 2em;
-}
-
-/* js pref toc */
-#preftoc {
- margin: 0;
- padding: 0;
- width: 100%;
- clear: both;
-}
-#preftoc li {
- background-color: #f0f0f0;
- color: #000;
-}
-#preftoc li {
- margin: 1px -2px 1px 2px;
- float: left;
- padding: 2px 0 3px 0;
- border: 1px solid #fff;
- border-right-color: #716f64;
- border-bottom: 0;
- position: relative;
- white-space: nowrap;
- list-style-type: none;
- list-style-image: none;
- z-index: 3;
-}
-#preftoc li.selected {
- font-weight: bold;
- background-color: #f9f9f9;
- border: 1px solid #aaa;
- border-bottom: none;
- cursor: default;
- top: 1px;
- padding-top: 2px;
- margin-right: -3px;
-}
-#preftoc > li.selected {
- top: 2px;
-}
-#preftoc a,
-#preftoc a:active {
- display: block;
- color: #000;
- padding: 0 .7em;
- position: relative;
- text-decoration: none;
-}
-#preftoc li.selected a {
- cursor: default;
- text-decoration: none;
-}
-#preferences {
- margin: 0;
- border: 1px solid #aaa;
- clear: both;
- padding: 1.5em;
- background-color: #F9F9F9;
-}
-.prefsection {
- border: none;
- padding: 0;
- margin: 0;
-}
-
-.prefsection legend {
- font-weight: bold;
-}
-.prefsection table, .prefsection legend {
- background-color: #F9F9F9;
-}
-.mainLegend {
- display: none;
-}
-td.htmlform-tip {
- font-size: x-small;
- padding: .2em 2em;
- color: #666;
-}
-
-.preferences-login {
- clear: both;
- margin-bottom: 1.5em;
-}
-
-.prefcache {
- font-size: 90%;
- margin-top: 2em;
-}
-
-div#userloginForm form,
-div#userlogin form#userlogin2 {
- margin: 0 3em 1em 0;
- border: 1px solid #aaa;
- clear: both;
- padding: 1.5em 2em;
- background-color: #f9f9f9;
- float: left;
-}
-.rtl div#userloginForm form,
-.rtl div#userlogin form#userlogin2 {
- float: right;
-}
-
-div#userloginForm table,
-div#userlogin form#userlogin2 table {
- background-color: #f9f9f9;
-}
-
-div#userloginForm h2,
-div#userlogin form#userlogin2 h2 {
- padding-top: 0;
-}
-
-div#userlogin .captcha,
-div#userloginForm .captcha {
- border: 1px solid #bbb;
- padding: 1.5em 2em;
- background-color: white;
-}
-
-#loginend, #signupend {
- clear: both;
-}
-
-#userloginprompt, #languagelinks {
- font-size: 85%;
-}
-
-#login-sectiontip {
- font-size: 85%;
- line-height: 1.2;
- padding-top: 2em;
-}
-
-#userlogin .loginText, #userlogin .loginPassword {
- width: 12em;
-}
-
-#userloginlink a, #wpLoginattempt, #wpCreateaccount {
- font-weight: bold;
-}
-
-/*
-** IE/Mac fixes, hope to find a validating way to move this
-** to a separate stylesheet. This would work but doesn't validate:
-** @import("IEMacFixes.css");
-*/
-/* tabs: border on the a, not the div */
-* > html #p-cactions li { border: none; }
-* > html #p-cactions li a {
- border: 1px solid #aaa;
- border-bottom: none;
-}
-* > html #p-cactions li.selected a { border-color: #fabd23; }
-/* footer icons need a fixed width */
-* > html #f-poweredbyico,
-* > html #f-copyrightico { width: 88px; }
-* > html #bodyContent,
-* > html #bodyContent pre {
- overflow-x: auto;
- width: 100%;
- padding-bottom: 25px;
-}
-
-/* more IE fixes */
-/* float/negative margin brokenness */
-* html #footer {margin-top: 0;}
-* html #column-content {
- display: inline;
- margin-bottom: 0;
-}
-* html div.editsection { font-size: smaller; }
-#pagehistory li.selected { position: relative; }
-
-/* Mac IE 5.0 fix; floated content turns invisible */
-* > html #column-content {
- float: none;
-}
-* > html #column-one {
- position: absolute;
- left: 0;
- top: 0;
-}
-* > html #footer {
- margin-left: 13.2em;
-}
-.redirectText {
- font-size: 150%;
- margin: 5px;
-}
-
-.printfooter {
- display: none;
-}
-
-
-div.patrollink {
- clear: both;
-}
-
-.sharedUploadNotice {
- font-style: italic;
-}
-
-span.updatedmarker {
- color: black;
- background-color: #0f0;
-}
-
-.previewnote {
- color: #c00;
- margin-bottom: 1em;
-}
-
-.previewnote p {
- text-indent: 3em;
- margin: 0.8em 0;
-}
-
-.editExternally {
- border: 1px solid gray;
- background-color: #ffffff;
- padding: 3px;
- margin-top: 0.5em;
- float: left;
- font-size: small;
- text-align: center;
-}
-.editExternallyHelp {
- font-style: italic;
- color: gray;
-}
-
-.toggle {
- margin-left: 2em;
- text-indent: -2em;
-}
-
-input#wpSummary {
- width: 80%;
-}
-
-/* @bug 1714 */
-input#wpSave, input#wpDiff {
- margin-right: 0.33em;
-}
-
-#wpSave {
- font-weight: bold;
-}
-
-/* Classes for article validation */
-
-table.revisionform_default {
- border: 1px solid #000000;
-}
-
-table.revisionform_focus {
- border: 1px solid #000000;
- background-color:#00BBFF;
-}
-
-tr.revision_tr_default {
- background-color:#EEEEEE;
-}
-
-tr.revision_tr_first {
- background-color:#DDDDDD;
-}
-
-p.revision_saved {
- color: green;
- font-weight:bold;
-}
-
-/* noarticletext */
-div.noarticletext {
- border: 1px solid #ccc;
- background: #fff;
- padding: .2em 1em;
- color: #000;
-}
-
-div#searchTargetContainer {
- left: 10px;
- top: 10px;
- width: 90%;
- background: white;
-}
-
-div#searchTarget {
- padding: 3px;
- margin: 5px;
- background: #F0F0F0;
- border: solid 1px blue;
-}
-
-div#searchTarget ul li {
- list-style: none;
-}
-
-div#searchTarget ul li:before {
- color: orange;
- content: "\00BB \0020";
-}
-
-div#searchTargetHide {
- float:right;
- border:solid 1px black;
- background:#DCDCDC;
- padding:2px;
-}
-
-#powersearch p {
- margin-top:0px;
-}
-
-div.multipageimagenavbox {
- border: solid 1px silver;
- padding: 4px;
- margin: 1em;
- background: #f0f0f0;
-}
-
-div.multipageimagenavbox div.thumb {
- border: none;
- margin-left: 2em;
- margin-right: 2em;
-}
-
-div.multipageimagenavbox hr {
- margin: 6px;
-}
-
-table.multipageimage td {
- text-align: center;
-}
-
-.templatesUsed { margin-top: 1.5em; }
-
-.mw-summary-preview {
- margin: 0.1em 0;
-}
-
-/* Friendlier slave lag warnings */
-div.mw-lag-warn-normal,
-div.mw-lag-warn-high {
- padding: 3px;
- text-align: center;
- margin: 3px auto;
-}
-div.mw-lag-warn-normal {
- border: 1px solid #FFCC66;
- background-color: #FFFFCC;
-}
-div.mw-lag-warn-high {
- font-weight: bold;
- border: 2px solid #FF0033;
- background-color: #FFCCCC;
-}
-
-.MediaTransformError {
- background-color: #ccc;
- padding: 0.1em;
-}
-.MediaTransformError td {
- text-align: center;
- vertical-align: middle;
- font-size: 90%;
-}
-
-/* God-damned hack for the crappy layout */
-.os-suggest {
- font-size: 127%;
-}
-
-/* Sometimes people don't want personal tools to be lowercase! */
-.no-text-transform {
- text-transform: none;
-}
diff --git a/skins/monobook/news_icon.png b/skins/monobook/news_icon.png
deleted file mode 100644
index dd1541d..0000000
--- a/skins/monobook/news_icon.png
+++ /dev/null
Binary files differ
diff --git a/skins/monobook/required.gif b/skins/monobook/required.gif
deleted file mode 100644
index bd71976..0000000
--- a/skins/monobook/required.gif
+++ /dev/null
Binary files differ
diff --git a/skins/monobook/rtl.css b/skins/monobook/rtl.css
deleted file mode 100644
index b9bf43c..0000000
--- a/skins/monobook/rtl.css
+++ /dev/null
@@ -1,251 +0,0 @@
-/*
-Right-to-left fixes for MonoBook.
-Places sidebar on right, tweaks various alignment issues.
-
-Works mostly ok nicely on Safari 1.2.1; fine in Mozilla.
-
-Safari bugs (1.2.1):
-* Tabs are still appearing in left-to-right order. (Try after localizing)
-
-Opera bugs (7.23 linux):
-* Some bits of ltr text (sidebar box titles) have forward and backward versions overlapping each other
-
-IE/mac bugs:
-* The thing barfs on Hebrew and Arabic anyway, so no point testing.
-
-Missing features due to lack of support:
-* external link icons
-
-To test:
-* Opera6
-* IE 5.0
-* etc
-
-*/
-body {
- direction: rtl;
- unicode-bidi: embed;
-}
-#column-content {
- margin: 0 -12.2em 0 0;
- float: left;
-}
-#column-content #content{
- margin-left: 0;
- margin-right: 12.2em;
- border-right: 1px solid #aaaaaa;
- border-left: none;
-}
-html > body .portlet {
- float: right;
- clear: right;
-}
-.editsection {
- float: left;
- margin-right: 5px;
- margin-left: 0; /* bug 9122: undo default LTR */
-}
-/* recover IEMac (might be fine with the float, but usually it's close to IE */
-*>body .portlet {
- float: none;
- clear: none;
-}
-.pBody {
- padding-right: 0.8em;
- padding-left: 0.5em;
-}
-
-/* Fix alignment */
-.documentByLine,
-.portletDetails,
-.portletMore,
-#p-personal {
- text-align: left;
-}
-
-div div.thumbcaption {
- text-align: right;
-}
-
-div.magnify,
-#p-logo {
- left: auto;
- right: 0;
-}
-#p-personal {
- left: auto;
- right: 0;
-}
-
-#p-cactions {
- left: auto;
- right: 11.5em;
- padding-left: 0;
- padding-right: 1em;
-}
-#p-cactions li {
- margin-left: 0.3em;
- margin-right: 0;
- float: right;
-}
-* html #p-cactions li a {
- display: block;
- padding-bottom: 0;
-}
-* html #p-cactions li a:hover {
- padding-bottom: 0.2em;
-}
-/* offsets to distinguish the tab groups */
-li#ca-talk {
- margin-right: auto;
- margin-left: 1.6em;
-}
-li#ca-watch,li#ca-unwatch {
- margin-right: 1.6em !important;
-}
-
-/* Fix margins for non-css2 browsers */
-/* top right bottom left */
-
-ul {
- margin-left: 0;
- margin-right: 1.5em;
-}
-ol {
- margin-left: 0;
- margin-right: 2.4em;
-}
-dd {
- margin-left: 0;
- margin-right: 1.6em;
-}
-#contentSub {
- margin-right: 1em;
- margin-left: 0;
-}
-.tocindent {
- margin-left: 0;
- margin-right: 2em;
-}
-div.tright, div.floatright, table.floatright {
- clear: none;
-}
-div.tleft, div.floatleft, table.floatleft {
- clear: left;
-}
-#p-personal li {
- margin-left: 0;
- margin-right: 1em;
-}
-
-li#ca-talk,
-li#ca-watch {
- margin-right: auto;
- margin-left: 1.6em;
-}
-
-#p-personal li {
- float: left;
-}
-/* Fix link icons
-.external, a.feedlink {
- padding: 0 !important;
- background: none !important;
-}
-*/
-#footer {
- clear: both;
-}
-#f-poweredbyico {
- float: left;
- height: 1%;
-}
-#f-copyrightico {
- float: right;
- height: 1%;
-}
-* html #footer {
- margin-left: 0;
- margin-right: 13.6em;
- border-left: 0;
- border-right: 1px solid #fabd23;
-}
-* html #column-content {
- float: none;
- margin-left: 0;
- margin-right: 0;
-}
-* html #column-content #content {
- margin-left: 0;
- margin-top: 3em;
-}
-* html #column-one { right: 0; }
-
-/* js pref toc */
-
-#preftoc {
- margin-right: 1em;
-}
-
-.errorbox, .successbox, #preftoc li, .prefsection fieldset {
- float: right;
-}
-
-.prefsection {
- padding-right: 2em;
-}
-
-/* workaround for moz bug, displayed bullets on left side */
-
-#toc ul {
- text-align: right;
-}
-
-#toc ul ul {
- margin: 0 2em 0 0;
-}
-
-input#wpSave, input#wpDiff {
- margin-right: 0;
- margin-left: .33em;
-}
-
-#userlogin {
- margin: 0 0 1em 3em;
-}
-/* Convenience links to edit block, delete and protect reasons */
-p.mw-ipb-conveniencelinks, p.mw-protect-editreasons,
-p.mw-filedelete-editreasons, p.mw-delete-editreasons {
- float: left;
-}
-
-.toggle {
- margin-left: 0em;
- margin-right: 2em;
-}
-table.filehistory th {
- text-align: right;
-}
-
-/* Special:Allpages styling */
-td.mw-allpages-nav, p.mw-allpages-nav, td.mw-allpages-alphaindexline {
- text-align: left;
-}
-
-/* Special:Prefixindex styling */
-td#mw-prefixindex-nav-form {
- text-align: left;
-}
-
-/**
- * Lists:
- * The following lines don't have a visible effect on non-Gecko browsers
- * They fix a problem ith Gecko browsers rendering lists to the right of
- * left-floated objects in an RTL layout.
- */
-html > body div#article ul {
- display: table;
-}
-html > body div#bodyContent ul#filetoc {
- display: block;
-}
diff --git a/skins/monobook/user.gif b/skins/monobook/user.gif
deleted file mode 100644
index 34b4839..0000000
--- a/skins/monobook/user.gif
+++ /dev/null
Binary files differ
diff --git a/skins/monobook/video.png b/skins/monobook/video.png
deleted file mode 100644
index fadc4c9..0000000
--- a/skins/monobook/video.png
+++ /dev/null
Binary files differ
diff --git a/skins/monobook/wiki-indexed.png b/skins/monobook/wiki-indexed.png
deleted file mode 100644
index 189a2ae..0000000
--- a/skins/monobook/wiki-indexed.png
+++ /dev/null
Binary files differ
diff --git a/skins/monobook/wiki.png b/skins/monobook/wiki.png
deleted file mode 100644
index 4438938..0000000
--- a/skins/monobook/wiki.png
+++ /dev/null
Binary files differ
diff --git a/skins/myskin/main.css b/skins/myskin/main.css
deleted file mode 100644
index f3ab020..0000000
--- a/skins/myskin/main.css
+++ /dev/null
@@ -1 +0,0 @@
-/* this file must be empty */
diff --git a/skins/simple/discussionitem_icon.gif b/skins/simple/discussionitem_icon.gif
deleted file mode 100644
index e3ca6d9..0000000
--- a/skins/simple/discussionitem_icon.gif
+++ /dev/null
Binary files differ
diff --git a/skins/simple/external.png b/skins/simple/external.png
deleted file mode 100644
index 419c06f..0000000
--- a/skins/simple/external.png
+++ /dev/null
Binary files differ
diff --git a/skins/simple/file_icon.gif b/skins/simple/file_icon.gif
deleted file mode 100644
index 69dbeaf..0000000
--- a/skins/simple/file_icon.gif
+++ /dev/null
Binary files differ
diff --git a/skins/simple/link_icon.gif b/skins/simple/link_icon.gif
deleted file mode 100644
index 168c1a2..0000000
--- a/skins/simple/link_icon.gif
+++ /dev/null
Binary files differ
diff --git a/skins/simple/lock_icon.gif b/skins/simple/lock_icon.gif
deleted file mode 100644
index 8284403..0000000
--- a/skins/simple/lock_icon.gif
+++ /dev/null
Binary files differ
diff --git a/skins/simple/mail_icon.gif b/skins/simple/mail_icon.gif
deleted file mode 100644
index cf5680d..0000000
--- a/skins/simple/mail_icon.gif
+++ /dev/null
Binary files differ
diff --git a/skins/simple/main.css b/skins/simple/main.css
deleted file mode 100644
index 525c147..0000000
--- a/skins/simple/main.css
+++ /dev/null
@@ -1,392 +0,0 @@
-/* For clarity, explicitly state some recommendations from <http://www.w3.org/
- TR/CSS21/sample.html> to make sure the editsection links scale right */
-
-h1 { font-size: 2em; }
-h2 { font-size: 1.5em; }
-h3 { font-size: 1.17em; }
-h5 { font-size: .83em; }
-h6 { font-size: .75em; }
-h1, h2, h3, h4, h5, h6 { font-weight: bolder }
-
-/* Now the custom parts */
-
-/* Make edit sections (which are inside h# tags) normal-sized */
-.editsection {
- font-weight: normal;
-}
-h1 .editsection { font-size: 50% }
-h2 .editsection { font-size: 66.7% }
-h3 .editsection { font-size: 85.5% }
-h5 .editsection { font-size: 120% }
-h6 .editsection { font-size: 133% }
-
-
-#toolbar {
- display: none;
-}
-
-div.center {
- text-align: center;
-}
-
-#contentSub {
- padding-left: 2em;
-}
-
-a {
- text-decoration: none;
-}
-
-a:hover {
- text-decoration: underline;
-}
-
-#column-content {
- width: 100%;
- float: right;
- margin: 0 0 0.6em -12.2em;
- padding:0;
-}
-
-#content {
- margin: 0em 0 0 12.2em;
- padding: 0em 1em 1.5em 1em;
- border-left: 1px solid #959595;
- line-height: 1.5em;
-}
-
-#column-one {
- position: absolute;
- top: 0px; left: 0px;
-}
-
-#footer {
- display: none;
-}
-
-body {
- margin: 0;
- padding: 0;
-}
-
-#globalWrapper {
- width: 100%;
- height: 100%;
- margin: 0;
- padding: 0;
-}
-.visualClear { clear: both; }
-
-img {
- border: none;
-}
-p {
- margin: 0.4em 0em 0.5em 0em;
- line-height: 1.5em;
-}
-p img { margin: 0; }
-
-h1, h2, h3, h4, h5, h6 {
- margin: 0;
- padding-top: 0.5em;
- padding-bottom: 0.17em;
-}
-fieldset {
- margin: 1em 0em 1em 0em;
- padding: 0em 1em 1em 1em;
-}
-.usermessage {
- background-color: #ffce7b;
- border: 1px solid #ffa500;
- color: Black;
- font-weight: bold;
- margin: 2em 0em 1em 0em;
- padding: 0.5em 1em;
- vertical-align: middle;
-}
-.error {
- color: red;
- font-size: larger;
-}
-
-table.rimage {
- float:right;
- position:relative;
- margin-left:1em;
- margin-bottom:1em;
- text-align:center;
-}
-
-.portlet {
- border: none;
- float: none;
- padding: 0;
- width: 11.8em;
- overflow: hidden;
-}
-.portlet h4 {
- font-weight: normal;
- white-space: nowrap;
-}
-.portlet h5 {
- padding: 0em 1em 0em 0.5em;
- display: inline;
- height: 1em;
- font-weight: normal;
- white-space: nowrap;
-}
-.portlet h6 {
- padding: 0em 1em 0em 1em;
- display: block;
- height: 1.2em;
- font-weight: normal;
- white-space: nowrap;
-}
-.pBody {
- border-collapse: collapse;
- padding: 0 0.8em 0.3em 0.5em;
-}
-.portlet h1,
-.portlet h2,
-.portlet h3,
-.portlet h4 {
- margin: 0;
- padding: 0;
- font-size: small;
-}
-
-#p-search .pBody {
- text-align: center;
-}
-
-#searchInput {
- width: 100%;
- clear: both;
- margin: 0 0 0 0;
-}
-
-input.searchButton {
- margin-top:1px;
- padding: 0 0.4em;
- cursor: pointer;
-}
-
-#p-search .pBody {
- padding: 0.5em 0.4em 0.4em 0.4em;
-}
-
-/* feed links */
-a.feedlink {
- background: url("../common/images/feed-icon.png") center left no-repeat;
- padding-left: 16px;
-}
-
-textarea {
- width: 100%;
-}
-
-.pBody li, .pBody ul {
- padding-left: 0em;
- margin-left: 0.5em;
-}
-
-pre {
- margin: 2em;
- border: solid 1px black;
-}
-
-h1.firstHeading, h2 {
- border-bottom: solid 1px black;
-}
-#bodyContent a[href ^="http://"],
-#bodyContent a[href ^="gopher://"] {
- background: url("external.png") center right no-repeat;
- padding-right: 13px;
-}
-#bodyContent a[href ^="https://"],
-.link-https {
- background: url("lock_icon.gif") center right no-repeat;
- padding-right: 16px;
-}
-#bodyContent a[href ^="mailto:"],
-.link-mailto {
- background: url("mail_icon.gif") center right no-repeat;
- padding-right: 18px;
-}
-#bodyContent a[href ^="news://"] {
- background: url("news_icon.png") center right no-repeat;
- padding-right: 18px;
-}
-#bodyContent a[href ^="ftp://"],
-.link-ftp {
- background: url("file_icon.gif") center right no-repeat;
- padding-right: 18px;
-}
-#bodyContent a[href ^="irc://"],
-#bodyContent a.extiw[href ^="irc://"],
-.link-irc {
- background: url("discussionitem_icon.gif") center right no-repeat;
- padding-right: 18px;
-}
-
-#bodyContent a.extiw,
-#bodyContent a.extiw:active {
- color: #5E7CFF;
- background: none;
- padding: 0;
-}
-
-td.diff-addedline {
- background-color: #B9FFB0;
-}
-
-td.diff-deletedline {
- background-color: #f8ffaa;
-}
-
-.diffchange { background-color: #FFCDF3; text-decoration: none; }
-#pagehistory li { border: none; }
-
-span.urlexpansion {
- display: none;
-}
-
-div.tocindent {
- margin-left: 2em;
-}
-#toc {
- text-align: left;
- border-top: solid 1px black;
- border-bottom: solid 1px black;
-}
-
-div.floatright, table.floatright {
- clear: right;
- float: right;
- margin: 0;
- position: relative;
- border-width: 0.5em 0 0.8em 1.4em;
-}
-div.floatright p { font-style: italic; }
-div.floatleft, table.floatleft {
- float: left;
- clear: left;
- margin: 0.3em 0.5em 0.5em 0;
- position: relative;
- border-width: 0.5em 1.4em 0.8em 0;
-}
-div.floatleft p { font-style: italic; }
-/* thumbnails */
-div.thumb {
- margin-bottom: 0.5em;
- width: auto;
-}
-div.thumbinner {
- padding: 3px !important;
- text-align: center;
- overflow: hidden;
-}
-
-html .thumbcaption {
- border: none;
- text-align: left;
- line-height: 1.4;
- padding: 0.3em 0 0.1em 0;
-}
-div.magnify {
- float: right;
- border: none !important;
- background: none !important;
-}
-div.magnify a, div.magnify img {
- display: block;
- border: none !important;
- background: none !important;
-}
-div.tright {
- clear: right;
- float: right;
- border-width: 0.5em 0 0.8em 1.4em;
-}
-div.tleft {
- float: left;
- clear: left;
- margin-right:0.5em;
- border-width: 0.5em 1.4em 0.8em 0;
-}
-img.thumbborder {
- border: 1px solid #dddddd;
-}
-
-a.stub { color: #772233; }
-a.new,
-#p-personal a.new {
- text-decoration: line-through;
-}
-li.new {
- text-decoration: line-through;
-}
-.catlinks {
- text-align: center;
- width: 80%;
- margin-left: auto;
- margin-right: auto;
- padding: 3px;
-}
-
-#mytabs {
- background-color: inherit;
-}
-#p-cactions {
- background-color: inherit;
-}
-div.printfooter {
- display: none;
-}
-
-#n-portal,
-#n-currentevents,
-#n-help,
-#n-sitesupport {
- display: none;
-}
-
-#preftoc {
- float: left;
- margin: 1em;
- width: 13em;
-}
-#preftoc li {
-}
-#preftoc li.selected {
- border: 1px dashed #aaa;
-}
-#preftoc a,
-#preftoc a:active {
- display: block;
-}
-div.htmlform-tip {
- font-size: 95%;
- margin-top: 1em;
-}
-
-#mw_trackbacks {
- border-style: groove;
- padding: 0.2em;
-}
-
-#jump-to-nav {
- display: none;
-}
-
-table.collapsed tr.collapsable {
- display: none;
-}
-
-.editsection {
- float: right;
- margin-left: 5px;
-}
-
-.templatesUsed { margin-top: 1.5em; }
-
diff --git a/skins/simple/rtl.css b/skins/simple/rtl.css
deleted file mode 100644
index a5a2b59..0000000
--- a/skins/simple/rtl.css
+++ /dev/null
@@ -1,185 +0,0 @@
-/*
-Right-to-left fixes for Simple.
-Places sidebar on right, tweaks various alignment issues.
-
-Works mostly ok nicely on Safari 1.2.1; fine in Mozilla.
-
-Safari bugs (1.2.1):
-* Tabs are still appearing in left-to-right order. (Try after localizing)
-
-Opera bugs (7.23 linux):
-* Some bits of ltr text (sidebar box titles) have forward and backward versions overlapping each other
-
-IE/mac bugs:
-* The thing barfs on Hebrew and Arabic anyway, so no point testing.
-
-Missing features due to lack of support:
-* external link icons
-
-To test:
-* Opera6
-* IE 5.0
-* etc
-
-*/
-body {
- direction: rtl;
- unicode-bidi: embed;
-}
-#column-content {
- margin: 0 -12.2em 0 0;
- float: left;
-}
-#column-content #content{
- margin-left: 0;
- margin-right: 12.2em;
- border-right: 1px solid #aaaaaa;
- border-left: none;
-}
-html>body .portlet {
- float: right;
- clear: right;
-}
-.editsection {
- float: left;
- margin-right: 5px;
- margin-left: 0; /* bug 9122: undo default LTR */
-}
-/* recover IEMac (might be fine with the float, but usually it's close to IE */
-*>body .portlet {
- float: none;
- clear: none;
-}
-.pBody {
- padding: 0 0.5em 0.3em 0.8em;
-}
-
-/* Fix alignment */
-.documentByLine,
-.portletDetails,
-.portletMore {
- text-align: left;
-}
-
-div div.thumbcaption {
- text-align: right;
-}
-
-div.magnify,
-#p-logo {
- left: auto;
- right: 0;
-}
-
-/* Fix margins for non-css2 browsers */
-/* top right bottom left */
-
-dd {
- margin-left: 0;
- margin-right: 1.6em;
-}
-#contentSub {
- margin-right: 1em;
- margin-left: 0;
-}
-.tocindent {
- margin-left: 0;
- margin-right: 2em;
-}
-div.tright, div.floatright, table.floatright {
- clear: none;
-}
-div.tleft, div.floatleft, table.floatleft {
- clear: left;
-}
-
-/* Fix link icons */
-.external, a.feedlink {
- padding: 0 !important;
- background: none !important;
-}
-#footer {
- clear: both;
-}
-* html #footer {
- margin-left: 0;
- margin-right: 13.6em;
- border-left: 0;
- border-right: 1px solid #fabd23;
-}
-* html #column-content {
- float: none;
- margin-left: 0;
- margin-right: 0;
-}
-* html #column-content #content {
- margin-left: 0;
- margin-top: 3em;
-}
-* html #column-one { right: 0; }
-
-/* js pref toc */
-
-#preftoc {
- margin-right: 1em;
-}
-
-.errorbox, .successbox, #preftoc li, .prefsection fieldset {
- float: right;
-}
-
-.prefsection {
- padding-right: 2em;
-}
-
-/* workaround for moz bug, displayed bullets on left side */
-
-#toc ul {
- text-align: right;
-}
-
-#toc ul ul {
- margin: 0 2em 0 0;
-}
-
-input#wpSave, input#wpDiff {
- margin-right: 0;
- margin-left: .33em;
-}
-
-#userlogin {
- margin: 0 0 1em 3em;
-}
-/* Convenience links to edit block, delete and protect reasons */
-p.mw-ipb-conveniencelinks, p.mw-protect-editreasons,
-p.mw-filedelete-editreasons, p.mw-delete-editreasons {
- float: left;
-}
-
-.toggle {
- margin-left: 0em;
- margin-right: 2em;
-}
-table.filehistory th {
- text-align: right;
-}
-
-/**
- * Lists:
- * The following lines don't have a visible effect on non-Gecko browsers
- * They fix a problem ith Gecko browsers rendering lists to the right of
- * left-floated objects in an RTL layout.
- */
-html > body div#bodyContent ul {
- display: table;
-}
-
-/* Special:Allpages styling */
-td.mw-allpages-nav, p.mw-allpages-nav, td.mw-allpages-alphaindexline {
- text-align: left;
-
-/* Special:Prefixindex styling */
-td#mw-prefixindex-nav-form {
- text-align: left;
-}
-
diff --git a/skins/vector/Makefile b/skins/vector/Makefile
deleted file mode 100644
index 74e36c4..0000000
--- a/skins/vector/Makefile
+++ /dev/null
@@ -1,18 +0,0 @@
-#
-# Handy makefile to build the RTL variant with cssjanus
-#
-
-all: main-rtl.css
-
-main-rtl.css: main-ltr.css cssjanus/cssjanus.py
- python cssjanus/cssjanus.py --swap_ltr_rtl_in_url < main-ltr.css > main-rtl.css
-
-# SVN version is broken; checking in our own.
-#cssjanus/cssjanus.py:
-# svn co http://cssjanus.googlecode.com/svn/trunk cssjanus
-
-#distclean: clean
-# rm -rf cssjanus
-
-clean:
- rm -f main-rtl.css
diff --git a/skins/vector/csshover.htc b/skins/vector/csshover.htc
deleted file mode 100644
index a88fa08..0000000
--- a/skins/vector/csshover.htc
+++ /dev/null
@@ -1,262 +0,0 @@
-<public:attach event="ondocumentready" onevent="CSSHover()" />
-<script>
-// <![CDATA[
-/**
- * Whatever:hover - V3.00.081222
- * ------------------------------------------------------------
- * Author - Peter Nederlof, http://www.xs4all.nl/~peterned
- * License - http://creativecommons.org/licenses/LGPL/2.1
- *
- * Whatever:hover is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * Whatever:hover is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * howto: body { behavior:url("csshover3.htc"); }
- * ------------------------------------------------------------
- */
-
-window.CSSHover = (function(){
-
- // regular expressions, used and explained later on.
- var REG_INTERACTIVE = /(^|\s)((([^a]([^ ]+)?)|(a([^#.][^ ]+)+)):(hover|active|focus))/i,
- REG_AFFECTED = /(.*?)\:(hover|active|focus)/i,
- REG_PSEUDO = /[^:]+:([a-z-]+).*/i,
- REG_SELECT = /(\.([a-z0-9_-]+):[a-z]+)|(:[a-z]+)/gi,
- REG_CLASS = /\.([a-z0-9_-]*on(hover|active|focus))/i,
- REG_MSIE = /msie (5|6|7)/i,
- REG_COMPAT = /backcompat/i;
-
- // css prefix, a leading dash would be nice (spec), but IE6 doesn't like that.
- var CSSHOVER_PREFIX = 'csh-';
-
- /**
- * Local CSSHover object
- * --------------------------
- */
-
- var CSSHover = {
-
- // array of CSSHoverElements, used to unload created events
- elements: [],
-
- // buffer used for checking on duplicate expressions
- callbacks: {},
-
- // init, called once ondomcontentready via the exposed window.CSSHover function
- init:function() {
- // don't run in IE8 standards; expressions don't work in standards mode anyway,
- // and the stuff we're trying to fix should already work properly
- if(!REG_MSIE.test(navigator.userAgent) && !REG_COMPAT.test(window.document.compatMode)) return;
-
- // start parsing the existing stylesheets
- var sheets = window.document.styleSheets, l = sheets.length;
- for(var i=0; i<l; i++) {
- this.parseStylesheet(sheets[i]);
- }
- },
-
- // called from init, parses individual stylesheets
- parseStylesheet:function(sheet) {
- // check sheet imports and parse those recursively
- if(sheet.imports) {
- try {
- var imports = sheet.imports, l = imports.length;
- for(var i=0; i<l; i++) {
- this.parseStylesheet(sheet.imports[i]);
- }
- } catch(securityException){
- // trycatch for various possible errors,
- // todo; might need to be placed inside the for loop, since an error
- // on an import stops following imports from being processed.
- }
- }
-
- // interate the sheet's rules and send them to the parser
- try {
- var rules = sheet.rules, l = rules.length;
- for(var j=0; j<l; j++) {
- this.parseCSSRule(rules[j], sheet);
- }
- } catch(securityException){
- // trycatch for various errors, most likely accessing the sheet's rules,
- // don't see how individual rules would throw errors, but you never know.
- }
- },
-
- // magic starts here ...
- parseCSSRule:function(rule, sheet) {
-
- // The sheet is used to insert new rules into, this must be the same sheet the rule
- // came from, to ensure that relative paths keep pointing to the right location.
-
- // only parse a rule if it contains an interactive pseudo.
- var select = rule.selectorText;
- if(REG_INTERACTIVE.test(select)) {
- var style = rule.style.cssText,
-
- // affected elements are found by truncating the selector after the interactive pseudo,
- // eg: "div li:hover" >> "div li"
- affected = REG_AFFECTED.exec(select)[1],
-
- // that pseudo is needed for a classname, and defines the type of interaction (focus, hover, active)
- // eg: "li:hover" >> "onhover"
- pseudo = select.replace(REG_PSEUDO, 'on$1'),
-
- // the new selector is going to use that classname in a new css rule,
- // since IE6 doesn't support multiple classnames, this is merged into one classname
- // eg: "li:hover" >> "li.onhover", "li.folder:hover" >> "li.folderonhover"
- newSelect = select.replace(REG_SELECT, '.$2' + pseudo),
-
- // the classname is needed for the events that are going to be set on affected nodes
- // eg: "li.folder:hover" >> "folderonhover"
- className = REG_CLASS.exec(newSelect)[1];
-
- // no need to set the same callback more than once when the same selector uses the same classname
- var hash = affected + className;
- if(!this.callbacks[hash]) {
-
- // affected elements are given an expression under a fake css property, the classname is used
- // because a unique name (eg "behavior:") would be overruled (in IE6, not 7) by a following rule
- // selecting the same element. The expression does a callback to CSSHover.patch, rerouted via the
- // exposed window.CSSHover function.
-
- // because the expression is added to the stylesheet, and styles are always applied to html that is
- // dynamically added to the dom, the expression will also trigger for those new elements (provided
- // they are selected by the affected selector).
-
- sheet.addRule(affected, CSSHOVER_PREFIX + className + ':expression(CSSHover(this, "'+pseudo+'", "'+className+'"))');
-
- // hash it, so an identical selector/class combo does not duplicate the expression
- this.callbacks[hash] = true;
- }
-
- // duplicate expressions need not be set, but the style could differ
- sheet.addRule(newSelect, style);
- }
- },
-
- // called via the expression, patches individual nodes
- patch:function(node, type, className) {
-
- // the patch's type is returned to the expression. That way the expression property
- // can be found and removed, to stop it from calling patch over and over.
- // The if will fail the first time, since the expression has not yet received a value.
- var property = CSSHOVER_PREFIX + className;
- if(node.style[property]) {
- node.style[property] = null;
- }
-
- // just to make sure, also keep track of patched classnames locally on the node
- if(!node.csshover) node.csshover = [];
-
- // and check for it to prevent duplicate events with the same classname from being set
- if(!node.csshover[className]) {
- node.csshover[className] = true;
-
- // create an instance for the given type and class
- var element = new CSSHoverElement(node, type, className);
-
- // and store that instance for unloading later on
- this.elements.push(element);
- }
-
- // returns a dummy value to the expression
- return type;
- },
-
- // unload stuff onbeforeunload
- unload:function() {
- try {
-
- // remove events
- var l = this.elements.length;
- for(var i=0; i<l; i++) {
- this.elements[i].unload();
- }
-
- // and set properties to null
- this.elements = [];
- this.callbacks = {};
-
- } catch (e) {
- }
- }
- };
-
- // add the unload to the onbeforeunload event
- window.attachEvent('onbeforeunload', function(){
- CSSHover.unload();
- });
-
- /**
- * CSSHoverElement
- * --------------------------
- */
-
- // the event types associated with the interactive pseudos
- var CSSEvents = {
- onhover: { activator: 'onmouseenter', deactivator: 'onmouseleave' },
- onactive: { activator: 'onmousedown', deactivator: 'onmouseup' },
- onfocus: { activator: 'onfocus', deactivator: 'onblur' }
- };
-
- // CSSHoverElement constructor, called via CSSHover.patch
- function CSSHoverElement(node, type, className) {
-
- // the CSSHoverElement patches individual nodes by manually applying the events that should
- // have fired by the css pseudoclasses, eg mouseenter and mouseleave for :hover.
-
- this.node = node;
- this.type = type;
- var replacer = new RegExp('(^|\\s)'+className+'(\\s|$)', 'g');
-
- // store event handlers for removal onunload
- this.activator = function(){ node.className += ' ' + className; };
- this.deactivator = function(){ node.className = node.className.replace(replacer, ' '); };
-
- // add the events
- node.attachEvent(CSSEvents[type].activator, this.activator);
- node.attachEvent(CSSEvents[type].deactivator, this.deactivator);
- }
-
- CSSHoverElement.prototype = {
- // onbeforeunload, called via CSSHover.unload
- unload:function() {
-
- // remove events
- this.node.detachEvent(CSSEvents[this.type].activator, this.activator);
- this.node.detachEvent(CSSEvents[this.type].deactivator, this.deactivator);
-
- // and set properties to null
- this.activator = null;
- this.deactivator = null;
- this.node = null;
- this.type = null;
- }
- };
-
- /**
- * Public hook
- * --------------------------
- */
-
- return function(node, type, className) {
- if(node) {
- // called via the css expression; patches individual nodes
- return CSSHover.patch(node, type, className);
- } else {
- // called ondomcontentready via the public:attach node
- CSSHover.init();
- }
- };
-
-})();
-
-// ]]>
-</script> \ No newline at end of file
diff --git a/skins/vector/cssjanus/COPYING b/skins/vector/cssjanus/COPYING
deleted file mode 100644
index 3f2c895..0000000
--- a/skins/vector/cssjanus/COPYING
+++ /dev/null
@@ -1,13 +0,0 @@
- Copyright 2008 Google Inc.
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
diff --git a/skins/vector/cssjanus/LICENSE b/skins/vector/cssjanus/LICENSE
deleted file mode 100644
index d645695..0000000
--- a/skins/vector/cssjanus/LICENSE
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
diff --git a/skins/vector/cssjanus/README b/skins/vector/cssjanus/README
deleted file mode 100644
index 9b92215..0000000
--- a/skins/vector/cssjanus/README
+++ /dev/null
@@ -1,91 +0,0 @@
-=CSSJanus=
-
-_Flips CSS from LTR to an RTL orienation and vice-versa_
-
-Author: `Lindsey Simon <elsigh@google.com>`
-
-==Introduction==
-
-CSSJanus is CSS parser utility designed to aid the conversion of a website's
-layout from left-to-right(LTR) to right-to-left(RTL). The script was born out of
-a need to convert CSS for RTL languages when tables are not being used for layout (since tables will automatically reorder TD's in RTL).
-CSSJanus will change most of the obvious CSS property names and their values as
-well as some not-so-obvious ones (cursor, background-position %, etc...).
-The script is designed to offer flexibility to account for cases when you do
-not want to change certain rules which exist to account for bidirectional text
-display bugs, as well as situations where you may or may not want to flip annotations inside of the background url string.
-Note that you can disable CSSJanus from running on an entire class or any
-rule within a class by prepending a /* @noflip */ comment before the rule(s)
-you want CSSJanus to ignore.
-
-CSSJanus itself is not always enough to make a website that works in a LTR
-language context work in a RTL language all the way, but it is a start.
-
-==Getting the code==
-
-View the trunk at:
-
- http://cssjanus.googlecode.com/svn/trunk/
-
-Check out the latest development version anonymously with:
-
-{{{
- $ svn checkout http://cssjanus.googlecode.com/svn/trunk/ cssjanus
-}}}
-
-==Using==
-
-Usage:
- ./cssjanus.py < file.css > file-rtl.css
-Flags:
- --swap_left_right_in_url: Fixes "left"/"right" string within urls.
- Ex: ./cssjanus.py --swap_left_right_in_url < file.css > file_rtl.css
- --swap_ltr_rtl_in_url: Fixes "ltr"/"rtl" string within urls.
- Ex: ./cssjanus.py --swap_ltr_rtl_in_url < file.css > file_rtl.css
-
-If you'd like to make use of the webapp version of cssjanus, you'll need to
-download the Google App Engine SDK
- http://code.google.com/appengine/downloads.html
-and also drop a "django" directory into this directory, with the latest svn
-from django. You should be good to go with that setup. Please let me know
-otherwise.
-
-==Bugs, Patches==
-
-Patches and bug reports are welcome, just please keep the style
-consistent with the original source. If you find a bug, please include a diff
-of cssjanus_test.py with the bug included as a new unit test which fails. It
-will make understanding and fixing the bug easier.
-
-==Todo==
-
-* Include some helpers for some typical bidi text solutions?
-* Aural CSS (azimuth) swapping?
-
-==Contributors==
-
-Additional thanks to Mike Samuel for his work on csslex.py, Andy Perelson for
-his help coding and reviewing, Stephen Zabel for his help with i18n and my sanity,
-and to Eric Meyer for his thoughtful input.
-Thanks to Junyu Wang for the Chinese translation.
-Thanks to Masashi Kawashima for the Japanese translation.
-Thanks to Taaryk Taar and Tariq Al-Omaireeni for an updated Arabic translation.
-Thanks to Jens Meiert for the German translation.
-
-==License==
-
-{{{
- Copyright 2008 Google Inc. All Rights Reserved.
-
- Licensed under the Apache License, Version 2.0 (the 'License');
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an 'AS IS' BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-}}}
diff --git a/skins/vector/cssjanus/cssjanus.py b/skins/vector/cssjanus/cssjanus.py
deleted file mode 100755
index dd14bd5..0000000
--- a/skins/vector/cssjanus/cssjanus.py
+++ /dev/null
@@ -1,574 +0,0 @@
-#!/usr/bin/python
-#
-# Copyright 2008 Google Inc. All Rights Reserved.
-
-"""Converts a LeftToRight Cascading Style Sheet into a RightToLeft one.
-
- This is a utility script for replacing "left" oriented things in a CSS file
- like float, padding, margin with "right" oriented values.
- It also does the opposite.
- The goal is to be able to conditionally serve one large, cat'd, compiled CSS
- file appropriate for LeftToRight oriented languages and RightToLeft ones.
- This utility will hopefully help your structural layout done in CSS in
- terms of its RTL compatibility. It will not help with some of the more
- complicated bidirectional text issues.
-"""
-
-__author__ = 'elsigh@google.com (Lindsey Simon)'
-__version__ = '0.1'
-
-import logging
-import re
-import sys
-import getopt
-import os
-
-import csslex
-
-logging.getLogger().setLevel(logging.INFO)
-
-# Global for the command line flags.
-SWAP_LTR_RTL_IN_URL_DEFAULT = False
-SWAP_LEFT_RIGHT_IN_URL_DEFAULT = False
-FLAGS = {'swap_ltr_rtl_in_url': SWAP_LTR_RTL_IN_URL_DEFAULT,
- 'swap_left_right_in_url': SWAP_LEFT_RIGHT_IN_URL_DEFAULT}
-
-# Generic token delimiter character.
-TOKEN_DELIMITER = '~'
-
-# This is a temporary match token we use when swapping strings.
-TMP_TOKEN = '%sTMP%s' % (TOKEN_DELIMITER, TOKEN_DELIMITER)
-
-# Token to be used for joining lines.
-TOKEN_LINES = '%sJ%s' % (TOKEN_DELIMITER, TOKEN_DELIMITER)
-
-# Global constant text strings for CSS value matches.
-LTR = 'ltr'
-RTL = 'rtl'
-LEFT = 'left'
-RIGHT = 'right'
-
-# This is a lookbehind match to ensure that we don't replace instances
-# of our string token (left, rtl, etc...) if there's a letter in front of it.
-# Specifically, this prevents replacements like 'background: url(bright.png)'.
-LOOKBEHIND_NOT_LETTER = r'(?<![a-zA-Z])'
-
-# This is a lookahead match to make sure we don't replace left and right
-# in actual classnames, so that we don't break the HTML/CSS dependencies.
-# Read literally, it says ignore cases where the word left, for instance, is
-# directly followed by valid classname characters and a curly brace.
-# ex: .column-left {float: left} will become .column-left {float: right}
-LOOKAHEAD_NOT_OPEN_BRACE = (r'(?!(?:%s|%s|%s|#|\:|\.|\,|\+|>)*?{)' %
- (csslex.NMCHAR, TOKEN_LINES, csslex.SPACE))
-
-
-# These two lookaheads are to test whether or not we are within a
-# background: url(HERE) situation.
-# Ref: http://www.w3.org/TR/CSS21/syndata.html#uri
-VALID_AFTER_URI_CHARS = r'[\'\"]?%s' % csslex.WHITESPACE
-LOOKAHEAD_NOT_CLOSING_PAREN = r'(?!%s?%s\))' % (csslex.URL_CHARS,
- VALID_AFTER_URI_CHARS)
-LOOKAHEAD_FOR_CLOSING_PAREN = r'(?=%s?%s\))' % (csslex.URL_CHARS,
- VALID_AFTER_URI_CHARS)
-
-# Compile a regex to swap left and right values in 4 part notations.
-# We need to match negatives and decimal numeric values.
-# ex. 'margin: .25em -2px 3px 0' becomes 'margin: .25em 0 3px -2px'.
-POSSIBLY_NEGATIVE_QUANTITY = r'((?:-?%s)|(?:inherit|auto))' % csslex.QUANTITY
-POSSIBLY_NEGATIVE_QUANTITY_SPACE = r'%s%s%s' % (POSSIBLY_NEGATIVE_QUANTITY,
- csslex.SPACE,
- csslex.WHITESPACE)
-FOUR_NOTATION_QUANTITY_RE = re.compile(r'%s%s%s%s' %
- (POSSIBLY_NEGATIVE_QUANTITY_SPACE,
- POSSIBLY_NEGATIVE_QUANTITY_SPACE,
- POSSIBLY_NEGATIVE_QUANTITY_SPACE,
- POSSIBLY_NEGATIVE_QUANTITY),
- re.I)
-COLOR = r'(%s|%s)' % (csslex.NAME, csslex.HASH)
-COLOR_SPACE = r'%s%s' % (COLOR, csslex.SPACE)
-FOUR_NOTATION_COLOR_RE = re.compile(r'(-color%s:%s)%s%s%s(%s)' %
- (csslex.WHITESPACE,
- csslex.WHITESPACE,
- COLOR_SPACE,
- COLOR_SPACE,
- COLOR_SPACE,
- COLOR),
- re.I)
-
-# Compile the cursor resize regexes
-CURSOR_EAST_RE = re.compile(LOOKBEHIND_NOT_LETTER + '([ns]?)e-resize')
-CURSOR_WEST_RE = re.compile(LOOKBEHIND_NOT_LETTER + '([ns]?)w-resize')
-
-# Matches the condition where we need to replace the horizontal component
-# of a background-position value when expressed in horizontal percentage.
-# Had to make two regexes because in the case of position-x there is only
-# one quantity, and otherwise we don't want to match and change cases with only
-# one quantity.
-BG_HORIZONTAL_PERCENTAGE_RE = re.compile(r'background(-position)?(%s:%s)'
- '([^%%]*?)(%s)%%'
- '(%s(?:%s|%s))' % (csslex.WHITESPACE,
- csslex.WHITESPACE,
- csslex.NUM,
- csslex.WHITESPACE,
- csslex.QUANTITY,
- csslex.IDENT))
-
-BG_HORIZONTAL_PERCENTAGE_X_RE = re.compile(r'background-position-x(%s:%s)'
- '(%s)%%' % (csslex.WHITESPACE,
- csslex.WHITESPACE,
- csslex.NUM))
-
-# Matches the opening of a body selector.
-BODY_SELECTOR = r'body%s{%s' % (csslex.WHITESPACE, csslex.WHITESPACE)
-
-# Matches anything up until the closing of a selector.
-CHARS_WITHIN_SELECTOR = r'[^\}]*?'
-
-# Matches the direction property in a selector.
-DIRECTION_RE = r'direction%s:%s' % (csslex.WHITESPACE, csslex.WHITESPACE)
-
-# These allow us to swap "ltr" with "rtl" and vice versa ONLY within the
-# body selector and on the same line.
-BODY_DIRECTION_LTR_RE = re.compile(r'(%s)(%s)(%s)(ltr)' %
- (BODY_SELECTOR, CHARS_WITHIN_SELECTOR,
- DIRECTION_RE),
- re.I)
-BODY_DIRECTION_RTL_RE = re.compile(r'(%s)(%s)(%s)(rtl)' %
- (BODY_SELECTOR, CHARS_WITHIN_SELECTOR,
- DIRECTION_RE),
- re.I)
-
-
-# Allows us to swap "direction:ltr" with "direction:rtl" and
-# vice versa anywhere in a line.
-DIRECTION_LTR_RE = re.compile(r'%s(ltr)' % DIRECTION_RE)
-DIRECTION_RTL_RE = re.compile(r'%s(rtl)' % DIRECTION_RE)
-
-# We want to be able to switch left with right and vice versa anywhere
-# we encounter left/right strings, EXCEPT inside the background:url(). The next
-# two regexes are for that purpose. We have alternate IN_URL versions of the
-# regexes compiled in case the user passes the flag that they do
-# actually want to have left and right swapped inside of background:urls.
-LEFT_RE = re.compile('%s(%s)%s%s' % (LOOKBEHIND_NOT_LETTER,
- LEFT,
- LOOKAHEAD_NOT_CLOSING_PAREN,
- LOOKAHEAD_NOT_OPEN_BRACE),
- re.I)
-RIGHT_RE = re.compile('%s(%s)%s%s' % (LOOKBEHIND_NOT_LETTER,
- RIGHT,
- LOOKAHEAD_NOT_CLOSING_PAREN,
- LOOKAHEAD_NOT_OPEN_BRACE),
- re.I)
-LEFT_IN_URL_RE = re.compile('%s(%s)%s' % (LOOKBEHIND_NOT_LETTER,
- LEFT,
- LOOKAHEAD_FOR_CLOSING_PAREN),
- re.I)
-RIGHT_IN_URL_RE = re.compile('%s(%s)%s' % (LOOKBEHIND_NOT_LETTER,
- RIGHT,
- LOOKAHEAD_FOR_CLOSING_PAREN),
- re.I)
-LTR_IN_URL_RE = re.compile('%s(%s)%s' % (LOOKBEHIND_NOT_LETTER,
- LTR,
- LOOKAHEAD_FOR_CLOSING_PAREN),
- re.I)
-RTL_IN_URL_RE = re.compile('%s(%s)%s' % (LOOKBEHIND_NOT_LETTER,
- RTL,
- LOOKAHEAD_FOR_CLOSING_PAREN),
- re.I)
-
-COMMENT_RE = re.compile('(%s)' % csslex.COMMENT, re.I)
-
-NOFLIP_TOKEN = r'\@noflip'
-# The NOFLIP_TOKEN inside of a comment. For now, this requires that comments
-# be in the input, which means users of a css compiler would have to run
-# this script first if they want this functionality.
-NOFLIP_ANNOTATION = r'/\*%s%s%s\*/' % (csslex.WHITESPACE,
- NOFLIP_TOKEN,
- csslex. WHITESPACE)
-
-# After a NOFLIP_ANNOTATION, and within a class selector, we want to be able
-# to set aside a single rule not to be flipped. We can do this by matching
-# our NOFLIP annotation and then using a lookahead to make sure there is not
-# an opening brace before the match.
-NOFLIP_SINGLE_RE = re.compile(r'(%s%s[^;}]+;?)' % (NOFLIP_ANNOTATION,
- LOOKAHEAD_NOT_OPEN_BRACE),
- re.I)
-
-# After a NOFLIP_ANNOTATION, we want to grab anything up until the next } which
-# means the entire following class block. This will prevent all of its
-# declarations from being flipped.
-NOFLIP_CLASS_RE = re.compile(r'(%s%s})' % (NOFLIP_ANNOTATION,
- CHARS_WITHIN_SELECTOR),
- re.I)
-
-
-class Tokenizer:
- """Replaces any CSS comments with string tokens and vice versa."""
-
- def __init__(self, token_re, token_string):
- """Constructor for the Tokenizer.
-
- Args:
- token_re: A regex for the string to be replace by a token.
- token_string: The string to put between token delimiters when tokenizing.
- """
- logging.debug('Tokenizer::init token_string=%s' % token_string)
- self.token_re = token_re
- self.token_string = token_string
- self.originals = []
-
- def Tokenize(self, line):
- """Replaces any string matching token_re in line with string tokens.
-
- By passing a function as an argument to the re.sub line below, we bypass
- the usual rule where re.sub will only replace the left-most occurrence of
- a match by calling the passed in function for each occurrence.
-
- Args:
- line: A line to replace token_re matches in.
-
- Returns:
- line: A line with token_re matches tokenized.
- """
- line = self.token_re.sub(self.TokenizeMatches, line)
- logging.debug('Tokenizer::Tokenize returns: %s' % line)
- return line
-
- def DeTokenize(self, line):
- """Replaces tokens with the original string.
-
- Args:
- line: A line with tokens.
-
- Returns:
- line with any tokens replaced by the original string.
- """
-
- # Put all of the comments back in by their comment token.
- for i, original in enumerate(self.originals):
- token = '%s%s_%s%s' % (TOKEN_DELIMITER, self.token_string, i + 1,
- TOKEN_DELIMITER)
- line = line.replace(token, original)
- logging.debug('Tokenizer::DeTokenize i:%s w/%s' % (i, token))
- logging.debug('Tokenizer::DeTokenize returns: %s' % line)
- return line
-
- def TokenizeMatches(self, m):
- """Replaces matches with tokens and stores the originals.
-
- Args:
- m: A match object.
-
- Returns:
- A string token which replaces the CSS comment.
- """
- logging.debug('Tokenizer::TokenizeMatches %s' % m.group(1))
- self.originals.append(m.group(1))
- return '%s%s_%s%s' % (TOKEN_DELIMITER,
- self.token_string,
- len(self.originals),
- TOKEN_DELIMITER)
-
-
-def FixBodyDirectionLtrAndRtl(line):
- """Replaces ltr with rtl and vice versa ONLY in the body direction.
-
- Args:
- line: A string to replace instances of ltr with rtl.
- Returns:
- line with direction: ltr and direction: rtl swapped only in body selector.
- line = FixBodyDirectionLtrAndRtl('body { direction:ltr }')
- line will now be 'body { direction:rtl }'.
- """
-
- line = BODY_DIRECTION_LTR_RE.sub('\\1\\2\\3%s' % TMP_TOKEN, line)
- line = BODY_DIRECTION_RTL_RE.sub('\\1\\2\\3%s' % LTR, line)
- line = line.replace(TMP_TOKEN, RTL)
- logging.debug('FixBodyDirectionLtrAndRtl returns: %s' % line)
- return line
-
-
-def FixLeftAndRight(line):
- """Replaces left with right and vice versa in line.
-
- Args:
- line: A string in which to perform the replacement.
-
- Returns:
- line with left and right swapped. For example:
- line = FixLeftAndRight('padding-left: 2px; margin-right: 1px;')
- line will now be 'padding-right: 2px; margin-left: 1px;'.
- """
-
- line = LEFT_RE.sub(TMP_TOKEN, line)
- line = RIGHT_RE.sub(LEFT, line)
- line = line.replace(TMP_TOKEN, RIGHT)
- logging.debug('FixLeftAndRight returns: %s' % line)
- return line
-
-
-def FixLeftAndRightInUrl(line):
- """Replaces left with right and vice versa ONLY within background urls.
-
- Args:
- line: A string in which to replace left with right and vice versa.
-
- Returns:
- line with left and right swapped in the url string. For example:
- line = FixLeftAndRightInUrl('background:url(right.png)')
- line will now be 'background:url(left.png)'.
- """
-
- line = LEFT_IN_URL_RE.sub(TMP_TOKEN, line)
- line = RIGHT_IN_URL_RE.sub(LEFT, line)
- line = line.replace(TMP_TOKEN, RIGHT)
- logging.debug('FixLeftAndRightInUrl returns: %s' % line)
- return line
-
-
-def FixLtrAndRtlInUrl(line):
- """Replaces ltr with rtl and vice versa ONLY within background urls.
-
- Args:
- line: A string in which to replace ltr with rtl and vice versa.
-
- Returns:
- line with left and right swapped. For example:
- line = FixLtrAndRtlInUrl('background:url(rtl.png)')
- line will now be 'background:url(ltr.png)'.
- """
-
- line = LTR_IN_URL_RE.sub(TMP_TOKEN, line)
- line = RTL_IN_URL_RE.sub(LTR, line)
- line = line.replace(TMP_TOKEN, RTL)
- logging.debug('FixLtrAndRtlInUrl returns: %s' % line)
- return line
-
-
-def FixCursorProperties(line):
- """Fixes directional CSS cursor properties.
-
- Args:
- line: A string to fix CSS cursor properties in.
-
- Returns:
- line reformatted with the cursor properties substituted. For example:
- line = FixCursorProperties('cursor: ne-resize')
- line will now be 'cursor: nw-resize'.
- """
-
- line = CURSOR_EAST_RE.sub('\\1' + TMP_TOKEN, line)
- line = CURSOR_WEST_RE.sub('\\1e-resize', line)
- line = line.replace(TMP_TOKEN, 'w-resize')
- logging.debug('FixCursorProperties returns: %s' % line)
- return line
-
-
-def FixFourPartNotation(line):
- """Fixes the second and fourth positions in 4 part CSS notation.
-
- Args:
- line: A string to fix 4 part CSS notation in.
-
- Returns:
- line reformatted with the 4 part notations swapped. For example:
- line = FixFourPartNotation('padding: 1px 2px 3px 4px')
- line will now be 'padding: 1px 4px 3px 2px'.
- """
- line = FOUR_NOTATION_QUANTITY_RE.sub('\\1 \\4 \\3 \\2', line)
- line = FOUR_NOTATION_COLOR_RE.sub('\\1\\2 \\5 \\4 \\3', line)
- logging.debug('FixFourPartNotation returns: %s' % line)
- return line
-
-
-def FixBackgroundPosition(line):
- """Fixes horizontal background percentage values in line.
-
- Args:
- line: A string to fix horizontal background position values in.
-
- Returns:
- line reformatted with the 4 part notations swapped.
- """
- line = BG_HORIZONTAL_PERCENTAGE_RE.sub(CalculateNewBackgroundPosition, line)
- line = BG_HORIZONTAL_PERCENTAGE_X_RE.sub(CalculateNewBackgroundPositionX,
- line)
- logging.debug('FixBackgroundPosition returns: %s' % line)
- return line
-
-
-def CalculateNewBackgroundPosition(m):
- """Fixes horizontal background-position percentages.
-
- This function should be used as an argument to re.sub since it needs to
- perform replacement specific calculations.
-
- Args:
- m: A match object.
-
- Returns:
- A string with the horizontal background position percentage fixed.
- BG_HORIZONTAL_PERCENTAGE_RE.sub(FixBackgroundPosition,
- 'background-position: 75% 50%')
- will return 'background-position: 25% 50%'.
- """
-
- # The flipped value is the offset from 100%
- new_x = str(100-int(m.group(4)))
-
- # Since m.group(1) may very well be None type and we need a string..
- if m.group(1):
- position_string = m.group(1)
- else:
- position_string = ''
-
- return 'background%s%s%s%s%%%s' % (position_string, m.group(2), m.group(3),
- new_x, m.group(5))
-
-
-def CalculateNewBackgroundPositionX(m):
- """Fixes percent based background-position-x.
-
- This function should be used as an argument to re.sub since it needs to
- perform replacement specific calculations.
-
- Args:
- m: A match object.
-
- Returns:
- A string with the background-position-x percentage fixed.
- BG_HORIZONTAL_PERCENTAGE_X_RE.sub(CalculateNewBackgroundPosition,
- 'background-position-x: 75%')
- will return 'background-position-x: 25%'.
- """
-
- # The flipped value is the offset from 100%
- new_x = str(100-int(m.group(2)))
-
- return 'background-position-x%s%s%%' % (m.group(1), new_x)
-
-
-def ChangeLeftToRightToLeft(lines,
- swap_ltr_rtl_in_url=None,
- swap_left_right_in_url=None):
- """Turns lines into a stream and runs the fixing functions against it.
-
- Args:
- lines: An list of CSS lines.
- swap_ltr_rtl_in_url: Overrides this flag if param is set.
- swap_left_right_in_url: Overrides this flag if param is set.
-
- Returns:
- The same lines, but with left and right fixes.
- """
-
- global FLAGS
-
- # Possibly override flags with params.
- logging.debug('ChangeLeftToRightToLeft swap_ltr_rtl_in_url=%s, '
- 'swap_left_right_in_url=%s' % (swap_ltr_rtl_in_url,
- swap_left_right_in_url))
- if swap_ltr_rtl_in_url is None:
- swap_ltr_rtl_in_url = FLAGS['swap_ltr_rtl_in_url']
- if swap_left_right_in_url is None:
- swap_left_right_in_url = FLAGS['swap_left_right_in_url']
-
- # Turns the array of lines into a single line stream.
- logging.debug('LINES COUNT: %s' % len(lines))
- line = TOKEN_LINES.join(lines)
-
- # Tokenize any single line rules with the /* noflip */ annotation.
- noflip_single_tokenizer = Tokenizer(NOFLIP_SINGLE_RE, 'NOFLIP_SINGLE')
- line = noflip_single_tokenizer.Tokenize(line)
-
- # Tokenize any class rules with the /* noflip */ annotation.
- noflip_class_tokenizer = Tokenizer(NOFLIP_CLASS_RE, 'NOFLIP_CLASS')
- line = noflip_class_tokenizer.Tokenize(line)
-
- # Tokenize the comments so we can preserve them through the changes.
- comment_tokenizer = Tokenizer(COMMENT_RE, 'C')
- line = comment_tokenizer.Tokenize(line)
-
- # Here starteth the various left/right orientation fixes.
- line = FixBodyDirectionLtrAndRtl(line)
-
- if swap_left_right_in_url:
- line = FixLeftAndRightInUrl(line)
-
- if swap_ltr_rtl_in_url:
- line = FixLtrAndRtlInUrl(line)
-
- line = FixLeftAndRight(line)
- line = FixCursorProperties(line)
- line = FixFourPartNotation(line)
- line = FixBackgroundPosition(line)
-
- # DeTokenize the single line noflips.
- line = noflip_single_tokenizer.DeTokenize(line)
-
- # DeTokenize the class-level noflips.
- line = noflip_class_tokenizer.DeTokenize(line)
-
- # DeTokenize the comments.
- line = comment_tokenizer.DeTokenize(line)
-
- # Rejoin the lines back together.
- lines = line.split(TOKEN_LINES)
-
- return lines
-
-def usage():
- """Prints out usage information."""
-
- print 'Usage:'
- print ' ./cssjanus.py < file.css > file-rtl.css'
- print 'Flags:'
- print ' --swap_left_right_in_url: Fixes "left"/"right" string within urls.'
- print ' Ex: ./cssjanus.py --swap_left_right_in_url < file.css > file_rtl.css'
- print ' --swap_ltr_rtl_in_url: Fixes "ltr"/"rtl" string within urls.'
- print ' Ex: ./cssjanus --swap_ltr_rtl_in_url < file.css > file_rtl.css'
-
-def setflags(opts):
- """Parse the passed in command line arguments and set the FLAGS global.
-
- Args:
- opts: getopt iterable intercepted from argv.
- """
-
- global FLAGS
-
- # Parse the arguments.
- for opt, arg in opts:
- logging.debug('opt: %s, arg: %s' % (opt, arg))
- if opt in ("-h", "--help"):
- usage()
- sys.exit()
- elif opt in ("-d", "--debug"):
- logging.getLogger().setLevel(logging.DEBUG)
- elif opt == '--swap_ltr_rtl_in_url':
- FLAGS['swap_ltr_rtl_in_url'] = True
- elif opt == '--swap_left_right_in_url':
- FLAGS['swap_left_right_in_url'] = True
-
-
-def main(argv):
- """Sends stdin lines to ChangeLeftToRightToLeft and writes to stdout."""
-
- # Define the flags.
- try:
- opts, args = getopt.getopt(argv, 'hd', ['help', 'debug',
- 'swap_left_right_in_url',
- 'swap_ltr_rtl_in_url'])
- except getopt.GetoptError:
- usage()
- sys.exit(2)
-
- # Parse and set the flags.
- setflags(opts)
-
- # Call the main routine with all our functionality.
- fixed_lines = ChangeLeftToRightToLeft(sys.stdin.readlines())
- sys.stdout.write(''.join(fixed_lines))
-
-if __name__ == '__main__':
- main(sys.argv[1:])
diff --git a/skins/vector/cssjanus/csslex.py b/skins/vector/cssjanus/csslex.py
deleted file mode 100755
index 1fc7304..0000000
--- a/skins/vector/cssjanus/csslex.py
+++ /dev/null
@@ -1,114 +0,0 @@
-#!/usr/bin/python
-#
-# Copyright 2007 Google Inc. All Rights Reserved.
-
-"""CSS Lexical Grammar rules.
-
-CSS lexical grammar from http://www.w3.org/TR/CSS21/grammar.html
-"""
-
-__author__ = ['elsigh@google.com (Lindsey Simon)',
- 'msamuel@google.com (Mike Samuel)']
-
-# public symbols
-__all__ = [ "NEWLINE", "HEX", "NON_ASCII", "UNICODE", "ESCAPE", "NMSTART", "NMCHAR", "STRING1", "STRING2", "IDENT", "NAME", "HASH", "NUM", "STRING", "URL", "SPACE", "WHITESPACE", "COMMENT", "QUANTITY", "PUNC" ]
-
-# The comments below are mostly copied verbatim from the grammar.
-
-# "@import" {return IMPORT_SYM;}
-# "@page" {return PAGE_SYM;}
-# "@media" {return MEDIA_SYM;}
-# "@charset" {return CHARSET_SYM;}
-KEYWORD = r'(?:\@(?:import|page|media|charset))'
-
-# nl \n|\r\n|\r|\f ; a newline
-NEWLINE = r'\n|\r\n|\r|\f'
-
-# h [0-9a-f] ; a hexadecimal digit
-HEX = r'[0-9a-f]'
-
-# nonascii [\200-\377]
-NON_ASCII = r'[\200-\377]'
-
-# unicode \\{h}{1,6}(\r\n|[ \t\r\n\f])?
-UNICODE = r'(?:(?:\\' + HEX + r'{1,6})(?:\r\n|[ \t\r\n\f])?)'
-
-# escape {unicode}|\\[^\r\n\f0-9a-f]
-ESCAPE = r'(?:' + UNICODE + r'|\\[^\r\n\f0-9a-f])'
-
-# nmstart [_a-z]|{nonascii}|{escape}
-NMSTART = r'(?:[_a-z]|' + NON_ASCII + r'|' + ESCAPE + r')'
-
-# nmchar [_a-z0-9-]|{nonascii}|{escape}
-NMCHAR = r'(?:[_a-z0-9-]|' + NON_ASCII + r'|' + ESCAPE + r')'
-
-# ident -?{nmstart}{nmchar}*
-IDENT = r'-?' + NMSTART + NMCHAR + '*'
-
-# name {nmchar}+
-NAME = NMCHAR + r'+'
-
-# hash
-HASH = r'#' + NAME
-
-# string1 \"([^\n\r\f\\"]|\\{nl}|{escape})*\" ; "string"
-STRING1 = r'"(?:[^\"\\]|\\.)*"'
-
-# string2 \'([^\n\r\f\\']|\\{nl}|{escape})*\' ; 'string'
-STRING2 = r"'(?:[^\'\\]|\\.)*'"
-
-# string {string1}|{string2}
-STRING = '(?:' + STRING1 + r'|' + STRING2 + ')'
-
-# num [0-9]+|[0-9]*"."[0-9]+
-NUM = r'(?:[0-9]*\.[0-9]+|[0-9]+)'
-
-# s [ \t\r\n\f]
-SPACE = r'[ \t\r\n\f]'
-
-# w {s}*
-WHITESPACE = '(?:' + SPACE + r'*)'
-
-# url special chars
-URL_SPECIAL_CHARS = r'[!#$%&*-~]'
-
-# url chars ({url_special_chars}|{nonascii}|{escape})*
-URL_CHARS = r'(?:%s|%s|%s)*' % (URL_SPECIAL_CHARS, NON_ASCII, ESCAPE)
-
-# url
-URL = r'url\(%s(%s|%s)%s\)' % (WHITESPACE, STRING, URL_CHARS, WHITESPACE)
-
-# comments
-# see http://www.w3.org/TR/CSS21/grammar.html
-COMMENT = r'/\*[^*]*\*+([^/*][^*]*\*+)*/'
-
-# {E}{M} {return EMS;}
-# {E}{X} {return EXS;}
-# {P}{X} {return LENGTH;}
-# {C}{M} {return LENGTH;}
-# {M}{M} {return LENGTH;}
-# {I}{N} {return LENGTH;}
-# {P}{T} {return LENGTH;}
-# {P}{C} {return LENGTH;}
-# {D}{E}{G} {return ANGLE;}
-# {R}{A}{D} {return ANGLE;}
-# {G}{R}{A}{D} {return ANGLE;}
-# {M}{S} {return TIME;}
-# {S} {return TIME;}
-# {H}{Z} {return FREQ;}
-# {K}{H}{Z} {return FREQ;}
-# % {return PERCENTAGE;}
-UNIT = r'(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)'
-
-# {num}{UNIT|IDENT} {return NUMBER;}
-QUANTITY = '%s(?:%s%s|%s)?' % (NUM, WHITESPACE, UNIT, IDENT)
-
-# "<!--" {return CDO;}
-# "-->" {return CDC;}
-# "~=" {return INCLUDES;}
-# "|=" {return DASHMATCH;}
-# {w}"{" {return LBRACE;}
-# {w}"+" {return PLUS;}
-# {w}">" {return GREATER;}
-# {w}"," {return COMMA;}
-PUNC = r'<!--|-->|~=|\|=|[\{\+>,:;]'
diff --git a/skins/vector/experiments/babaco-colors-a.css b/skins/vector/experiments/babaco-colors-a.css
deleted file mode 100644
index ce6f67d..0000000
--- a/skins/vector/experiments/babaco-colors-a.css
+++ /dev/null
@@ -1,109 +0,0 @@
-/* Babaco Color Scheme A */
-
-
-a:visited,
-a:visited div.vectorTabs li.selected a:visited span {
- color: #260e9c;
-}
-
-html .thumbimage,
-#toc, .toc, .mw-warning, div.thumbinner {
- border-color: #cccccc;
- background-color: #f7f7f7;
-}
-
-/* Framework */
-#mw-page-base {
- background-color: inherit !important;
- background-image: none !important;
-}
-body {
- background-color: #f9f9f9 !important;
- background-image:url(images/page-base-updated.png);
-}
-
-/* Links */
-a {
- color: #0066cc;
-}
-a:visited {
- color: #004d99;
-}
-a:active {
- color: #ff6600;
-}
-a.stub {
- color: #56228b;
-}
-a.new, #p-personal a.new {
- color: #a31205 !important;
-}
-a.new:visited, #p-personal a.new:visited {
- color: #a31205;
-}
-
-h1,
-h2,
-h3,
-h4,
-h5,
-h6 {
- border-color:#999999;
- font-family:georgia, times, serif;
- font-weight:bold;
-}
-#firstHeading {
- font-size:1.5em;
-}
-h2 .editsection,
-.portal h5{
- font-family:sans-serif;
- font-weight:normal;
-
-}
-#toc h2, .toc h2 {
- font-family:sans-serif;
- font-weight:normal;
-}
-body #mw-panel div.portal div.body {
- background-image:url(images/new-portal-break-ltr.png);
-}
-body.rtl #mw-panel div.portal div.body {
- background-image:url(images/new-portal-break-rtl.png);
-}
-body div.vectorTabs li a, div.vectorTabs li a span{
- color:#4d4d4d;
-}
-body div.vectorTabs li.selected a,
-body div.vectorTabs li.selected a span,
-body div.vectorTabs li.selected a:visited
-body div.vectorTabs li.selected a:visited span {
- color: #ff9900 !important;
- font-weight:bold;
-}
-div.vectorTabs li.new a,
-div.vectorTabs li.new a span,
-div.vectorTabs li.new a:visited,
-div.vectorTabs li.new a:visited span {
- color:#a31205;
-}
-#toc,
-.toc,
-.mw-warning,
-div.gallerybox div.thumb,
-table.gallery,
-#preferences fieldset.prefsection fieldset,
-#preferences,
-html .thumbimage,
-.usermessage,
-img.thumbborder,
-div.thumbinner{
- border: 1px solid #cccccc;
- background-color: #f7f7f7;
-}
-#mw-panel div.portal h5 {
- font-weight:bold;
- margin-bottom:0;
- padding-bottom:0.05em;
- color:#000000;
-}
diff --git a/skins/vector/experiments/babaco-colors-b.css b/skins/vector/experiments/babaco-colors-b.css
deleted file mode 100644
index 227e197..0000000
--- a/skins/vector/experiments/babaco-colors-b.css
+++ /dev/null
@@ -1,67 +0,0 @@
-/* Babaco Color Scheme A */
-
-
-html .thumbimage,
-#toc, .toc, .mw-warning, div.thumbinner {
- border-color: #cccccc;
- background-color: #f7f7f7;
-}
-
-/* Framework */
-#mw-page-base {
- background-color: inherit !important;
- background-image: none !important;
-}
-body {
- background-color: #f9f9f9 !important;
- background-image:url(images/page-base-updated.png);
-}
-/* Links */
-a {
- color: #003cb3;
-}
-a.stub {
- color: #772233;
-}
-a.new, #p-personal a.new {
- color: #a31205 !important;
-}
-{
- color: #260e9c;
-}
-a:visited,
-a:visited div.vectorTabs li.selected a:visited span,
-a.new:visited,
-#p-personal a.new:visited {
- color: #260e9c;
-}
-h1,
-h2,
-h3,
-h4,
-h5,
-h6 {
- border-color:#999999;
-}
-
-div.vectorTabs li.new a,
-div.vectorTabs li.new a span,
-div.vectorTabs li.new a:visited,
-div.vectorTabs li.new a:visited span {
- color:#a31205;
-}
-
-#toc,
-.toc,
-.mw-warning,
-div.gallerybox div.thumb,
-table.gallery,
-#preferences fieldset.prefsection fieldset,
-#preferences,
-html .thumbimage,
-.usermessage,
-img.thumbborder,
-div.thumbinner{
- border: 1px solid #cccccc;
- background-color: #f7f7f7;
-}
diff --git a/skins/vector/experiments/babaco-colors-c.css b/skins/vector/experiments/babaco-colors-c.css
deleted file mode 100644
index d2dabf7..0000000
--- a/skins/vector/experiments/babaco-colors-c.css
+++ /dev/null
@@ -1,91 +0,0 @@
-/* Babaco Color Scheme C */
-
-/* ridding ourselves of the gradient */
-#mw-page-base {
- background-color: inherit !important;
- background-image: none !important;
-}
-
-a:visited,
-a:visited div.vectorTabs li.selected a:visited span {
- color: #260e9c;
-}
-
-html .thumbimage,
-#toc, .toc, .mw-warning, div.thumbinner {
- border-color: #cccccc;
- background-color: #f7f7f7;
-}
-
-/* Framework */
-body {
- background-color: #f9f9f9 !important;
- background-image:url(images/page-base-updated.png);
-}
-
-/* Links */
-a {
- color: #0066cc;
-}
-a:visited {
- color: #004d99;
-}
-a:active {
- color: #ff6600;
-}
-a.stub {
- color: #56228b;
-}
-a.new, #p-personal a.new {
- color: #a31205 !important;
-}
-a.new:visited, #p-personal a.new:visited {
- color: #a31205;
-}
-
-#firstHeading {
- font-size:1.5em;
-}
-h2 .editsection,
-.portal h5 {
- font-weight:normal;
-}
-#toc h2, .toc h2 {
- font-weight:normal;
-}
-body #mw-panel div.portal div.body {
- background-image:url(images/new-portal-break-ltr.png);
-}
-
-div.vectorTabs li.new a,
-div.vectorTabs li.new a span,
-div.vectorTabs li.new a:visited,
-div.vectorTabs li.new a:visited span {
- color:#a31205;
-}
-#toc,
-.toc,
-.mw-warning,
-div.gallerybox div.thumb,
-table.gallery,
-#preferences fieldset.prefsection fieldset,
-#preferences,
-html .thumbimage,
-.usermessage,
-img.thumbborder,
-div.thumbinner {
- border: 1px solid #cccccc;
- background-color: #f7f7f7;
-}
-#mw-panel div.portal h5 {
- font-weight:bold;
- margin-bottom:0;
- padding-bottom:0.05em;
- color:#000000;
-}
-div.vectorTabs li.selected a,
-div.vectorTabs li.selected a span,
-div.vectorTabs li.selected a:visited
-div.vectorTabs li.selected a:visited span {
- color: #333333 !important;
-} \ No newline at end of file
diff --git a/skins/vector/experiments/images/new-border.png b/skins/vector/experiments/images/new-border.png
deleted file mode 100644
index 735324e..0000000
--- a/skins/vector/experiments/images/new-border.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/experiments/images/new-portal-break-ltr.png b/skins/vector/experiments/images/new-portal-break-ltr.png
deleted file mode 100644
index cd8f3b1..0000000
--- a/skins/vector/experiments/images/new-portal-break-ltr.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/experiments/images/new-portal-break-rtl.png b/skins/vector/experiments/images/new-portal-break-rtl.png
deleted file mode 100644
index 45c5b2f..0000000
--- a/skins/vector/experiments/images/new-portal-break-rtl.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/experiments/images/page-base-fade.png b/skins/vector/experiments/images/page-base-fade.png
deleted file mode 100644
index dc63182..0000000
--- a/skins/vector/experiments/images/page-base-fade.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/experiments/images/page-base-updated.png b/skins/vector/experiments/images/page-base-updated.png
deleted file mode 100644
index 54ffeb0..0000000
--- a/skins/vector/experiments/images/page-base-updated.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/experiments/images/tab-active-first.png b/skins/vector/experiments/images/tab-active-first.png
deleted file mode 100644
index e4c39c4..0000000
--- a/skins/vector/experiments/images/tab-active-first.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/experiments/images/tab-active-last.png b/skins/vector/experiments/images/tab-active-last.png
deleted file mode 100644
index a96f391..0000000
--- a/skins/vector/experiments/images/tab-active-last.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/experiments/images/tab-fade.png b/skins/vector/experiments/images/tab-fade.png
deleted file mode 100644
index 1eb0e23..0000000
--- a/skins/vector/experiments/images/tab-fade.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/experiments/images/tab-first.png b/skins/vector/experiments/images/tab-first.png
deleted file mode 100644
index 439b713..0000000
--- a/skins/vector/experiments/images/tab-first.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/experiments/images/tab-last.png b/skins/vector/experiments/images/tab-last.png
deleted file mode 100644
index 08e283d..0000000
--- a/skins/vector/experiments/images/tab-last.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/experiments/images/tab-new-fade.png b/skins/vector/experiments/images/tab-new-fade.png
deleted file mode 100644
index 4492550..0000000
--- a/skins/vector/experiments/images/tab-new-fade.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/experiments/new-tabs.css b/skins/vector/experiments/new-tabs.css
deleted file mode 100644
index e3850e8..0000000
--- a/skins/vector/experiments/new-tabs.css
+++ /dev/null
@@ -1,322 +0,0 @@
-/* new border color */
-#content {
- background-image: url(images/new-border.png);
-}
-
-#footer {
- background-image: url(images/new-border.png);
-}
- body div#left-navigation,
- body div#right-navigation {
- top:3.2em;
- }
- body div#right-navigation {
- margin-top:3.2em;
- }
- body #p-search form,
- body #p-search input,
- body #simpleSearch {
- margin-top:0;
- }
- body div#p-cactions {
- margin-top:0;
- }
- /* Namespaces and Views */
- /* @noflip */
- div.vectorTabs {
- float: left;
- }
- body div.vectorTabs {
- background-image: none;
- padding-left: 0;
- }
- /* @noflip */
- div.vectorTabs ul {
- float: left;
- }
- div.vectorTabs ul {
- height: 100%;
- list-style: none;
- background-image:none;
- margin: 0;
- padding: 0;
- }
- /* @noflip */
- div.vectorTabs ul li {
- float: left;
- }
- /* OVERRIDDEN BY COMPLIANT BROWSERS */
- body div.vectorTabs ul li {
- line-height: 1em;
- display: inline-block;
- height: 2em;
- margin: 0 1px 0 0;
- padding: 0;
- background:none;
- overflow:hidden;
- white-space:nowrap;
- }
- /* IGNORED BY IE6 */
- div.vectorTabs ul > li {
- display: block;
- }
- body div.vectorTabs li.selected {
- background-image: none;
- border:none;
- }
- /* OVERRIDDEN BY COMPLIANT BROWSERS */
- body div.vectorTabs li a {
- border-top:1px solid #cccccc;
- border-left:1px solid #cccccc;
- border-right:1px solid #cccccc;
- display: inline-block;
- height: 1.7em;
- padding-left: 0.6em;
- padding-right: 0.6em;
- background-image:url(images/tab-fade.png);
- background-position:bottom left;
- background-repeat:repeat-x;
- background-color:#ffffff;
- }
- body div.vectorTabs li.new a{
- background-image:url(images/tab-new-fade.png);
-
- }
- div.vectorTabs li a,
- div.vectorTabs li a span {
- cursor: pointer;
- }
- div.vectorTabs li a span {
- font-size: 0.8em;
- }
- /* IGNORED BY IE6 */
- div.vectorTabs li > a {
- display: block;
- }
- /* OVERRIDDEN BY COMPLIANT BROWSERS */
- body div.vectorTabs a span {
- display: inline-block;
- padding-top: 0.5em;
- }
- /* IGNORED BY IE6 */
- /* @noflip */
- div.vectorTabs a > span {
- float: left;
- display: block;
- }
- body div.vectorTabs li.last {
- background-image: url(images/tab-last.png);
- background-repeat:no-repeat;
- background-position:top right;
- border:none;
- }
- body div.vectorTabs li.last a {
- margin-right:7px;
- padding-left:0.4em;
- padding-right:0;
- border-left:1px solid #cccccc;
- border-top:1px solid #cccccc;
- border-right:none;
- background-image:url(images/tab-fade.png);
- background-position:top left;
- background-repeat:repeat-x;
- }
- body div.vectorTabs li.first {
- background-image: url(images/tab-first.png);
- background-repeat:no-repeat;
- background-position:top left;
- border:none;
- }
- body div.vectorTabs li.first a {
- margin-left:7px;
- padding-left:0em;
- padding-right:0.4em;
- border-right:1px solid #cccccc;
- border-top:1px solid #cccccc;
- background-image:url(images/tab-fade.png);
- background-position:top left;
- background-repeat:repeat-x;
- }
-
- div.vectorTabs li.selected a,
- div.vectorTabs li.selected a span,
- div.vectorTabs li.selected a:visited
- div.vectorTabs li.selected a:visited span {
- color: #be5900 !important;
- text-decoration: none;
- }
-
- body div.vectorTabs li.selected a {
- border-top:1px solid #6cc8f3;
- border-right:1px solid #6cc8f3;
- border-left:1px solid #6cc8f3;
- background-color:#fff;
- height:1.75em;
- background-image:none;
- }
- body div.vectorTabs li.selected.first {
- background-image: url(images/tab-active-first.png);
- background-repeat:no-repeat;
- background-position:top left;
- }
- body div.vectorTabs li.selected.first a {
- margin-left:7px;
- padding-right:0.6em;
- padding-left:0.4em;
- border-left:none;
- }
- body div.vectorTabs li.selected.last {
- background-image: url(images/tab-active-last.png);
- background-repeat:no-repeat;
- background-position:top right;
- }
- body div.vectorTabs li.selected.last a {
- margin-right:7px;
- padding-left:0.6em;
- padding-right:0.4em;
- border-right:none;
- }
-
- /* Variants and Actions */
- /* @noflip */
- div.vectorMenu {
- background-image:url(images/tab-fade.png);
- background-position:bottom left;
- background-repeat:repeat-x;
- border-top:1px solid #cccccc;
- border-left:1px solid #cccccc;
- border-right:1px solid #cccccc;
- }
- body.rtl div.vectorMenu {
- direction: rtl;
- }
- /* @noflip */
- body #mw-head div.vectorMenu h5 {
- background-image: url(../images/arrow-down-icon.png);
- background-position: center center;
- background-repeat: no-repeat;
- padding-left: 0;
- margin-left: 0px;
- }
- /* OVERRIDDEN BY COMPLIANT BROWSERS */
- body div.vectorMenu h5 a {
- display: inline-block;
- width: 24px;
- height:1.5em;
- background-image: none !important;
-
- }
- /* IGNORED BY IE6 */
- div.vectorMenu h5 > a {
- display: block;
- }
- div.vectorMenu div.menu {
- position: relative;
- left:1px;
- display: none;
- clear: both;
- text-align: left;
- }
- /* OVERRIDDEN BY COMPLIANT BROWSERS */
- body.rtl div.vectorMenu div.menu {
- margin-right: 24px;
- }
- /* IGNORED BY IE6 */
- body.rtl div.vectorMenu > div.menu {
- margin-right: auto;
- }
- /* Fixes old versions of FireFox */
- body.rtl div.vectorMenu > div.menu,
- x:-moz-any-link {
- margin-right: 24px;
- }
- div.vectorMenu:hover div.menu {
- display: block;
- }
- div.vectorMenu ul {
- position: absolute;
- background-color: white;
- border: solid 1px silver;
- border-top-width: 0;
- list-style: none;
- list-style-image: none;
- list-style-type: none;
- padding: 0;
- margin: 0;
- margin-left: -1px;
- text-align: left;
- }
- /* Fixes old versions of FireFox */
- div.vectorMenu ul,
- x:-moz-any-link {
- min-width: 5em;
- }
- /* Returns things back to normal in modern versions of FireFox */
- div.vectorMenu ul,
- x:-moz-any-link,
- x:default {
- min-width: 0;
- }
- div.vectorMenu li {
- padding: 0;
- margin: 0;
- text-align: left;
- line-height: 1em;
- }
- /* OVERRIDDEN BY COMPLIANT BROWSERS */
- div.vectorMenu li a {
- display: inline-block;
- padding: 0.5em;
- white-space: nowrap;
- }
- /* IGNORED BY IE6 */
- div.vectorMenu li > a {
- display: block;
- }
- div.vectorMenu li a {
- color: #0645ad;
- cursor: pointer;
- font-size: 0.8em;
- }
- div.vectorMenu li.selected a,
- div.vectorMenu li.selected a:visited {
- color: #333333;
- text-decoration: none;
- }
-#ca-unwatch.icon,
-#ca-watch.icon {
- background-color:#ffffff;
- height:1.75em !important;
- background-image:url(images/tab-fade.png);
- background-position:bottom left;
- background-repeat:repeat-x;
-}
-#ca-unwatch.icon a,
-#ca-watch.icon a {
- height: 1.7em !important;
- border-bottom:none;
- background-color:transparent;
-}
-#ca-watch.icon a,
-#ca-unwatch.icon a {
- background-repeat:no-repeat;
-}
-.wikiEditor-ui-tabs {
- border: none;
- height: 2.15em;
-}
-.wikiEditor-ui-buttons {
- height: 2.15em;
-}
-.wikiEditor-ui-tabs div {
- border: 1px solid silver;
- margin-right: 1px;
- height: 2.15em;
-}
-.wikiEditor-ui-tabs div a {
- line-height: 2.15em;
- background: #FFFFFF url(images/tab-fade.png) repeat-x 0 100%;
-}
-.wikiEditor-ui-tabs div.current a {
- background: #FFFFFF;
-}
diff --git a/skins/vector/images/arrow-down-icon.png b/skins/vector/images/arrow-down-icon.png
deleted file mode 100644
index bf2d4fb..0000000
--- a/skins/vector/images/arrow-down-icon.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/images/audio-icon.png b/skins/vector/images/audio-icon.png
deleted file mode 100644
index 0f59a2b..0000000
--- a/skins/vector/images/audio-icon.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/images/border.png b/skins/vector/images/border.png
deleted file mode 100644
index 54b4792..0000000
--- a/skins/vector/images/border.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/images/bullet-icon.png b/skins/vector/images/bullet-icon.png
deleted file mode 100644
index e304b26..0000000
--- a/skins/vector/images/bullet-icon.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/images/document-icon.png b/skins/vector/images/document-icon.png
deleted file mode 100644
index 91dc16f..0000000
--- a/skins/vector/images/document-icon.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/images/edit-icon.png b/skins/vector/images/edit-icon.png
deleted file mode 100644
index 4a96276..0000000
--- a/skins/vector/images/edit-icon.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/images/external-link-ltr-icon.png b/skins/vector/images/external-link-ltr-icon.png
deleted file mode 100644
index 4b710b0..0000000
--- a/skins/vector/images/external-link-ltr-icon.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/images/external-link-rtl-icon.png b/skins/vector/images/external-link-rtl-icon.png
deleted file mode 100644
index 17df03a..0000000
--- a/skins/vector/images/external-link-rtl-icon.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/images/file-icon.png b/skins/vector/images/file-icon.png
deleted file mode 100644
index 1261f00..0000000
--- a/skins/vector/images/file-icon.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/images/link-icon.png b/skins/vector/images/link-icon.png
deleted file mode 100644
index fc77e81..0000000
--- a/skins/vector/images/link-icon.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/images/lock-icon.png b/skins/vector/images/lock-icon.png
deleted file mode 100644
index 9e63807..0000000
--- a/skins/vector/images/lock-icon.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/images/magnify-clip.png b/skins/vector/images/magnify-clip.png
deleted file mode 100644
index 00a9cee..0000000
--- a/skins/vector/images/magnify-clip.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/images/mail-icon.png b/skins/vector/images/mail-icon.png
deleted file mode 100644
index 50de078..0000000
--- a/skins/vector/images/mail-icon.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/images/news-icon.png b/skins/vector/images/news-icon.png
deleted file mode 100644
index 8ab4995..0000000
--- a/skins/vector/images/news-icon.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/images/page-base.png b/skins/vector/images/page-base.png
deleted file mode 100644
index 17d02a7..0000000
--- a/skins/vector/images/page-base.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/images/page-fade.png b/skins/vector/images/page-fade.png
deleted file mode 100644
index 815a048..0000000
--- a/skins/vector/images/page-fade.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/images/portal-break-ltr.png b/skins/vector/images/portal-break-ltr.png
deleted file mode 100644
index c182370..0000000
--- a/skins/vector/images/portal-break-ltr.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/images/portal-break-rtl.png b/skins/vector/images/portal-break-rtl.png
deleted file mode 100644
index a45144c..0000000
--- a/skins/vector/images/portal-break-rtl.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/images/portal-break.png b/skins/vector/images/portal-break.png
deleted file mode 100644
index e81b559..0000000
--- a/skins/vector/images/portal-break.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/images/preferences-base.png b/skins/vector/images/preferences-base.png
deleted file mode 100644
index adfd70d..0000000
--- a/skins/vector/images/preferences-base.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/images/preferences-break.png b/skins/vector/images/preferences-break.png
deleted file mode 100644
index 6c5c68c..0000000
--- a/skins/vector/images/preferences-break.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/images/preferences-edge.png b/skins/vector/images/preferences-edge.png
deleted file mode 100644
index 3da0d09..0000000
--- a/skins/vector/images/preferences-edge.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/images/preferences-fade.png b/skins/vector/images/preferences-fade.png
deleted file mode 100644
index b4773c5..0000000
--- a/skins/vector/images/preferences-fade.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/images/search-fade.png b/skins/vector/images/search-fade.png
deleted file mode 100644
index 53461d6..0000000
--- a/skins/vector/images/search-fade.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/images/search-ltr.png b/skins/vector/images/search-ltr.png
deleted file mode 100644
index 1db2eb2..0000000
--- a/skins/vector/images/search-ltr.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/images/search-rtl.png b/skins/vector/images/search-rtl.png
deleted file mode 100644
index c26c8d0..0000000
--- a/skins/vector/images/search-rtl.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/images/tab-break.png b/skins/vector/images/tab-break.png
deleted file mode 100644
index 8115556..0000000
--- a/skins/vector/images/tab-break.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/images/tab-current-fade.png b/skins/vector/images/tab-current-fade.png
deleted file mode 100644
index c6238d2..0000000
--- a/skins/vector/images/tab-current-fade.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/images/tab-normal-fade.png b/skins/vector/images/tab-normal-fade.png
deleted file mode 100644
index 4a5e3e4..0000000
--- a/skins/vector/images/tab-normal-fade.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/images/talk-icon.png b/skins/vector/images/talk-icon.png
deleted file mode 100644
index 0b80ee9..0000000
--- a/skins/vector/images/talk-icon.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/images/user-icon.png b/skins/vector/images/user-icon.png
deleted file mode 100644
index ac3d59d..0000000
--- a/skins/vector/images/user-icon.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/images/video-icon.png b/skins/vector/images/video-icon.png
deleted file mode 100644
index 5e7f4af..0000000
--- a/skins/vector/images/video-icon.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/images/watch-icon-loading.gif b/skins/vector/images/watch-icon-loading.gif
deleted file mode 100644
index 618c308..0000000
--- a/skins/vector/images/watch-icon-loading.gif
+++ /dev/null
Binary files differ
diff --git a/skins/vector/images/watch-icons.png b/skins/vector/images/watch-icons.png
deleted file mode 100644
index 54b2c79..0000000
--- a/skins/vector/images/watch-icons.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/main-ltr.css b/skins/vector/main-ltr.css
deleted file mode 100644
index 3bdf7f9..0000000
--- a/skins/vector/main-ltr.css
+++ /dev/null
@@ -1,1164 +0,0 @@
-/*
- * main-rtl.css is automatically generated using CSSJanus, a python script for
- * creating RTL versions of otherwise LTR stylesheets.
- *
- * You may download the tool to rebuild this stylesheet
- * http://code.google.com/p/cssjanus/
- *
- * An online version of this tool can be used at:
- * http://cssjanus.commoner.com/
- *
- * The following command is used to generate the RTL version of this file
- * ./cssjanus.py --swap_ltr_rtl_in_url < main-ltr.css > main-rtl.css
- *
- * Any rules which should not be flipped should be prepended with @noflip in
- * a comment block.
- */
-/* Framework */
-html,
-body {
- height: 100%;
- margin: 0;
- padding: 0;
- font-family: sans-serif;
- font-size: 1em;
-}
-body {
- background-color: #f3f3f3;
- background-image: url(images/page-base.png);
-}
-/* Content */
-#content {
- margin-left: 10em;
- padding: 1em;
- background-image: url(images/border.png);
- background-position: top left;
- background-repeat: repeat-y;
- background-color: white;
-}
-/* Head */
-#mw-page-base {
- height: 4.5em;
- background-color: white;
- background-image: url(images/page-fade.png);
- background-position: bottom left;
- background-repeat: repeat-x;
-}
-#mw-head-base {
- margin-top: -5em;
- margin-left: 10em;
- height: 5em;
- background-image: url(images/border.png);
- background-position: bottom left;
- background-repeat: repeat-x;
-}
-#mw-head {
- position: absolute;
- top: 0;
- right: 0;
- width: 100%;
-}
-#mw-head h5 {
- margin: 0;
- padding: 0;
-}
- /* Hide empty portlets */
- div.emptyPortlet {
- display: none;
- }
- /* Personal */
- #p-personal {
- position: absolute;
- top: 0;
- margin-left: 10em;
- right: 0.75em;
- }
- #p-personal h5 {
- display: none;
- }
- #p-personal ul {
- list-style: none;
- margin: 0;
- padding: 0;
- }
- /* @noflip */
- #p-personal li {
- line-height: 1.125em;
- float: left;
- }
- #p-personal li {
- margin-left: 0.75em;
- margin-top: 0.5em;
- font-size: 0.75em;
- }
- /* Navigation Containers */
- #left-navigation {
- position: absolute;
- left: 10em;
- top: 2em;
- }
- #right-navigation {
- float: right;
- margin-top: 2em;
- }
- /* Navigation Labels */
- div.vectorTabs h5,
- div.vectorMenu h5 span {
- display: none;
- }
- /* Namespaces and Views */
- /* @noflip */
- div.vectorTabs {
- float: left;
- }
- div.vectorTabs {
- background-image: url(images/tab-break.png);
- background-position: bottom left;
- background-repeat: no-repeat;
- padding-left: 1px;
- }
- /* @noflip */
- div.vectorTabs ul {
- float: left;
- }
- div.vectorTabs ul {
- height: 100%;
- list-style: none;
- margin: 0;
- padding: 0;
- }
- /* @noflip */
- div.vectorTabs ul li {
- float: left;
- }
- /* OVERRIDDEN BY COMPLIANT BROWSERS */
- div.vectorTabs ul li {
- line-height: 1.125em;
- display: inline-block;
- height: 100%;
- margin: 0;
- padding: 0;
- background-color: #f3f3f3;
- background-image: url(images/tab-normal-fade.png);
- background-position: bottom left;
- background-repeat: repeat-x;
- white-space:nowrap;
- }
- /* IGNORED BY IE6 */
- div.vectorTabs ul > li {
- display: block;
- }
- div.vectorTabs li.selected {
- background-image: url(images/tab-current-fade.png);
- }
- /* OVERRIDDEN BY COMPLIANT BROWSERS */
- div.vectorTabs li a {
- display: inline-block;
- height: 2.5em;
- padding-left: 0.4em;
- padding-right: 0.4em;
- background-image: url(images/tab-break.png);
- background-position: bottom right;
- background-repeat: no-repeat;
- }
- div.vectorTabs li a,
- div.vectorTabs li a span {
- color: #0645ad;
- cursor: pointer;
- }
- div.vectorTabs li a span {
- font-size: 0.8em;
- }
- /* IGNORED BY IE6 */
- div.vectorTabs li > a {
- display: block;
- }
- /* OVERRIDDEN BY COMPLIANT BROWSERS */
- div.vectorTabs a span {
- display: inline-block;
- padding-top: 1.25em;
- }
- /* IGNORED BY IE6 */
- /* @noflip */
- div.vectorTabs a > span {
- float: left;
- display: block;
- }
- div.vectorTabs li.selected a,
- div.vectorTabs li.selected a span,
- div.vectorTabs li.selected a:visited
- div.vectorTabs li.selected a:visited span {
- color: #333333;
- text-decoration: none;
- }
- div.vectorTabs li.new a,
- div.vectorTabs li.new a span,
- div.vectorTabs li.new a:visited,
- div.vectorTabs li.new a:visited span {
- color: #a55858;
- }
- /* Variants and Actions */
- /* @noflip */
- div.vectorMenu {
- direction: ltr;
- float: left;
- background-image: url(images/arrow-down-icon.png);
- background-position: center center;
- background-repeat: no-repeat;
- }
- /* @noflip */
- body.rtl div.vectorMenu {
- direction: rtl;
- }
- /* OVERRIDDEN BY COMPLIANT BROWSERS */
- /* @noflip */
- #mw-head div.vectorMenu h5 {
- float: left;
- background-image: url(images/tab-break.png);
- background-repeat: no-repeat;
- }
- /* IGNORED BY IE6 */
- #mw-head div.vectorMenu > h5 {
- background-image: none;
- }
- #mw-head div.vectorMenu h5 {
- background-position: bottom left;
- margin-left: -1px;
- }
- /* OVERRIDDEN BY COMPLIANT BROWSERS */
- /* @noflip */
- div.vectorMenu h5 a {
- display: inline-block;
- width: 24px;
- height: 2.5em;
- text-decoration: none;
- background-image: url(images/tab-break.png);
- background-repeat: no-repeat;
- }
- div.vectorMenu h5 a{
- background-position: bottom right;
- }
- /* IGNORED BY IE6 */
- div.vectorMenu h5 > a {
- display: block;
- }
- div.vectorMenu div.menu {
- position: relative;
- display: none;
- clear: both;
- text-align: left;
- }
- /* OVERRIDDEN BY COMPLIANT BROWSERS */
- /* @noflip */
- body.rtl div.vectorMenu div.menu {
- margin-left: 24px;
- }
- /* IGNORED BY IE6 */
- /* @noflip */
- body.rtl div.vectorMenu > div.menu {
- margin-left: auto;
- }
- /* Fixes old versions of FireFox */
- /* @noflip */
- body.rtl div.vectorMenu > div.menu,
- x:-moz-any-link {
- margin-left: 23px;
- }
- div.vectorMenu:hover div.menu {
- display: block;
- }
- div.vectorMenu ul {
- position: absolute;
- background-color: white;
- border: solid 1px silver;
- border-top-width: 0;
- list-style: none;
- list-style-image: none;
- list-style-type: none;
- padding: 0;
- margin: 0;
- margin-left: -1px;
- text-align: left;
- }
- /* Fixes old versions of FireFox */
- div.vectorMenu ul,
- x:-moz-any-link {
- min-width: 5em;
- }
- /* Returns things back to normal in modern versions of FireFox */
- div.vectorMenu ul,
- x:-moz-any-link,
- x:default {
- min-width: 0;
- }
- div.vectorMenu li {
- padding: 0;
- margin: 0;
- text-align: left;
- line-height: 1em;
- }
- /* OVERRIDDEN BY COMPLIANT BROWSERS */
- div.vectorMenu li a {
- display: inline-block;
- padding: 0.5em;
- white-space: nowrap;
- }
- /* IGNORED BY IE6 */
- div.vectorMenu li > a {
- display: block;
- }
- div.vectorMenu li a {
- color: #0645ad;
- cursor: pointer;
- font-size: 0.8em;
- }
- div.vectorMenu li.selected a,
- div.vectorMenu li.selected a:visited {
- color: #333333;
- text-decoration: none;
- }
- /* Search */
- #p-search h5 {
- display: none;
- }
- /* @noflip */
- #p-search {
- float: left;
- }
- #p-search {
- margin-right: 0.5em;
- margin-left: 0.5em;
- }
- #p-search form,
- #p-search input {
- margin: 0;
- margin-top: 0.4em;
- }
- #simpleSearch {
- margin-top: 0.5em;
- position: relative;
- border: solid 1px #AAAAAA;
- background-color: white;
- background-image: url(images/search-fade.png);
- background-position: top left;
- background-repeat: repeat-x;
- }
- #simpleSearch label {
- font-size: 0.8em;
- top: 0.25em;
- }
- #simpleSearch input#searchInput {
- margin: 0;
- border-width: 0;
- padding: 0.25em;
- line-height: 1em;
- font-size: 0.8em;
- width: 9em;
- background-color: transparent;
- }
- /* OVERRIDDEN BY COMPLIANT BROWSERS */
- #simpleSearch button#searchButton {
- margin: 0;
- padding: 0;
- width: 1.75em;
- height: 1.5em;
- border: none;
- cursor: pointer;
- background-color: transparent;
- background-image: url(images/search-ltr.png);
- background-position: center center;
- background-repeat: no-repeat;
- }
- /* IGNORED BY IE6 */
- #simpleSearch > button#searchButton {
- height: 100%;
- }
- .suggestions-special .special-label {
- font-size: 0.8em;
- color: gray;
- }
- .suggestions-special .special-query {
- color: black;
- font-style: italic;
- }
- .suggestions-special .special-hover {
- background-color: silver;
- }
-/* Panel */
-#mw-panel {
- position: absolute;
- top: 2.3em;
- padding-top: 1em;
- width: 10em;
- left: 0;
-}
- #mw-panel div.portal {
- padding-bottom: 1.5em;
- }
- #mw-panel div.portal h5 {
- font-weight: normal;
- color: #444444;
- padding: 0.25em;
- padding-top: 0;
- padding-left: 1.75em;
- cursor: default;
- border: none;
- font-size: 0.75em;
- }
- #mw-panel div.portal div.body {
- margin: 0;
- padding-top: 0.5em;
- margin-left: 1.25em;
- background-image: url(images/portal-break.png);
- background-repeat: no-repeat;
- background-position: top left;
- }
- #mw-panel div.portal div.body ul {
- list-style: none;
- list-style-image: none;
- list-style-type: none;
- padding: 0;
- margin: 0;
- }
- #mw-panel div.portal div.body ul li {
- line-height: 1.125em;
- padding: 0;
- padding-bottom: 0.5em;
- margin: 0;
- overflow: hidden;
- font-size: 0.75em;
- }
- #mw-panel div.portal div.body ul li a {
- color: #0645ad;
- }
- #mw-panel div.portal div.body ul li a:visited {
- color: #0b0080;
- }
-/* Footer */
-#footer {
- margin-left: 10em;
- margin-top: 0;
- padding: 0.75em;
- background-image: url(images/border.png);
- background-position: top left;
- background-repeat: repeat-x;
-}
-#footer ul {
- list-style: none;
- list-style-image: none;
- list-style-type: none;
- margin: 0;
- padding: 0;
-}
-#footer ul li {
- margin: 0;
- padding: 0;
- padding-top: 0.5em;
- padding-bottom: 0.5em;
- color: #333333;
- font-size: 0.7em;
-}
-#footer #footer-icons {
- float: right;
-}
-/* @noflip */
-body.ltr #footer #footer-places {
- float: left;
-}
-#footer #footer-info li {
- line-height: 1.4em;
-}
-#footer #footer-icons li {
- float: left;
- margin-left: 0.5em;
- line-height: 2em;
-}
-#footer #footer-places li {
- float: left;
- margin-right: 1em;
- line-height: 2em;
-}
-/* Logo */
-#p-logo {
- position: absolute;
- top: -160px;
- left: 0;
- width: 10em;
- height: 160px;
-}
-#p-logo a {
- display: block;
- width: 10em;
- height: 160px;
- background-repeat: no-repeat;
- background-position: center center;
- text-decoration: none;
-}
-
-/*
- *
- * The following code is highly modified from monobook. It would be nice if the
- * preftoc id was more human readable like preferences-toc for instance,
- * howerver this would require backporting the other skins.
- */
-
-/* Preferences */
-#preftoc {
- /* Tabs */
- width: 100%;
- float: left;
- clear: both;
- margin: 0 !important;
- padding: 0 !important;
- background-image: url(images/preferences-break.png);
- background-position: bottom left;
- background-repeat: no-repeat;
-}
- #preftoc li {
- /* Tab */
- float: left;
- margin: 0;
- padding: 0;
- padding-right: 1px;
- height: 2.25em;
- white-space: nowrap;
- list-style-type: none;
- list-style-image: none;
- background-image: url(images/preferences-break.png);
- background-position: bottom right;
- background-repeat: no-repeat;
- }
- /* IGNORED BY IE6 */
- #preftoc li:first-child {
- margin-left: 1px;
- }
- #preftoc a,
- #preftoc a:active {
- display: inline-block;
- position: relative;
- color: #0645ad;
- padding: 0.5em;
- text-decoration: none;
- background-image: none;
- font-size: 0.9em;
- }
- #preftoc a:hover {
- text-decoration: underline;
- }
- #preftoc li.selected a {
- background-image: url(images/preferences-fade.png);
- background-position: bottom;
- background-repeat: repeat-x;
- color: #333333;
- text-decoration: none;
- }
-#preferences {
- float: left;
- width: 100%;
- margin: 0;
- margin-top: -2px;
- clear: both;
- border: solid 1px #cccccc;
- background-color: #f9f9f9;
- background-image: url(images/preferences-base.png);
-}
-#preferences fieldset.prefsection {
- border: none;
- padding: 0;
- margin: 1em;
-}
-#preferences fieldset.prefsection fieldset {
- border: none;
- border-top: solid 1px #cccccc;
-}
-#preferences legend {
- color: #666666;
-}
-#preferences fieldset.prefsection legend.mainLegend {
- display: none;
-}
-#preferences td {
- padding-left: 0.5em;
- padding-right: 0.5em;
-}
-#preferences td.htmlform-tip {
- font-size: x-small;
- padding: .2em 2em;
- color: #666666;
-}
-#preferences div.mw-prefs-buttons {
- padding: 1em;
-}
-#preferences div.mw-prefs-buttons input {
- margin-right: 0.25em;
-}
-
-/*
- * Styles for the user login and create account forms
- */
-#userlogin, #userloginForm {
- border: solid 1px #cccccc;
- padding: 1.2em;
- margin: .5em;
- float: left;
-}
-
-#userlogin {
- min-width: 20em;
- max-width: 90%;
- width: 40em;
-}
-
-/*
- *
- * The following code is slightly modified from monobook
- *
- */
-#content {
- line-height: 1.5em;
-}
-#bodyContent {
- font-size: 0.8em;
-}
-/* Links */
-a {
- text-decoration: none;
- color: #0645ad;
- background: none;
-}
-a:visited {
- color: #0b0080;
-}
-a:active {
- color: #faa700;
-}
-a:hover {
- text-decoration: underline;
-}
-a.stub {
- color: #772233;
-}
-a.new, #p-personal a.new {
- color: #ba0000;
-}
-a.new:visited, #p-personal a.new:visited {
- color: #a55858;
-}
-
-/* Inline Elements */
-img {
- border: none;
- vertical-align: middle;
-}
-hr {
- height: 1px;
- color: #aaa;
- background-color: #aaa;
- border: 0;
- margin: .2em 0 .2em 0;
-}
-
-/* Structural Elements */
-h1,
-h2,
-h3,
-h4,
-h5,
-h6 {
- color: black;
- background: none;
- font-weight: normal;
- margin: 0;
- padding-top: .5em;
- padding-bottom: .17em;
- border-bottom: 1px solid #aaa;
- width: auto;
-}
-h1 { font-size: 188%; }
-h1 .editsection { font-size: 53%; }
-h2 { font-size: 150%; }
-h2 .editsection { font-size: 67%; }
-h3,
-h4,
-h5,
-h6 {
- border-bottom: none;
- font-weight: bold;
-}
-h3 { font-size: 132%; }
-h3 .editsection { font-size: 76%; font-weight: normal; }
-h4 { font-size: 116%; }
-h4 .editsection { font-size: 86%; font-weight: normal; }
-h5 { font-size: 100%; }
-h5 .editsection { font-weight: normal; }
-h6 { font-size: 80%; }
-h6 .editsection { font-size: 125%; font-weight: normal; }
-p {
- margin: .4em 0 .5em 0;
- line-height: 1.5em;
-}
- p img {
- margin: 0;
- }
-abbr,
-acronym,
-.explain {
- border-bottom: 1px dotted black;
- color: black;
- background: none;
- cursor: help;
-}
-q {
- font-family: Times, "Times New Roman", serif;
- font-style: italic;
-}
-/* Disabled for now
-blockquote {
- font-family: Times, "Times New Roman", serif;
- font-style: italic;
-}*/
-code {
- background-color: #f9f9f9;
-}
-pre {
- padding: 1em;
- border: 1px dashed #2f6fab;
- color: black;
- background-color: #f9f9f9;
- line-height: 1.1em;
-}
-ul {
- line-height: 1.5em;
- list-style-type: square;
- margin: .3em 0 0 1.5em;
- padding: 0;
- list-style-image: url(images/bullet-icon.png);
-}
-ol {
- line-height: 1.5em;
- margin: .3em 0 0 3.2em;
- padding: 0;
- list-style-image: none;
-}
-li {
- margin-bottom: .1em;
-}
-dt {
- font-weight: bold;
- margin-bottom: .1em;
-}
-dl {
- margin-top: .2em;
- margin-bottom: .5em;
-}
-dd {
- line-height: 1.5em;
- margin-left: 2em;
- margin-bottom: .1em;
-}
-/* Tables */
-table {
- font-size: 100%;
- color: black;
- /* we don't want the bottom borders of <h2>s to be visible through
- * floated tables */
- background-color: white;
-}
-fieldset table {
- /* but keep table layouts in forms clean... */
- background: none;
-}
-/* Forms */
-fieldset {
- border: 1px solid #2f6fab;
- margin: 1em 0 1em 0;
- padding: 0 1em 1em;
- line-height: 1.5em;
-}
- fieldset.nested {
- margin: 0 0 0.5em 0;
- padding: 0 0.5em 0.5em;
- }
-legend {
- padding: .5em;
- font-size: 95%;
-}
-form {
- border: none;
- margin: 0;
-}
-textarea {
- width: 100%;
- padding: .1em;
-}
-select {
- vertical-align: top;
-}
-/* Table of Contents */
-#toc,
-.toc,
-.mw-warning {
- border: 1px solid #aaa;
- background-color: #f9f9f9;
- padding: 5px;
- font-size: 95%;
-}
-#toc h2,
-.toc h2 {
- display: inline;
- border: none;
- padding: 0;
- font-size: 100%;
- font-weight: bold;
-}
-#toc #toctitle,
-.toc #toctitle,
-#toc .toctitle,
-.toc .toctitle {
- text-align: center;
-}
-#toc ul,
-.toc ul {
- list-style-type: none;
- list-style-image: none;
- margin-left: 0;
- padding-left: 0;
- text-align: left;
-}
-#toc ul ul,
-.toc ul ul {
- margin: 0 0 0 2em;
-}
-#toc .toctoggle,
-.toc .toctoggle {
- font-size: 94%;
-}
-/* Images */
-div.floatright, table.floatright {
- clear: right;
- float: right;
- position: relative;
- margin: 0 0 .5em .5em;
- border: 0;
-}
-div.floatright p { font-style: italic; }
-div.floatleft, table.floatleft {
- float: left;
- clear: left;
- position: relative;
- margin: 0 .5em .5em 0;
- border: 0;
-}
-div.floatleft p { font-style: italic; }
-/* Thumbnails */
-div.thumb {
- margin-bottom: .5em;
- border-style: solid;
- border-color: white;
- width: auto;
- background-color: transparent;
-}
-div.thumbinner {
- border: 1px solid #ccc;
- padding: 3px !important;
- background-color: #f9f9f9;
- font-size: 94%;
- text-align: center;
- overflow: hidden;
-}
-html .thumbimage {
- border: 1px solid #ccc;
-}
-html .thumbcaption {
- border: none;
- text-align: left;
- line-height: 1.4em;
- padding: 3px !important;
- font-size: 94%;
-}
-div.magnify {
- float: right;
- border: none !important;
- background: none !important;
-}
-div.magnify a, div.magnify img {
- display: block;
- border: none !important;
- background: none !important;
-}
-div.tright {
- clear: right;
- float: right;
- border-width: .5em 0 .8em 1.4em;
-}
-div.tleft {
- float: left;
- clear: left;
- margin-right: .5em;
- border-width: .5em 1.4em .8em 0;
-}
-img.thumbborder {
- border: 1px solid #dddddd;
-}
-.hiddenStructure {
- display: none;
-}
-/* Warning */
-.mw-warning {
- margin-left: 50px;
- margin-right: 50px;
- text-align: center;
-}
-/* User Message */
-.usermessage {
- background-color: #ffce7b;
- border: 1px solid #ffa500;
- color: black;
- font-weight: bold;
- margin: 2em 0 1em;
- padding: .5em 1em;
- vertical-align: middle;
-}
-/* Site Notice */
-#siteNotice {
- text-align: center;
- font-size: 0.8em;
- margin: 0;
-}
- #siteNotice div,
- #siteNotice p {
- margin: 0;
- padding: 0;
- margin-bottom: 0.9em;
- }
-/* Categories */
-.catlinks {
- border: 1px solid #aaa;
- background-color: #f9f9f9;
- padding: 5px;
- margin-top: 1em;
- clear: both;
-}
-/* Sub-navigation */
-#siteSub {
- display: none;
-}
-#jump-to-nav {
- display: none;
-}
-#contentSub, #contentSub2 {
- font-size: 84%;
- line-height: 1.2em;
- margin: 0 0 1.4em 1em;
- color: #7d7d7d;
- width: auto;
-}
-span.subpages {
- display: block;
-}
-/* Emulate Center */
-.center {
- width: 100%;
- text-align: center;
-}
-*.center * {
- margin-left: auto;
- margin-right: auto;
-}
-/* Small for tables and similar */
-.small, .small * {
- font-size: 94%;
-}
-table.small {
- font-size: 100%;
-}
-/* Edge Cases for Content */
-h1, h2 {
- margin-bottom: .6em;
-}
-h3, h4, h5 {
- margin-bottom: .3em;
-}
-#firstHeading {
- padding-top: 0;
- margin-top: 0;
- padding-top: 0;
- margin-bottom: 0.1em;
- line-height: 1.2em;
- font-size: 1.6em;
- padding-bottom: 0;
-}
-#content a.external,
-#content a[href ^="gopher://"] {
- background: url(images/external-link-ltr-icon.png) center right no-repeat;
- padding: 0 13px 0 0;
-}
-#content a[href ^="https://"],
-.link-https {
- background: url(images/lock-icon.png) center right no-repeat;
- padding: 0 18px 0 0;
-}
-#content a[href ^="mailto:"],
-.link-mailto {
- background: url(images/mail-icon.png) center right no-repeat;
- padding: 0 18px 0 0;
-}
-#content a[href ^="news://"] {
- background: url(images/news-icon.png) center right no-repeat;
- padding: 0 18px 0 0;
-}
-#content a[href ^="ftp://"],
-.link-ftp {
- background: url(images/file-icon.png) center right no-repeat;
- padding: 0 18px 0 0;
-}
-#content a[href ^="irc://"],
-#content a.extiw[href ^="irc://"],
-.link-irc {
- background: url(images/talk-icon.png) center right no-repeat;
- padding: 0 18px 0 0;
-}
-#content a.external[href $=".ogg"], #content a.external[href $=".OGG"],
-#content a.external[href $=".mid"], #content a.external[href $=".MID"],
-#content a.external[href $=".midi"], #content a.external[href $=".MIDI"],
-#content a.external[href $=".mp3"], #content a.external[href $=".MP3"],
-#content a.external[href $=".wav"], #content a.external[href $=".WAV"],
-#content a.external[href $=".wma"], #content a.external[href $=".WMA"],
-.link-audio {
- background: url("images/audio-icon.png") center right no-repeat;
- padding: 0 18px 0 0;
-}
-#content a.external[href $=".ogm"], #content a.external[href $=".OGM"],
-#content a.external[href $=".avi"], #content a.external[href $=".AVI"],
-#content a.external[href $=".mpeg"], #content a.external[href $=".MPEG"],
-#content a.external[href $=".mpg"], #content a.external[href $=".MPG"],
-.link-video {
- background: url("images/video-icon.png") center right no-repeat;
- padding: 0 18px 0 0;
-}
-#content a.external[href $=".pdf"], #content a.external[href $=".PDF"],
-#content a.external[href *=".pdf#"], #content a.external[href *=".PDF#"],
-#content a.external[href *=".pdf?"], #content a.external[href *=".PDF?"],
-.link-document {
- background: url("images/document-icon.png") center right no-repeat;
- padding: 0 18px 0 0;
-}
-/* Interwiki Styling (Disabled) */
-#content a.extiw,
-#content a.extiw:active {
- color: #36b;
- background: none;
- padding: 0;
-}
-#content a.external {
- color: #36b;
-}
-#content .printfooter {
- display: none;
-}
-/* Icon for Usernames */
-#pt-userpage,
-#pt-anonuserpage,
-#pt-login {
- background: url(images/user-icon.png) left top no-repeat;
- padding-left: 15px !important;
- text-transform: none;
-}
-
-.toccolours {
- border: 1px solid #aaa;
- background-color: #f9f9f9;
- padding: 5px;
- font-size: 95%;
-}
-#bodyContent {
- position: relative;
- width: 100%;
-}
-#mw-js-message {
- font-size: 0.8em;
-}
-div#bodyContent {
- line-height: 1.5em;
-}
-
-/* Watch/Unwatch Icon Styling */
-#ca-unwatch.icon,
-#ca-watch.icon {
- margin-right:1px;
-}
-#ca-unwatch.icon a,
-#ca-watch.icon a {
- margin: 0;
- padding: 0;
- outline: none;
- display: block;
- width: 26px;
- height: 2.5em;
-}
-#ca-unwatch.icon a {
- background-image: url(images/watch-icons.png);
- background-position: -43px 60%;
-}
-#ca-watch.icon a {
- background-image: url(images/watch-icons.png);
- background-position: 5px 60%;
-}
-#ca-unwatch.icon a:hover {
- background-image: url(images/watch-icons.png);
- background-position: -67px 60%;
-}
-#ca-watch.icon a:hover {
- background-image: url(images/watch-icons.png);
- background-position: -19px 60%;
-}
-#ca-unwatch.icon a.loading,
-#ca-watch.icon a.loading {
- background-image: url(images/watch-icon-loading.gif);
- background-position: center 60%;
-}
-#ca-unwatch.icon a span,
-#ca-watch.icon a span {
- display: none;
-}
-div.vectorTabs ul {
- background-image:url(images/tab-break.png);
- background-position:right bottom;
- background-repeat:no-repeat;
-}
-
-# Mageia wiki specific layout
-table.contenttable
-{
- text-align: left;
- padding: 5px;
- width: 98%;
-}
-
-.contenttable td
-{
- /*font-size: 1.2em;*/
- -moz-border-radius: 10px;
- -webkit-border-radius: 10px;
- border-radius: 10px;
- border: outset 1px #cbd9d9;
- padding: 20px;
- vertical-align: top;
-}
-
-.mgaBackgroundLightBlue td
-{
- background:#ddf
-}
-
-.qa-ok td
-{
- color:#fff;
- background-color:green;
-}
-
-.qa-not-ok td
-{
- color:#fff;
- background-color:red;
-}
diff --git a/skins/vector/main-rtl.css b/skins/vector/main-rtl.css
deleted file mode 100644
index 5387289..0000000
--- a/skins/vector/main-rtl.css
+++ /dev/null
@@ -1,1128 +0,0 @@
-/*
- * main-rtl.css is automatically generated using CSSJanus, a python script for
- * creating RTL versions of otherwise LTR stylesheets.
- *
- * You may download the tool to rebuild this stylesheet
- * http://code.google.com/p/cssjanus/
- *
- * An online version of this tool can be used at:
- * http://cssjanus.commoner.com/
- *
- * The following command is used to generate the RTL version of this file
- * ./cssjanus.py --swap_ltr_rtl_in_url < main-ltr.css > main-rtl.css
- *
- * Any rules which should not be flipped should be prepended with @noflip in
- * a comment block.
- */
-/* Framework */
-html,
-body {
- height: 100%;
- margin: 0;
- padding: 0;
- font-family: sans-serif;
- font-size: 1em;
-}
-body {
- background-color: #f3f3f3;
- background-image: url(images/page-base.png);
-}
-/* Content */
-#content {
- margin-right: 10em;
- padding: 1em;
- background-image: url(images/border.png);
- background-position: top right;
- background-repeat: repeat-y;
- background-color: white;
-}
-/* Head */
-#mw-page-base {
- height: 5em;
- background-color: white;
- background-image: url(images/page-fade.png);
- background-position: bottom right;
- background-repeat: repeat-x;
-}
-#mw-head-base {
- margin-top: -5em;
- margin-right: 10em;
- height: 5em;
- background-image: url(images/border.png);
- background-position: bottom right;
- background-repeat: repeat-x;
-}
-#mw-head {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
-}
-#mw-head h5 {
- margin: 0;
- padding: 0;
-}
- /* Hide empty portlets */
- div.emptyPortlet {
- display: none;
- }
- /* Personal */
- #p-personal {
- position: absolute;
- top: 0;
- margin-right: 10em;
- left: 0.75em;
- }
- #p-personal h5 {
- display: none;
- }
- #p-personal ul {
- list-style: none;
- margin: 0;
- padding: 0;
- }
- /* @noflip */
- #p-personal li {
- line-height: 1.125em;
- float: left;
- }
- #p-personal li {
- margin-right: 0.75em;
- margin-top: 0.5em;
- font-size: 0.75em;
- }
- /* Navigation Containers */
- #left-navigation {
- position: absolute;
- right: 10em;
- top: 2.5em;
- }
- #right-navigation {
- float: left;
- margin-top: 2.5em;
- }
- /* Navigation Labels */
- div.vectorTabs h5,
- div.vectorMenu h5 span {
- display: none;
- }
- /* Namespaces and Views */
- /* @noflip */
- div.vectorTabs {
- float: left;
- }
- div.vectorTabs {
- background-image: url(images/tab-break.png);
- background-position: bottom right;
- background-repeat: no-repeat;
- padding-right: 1px;
- }
- /* @noflip */
- div.vectorTabs ul {
- float: left;
- }
- div.vectorTabs ul {
- height: 100%;
- list-style: none;
- margin: 0;
- padding: 0;
- }
- /* @noflip */
- div.vectorTabs ul li {
- float: left;
- }
- /* OVERRIDDEN BY COMPLIANT BROWSERS */
- div.vectorTabs ul li {
- line-height: 1.125em;
- display: inline-block;
- height: 100%;
- margin: 0;
- padding: 0;
- background-color: #f3f3f3;
- background-image: url(images/tab-normal-fade.png);
- background-position: bottom right;
- background-repeat: repeat-x;
- white-space:nowrap;
- }
- /* IGNORED BY IE6 */
- div.vectorTabs ul > li {
- display: block;
- }
- div.vectorTabs li.selected {
- background-image: url(images/tab-current-fade.png);
- }
- /* OVERRIDDEN BY COMPLIANT BROWSERS */
- div.vectorTabs li a {
- display: inline-block;
- height: 2.5em;
- padding-right: 0.4em;
- padding-left: 0.4em;
- background-image: url(images/tab-break.png);
- background-position: bottom left;
- background-repeat: no-repeat;
- }
- div.vectorTabs li a,
- div.vectorTabs li a span {
- color: #0645ad;
- cursor: pointer;
- }
- div.vectorTabs li a span {
- font-size: 0.8em;
- }
- /* IGNORED BY IE6 */
- div.vectorTabs li > a {
- display: block;
- }
- /* OVERRIDDEN BY COMPLIANT BROWSERS */
- div.vectorTabs a span {
- display: inline-block;
- padding-top: 1.25em;
- }
- /* IGNORED BY IE6 */
- /* @noflip */
- div.vectorTabs a > span {
- float: left;
- display: block;
- }
- div.vectorTabs li.selected a,
- div.vectorTabs li.selected a span,
- div.vectorTabs li.selected a:visited
- div.vectorTabs li.selected a:visited span {
- color: #333333;
- text-decoration: none;
- }
- div.vectorTabs li.new a,
- div.vectorTabs li.new a span,
- div.vectorTabs li.new a:visited,
- div.vectorTabs li.new a:visited span {
- color: #a55858;
- }
- /* Variants and Actions */
- /* @noflip */
- div.vectorMenu {
- direction: ltr;
- float: left;
- background-image: url(images/arrow-down-icon.png);
- background-position: center center;
- background-repeat: no-repeat;
- }
- /* @noflip */
- body.rtl div.vectorMenu {
- direction: rtl;
- }
- /* OVERRIDDEN BY COMPLIANT BROWSERS */
- /* @noflip */
- #mw-head div.vectorMenu h5 {
- float: left;
- background-image: url(images/tab-break.png);
- background-repeat: no-repeat;
- }
- /* IGNORED BY IE6 */
- #mw-head div.vectorMenu > h5 {
- background-image: none;
- }
- #mw-head div.vectorMenu h5 {
- background-position: bottom right;
- margin-right: -1px;
- }
- /* OVERRIDDEN BY COMPLIANT BROWSERS */
- /* @noflip */
- div.vectorMenu h5 a {
- display: inline-block;
- width: 24px;
- height: 2.5em;
- text-decoration: none;
- background-image: url(images/tab-break.png);
- background-repeat: no-repeat;
- }
- div.vectorMenu h5 a{
- background-position: bottom left;
- }
- /* IGNORED BY IE6 */
- div.vectorMenu h5 > a {
- display: block;
- }
- div.vectorMenu div.menu {
- position: relative;
- display: none;
- clear: both;
- text-align: right;
- }
- /* OVERRIDDEN BY COMPLIANT BROWSERS */
- /* @noflip */
- body.rtl div.vectorMenu div.menu {
- margin-left: 24px;
- }
- /* IGNORED BY IE6 */
- /* @noflip */
- body.rtl div.vectorMenu > div.menu {
- margin-left: auto;
- }
- /* Fixes old versions of FireFox */
- /* @noflip */
- body.rtl div.vectorMenu > div.menu,
- x:-moz-any-link {
- margin-left: 23px;
- }
- div.vectorMenu:hover div.menu {
- display: block;
- }
- div.vectorMenu ul {
- position: absolute;
- background-color: white;
- border: solid 1px silver;
- border-top-width: 0;
- list-style: none;
- list-style-image: none;
- list-style-type: none;
- padding: 0;
- margin: 0;
- margin-right: -1px;
- text-align: right;
- }
- /* Fixes old versions of FireFox */
- div.vectorMenu ul,
- x:-moz-any-link {
- min-width: 5em;
- }
- /* Returns things back to normal in modern versions of FireFox */
- div.vectorMenu ul,
- x:-moz-any-link,
- x:default {
- min-width: 0;
- }
- div.vectorMenu li {
- padding: 0;
- margin: 0;
- text-align: right;
- line-height: 1em;
- }
- /* OVERRIDDEN BY COMPLIANT BROWSERS */
- div.vectorMenu li a {
- display: inline-block;
- padding: 0.5em;
- white-space: nowrap;
- }
- /* IGNORED BY IE6 */
- div.vectorMenu li > a {
- display: block;
- }
- div.vectorMenu li a {
- color: #0645ad;
- cursor: pointer;
- font-size: 0.8em;
- }
- div.vectorMenu li.selected a,
- div.vectorMenu li.selected a:visited {
- color: #333333;
- text-decoration: none;
- }
- /* Search */
- #p-search h5 {
- display: none;
- }
- /* @noflip */
- #p-search {
- float: left;
- }
- #p-search {
- margin-left: 0.5em;
- margin-right: 0.5em;
- }
- #p-search form,
- #p-search input {
- margin: 0;
- margin-top: 0.4em;
- }
- #simpleSearch {
- margin-top: 0.5em;
- position: relative;
- border: solid 1px #AAAAAA;
- background-color: white;
- background-image: url(images/search-fade.png);
- background-position: top right;
- background-repeat: repeat-x;
- }
- #simpleSearch label {
- font-size: 0.8em;
- top: 0.25em;
- }
- #simpleSearch input#searchInput {
- margin: 0;
- border-width: 0;
- padding: 0.25em;
- line-height: 1em;
- font-size: 0.8em;
- width: 9em;
- background-color: transparent;
- }
- /* OVERRIDDEN BY COMPLIANT BROWSERS */
- #simpleSearch button#searchButton {
- margin: 0;
- padding: 0;
- width: 1.75em;
- height: 1.5em;
- border: none;
- cursor: pointer;
- background-color: transparent;
- background-image: url(images/search-rtl.png);
- background-position: center center;
- background-repeat: no-repeat;
- }
- /* IGNORED BY IE6 */
- #simpleSearch > button#searchButton {
- height: 100%;
- }
- .suggestions-special .special-label {
- font-size: 0.8em;
- color: gray;
- }
- .suggestions-special .special-query {
- color: black;
- font-style: italic;
- }
- .suggestions-special .special-hover {
- background-color: silver;
- }
-/* Panel */
-#mw-panel {
- position: absolute;
- top: 160px;
- padding-top: 1em;
- width: 10em;
- right: 0;
-}
- #mw-panel div.portal {
- padding-bottom: 1.5em;
- }
- #mw-panel div.portal h5 {
- font-weight: normal;
- color: #444444;
- padding: 0.25em;
- padding-top: 0;
- padding-right: 1.75em;
- cursor: default;
- border: none;
- font-size: 0.75em;
- }
- #mw-panel div.portal div.body {
- margin: 0;
- padding-top: 0.5em;
- margin-right: 1.25em;
- background-image: url(images/portal-break.png);
- background-repeat: no-repeat;
- background-position: top right;
- }
- #mw-panel div.portal div.body ul {
- list-style: none;
- list-style-image: none;
- list-style-type: none;
- padding: 0;
- margin: 0;
- }
- #mw-panel div.portal div.body ul li {
- line-height: 1.125em;
- padding: 0;
- padding-bottom: 0.5em;
- margin: 0;
- overflow: hidden;
- font-size: 0.75em;
- }
- #mw-panel div.portal div.body ul li a {
- color: #0645ad;
- }
- #mw-panel div.portal div.body ul li a:visited {
- color: #0b0080;
- }
-/* Footer */
-#footer {
- margin-right: 10em;
- margin-top: 0;
- padding: 0.75em;
- background-image: url(images/border.png);
- background-position: top right;
- background-repeat: repeat-x;
-}
-#footer ul {
- list-style: none;
- list-style-image: none;
- list-style-type: none;
- margin: 0;
- padding: 0;
-}
-#footer ul li {
- margin: 0;
- padding: 0;
- padding-top: 0.5em;
- padding-bottom: 0.5em;
- color: #333333;
- font-size: 0.7em;
-}
-#footer #footer-icons {
- float: left;
-}
-/* @noflip */
-body.ltr #footer #footer-places {
- float: left;
-}
-#footer #footer-info li {
- line-height: 1.4em;
-}
-#footer #footer-icons li {
- float: right;
- margin-right: 0.5em;
- line-height: 2em;
-}
-#footer #footer-places li {
- float: right;
- margin-left: 1em;
- line-height: 2em;
-}
-/* Logo */
-#p-logo {
- position: absolute;
- top: -160px;
- right: 0;
- width: 10em;
- height: 160px;
-}
-#p-logo a {
- display: block;
- width: 10em;
- height: 160px;
- background-repeat: no-repeat;
- background-position: center center;
- text-decoration: none;
-}
-
-/*
- *
- * The following code is highly modified from monobook. It would be nice if the
- * preftoc id was more human readable like preferences-toc for instance,
- * howerver this would require backporting the other skins.
- */
-
-/* Preferences */
-#preftoc {
- /* Tabs */
- width: 100%;
- float: right;
- clear: both;
- margin: 0 !important;
- padding: 0 !important;
- background-image: url(images/preferences-break.png);
- background-position: bottom right;
- background-repeat: no-repeat;
-}
- #preftoc li {
- /* Tab */
- float: right;
- margin: 0;
- padding: 0;
- padding-left: 1px;
- height: 2.25em;
- white-space: nowrap;
- list-style-type: none;
- list-style-image: none;
- background-image: url(images/preferences-break.png);
- background-position: bottom left;
- background-repeat: no-repeat;
- }
- /* IGNORED BY IE6 */
- #preftoc li:first-child {
- margin-right: 1px;
- }
- #preftoc a,
- #preftoc a:active {
- display: inline-block;
- position: relative;
- color: #0645ad;
- padding: 0.5em;
- text-decoration: none;
- background-image: none;
- font-size: 0.9em;
- }
- #preftoc a:hover {
- text-decoration: underline;
- }
- #preftoc li.selected a {
- background-image: url(images/preferences-fade.png);
- background-position: bottom;
- background-repeat: repeat-x;
- color: #333333;
- text-decoration: none;
- }
-#preferences {
- float: right;
- width: 100%;
- margin: 0;
- margin-top: -2px;
- clear: both;
- border: solid 1px #cccccc;
- background-color: #f9f9f9;
- background-image: url(images/preferences-base.png);
-}
-#preferences fieldset.prefsection {
- border: none;
- padding: 0;
- margin: 1em;
-}
-#preferences fieldset.prefsection fieldset {
- border: none;
- border-top: solid 1px #cccccc;
-}
-#preferences legend {
- color: #666666;
-}
-#preferences fieldset.prefsection legend.mainLegend {
- display: none;
-}
-#preferences td {
- padding-right: 0.5em;
- padding-left: 0.5em;
-}
-#preferences td.htmlform-tip {
- font-size: x-small;
- padding: .2em 2em;
- color: #666666;
-}
-#preferences div.mw-prefs-buttons {
- padding: 1em;
-}
-#preferences div.mw-prefs-buttons input {
- margin-left: 0.25em;
-}
-
-/*
- * Styles for the user login and create account forms
- */
-#userlogin, #userloginForm {
- border: solid 1px #cccccc;
- padding: 1.2em;
- margin: .5em;
- float: right;
-}
-
-#userlogin {
- min-width: 20em;
- max-width: 90%;
- width: 40em;
-}
-
-/*
- *
- * The following code is slightly modified from monobook
- *
- */
-#content {
- line-height: 1.5em;
-}
-#bodyContent {
- font-size: 0.8em;
-}
-/* Links */
-a {
- text-decoration: none;
- color: #0645ad;
- background: none;
-}
-a:visited {
- color: #0b0080;
-}
-a:active {
- color: #faa700;
-}
-a:hover {
- text-decoration: underline;
-}
-a.stub {
- color: #772233;
-}
-a.new, #p-personal a.new {
- color: #ba0000;
-}
-a.new:visited, #p-personal a.new:visited {
- color: #a55858;
-}
-
-/* Inline Elements */
-img {
- border: none;
- vertical-align: middle;
-}
-hr {
- height: 1px;
- color: #aaa;
- background-color: #aaa;
- border: 0;
- margin: .2em 0 .2em 0;
-}
-
-/* Structural Elements */
-h1,
-h2,
-h3,
-h4,
-h5,
-h6 {
- color: black;
- background: none;
- font-weight: normal;
- margin: 0;
- padding-top: .5em;
- padding-bottom: .17em;
- border-bottom: 1px solid #aaa;
- width: auto;
-}
-h1 { font-size: 188%; }
-h1 .editsection { font-size: 53%; }
-h2 { font-size: 150%; }
-h2 .editsection { font-size: 67%; }
-h3,
-h4,
-h5,
-h6 {
- border-bottom: none;
- font-weight: bold;
-}
-h3 { font-size: 132%; }
-h3 .editsection { font-size: 76%; font-weight: normal; }
-h4 { font-size: 116%; }
-h4 .editsection { font-size: 86%; font-weight: normal; }
-h5 { font-size: 100%; }
-h5 .editsection { font-weight: normal; }
-h6 { font-size: 80%; }
-h6 .editsection { font-size: 125%; font-weight: normal; }
-p {
- margin: .4em 0 .5em 0;
- line-height: 1.5em;
-}
- p img {
- margin: 0;
- }
-abbr,
-acronym,
-.explain {
- border-bottom: 1px dotted black;
- color: black;
- background: none;
- cursor: help;
-}
-q {
- font-family: Times, "Times New Roman", serif;
- font-style: italic;
-}
-/* Disabled for now
-blockquote {
- font-family: Times, "Times New Roman", serif;
- font-style: italic;
-}*/
-code {
- background-color: #f9f9f9;
-}
-pre {
- padding: 1em;
- border: 1px dashed #2f6fab;
- color: black;
- background-color: #f9f9f9;
- line-height: 1.1em;
-}
-ul {
- line-height: 1.5em;
- list-style-type: square;
- margin: .3em 1.5em 0 0;
- padding: 0;
- list-style-image: url(images/bullet-icon.png);
-}
-ol {
- line-height: 1.5em;
- margin: .3em 3.2em 0 0;
- padding: 0;
- list-style-image: none;
-}
-li {
- margin-bottom: .1em;
-}
-dt {
- font-weight: bold;
- margin-bottom: .1em;
-}
-dl {
- margin-top: .2em;
- margin-bottom: .5em;
-}
-dd {
- line-height: 1.5em;
- margin-right: 2em;
- margin-bottom: .1em;
-}
-/* Tables */
-table {
- font-size: 100%;
- color: black;
- /* we don't want the bottom borders of <h2>s to be visible through
- * floated tables */
- background-color: white;
-}
-fieldset table {
- /* but keep table layouts in forms clean... */
- background: none;
-}
-/* Forms */
-fieldset {
- border: 1px solid #2f6fab;
- margin: 1em 0 1em 0;
- padding: 0 1em 1em;
- line-height: 1.5em;
-}
- fieldset.nested {
- margin: 0 0 0.5em 0;
- padding: 0 0.5em 0.5em;
- }
-legend {
- padding: .5em;
- font-size: 95%;
-}
-form {
- border: none;
- margin: 0;
-}
-textarea {
- width: 100%;
- padding: .1em;
-}
-select {
- vertical-align: top;
-}
-/* Table of Contents */
-#toc,
-.toc,
-.mw-warning {
- border: 1px solid #aaa;
- background-color: #f9f9f9;
- padding: 5px;
- font-size: 95%;
-}
-#toc h2,
-.toc h2 {
- display: inline;
- border: none;
- padding: 0;
- font-size: 100%;
- font-weight: bold;
-}
-#toc #toctitle,
-.toc #toctitle,
-#toc .toctitle,
-.toc .toctitle {
- text-align: center;
-}
-#toc ul,
-.toc ul {
- list-style-type: none;
- list-style-image: none;
- margin-right: 0;
- padding-right: 0;
- text-align: right;
-}
-#toc ul ul,
-.toc ul ul {
- margin: 0 2em 0 0;
-}
-#toc .toctoggle,
-.toc .toctoggle {
- font-size: 94%;
-}
-/* Images */
-div.floatright, table.floatright {
- clear: left;
- float: left;
- position: relative;
- margin: 0 .5em .5em 0;
- border: 0;
-}
-div.floatright p { font-style: italic; }
-div.floatleft, table.floatleft {
- float: right;
- clear: right;
- position: relative;
- margin: 0 0 .5em .5em;
- border: 0;
-}
-div.floatleft p { font-style: italic; }
-/* Thumbnails */
-div.thumb {
- margin-bottom: .5em;
- border-style: solid;
- border-color: white;
- width: auto;
- background-color: transparent;
-}
-div.thumbinner {
- border: 1px solid #ccc;
- padding: 3px !important;
- background-color: #f9f9f9;
- font-size: 94%;
- text-align: center;
- overflow: hidden;
-}
-html .thumbimage {
- border: 1px solid #ccc;
-}
-html .thumbcaption {
- border: none;
- text-align: right;
- line-height: 1.4em;
- padding: 3px !important;
- font-size: 94%;
-}
-div.magnify {
- float: left;
- border: none !important;
- background: none !important;
-}
-div.magnify a, div.magnify img {
- display: block;
- border: none !important;
- background: none !important;
-}
-div.tright {
- clear: left;
- float: left;
- border-width: .5em 1.4em .8em 0;
-}
-div.tleft {
- float: right;
- clear: right;
- margin-left: .5em;
- border-width: .5em 0 .8em 1.4em;
-}
-img.thumbborder {
- border: 1px solid #dddddd;
-}
-.hiddenStructure {
- display: none;
-}
-/* Warning */
-.mw-warning {
- margin-right: 50px;
- margin-left: 50px;
- text-align: center;
-}
-/* User Message */
-.usermessage {
- background-color: #ffce7b;
- border: 1px solid #ffa500;
- color: black;
- font-weight: bold;
- margin: 2em 0 1em;
- padding: .5em 1em;
- vertical-align: middle;
-}
-/* Site Notice */
-#siteNotice {
- text-align: center;
- font-size: 0.8em;
- margin: 0;
-}
- #siteNotice div,
- #siteNotice p {
- margin: 0;
- padding: 0;
- margin-bottom: 0.9em;
- }
-/* Categories */
-.catlinks {
- border: 1px solid #aaa;
- background-color: #f9f9f9;
- padding: 5px;
- margin-top: 1em;
- clear: both;
-}
-/* Sub-navigation */
-#siteSub {
- display: none;
-}
-#jump-to-nav {
- display: none;
-}
-#contentSub, #contentSub2 {
- font-size: 84%;
- line-height: 1.2em;
- margin: 0 1em 1.4em 0;
- color: #7d7d7d;
- width: auto;
-}
-span.subpages {
- display: block;
-}
-/* Emulate Center */
-.center {
- width: 100%;
- text-align: center;
-}
-*.center * {
- margin-right: auto;
- margin-left: auto;
-}
-/* Small for tables and similar */
-.small, .small * {
- font-size: 94%;
-}
-table.small {
- font-size: 100%;
-}
-/* Edge Cases for Content */
-h1, h2 {
- margin-bottom: .6em;
-}
-h3, h4, h5 {
- margin-bottom: .3em;
-}
-#firstHeading {
- padding-top: 0;
- margin-top: 0;
- padding-top: 0;
- margin-bottom: 0.1em;
- line-height: 1.2em;
- font-size: 1.6em;
- padding-bottom: 0;
-}
-#content a.external,
-#content a[href ^="gopher://"] {
- background: url(images/external-link-rtl-icon.png) center left no-repeat;
- padding: 0 0 0 13px;
-}
-#content a[href ^="https://"],
-.link-https {
- background: url(images/lock-icon.png) center left no-repeat;
- padding: 0 0 0 18px;
-}
-#content a[href ^="mailto:"],
-.link-mailto {
- background: url(images/mail-icon.png) center left no-repeat;
- padding: 0 0 0 18px;
-}
-#content a[href ^="news://"] {
- background: url(images/news-icon.png) center left no-repeat;
- padding: 0 0 0 18px;
-}
-#content a[href ^="ftp://"],
-.link-ftp {
- background: url(images/file-icon.png) center left no-repeat;
- padding: 0 0 0 18px;
-}
-#content a[href ^="irc://"],
-#content a.extiw[href ^="irc://"],
-.link-irc {
- background: url(images/talk-icon.png) center left no-repeat;
- padding: 0 0 0 18px;
-}
-#content a.external[href $=".ogg"], #content a.external[href $=".OGG"],
-#content a.external[href $=".mid"], #content a.external[href $=".MID"],
-#content a.external[href $=".midi"], #content a.external[href $=".MIDI"],
-#content a.external[href $=".mp3"], #content a.external[href $=".MP3"],
-#content a.external[href $=".wav"], #content a.external[href $=".WAV"],
-#content a.external[href $=".wma"], #content a.external[href $=".WMA"],
-.link-audio {
- background: url("images/audio-icon.png") center left no-repeat;
- padding: 0 0 0 18px;
-}
-#content a.external[href $=".ogm"], #content a.external[href $=".OGM"],
-#content a.external[href $=".avi"], #content a.external[href $=".AVI"],
-#content a.external[href $=".mpeg"], #content a.external[href $=".MPEG"],
-#content a.external[href $=".mpg"], #content a.external[href $=".MPG"],
-.link-video {
- background: url("images/video-icon.png") center left no-repeat;
- padding: 0 0 0 18px;
-}
-#content a.external[href $=".pdf"], #content a.external[href $=".PDF"],
-#content a.external[href *=".pdf#"], #content a.external[href *=".PDF#"],
-#content a.external[href *=".pdf?"], #content a.external[href *=".PDF?"],
-.link-document {
- background: url("images/document-icon.png") center left no-repeat;
- padding: 0 0 0 18px;
-}
-/* Interwiki Styling (Disabled) */
-#content a.extiw,
-#content a.extiw:active {
- color: #36b;
- background: none;
- padding: 0;
-}
-#content a.external {
- color: #36b;
-}
-#content .printfooter {
- display: none;
-}
-/* Icon for Usernames */
-#pt-userpage,
-#pt-anonuserpage,
-#pt-login {
- background: url(images/user-icon.png) right top no-repeat;
- padding-right: 15px !important;
- text-transform: none;
-}
-
-.toccolours {
- border: 1px solid #aaa;
- background-color: #f9f9f9;
- padding: 5px;
- font-size: 95%;
-}
-#bodyContent {
- position: relative;
- width: 100%;
-}
-#mw-js-message {
- font-size: 0.8em;
-}
-div#bodyContent {
- line-height: 1.5em;
-}
-
-/* Watch/Unwatch Icon Styling */
-#ca-unwatch.icon,
-#ca-watch.icon {
- margin-left:1px;
-}
-#ca-unwatch.icon a,
-#ca-watch.icon a {
- margin: 0;
- padding: 0;
- outline: none;
- display: block;
- width: 26px;
- height: 2.5em;
-}
-#ca-unwatch.icon a {
- background-image: url(images/watch-icons.png);
- background-position: -43px 60%;
-}
-#ca-watch.icon a {
- background-image: url(images/watch-icons.png);
- background-position: 5px 60%;
-}
-#ca-unwatch.icon a:hover {
- background-image: url(images/watch-icons.png);
- background-position: -67px 60%;
-}
-#ca-watch.icon a:hover {
- background-image: url(images/watch-icons.png);
- background-position: -19px 60%;
-}
-#ca-unwatch.icon a.loading,
-#ca-watch.icon a.loading {
- background-image: url(images/watch-icon-loading.gif);
- background-position: center 60%;
-}
-#ca-unwatch.icon a span,
-#ca-watch.icon a span {
- display: none;
-}
-div.vectorTabs ul {
- background-image:url(images/tab-break.png);
- background-position:left bottom;
- background-repeat:no-repeat;
-}
diff --git a/skins/vector/wiki-indexed.png b/skins/vector/wiki-indexed.png
deleted file mode 100644
index 189a2ae..0000000
--- a/skins/vector/wiki-indexed.png
+++ /dev/null
Binary files differ
diff --git a/skins/vector/wiki.png b/skins/vector/wiki.png
deleted file mode 100644
index 2463b52..0000000
--- a/skins/vector/wiki.png
+++ /dev/null
Binary files differ