From f6d65e533c62f6deb21342d4901ece24497b433e Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 4 Jun 2015 07:31:04 +0200 Subject: Update to MediaWiki 1.25.1 --- skins/ArchLinux/ArchLinux.php | 63 ++----- skins/ArchLinux/ArchLinuxTemplate.php | 13 +- skins/ArchLinux/COPYING | 183 ++++++++++----------- skins/ArchLinux/arch.css | 4 +- skins/ArchLinux/main.css | 16 ++ skins/ArchLinux/skin.json | 37 +++++ skins/CologneBlue/COPYING | 183 ++++++++++----------- skins/CologneBlue/CologneBlue.php | 60 ++----- skins/CologneBlue/SkinCologneBlue.php | 3 +- skins/CologneBlue/i18n/af.json | 1 + skins/CologneBlue/i18n/ar.json | 6 +- skins/CologneBlue/i18n/av.json | 8 + skins/CologneBlue/i18n/bcc.json | 1 + skins/CologneBlue/i18n/be-tarask.json | 8 +- skins/CologneBlue/i18n/be.json | 1 + skins/CologneBlue/i18n/bg.json | 1 + skins/CologneBlue/i18n/ca.json | 1 + skins/CologneBlue/i18n/crh-cyrl.json | 1 + skins/CologneBlue/i18n/crh-latn.json | 1 + skins/CologneBlue/i18n/cy.json | 1 + skins/CologneBlue/i18n/da.json | 1 + skins/CologneBlue/i18n/de.json | 5 +- skins/CologneBlue/i18n/dsb.json | 1 + skins/CologneBlue/i18n/eu.json | 1 + skins/CologneBlue/i18n/fi.json | 6 +- skins/CologneBlue/i18n/fo.json | 1 + skins/CologneBlue/i18n/gl.json | 6 +- skins/CologneBlue/i18n/hi.json | 8 + skins/CologneBlue/i18n/hr.json | 1 + skins/CologneBlue/i18n/hy.json | 1 + skins/CologneBlue/i18n/is.json | 1 + skins/CologneBlue/i18n/kk-arab.json | 1 + skins/CologneBlue/i18n/kk-latn.json | 1 + skins/CologneBlue/i18n/ksh.json | 7 +- skins/CologneBlue/i18n/la.json | 1 + skins/CologneBlue/i18n/li.json | 1 + skins/CologneBlue/i18n/lt.json | 1 + skins/CologneBlue/i18n/lzh.json | 1 + skins/CologneBlue/i18n/mr.json | 1 + skins/CologneBlue/i18n/mwl.json | 1 + skins/CologneBlue/i18n/nap.json | 8 + skins/CologneBlue/i18n/nb.json | 4 +- skins/CologneBlue/i18n/nds-nl.json | 1 + skins/CologneBlue/i18n/nds.json | 1 + skins/CologneBlue/i18n/nl.json | 3 +- skins/CologneBlue/i18n/os.json | 1 + skins/CologneBlue/i18n/ps.json | 1 + skins/CologneBlue/i18n/qqq.json | 2 +- skins/CologneBlue/i18n/roa-tara.json | 3 +- skins/CologneBlue/i18n/ru.json | 5 +- skins/CologneBlue/i18n/sa.json | 1 + skins/CologneBlue/i18n/sco.json | 8 + skins/CologneBlue/i18n/sq.json | 1 + skins/CologneBlue/i18n/sr-ec.json | 3 +- skins/CologneBlue/i18n/sr-el.json | 8 +- skins/CologneBlue/i18n/ta.json | 1 + skins/CologneBlue/i18n/tet.json | 1 + skins/CologneBlue/i18n/tyv.json | 1 + skins/CologneBlue/i18n/ur.json | 8 + skins/CologneBlue/i18n/vro.json | 1 + skins/CologneBlue/i18n/yue.json | 1 + skins/CologneBlue/i18n/zh-hans.json | 5 +- skins/CologneBlue/resources/screen.css | 11 ++ skins/CologneBlue/resources/sectionAnchor.css | 4 + skins/CologneBlue/skin.json | 45 +++++ skins/Modern/COPYING | 183 ++++++++++----------- skins/Modern/Modern.php | 60 ++----- skins/Modern/SkinModern.php | 7 +- skins/Modern/i18n/ar.json | 6 +- skins/Modern/i18n/av.json | 8 + skins/Modern/i18n/bcc.json | 1 + skins/Modern/i18n/bcl.json | 1 + skins/Modern/i18n/be-tarask.json | 8 +- skins/Modern/i18n/be.json | 1 + skins/Modern/i18n/bg.json | 1 + skins/Modern/i18n/da.json | 1 + skins/Modern/i18n/de.json | 5 +- skins/Modern/i18n/el.json | 6 +- skins/Modern/i18n/en.json | 2 +- skins/Modern/i18n/fi.json | 6 +- skins/Modern/i18n/fur.json | 1 + skins/Modern/i18n/gl.json | 6 +- skins/Modern/i18n/he.json | 8 +- skins/Modern/i18n/hi.json | 8 + skins/Modern/i18n/ilo.json | 8 + skins/Modern/i18n/is.json | 1 + skins/Modern/i18n/kk-arab.json | 1 + skins/Modern/i18n/kk-cyrl.json | 1 + skins/Modern/i18n/kk-latn.json | 1 + skins/Modern/i18n/ko.json | 3 +- skins/Modern/i18n/ksh.json | 7 +- skins/Modern/i18n/lzh.json | 1 + skins/Modern/i18n/mr.json | 1 + skins/Modern/i18n/mwl.json | 1 + skins/Modern/i18n/myv.json | 1 + skins/Modern/i18n/nap.json | 8 + skins/Modern/i18n/nb.json | 4 +- skins/Modern/i18n/nl.json | 3 +- skins/Modern/i18n/ps.json | 1 + skins/Modern/i18n/qqq.json | 3 +- skins/Modern/i18n/roa-tara.json | 3 +- skins/Modern/i18n/sah.json | 1 + skins/Modern/i18n/sco.json | 8 + skins/Modern/i18n/sr-el.json | 1 + skins/Modern/i18n/uk.json | 6 +- skins/Modern/i18n/yue.json | 1 + skins/Modern/i18n/zh-hans.json | 2 +- skins/Modern/i18n/zh-hant.json | 5 +- skins/Modern/resources/main.css | 14 +- skins/Modern/skin.json | 40 +++++ skins/MonoBook/COPYING | 183 ++++++++++----------- skins/MonoBook/MonoBook.php | 62 ++----- skins/MonoBook/MonoBookTemplate.php | 10 +- skins/MonoBook/i18n/ar.json | 4 +- skins/MonoBook/i18n/av.json | 8 + skins/MonoBook/i18n/be-tarask.json | 9 +- skins/MonoBook/i18n/de.json | 9 +- skins/MonoBook/i18n/el.json | 4 +- skins/MonoBook/i18n/fi.json | 4 +- skins/MonoBook/i18n/hu.json | 4 +- skins/MonoBook/i18n/ksh.json | 7 +- skins/MonoBook/i18n/nap.json | 8 + skins/MonoBook/i18n/roa-tara.json | 1 + skins/MonoBook/i18n/sco.json | 8 + skins/MonoBook/main.css | 16 ++ skins/MonoBook/skin.json | 37 +++++ skins/README | 5 +- skins/Vector/COPYING | 183 ++++++++++----------- skins/Vector/SkinVector.php | 16 -- skins/Vector/Vector.php | 120 ++------------ skins/Vector/VectorTemplate.php | 20 ++- skins/Vector/collapsibleTabs.js | 2 +- skins/Vector/components/animations.less | 28 ---- skins/Vector/components/common.less | 34 +++- skins/Vector/components/navigation.less | 19 ++- skins/Vector/components/tabs.less | 1 - skins/Vector/i18n/ace.json | 3 +- skins/Vector/i18n/aeb.json | 5 +- skins/Vector/i18n/ang.json | 3 +- skins/Vector/i18n/ar.json | 4 +- skins/Vector/i18n/arq.json | 3 +- skins/Vector/i18n/av.json | 17 +- skins/Vector/i18n/awa.json | 19 +++ skins/Vector/i18n/azb.json | 6 +- skins/Vector/i18n/be-tarask.json | 1 + skins/Vector/i18n/bgn.json | 14 ++ skins/Vector/i18n/bho.json | 6 +- skins/Vector/i18n/bn.json | 2 +- skins/Vector/i18n/ca.json | 4 +- skins/Vector/i18n/cv.json | 8 +- skins/Vector/i18n/de-ch.json | 8 + skins/Vector/i18n/de.json | 2 +- skins/Vector/i18n/dv.json | 7 +- skins/Vector/i18n/el.json | 4 +- skins/Vector/i18n/eo.json | 2 +- skins/Vector/i18n/eu.json | 4 +- skins/Vector/i18n/fi.json | 4 +- skins/Vector/i18n/frc.json | 11 +- skins/Vector/i18n/fy.json | 9 +- skins/Vector/i18n/gom-deva.json | 3 +- skins/Vector/i18n/hr.json | 6 +- skins/Vector/i18n/hu.json | 1 + skins/Vector/i18n/ilo.json | 2 +- skins/Vector/i18n/is.json | 3 +- skins/Vector/i18n/it.json | 5 +- skins/Vector/i18n/kn.json | 6 +- skins/Vector/i18n/ksh.json | 20 ++- skins/Vector/i18n/li.json | 6 +- skins/Vector/i18n/ln.json | 3 +- skins/Vector/i18n/lrc.json | 7 +- skins/Vector/i18n/lt.json | 9 +- skins/Vector/i18n/mai.json | 6 +- skins/Vector/i18n/mo.json | 8 + skins/Vector/i18n/nap.json | 4 +- skins/Vector/i18n/ne.json | 6 +- skins/Vector/i18n/oc.json | 3 +- skins/Vector/i18n/os.json | 3 +- skins/Vector/i18n/pa.json | 3 +- skins/Vector/i18n/pfl.json | 7 +- skins/Vector/i18n/pms.json | 3 +- skins/Vector/i18n/ps.json | 5 +- skins/Vector/i18n/pt-br.json | 3 +- skins/Vector/i18n/qqq.json | 5 +- skins/Vector/i18n/ro.json | 1 + skins/Vector/i18n/roa-tara.json | 4 +- skins/Vector/i18n/ru.json | 2 +- skins/Vector/i18n/rue.json | 6 +- skins/Vector/i18n/sah.json | 3 +- skins/Vector/i18n/scn.json | 12 +- skins/Vector/i18n/sco.json | 4 +- skins/Vector/i18n/sgs.json | 3 +- skins/Vector/i18n/shn.json | 8 +- skins/Vector/i18n/szl.json | 6 +- skins/Vector/i18n/tcy.json | 3 +- skins/Vector/i18n/tt-cyrl.json | 6 +- skins/Vector/i18n/ur.json | 7 +- skins/Vector/i18n/uz.json | 5 +- skins/Vector/i18n/vec.json | 12 +- skins/Vector/i18n/vo.json | 3 +- skins/Vector/i18n/yi.json | 5 +- skins/Vector/i18n/yue.json | 4 +- skins/Vector/i18n/zh-hant.json | 2 +- skins/Vector/images/bullet-icon.svg | 4 + skins/Vector/images/user-icon.svg | 22 +-- skins/Vector/screen.less | 1 - skins/Vector/skin.json | 85 ++++++++++ .../Vector/skinStyles/jquery.ui/jquery.ui.core.css | 2 +- .../Vector/skinStyles/mediawiki.sectionAnchor.less | 45 +++++ skins/Vector/vector.js | 11 +- 209 files changed, 1506 insertions(+), 1047 deletions(-) create mode 100644 skins/ArchLinux/skin.json create mode 100644 skins/CologneBlue/i18n/av.json create mode 100644 skins/CologneBlue/i18n/hi.json create mode 100644 skins/CologneBlue/i18n/nap.json create mode 100644 skins/CologneBlue/i18n/sco.json create mode 100644 skins/CologneBlue/i18n/ur.json create mode 100644 skins/CologneBlue/resources/sectionAnchor.css create mode 100644 skins/CologneBlue/skin.json create mode 100644 skins/Modern/i18n/av.json create mode 100644 skins/Modern/i18n/hi.json create mode 100644 skins/Modern/i18n/ilo.json create mode 100644 skins/Modern/i18n/nap.json create mode 100644 skins/Modern/i18n/sco.json create mode 100644 skins/Modern/skin.json create mode 100644 skins/MonoBook/i18n/av.json create mode 100644 skins/MonoBook/i18n/nap.json create mode 100644 skins/MonoBook/i18n/sco.json create mode 100644 skins/MonoBook/skin.json delete mode 100644 skins/Vector/components/animations.less create mode 100644 skins/Vector/i18n/awa.json create mode 100644 skins/Vector/i18n/bgn.json create mode 100644 skins/Vector/i18n/de-ch.json create mode 100644 skins/Vector/i18n/mo.json create mode 100644 skins/Vector/images/bullet-icon.svg create mode 100644 skins/Vector/skin.json create mode 100644 skins/Vector/skinStyles/mediawiki.sectionAnchor.less (limited to 'skins') diff --git a/skins/ArchLinux/ArchLinux.php b/skins/ArchLinux/ArchLinux.php index 168139d2..fce0e822 100644 --- a/skins/ArchLinux/ArchLinux.php +++ b/skins/ArchLinux/ArchLinux.php @@ -1,53 +1,14 @@ __FILE__, - 'name' => 'ArchLinux', - 'description' => 'MediaWiki skin based on MonoBook', - 'url' => 'https://www.archlinux.org/', - 'author' => array( 'Pierre Schmitz' ), - 'license-name' => 'GPLv2+', -); - -// Register files -$wgAutoloadClasses['SkinArchLinux'] = __DIR__ . '/SkinArchLinux.php'; -$wgAutoloadClasses['ArchLinuxTemplate'] = __DIR__ . '/ArchLinuxTemplate.php'; - -// Register skin -$wgValidSkinNames['archlinux'] = 'ArchLinux'; - -// Register modules -$wgResourceModules['skins.archlinux.styles'] = array( - 'styles' => array( - 'main.css' => array( 'media' => 'screen' ), - 'archnavbar.css' => array( 'media' => 'screen' ), - 'arch.css' => array( 'media' => 'screen' ), - 'print.css' => array( 'media' => 'print' ) - ), - 'remoteSkinPath' => 'ArchLinux', - 'localBasePath' => __DIR__, -); +if ( function_exists( 'wfLoadSkin' ) ) { + wfLoadSkin( 'ArchLinux' ); + // Keep i18n globals so mergeMessageFileList.php doesn't break + $wgMessagesDirs['MonoBook'] = __DIR__ . '/i18n'; + /* wfWarn( + 'Deprecated PHP entry point used for MonoBook skin. Please use wfLoadSkin instead, ' . + 'see https://www.mediawiki.org/wiki/Extension_registration for more details.' + ); */ + return true; +} else { + die( 'This version of the ArchLinux skin requires MediaWiki 1.25+' ); +} diff --git a/skins/ArchLinux/ArchLinuxTemplate.php b/skins/ArchLinux/ArchLinuxTemplate.php index 8960f8b6..22ae7a61 100644 --- a/skins/ArchLinux/ArchLinuxTemplate.php +++ b/skins/ArchLinux/ArchLinuxTemplate.php @@ -81,11 +81,12 @@ class ArchLinuxTemplate extends BaseTemplate { } ?> + getIndicators(); ?>

html( 'title' ) ?>

+ ?>">html( 'title' ) ?>
msg( 'tagline' ) ?>
@@ -152,8 +153,10 @@ class ArchLinuxTemplate extends BaseTemplate { $this->data['nav_urls']['mainpage']['href'], - 'style' => "background-image: url({$this->data['logopath']});" ) - + Linker::tooltipAndAccesskeyAttribs( 'p-logo' ) ); ?> + 'class' => 'mw-wiki-logo', + ) + + Linker::tooltipAndAccesskeyAttribs( 'p-logo' ) + ); ?>
printTrail(); echo Html::closeElement( 'body' ); echo Html::closeElement( 'html' ); + echo "\n"; wfRestoreWarnings(); } // end of execute() method @@ -233,6 +237,9 @@ class ArchLinuxTemplate extends BaseTemplate { continue; } + // Numeric strings gets an integer when set as key, cast back - T73639 + $boxName = (string)$boxName; + if ( $boxName == 'SEARCH' ) { $this->searchBox(); } elseif ( $boxName == 'TOOLBOX' ) { diff --git a/skins/ArchLinux/COPYING b/skins/ArchLinux/COPYING index 019694a9..d159169d 100644 --- a/skins/ArchLinux/COPYING +++ b/skins/ArchLinux/COPYING @@ -1,65 +1,65 @@ -== GNU GENERAL PUBLIC LICENSE == + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 -Version 2, June 1991 + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. -Copyright (C) 1989, 1991 Free Software Foundation, Inc. -51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA -Everyone is permitted to copy and distribute verbatim copies -of this license document, but changing it is not allowed. + Preamble -=== Preamble === - -The licenses for most software are designed to take away your + The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to +the GNU Lesser General Public License instead.) You can apply it to your programs, too. -When we speak of free software, we are referring to freedom, not + When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. -To protect your rights, we need to make restrictions that forbid + To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. -For example, if you distribute copies of such a program, whether + For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. -We protect your rights with two steps: (1) copyright the software, and + We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. -Also, for each author's protection and ours, we want to make certain + Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. -Finally, any free program is threatened constantly by software + Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. -The precise terms and conditions for copying, distribution and + The precise terms and conditions for copying, distribution and modification follow. -== TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION == + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION -'''0.''' This License applies to any program or other work which contains + 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" @@ -76,7 +76,7 @@ is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. -'''1.''' You may copy and distribute verbatim copies of the Program's + 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the @@ -87,29 +87,29 @@ along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. -'''2.''' You may modify your copy or copies of the Program or any portion + 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: - '''a)''' You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - '''b)''' You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - '''c)''' If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, @@ -131,26 +131,26 @@ with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. -'''3.''' You may copy and distribute the Program (or a work based on it, + 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: - '''a)''' Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, - '''b)''' Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, - '''c)''' Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source @@ -169,7 +169,7 @@ access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. -'''4.''' You may not copy, modify, sublicense, or distribute the Program + 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. @@ -177,7 +177,7 @@ However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. -'''5.''' You are not required to accept this License, since you have not + 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by @@ -186,7 +186,7 @@ Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. -'''6.''' Each time you redistribute the Program (or any work based on the + 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further @@ -194,7 +194,7 @@ restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. -'''7.''' If, as a consequence of a court judgment or allegation of patent + 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not @@ -226,7 +226,7 @@ impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. -'''8.''' If the distribution and/or use of the Program is restricted in + 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding @@ -234,7 +234,7 @@ those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. -'''9.''' The Free Software Foundation may publish revised and/or new versions + 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. @@ -247,7 +247,7 @@ Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. -'''10.''' If you wish to incorporate parts of the Program into other free + 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes @@ -255,9 +255,9 @@ make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. -=== NO WARRANTY === + NO WARRANTY -'''11.''' BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED @@ -267,7 +267,7 @@ TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. -'''12.''' IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING @@ -277,47 +277,45 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - '''END OF TERMS AND CONDITIONS''' + END OF TERMS AND CONDITIONS -== How to Apply These Terms to Your New Programs == + How to Apply These Terms to Your New Programs -If you develop a new program, and you want it to be of the greatest + If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. -To do so, attach the following notices to the program. It is safest + To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) + + Copyright (C) - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + This program 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 General Public License for more details. + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may @@ -328,15 +326,14 @@ You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. - Ty Coon, President of Vice + , 1 April 1989 + Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General +library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. diff --git a/skins/ArchLinux/arch.css b/skins/ArchLinux/arch.css index 9432d813..c8abb749 100644 --- a/skins/ArchLinux/arch.css +++ b/skins/ArchLinux/arch.css @@ -111,12 +111,12 @@ a.new, /* bump down the personal toolbar (top menu) */ #p-personal { - top: 70px; + top: 5px; } /* bump down the action tabs (page, discuss, edit, etc.) */ #p-cactions { - top: 92px; + top: 27px; } /* bump down the main content to make room for navbar */ diff --git a/skins/ArchLinux/main.css b/skins/ArchLinux/main.css index e0e0dc77..809fe184 100644 --- a/skins/ArchLinux/main.css +++ b/skins/ArchLinux/main.css @@ -63,6 +63,8 @@ div#globalWrapper { width: 100%; margin: 0; padding: 0; + position: relative; + z-index: 0; } /* general styles */ @@ -91,6 +93,20 @@ pre, .mw-code { #firstHeading { padding-top: 0; + overflow: visible; +} + +.mw-indicators { + float: right; + line-height: 1.5em; + font-size: 95%; +} + +.mw-indicator { + display: -moz-inline-block; + display: inline-block; + zoom: 1; + *display: inline; } /* diff --git a/skins/ArchLinux/skin.json b/skins/ArchLinux/skin.json new file mode 100644 index 00000000..e0522f59 --- /dev/null +++ b/skins/ArchLinux/skin.json @@ -0,0 +1,37 @@ +{ + "name": "ArchLinux", + "author": [ "Pierre Schmitz" ], + "url": "https://www.archlinux.org", + "description": "MediaWiki skin based on MonoBook", + "license-name": "GPL-2.0+", + "type": "skin", + "ValidSkinNames": { + "archlinux": "ArchLinux" + }, + "ResourceModules": { + "skins.archlinux.styles": { + "styles": { + "main.css": { + "media": "screen" + }, + "archnavbar.css": { + "media": "screen" + }, + "arch.css": { + "media": "screen" + }, + "print.css": { + "media": "print" + } + } + } + }, + "ResourceFileModulePaths": { + "localBasePath": "", + "remoteSkinPath": "ArchLinux" + }, + "AutoloadClasses": { + "SkinArchLinux": "SkinArchLinux.php", + "ArchLinuxTemplate": "ArchLinuxTemplate.php" + } +} diff --git a/skins/CologneBlue/COPYING b/skins/CologneBlue/COPYING index 019694a9..d159169d 100644 --- a/skins/CologneBlue/COPYING +++ b/skins/CologneBlue/COPYING @@ -1,65 +1,65 @@ -== GNU GENERAL PUBLIC LICENSE == + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 -Version 2, June 1991 + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. -Copyright (C) 1989, 1991 Free Software Foundation, Inc. -51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA -Everyone is permitted to copy and distribute verbatim copies -of this license document, but changing it is not allowed. + Preamble -=== Preamble === - -The licenses for most software are designed to take away your + The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to +the GNU Lesser General Public License instead.) You can apply it to your programs, too. -When we speak of free software, we are referring to freedom, not + When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. -To protect your rights, we need to make restrictions that forbid + To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. -For example, if you distribute copies of such a program, whether + For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. -We protect your rights with two steps: (1) copyright the software, and + We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. -Also, for each author's protection and ours, we want to make certain + Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. -Finally, any free program is threatened constantly by software + Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. -The precise terms and conditions for copying, distribution and + The precise terms and conditions for copying, distribution and modification follow. -== TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION == + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION -'''0.''' This License applies to any program or other work which contains + 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" @@ -76,7 +76,7 @@ is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. -'''1.''' You may copy and distribute verbatim copies of the Program's + 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the @@ -87,29 +87,29 @@ along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. -'''2.''' You may modify your copy or copies of the Program or any portion + 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: - '''a)''' You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - '''b)''' You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - '''c)''' If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, @@ -131,26 +131,26 @@ with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. -'''3.''' You may copy and distribute the Program (or a work based on it, + 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: - '''a)''' Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, - '''b)''' Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, - '''c)''' Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source @@ -169,7 +169,7 @@ access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. -'''4.''' You may not copy, modify, sublicense, or distribute the Program + 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. @@ -177,7 +177,7 @@ However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. -'''5.''' You are not required to accept this License, since you have not + 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by @@ -186,7 +186,7 @@ Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. -'''6.''' Each time you redistribute the Program (or any work based on the + 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further @@ -194,7 +194,7 @@ restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. -'''7.''' If, as a consequence of a court judgment or allegation of patent + 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not @@ -226,7 +226,7 @@ impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. -'''8.''' If the distribution and/or use of the Program is restricted in + 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding @@ -234,7 +234,7 @@ those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. -'''9.''' The Free Software Foundation may publish revised and/or new versions + 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. @@ -247,7 +247,7 @@ Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. -'''10.''' If you wish to incorporate parts of the Program into other free + 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes @@ -255,9 +255,9 @@ make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. -=== NO WARRANTY === + NO WARRANTY -'''11.''' BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED @@ -267,7 +267,7 @@ TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. -'''12.''' IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING @@ -277,47 +277,45 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - '''END OF TERMS AND CONDITIONS''' + END OF TERMS AND CONDITIONS -== How to Apply These Terms to Your New Programs == + How to Apply These Terms to Your New Programs -If you develop a new program, and you want it to be of the greatest + If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. -To do so, attach the following notices to the program. It is safest + To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) + + Copyright (C) - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + This program 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 General Public License for more details. + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may @@ -328,15 +326,14 @@ You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. - Ty Coon, President of Vice + , 1 April 1989 + Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General +library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. diff --git a/skins/CologneBlue/CologneBlue.php b/skins/CologneBlue/CologneBlue.php index a8fee10e..96001516 100644 --- a/skins/CologneBlue/CologneBlue.php +++ b/skins/CologneBlue/CologneBlue.php @@ -1,50 +1,14 @@ __FILE__, - 'name' => 'Cologne Blue', - 'namemsg' => 'skinname-cologneblue', - 'descriptionmsg' => 'cologneblue-desc', - 'url' => 'https://www.mediawiki.org/wiki/Skin:Cologne_Blue', - 'author' => array( 'Lee Daniel Crocker', '...' ), - 'license-name' => 'GPLv2+', -); - -// Register files -$wgAutoloadClasses['SkinCologneBlue'] = __DIR__ . '/SkinCologneBlue.php'; -$wgAutoloadClasses['CologneBlueTemplate'] = __DIR__ . '/SkinCologneBlue.php'; -$wgMessagesDirs['CologneBlue'] = __DIR__ . '/i18n'; - -// Register skin -$wgValidSkinNames['cologneblue'] = 'CologneBlue'; - -// Register modules -$wgResourceModules['skins.cologneblue'] = array( - 'styles' => array( - 'resources/screen.css' => array( 'media' => 'screen' ), - 'resources/print.css' => array( 'media' => 'print' ), - ), - 'remoteBasePath' => $GLOBALS['wgStylePath'] . '/CologneBlue', - 'localBasePath' => __DIR__, -); +if ( function_exists( 'wfLoadSkin' ) ) { + wfLoadSkin( 'CologneBlue' ); + // Keep i18n globals so mergeMessageFileList.php doesn't break + $wgMessagesDirs['CologneBlue'] = __DIR__ . '/i18n'; + /* wfWarn( + 'Deprecated PHP entry point used for CologneBlue skin. Please use wfLoadSkin instead, ' . + 'see https://www.mediawiki.org/wiki/Extension_registration for more details.' + ); */ + return true; +} else { + die( 'This version of the CologneBlue skin requires MediaWiki 1.25+' ); +} diff --git a/skins/CologneBlue/SkinCologneBlue.php b/skins/CologneBlue/SkinCologneBlue.php index 41bc0bae..7b7aabd5 100644 --- a/skins/CologneBlue/SkinCologneBlue.php +++ b/skins/CologneBlue/SkinCologneBlue.php @@ -348,10 +348,11 @@ class CologneBlueTemplate extends BaseTemplate { + getIndicators(); ?>

data['title'] ?>

+ ?>">data['title'] ?> translator->translate( 'tagline' ) ) { ?> diff --git a/skins/CologneBlue/i18n/af.json b/skins/CologneBlue/i18n/af.json index e4bd3045..9bf97ed0 100644 --- a/skins/CologneBlue/i18n/af.json +++ b/skins/CologneBlue/i18n/af.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-cologneblue": "Keulen blou" } diff --git a/skins/CologneBlue/i18n/ar.json b/skins/CologneBlue/i18n/ar.json index b03e7811..2c9b7f88 100644 --- a/skins/CologneBlue/i18n/ar.json +++ b/skins/CologneBlue/i18n/ar.json @@ -1,10 +1,12 @@ { "@metadata": { "authors": [ - "Meno25" + "Meno25", + "Khaled" ] }, "cologneblue.css": "/* الأنماط المتراصة CSS المعروضة هنا ستؤثر على مستخدمي واجهة كولون بلو */", "cologneblue.js": "/* أي جافاسكريبت هنا سيتم تحميلها للمستخدمين الذين يستعملون واجهة كولون بلو */", - "skinname-cologneblue": "كولون بلو" + "skinname-cologneblue": "كولون بلو", + "cologneblue-desc": "تصميم خفيف بالحد الأدنى من التنسيقات." } diff --git a/skins/CologneBlue/i18n/av.json b/skins/CologneBlue/i18n/av.json new file mode 100644 index 00000000..2cc4277d --- /dev/null +++ b/skins/CologneBlue/i18n/av.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Gazimagomedov" + ] + }, + "cologneblue-desc": "Бищун дагьаб форматированиегун бигьаяб куцалъул тема" +} diff --git a/skins/CologneBlue/i18n/bcc.json b/skins/CologneBlue/i18n/bcc.json index 51780c74..f94cc62f 100644 --- a/skins/CologneBlue/i18n/bcc.json +++ b/skins/CologneBlue/i18n/bcc.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-cologneblue": "نیلی کولاجن" } diff --git a/skins/CologneBlue/i18n/be-tarask.json b/skins/CologneBlue/i18n/be-tarask.json index fa74c299..e7967a38 100644 --- a/skins/CologneBlue/i18n/be-tarask.json +++ b/skins/CologneBlue/i18n/be-tarask.json @@ -1,3 +1,9 @@ { - "skinname-cologneblue": "Кёльнскі смутак" + "@metadata": { + "authors": [ + "Red Winged Duck" + ] + }, + "skinname-cologneblue": "Кёльнскі смутак", + "cologneblue-desc": "Лёгкая тэма афармленьня зь мінімальным фарматаваньнем" } diff --git a/skins/CologneBlue/i18n/be.json b/skins/CologneBlue/i18n/be.json index 472776eb..a4829c2f 100644 --- a/skins/CologneBlue/i18n/be.json +++ b/skins/CologneBlue/i18n/be.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-cologneblue": "Сіні Кёльн" } diff --git a/skins/CologneBlue/i18n/bg.json b/skins/CologneBlue/i18n/bg.json index 73269582..973e81bb 100644 --- a/skins/CologneBlue/i18n/bg.json +++ b/skins/CologneBlue/i18n/bg.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-cologneblue": "Кьолнско синьо" } diff --git a/skins/CologneBlue/i18n/ca.json b/skins/CologneBlue/i18n/ca.json index ded284b1..897ff14d 100644 --- a/skins/CologneBlue/i18n/ca.json +++ b/skins/CologneBlue/i18n/ca.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-cologneblue": "Colònia blava" } diff --git a/skins/CologneBlue/i18n/crh-cyrl.json b/skins/CologneBlue/i18n/crh-cyrl.json index 26d10080..020b8a5a 100644 --- a/skins/CologneBlue/i18n/crh-cyrl.json +++ b/skins/CologneBlue/i18n/crh-cyrl.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-cologneblue": "Кёльн асретлиги" } diff --git a/skins/CologneBlue/i18n/crh-latn.json b/skins/CologneBlue/i18n/crh-latn.json index afda05cc..4f01276c 100644 --- a/skins/CologneBlue/i18n/crh-latn.json +++ b/skins/CologneBlue/i18n/crh-latn.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-cologneblue": "Köln asretligi" } diff --git a/skins/CologneBlue/i18n/cy.json b/skins/CologneBlue/i18n/cy.json index 7508e147..7d341874 100644 --- a/skins/CologneBlue/i18n/cy.json +++ b/skins/CologneBlue/i18n/cy.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-cologneblue": "Glas Cwlen" } diff --git a/skins/CologneBlue/i18n/da.json b/skins/CologneBlue/i18n/da.json index fdd70276..57d11427 100644 --- a/skins/CologneBlue/i18n/da.json +++ b/skins/CologneBlue/i18n/da.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-cologneblue": "Kølnerblå" } diff --git a/skins/CologneBlue/i18n/de.json b/skins/CologneBlue/i18n/de.json index 1dc8193d..d28846fa 100644 --- a/skins/CologneBlue/i18n/de.json +++ b/skins/CologneBlue/i18n/de.json @@ -1,11 +1,12 @@ { "@metadata": { "authors": [ - "Metalhead64" + "Metalhead64", + "Kghbln" ] }, "cologneblue.css": "/* Das folgende CSS wird für Benutzer der Kölnisch-Blau-Benutzeroberfläche geladen. */", "cologneblue.js": "/* Das folgende JavaScript wird für Benutzer der Kölnisch-Blau-Benutzeroberfläche geladen. */", "skinname-cologneblue": "Kölnisch Blau", - "cologneblue-desc": "Eine leichtgewichtige Benutzeroberfläche mit minimaler Formatierung" + "cologneblue-desc": "Stellt eine minimalistische Benutzeroberfläche bereit" } diff --git a/skins/CologneBlue/i18n/dsb.json b/skins/CologneBlue/i18n/dsb.json index 5118afbf..a7d4be9d 100644 --- a/skins/CologneBlue/i18n/dsb.json +++ b/skins/CologneBlue/i18n/dsb.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-cologneblue": "Kölnski Módry" } diff --git a/skins/CologneBlue/i18n/eu.json b/skins/CologneBlue/i18n/eu.json index 1c79342b..f204e102 100644 --- a/skins/CologneBlue/i18n/eu.json +++ b/skins/CologneBlue/i18n/eu.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-cologneblue": "Cologne Blue" } diff --git a/skins/CologneBlue/i18n/fi.json b/skins/CologneBlue/i18n/fi.json index bf6de1c2..1d7a143b 100644 --- a/skins/CologneBlue/i18n/fi.json +++ b/skins/CologneBlue/i18n/fi.json @@ -2,10 +2,12 @@ "@metadata": { "authors": [ "Crt", - "Nedergard" + "Nedergard", + "McSalama" ] }, "cologneblue.css": "/* Tämä sivu sisältää Kölnin sininen -ulkoasua muuttavia tyylejä. */", "cologneblue.js": "/* Tämän sivun JavaScript-koodi liitetään Kölnin sininen -tyyliin */", - "skinname-cologneblue": "Kölnin sininen" + "skinname-cologneblue": "Kölnin sininen", + "cologneblue-desc": "Kevyt teema minimaalisella muotoilulla" } diff --git a/skins/CologneBlue/i18n/fo.json b/skins/CologneBlue/i18n/fo.json index e07b65aa..e927df18 100644 --- a/skins/CologneBlue/i18n/fo.json +++ b/skins/CologneBlue/i18n/fo.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-cologneblue": "Cologne-bláur" } diff --git a/skins/CologneBlue/i18n/gl.json b/skins/CologneBlue/i18n/gl.json index db86c26a..15cfa25b 100644 --- a/skins/CologneBlue/i18n/gl.json +++ b/skins/CologneBlue/i18n/gl.json @@ -1,10 +1,12 @@ { "@metadata": { "authors": [ - "Toliño" + "Toliño", + "Elisardojm" ] }, "cologneblue.css": "/* O CSS que se coloque aquí afectará a quen use a aparencia Azul colonial */", "cologneblue.js": "/* Calquera JavaScript que haxa aquí será cargado para os usuarios que usen a aparencia Azul colonial */", - "skinname-cologneblue": "Azul colonial" + "skinname-cologneblue": "Azul colonial", + "cologneblue-desc": "Un tema lixeiro con formato minimalista" } diff --git a/skins/CologneBlue/i18n/hi.json b/skins/CologneBlue/i18n/hi.json new file mode 100644 index 00000000..ae5564c6 --- /dev/null +++ b/skins/CologneBlue/i18n/hi.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Siddhartha Ghai" + ] + }, + "cologneblue-desc": "न्यूनतम प्रारूपण वाली एक हलकी-फुल्की त्वचा" +} diff --git a/skins/CologneBlue/i18n/hr.json b/skins/CologneBlue/i18n/hr.json index 0ad4e574..bc0e97cf 100644 --- a/skins/CologneBlue/i18n/hr.json +++ b/skins/CologneBlue/i18n/hr.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-cologneblue": "Kölnska plava" } diff --git a/skins/CologneBlue/i18n/hy.json b/skins/CologneBlue/i18n/hy.json index 136f637d..c1e3f551 100644 --- a/skins/CologneBlue/i18n/hy.json +++ b/skins/CologneBlue/i18n/hy.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-cologneblue": "Քյոլնի թախիծ" } diff --git a/skins/CologneBlue/i18n/is.json b/skins/CologneBlue/i18n/is.json index 2b109669..67b6b8f7 100644 --- a/skins/CologneBlue/i18n/is.json +++ b/skins/CologneBlue/i18n/is.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-cologneblue": "Kölnarblátt" } diff --git a/skins/CologneBlue/i18n/kk-arab.json b/skins/CologneBlue/i18n/kk-arab.json index 49ea4fb1..962dc77e 100644 --- a/skins/CologneBlue/i18n/kk-arab.json +++ b/skins/CologneBlue/i18n/kk-arab.json @@ -1,4 +1,5 @@ { + "@metadata": [], "cologneblue.css": "/* مىندا ورنالاستىرىلعان CSS تەك «كولن زەڭگىرلىگى» (cologneblue) مانەرىن پايدالانۋشىلارىنا ىقپال ەتەدى skin */", "cologneblue.js": "/* مىنداعى JavaScript تەك «كولن زەڭگىرلىگى» (cologneblue) مانەرىن پايدالانۋشىلار ٴۇشىن جەگىلەدى */", "skinname-cologneblue": "كولن زەڭگىرلىگى (cologneblue)" diff --git a/skins/CologneBlue/i18n/kk-latn.json b/skins/CologneBlue/i18n/kk-latn.json index 0f29340a..d11974c3 100644 --- a/skins/CologneBlue/i18n/kk-latn.json +++ b/skins/CologneBlue/i18n/kk-latn.json @@ -1,4 +1,5 @@ { + "@metadata": [], "cologneblue.css": "/* Mında ornalastırılğan CSS tek «Köln zeñgirligi» (cologneblue) mänerin paýdalanwşılarına ıqpal etedi skin */", "cologneblue.js": "/* Mındağı JavaScript tek «Köln zeñgirligi» (cologneblue) mänerin paýdalanwşılar üşin jegiledi */", "skinname-cologneblue": "Köln zeñgirligi (cologneblue)" diff --git a/skins/CologneBlue/i18n/ksh.json b/skins/CologneBlue/i18n/ksh.json index 0a0649ae..e5338591 100644 --- a/skins/CologneBlue/i18n/ksh.json +++ b/skins/CologneBlue/i18n/ksh.json @@ -4,7 +4,8 @@ "Purodha" ] }, - "cologneblue.css": "/* CSS heh aan dä Stell wirrek nur op de Ovverflääsch „Kölsch Blau“ */", - "cologneblue.js": "/* De JavaSkrippte fun hee krijje alle Sigge met de Ovverflääsch \"Kölsch Blou\" jescheck */", - "skinname-cologneblue": "Kölsch Blau" + "cologneblue.css": "/* Dat CSS heh aan dä Schtäll wirrek blohß op de Bedehnbovverfläsch „Kölsch Blou“ */", + "cologneblue.js": "/* De JavaSkreppte fun heh krijje alle Sigge met dä Bedehnbovverfläsch „Kölsch Blou“ jescheck */", + "skinname-cologneblue": "Kölsch Blou", + "cologneblue-desc": "En einfache Bedehnbovverfläsch met winnesch Schnikschnak." } diff --git a/skins/CologneBlue/i18n/la.json b/skins/CologneBlue/i18n/la.json index bbc2ffe1..fe5d28b1 100644 --- a/skins/CologneBlue/i18n/la.json +++ b/skins/CologneBlue/i18n/la.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-cologneblue": "Caerulus Colonia" } diff --git a/skins/CologneBlue/i18n/li.json b/skins/CologneBlue/i18n/li.json index b355ea26..6aeab06a 100644 --- a/skins/CologneBlue/i18n/li.json +++ b/skins/CologneBlue/i18n/li.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-cologneblue": "Keuls blauw" } diff --git a/skins/CologneBlue/i18n/lt.json b/skins/CologneBlue/i18n/lt.json index 56049718..61c7067f 100644 --- a/skins/CologneBlue/i18n/lt.json +++ b/skins/CologneBlue/i18n/lt.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-cologneblue": "Kelno mėlyna" } diff --git a/skins/CologneBlue/i18n/lzh.json b/skins/CologneBlue/i18n/lzh.json index 33372f1b..c88f4bc0 100644 --- a/skins/CologneBlue/i18n/lzh.json +++ b/skins/CologneBlue/i18n/lzh.json @@ -1,4 +1,5 @@ { + "@metadata": [], "cologneblue.css": "/* 此之 CSS 用於馨藍面之簿也 */", "cologneblue.js": "/* 此之JavaScript將載於用馨藍面之簿 */", "skinname-cologneblue": "馨藍" diff --git a/skins/CologneBlue/i18n/mr.json b/skins/CologneBlue/i18n/mr.json index 85be6199..8a1a9cdf 100644 --- a/skins/CologneBlue/i18n/mr.json +++ b/skins/CologneBlue/i18n/mr.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-cologneblue": "सुरेखनीळी" } diff --git a/skins/CologneBlue/i18n/mwl.json b/skins/CologneBlue/i18n/mwl.json index c00c3693..2dd05b46 100644 --- a/skins/CologneBlue/i18n/mwl.json +++ b/skins/CologneBlue/i18n/mwl.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-cologneblue": "Azul" } diff --git a/skins/CologneBlue/i18n/nap.json b/skins/CologneBlue/i18n/nap.json new file mode 100644 index 00000000..2910821f --- /dev/null +++ b/skins/CologneBlue/i18n/nap.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "C.R." + ] + }, + "cologneblue-desc": "Skin leggera co' furmattazione minima" +} diff --git a/skins/CologneBlue/i18n/nb.json b/skins/CologneBlue/i18n/nb.json index 124cb786..5eb0b9b3 100644 --- a/skins/CologneBlue/i18n/nb.json +++ b/skins/CologneBlue/i18n/nb.json @@ -1,5 +1,7 @@ { + "@metadata": [], "cologneblue.css": "/* CSS i denne fila vil gjelde alle som bruker drakta Kølnerblå */", "cologneblue.js": "/* Javascript i denne fila vil gjelde for brukere av drakta Kølnerblå */", - "skinname-cologneblue": "Kølnerblå" + "skinname-cologneblue": "Kølnerblå", + "cologneblue-desc": "En lettvekterdrakt med minimal formatering" } diff --git a/skins/CologneBlue/i18n/nds-nl.json b/skins/CologneBlue/i18n/nds-nl.json index b355ea26..6aeab06a 100644 --- a/skins/CologneBlue/i18n/nds-nl.json +++ b/skins/CologneBlue/i18n/nds-nl.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-cologneblue": "Keuls blauw" } diff --git a/skins/CologneBlue/i18n/nds.json b/skins/CologneBlue/i18n/nds.json index 05bba6ab..3587d5a9 100644 --- a/skins/CologneBlue/i18n/nds.json +++ b/skins/CologneBlue/i18n/nds.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-cologneblue": "Kölsch Blau" } diff --git a/skins/CologneBlue/i18n/nl.json b/skins/CologneBlue/i18n/nl.json index c6ead3fe..26d7a693 100644 --- a/skins/CologneBlue/i18n/nl.json +++ b/skins/CologneBlue/i18n/nl.json @@ -6,5 +6,6 @@ }, "cologneblue.css": "/* CSS die hier wordt geplaatst heeft alleen invloed op de skin Keuls blauw */", "cologneblue.js": "/* JavaScript die hier wordt geplaatst heeft alleen invloed op gebruikers die de skin Keuls blauw gebruiken */", - "skinname-cologneblue": "Keuls blauw" + "skinname-cologneblue": "Keuls blauw", + "cologneblue-desc": "Een lichtgewicht uiterlijk met minimale opmaak" } diff --git a/skins/CologneBlue/i18n/os.json b/skins/CologneBlue/i18n/os.json index c0295711..d7483528 100644 --- a/skins/CologneBlue/i18n/os.json +++ b/skins/CologneBlue/i18n/os.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-cologneblue": "Кёльны æрхæндæг" } diff --git a/skins/CologneBlue/i18n/ps.json b/skins/CologneBlue/i18n/ps.json index 48a15cf5..190488e6 100644 --- a/skins/CologneBlue/i18n/ps.json +++ b/skins/CologneBlue/i18n/ps.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-cologneblue": "شين کلون" } diff --git a/skins/CologneBlue/i18n/qqq.json b/skins/CologneBlue/i18n/qqq.json index b13f7ca4..e6277cec 100644 --- a/skins/CologneBlue/i18n/qqq.json +++ b/skins/CologneBlue/i18n/qqq.json @@ -9,5 +9,5 @@ "cologneblue.css": "{{optional}}", "cologneblue.js": "{{optional}}", "skinname-cologneblue": "{{optional}}", - "cologneblue-desc": "Used in [[Special:Version]], description of Cologne Blue skin." + "cologneblue-desc": "{{desc|what=skin|name=Cologne Blue|url=https://www.mediawiki.org/wiki/Skin:Cologne_Blue}}" } diff --git a/skins/CologneBlue/i18n/roa-tara.json b/skins/CologneBlue/i18n/roa-tara.json index 0a881c34..75d08a7c 100644 --- a/skins/CologneBlue/i18n/roa-tara.json +++ b/skins/CologneBlue/i18n/roa-tara.json @@ -6,5 +6,6 @@ }, "cologneblue.css": "/* 'U CSS ca se iacchie aqquà 'u 'ndrucane le utinde d'a masckere Blu Cologne */", "cologneblue.js": "/* Ogne JavaScript aqquà avène carecate pe le utinde ca ausane 'a masckere Blu Cologne */", - "skinname-cologneblue": "Blu Cologne" + "skinname-cologneblue": "Blu Cologne", + "cologneblue-desc": "'Nu skin leggere cu 'nu picca-picche de formattazzione" } diff --git a/skins/CologneBlue/i18n/ru.json b/skins/CologneBlue/i18n/ru.json index a318aaf5..d411c209 100644 --- a/skins/CologneBlue/i18n/ru.json +++ b/skins/CologneBlue/i18n/ru.json @@ -3,11 +3,12 @@ "authors": [ "Kaganer", "Okras", - "Rave" + "Rave", + "NBS" ] }, "cologneblue.css": "/* Размещённый здесь CSS будет применяться к теме оформления Cologne Blue */", "cologneblue.js": "/* Размещённый здесь код JavaScript будет загружаться пользователям, использующим тему оформления Cologne Blue */", "skinname-cologneblue": "Кёльнская тоска", - "cologneblue-desc": "Легкая тема оформления с минимальным форматированием" + "cologneblue-desc": "Лёгкая тема оформления с минимальным форматированием." } diff --git a/skins/CologneBlue/i18n/sa.json b/skins/CologneBlue/i18n/sa.json index 6354a6be..15c6281b 100644 --- a/skins/CologneBlue/i18n/sa.json +++ b/skins/CologneBlue/i18n/sa.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-cologneblue": "नील" } diff --git a/skins/CologneBlue/i18n/sco.json b/skins/CologneBlue/i18n/sco.json new file mode 100644 index 00000000..64822bf6 --- /dev/null +++ b/skins/CologneBlue/i18n/sco.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "John Reid" + ] + }, + "cologneblue-desc": "Ae lichtweicht skin wi minimal formattin" +} diff --git a/skins/CologneBlue/i18n/sq.json b/skins/CologneBlue/i18n/sq.json index 3b730dfb..8e4ed953 100644 --- a/skins/CologneBlue/i18n/sq.json +++ b/skins/CologneBlue/i18n/sq.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-cologneblue": "Kolonjë Blu" } diff --git a/skins/CologneBlue/i18n/sr-ec.json b/skins/CologneBlue/i18n/sr-ec.json index f191c034..3a4a4a1e 100644 --- a/skins/CologneBlue/i18n/sr-ec.json +++ b/skins/CologneBlue/i18n/sr-ec.json @@ -7,5 +7,6 @@ }, "cologneblue.css": "/* CSS постављен овде ће утицати на све кориснике теме „Келнско плава“ */", "cologneblue.js": "/* Јаваскрипт постављен овде ће се учитати за све оне који користе тему „Келнско плава“ */", - "skinname-cologneblue": "Келнско плава" + "skinname-cologneblue": "Келнско плава", + "cologneblue-desc": "Лагана тема са минималним форматирањем" } diff --git a/skins/CologneBlue/i18n/sr-el.json b/skins/CologneBlue/i18n/sr-el.json index b2320d03..cb17eb7c 100644 --- a/skins/CologneBlue/i18n/sr-el.json +++ b/skins/CologneBlue/i18n/sr-el.json @@ -1,5 +1,11 @@ { + "@metadata": { + "authors": [ + "Milicevic01" + ] + }, "cologneblue.css": "/* CSS postavljen ovde će uticati na sve korisnike teme „Kelnsko plava“ */", "cologneblue.js": "/* Javaskript postavljen ovde će se učitati za sve one koji koriste temu „Kelnsko plava“ */", - "skinname-cologneblue": "Kelnsko plava" + "skinname-cologneblue": "Kelnsko plava", + "cologneblue-desc": "Lagana tema sa minimalnim formatiranjem" } diff --git a/skins/CologneBlue/i18n/ta.json b/skins/CologneBlue/i18n/ta.json index a7f6896e..d3b6d402 100644 --- a/skins/CologneBlue/i18n/ta.json +++ b/skins/CologneBlue/i18n/ta.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-cologneblue": "கொலோன் (Cologne) நீலம் Blue" } diff --git a/skins/CologneBlue/i18n/tet.json b/skins/CologneBlue/i18n/tet.json index ddc23fa7..3574f0c6 100644 --- a/skins/CologneBlue/i18n/tet.json +++ b/skins/CologneBlue/i18n/tet.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-cologneblue": "Kolónia azúl" } diff --git a/skins/CologneBlue/i18n/tyv.json b/skins/CologneBlue/i18n/tyv.json index 1c79342b..f204e102 100644 --- a/skins/CologneBlue/i18n/tyv.json +++ b/skins/CologneBlue/i18n/tyv.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-cologneblue": "Cologne Blue" } diff --git a/skins/CologneBlue/i18n/ur.json b/skins/CologneBlue/i18n/ur.json new file mode 100644 index 00000000..761e258a --- /dev/null +++ b/skins/CologneBlue/i18n/ur.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Obaid Raza" + ] + }, + "cologneblue-desc": "کم سے کم لکھائی کے ساتھ سادہ صورت" +} diff --git a/skins/CologneBlue/i18n/vro.json b/skins/CologneBlue/i18n/vro.json index 751ff4c4..00c1cd7e 100644 --- a/skins/CologneBlue/i18n/vro.json +++ b/skins/CologneBlue/i18n/vro.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-cologneblue": "Array" } diff --git a/skins/CologneBlue/i18n/yue.json b/skins/CologneBlue/i18n/yue.json index e161c692..746879ce 100644 --- a/skins/CologneBlue/i18n/yue.json +++ b/skins/CologneBlue/i18n/yue.json @@ -1,4 +1,5 @@ { + "@metadata": [], "cologneblue.css": "/* 響呢度放 CSS 碼去改用戶用嘅科隆藍畫面 */", "cologneblue.js": "/* 響每一次個頁面載入時,用科隆藍畫面嘅用戶都會載入呢度任何嘅JavaScript */", "skinname-cologneblue": "科隆藍" diff --git a/skins/CologneBlue/i18n/zh-hans.json b/skins/CologneBlue/i18n/zh-hans.json index 07e16f8e..44fb2292 100644 --- a/skins/CologneBlue/i18n/zh-hans.json +++ b/skins/CologneBlue/i18n/zh-hans.json @@ -2,11 +2,12 @@ "@metadata": { "authors": [ "Liuxinyu970226", - "Xiaomingyan" + "Xiaomingyan", + "Yfdyh000" ] }, "cologneblue.css": "/* 放置于这里的CSS将影响使用科隆香水蓝皮肤的用户 */", "cologneblue.js": "/* 这里的任何JavaScript将为使用科隆香水蓝皮肤的用户加载 */", "skinname-cologneblue": "科隆香水蓝", - "cologneblue-desc": "使用最低格式的轻量级皮肤" + "cologneblue-desc": "使用最少量格式的轻量级皮肤" } diff --git a/skins/CologneBlue/resources/screen.css b/skins/CologneBlue/resources/screen.css index 58823965..7bc3c3d7 100644 --- a/skins/CologneBlue/resources/screen.css +++ b/skins/CologneBlue/resources/screen.css @@ -148,6 +148,17 @@ h1#firstHeading { margin-bottom: 0; } +.mw-indicators { + float: right; +} + +.mw-indicator { + display: -moz-inline-block; + display: inline-block; + zoom: 1; + *display: inline; +} + #article p.subtitle, #article p.subpages, #article p.tagline { color: #666666; font-size: 11pt; diff --git a/skins/CologneBlue/resources/sectionAnchor.css b/skins/CologneBlue/resources/sectionAnchor.css new file mode 100644 index 00000000..84f813c2 --- /dev/null +++ b/skins/CologneBlue/resources/sectionAnchor.css @@ -0,0 +1,4 @@ +/* Hide section anchor link, no space for it in the UI */ +.mw-headline-anchor { + display: none; +} diff --git a/skins/CologneBlue/skin.json b/skins/CologneBlue/skin.json new file mode 100644 index 00000000..1aa03902 --- /dev/null +++ b/skins/CologneBlue/skin.json @@ -0,0 +1,45 @@ +{ + "name": "Cologne Blue", + "author": [ + "Lee Daniel Crocker", + "..." + ], + "url": "https://www.mediawiki.org/wiki/Skin:Cologne_Blue", + "descriptionmsg": "cologneblue-desc", + "namemsg": "skinname-cologneblue", + "license-name": "GPL-2.0+", + "type": "skin", + "ValidSkinNames": { + "cologneblue": "CologneBlue" + }, + "MessagesDirs": { + "CologneBlue": [ + "i18n" + ] + }, + "ResourceModules": { + "skins.cologneblue": { + "styles": { + "resources/screen.css": { + "media": "screen" + }, + "resources/print.css": { + "media": "print" + } + } + } + }, + "ResourceFileModulePaths": { + "localBasePath": "", + "remoteSkinPath": "CologneBlue" + }, + "ResourceModuleSkinStyles": { + "cologneblue": { + "mediawiki.sectionAnchor": "resources/sectionAnchor.css" + } + }, + "AutoloadClasses": { + "SkinCologneBlue": "SkinCologneBlue.php", + "CologneBlueTemplate": "SkinCologneBlue.php" + } +} diff --git a/skins/Modern/COPYING b/skins/Modern/COPYING index 019694a9..d159169d 100644 --- a/skins/Modern/COPYING +++ b/skins/Modern/COPYING @@ -1,65 +1,65 @@ -== GNU GENERAL PUBLIC LICENSE == + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 -Version 2, June 1991 + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. -Copyright (C) 1989, 1991 Free Software Foundation, Inc. -51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA -Everyone is permitted to copy and distribute verbatim copies -of this license document, but changing it is not allowed. + Preamble -=== Preamble === - -The licenses for most software are designed to take away your + The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to +the GNU Lesser General Public License instead.) You can apply it to your programs, too. -When we speak of free software, we are referring to freedom, not + When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. -To protect your rights, we need to make restrictions that forbid + To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. -For example, if you distribute copies of such a program, whether + For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. -We protect your rights with two steps: (1) copyright the software, and + We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. -Also, for each author's protection and ours, we want to make certain + Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. -Finally, any free program is threatened constantly by software + Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. -The precise terms and conditions for copying, distribution and + The precise terms and conditions for copying, distribution and modification follow. -== TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION == + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION -'''0.''' This License applies to any program or other work which contains + 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" @@ -76,7 +76,7 @@ is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. -'''1.''' You may copy and distribute verbatim copies of the Program's + 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the @@ -87,29 +87,29 @@ along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. -'''2.''' You may modify your copy or copies of the Program or any portion + 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: - '''a)''' You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - '''b)''' You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - '''c)''' If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, @@ -131,26 +131,26 @@ with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. -'''3.''' You may copy and distribute the Program (or a work based on it, + 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: - '''a)''' Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, - '''b)''' Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, - '''c)''' Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source @@ -169,7 +169,7 @@ access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. -'''4.''' You may not copy, modify, sublicense, or distribute the Program + 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. @@ -177,7 +177,7 @@ However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. -'''5.''' You are not required to accept this License, since you have not + 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by @@ -186,7 +186,7 @@ Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. -'''6.''' Each time you redistribute the Program (or any work based on the + 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further @@ -194,7 +194,7 @@ restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. -'''7.''' If, as a consequence of a court judgment or allegation of patent + 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not @@ -226,7 +226,7 @@ impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. -'''8.''' If the distribution and/or use of the Program is restricted in + 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding @@ -234,7 +234,7 @@ those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. -'''9.''' The Free Software Foundation may publish revised and/or new versions + 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. @@ -247,7 +247,7 @@ Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. -'''10.''' If you wish to incorporate parts of the Program into other free + 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes @@ -255,9 +255,9 @@ make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. -=== NO WARRANTY === + NO WARRANTY -'''11.''' BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED @@ -267,7 +267,7 @@ TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. -'''12.''' IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING @@ -277,47 +277,45 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - '''END OF TERMS AND CONDITIONS''' + END OF TERMS AND CONDITIONS -== How to Apply These Terms to Your New Programs == + How to Apply These Terms to Your New Programs -If you develop a new program, and you want it to be of the greatest + If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. -To do so, attach the following notices to the program. It is safest + To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) + + Copyright (C) - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + This program 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 General Public License for more details. + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may @@ -328,15 +326,14 @@ You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. - Ty Coon, President of Vice + , 1 April 1989 + Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General +library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. diff --git a/skins/Modern/Modern.php b/skins/Modern/Modern.php index f1a3ce34..4ba6c476 100644 --- a/skins/Modern/Modern.php +++ b/skins/Modern/Modern.php @@ -1,50 +1,14 @@ __FILE__, - 'name' => 'Modern', - 'namemsg' => 'skinname-modern', - 'descriptionmsg' => 'modern-desc', - 'url' => 'https://www.mediawiki.org/wiki/Skin:Modern', - 'author' => array( 'River Tarnell', '...' ), - 'license-name' => 'GPLv2+', -); - -// Register files -$wgAutoloadClasses['SkinModern'] = __DIR__ . '/SkinModern.php'; -$wgAutoloadClasses['ModernTemplate'] = __DIR__ . '/SkinModern.php'; -$wgMessagesDirs['Modern'] = __DIR__ . '/i18n'; - -// Register skin -$wgValidSkinNames['modern'] = 'Modern'; - -// Register modules -$wgResourceModules['skins.modern'] = array( - 'styles' => array( - 'resources/main.css' => array( 'media' => 'screen' ), - 'resources/print.css' => array( 'media' => 'print' ), - ), - 'remoteBasePath' => $GLOBALS['wgStylePath'] . '/Modern', - 'localBasePath' => __DIR__, -); +if ( function_exists( 'wfLoadSkin' ) ) { + wfLoadSkin( 'Modern' ); + // Keep i18n globals so mergeMessageFileList.php doesn't break + $wgMessagesDirs['Modern'] = __DIR__ . '/i18n'; + /* wfWarn( + 'Deprecated PHP entry point used for Modern skin. Please use wfLoadSkin instead, ' . + 'see https://www.mediawiki.org/wiki/Extension_registration for more details.' + ); */ + return true; +} else { + die( 'This version of the Modern skin requires MediaWiki 1.25+' ); +} diff --git a/skins/Modern/SkinModern.php b/skins/Modern/SkinModern.php index e12ad357..3c36a1a7 100644 --- a/skins/Modern/SkinModern.php +++ b/skins/Modern/SkinModern.php @@ -66,10 +66,13 @@ class ModernTemplate extends MonoBookTemplate { ?> -

+ getIndicators(); ?> +

html( 'title' ) ?>

+ ?>">html( 'title' ) ?> +
diff --git a/skins/Modern/i18n/ar.json b/skins/Modern/i18n/ar.json index fe3fa710..80971198 100644 --- a/skins/Modern/i18n/ar.json +++ b/skins/Modern/i18n/ar.json @@ -1,10 +1,12 @@ { "@metadata": { "authors": [ - "Meno25" + "Meno25", + "Khaled" ] }, "modern.css": "/* الأنماط المتراصة CSS المعروضة هنا ستؤثر على مستخدمي واجهة مودرن */", "modern.js": "/* أي جافاسكريبت هنا سيتم تحميلها للمستخدمين الذين يستعملون واجهة مودرن */", - "skinname-modern": "مودرن" + "skinname-modern": "مودرن", + "modern-desc": "مظهر ازرق/رمادي بشريط جانبي وعلوي. مشتق من مونوبوك" } diff --git a/skins/Modern/i18n/av.json b/skins/Modern/i18n/av.json new file mode 100644 index 00000000..11f3d30a --- /dev/null +++ b/skins/Modern/i18n/av.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Gazimagomedov" + ] + }, + "modern-desc": "ХъахӀилаб/цӀцӀахӀилаб тема бокӀоналъул ва тӀасияб панелгун. MonoBook'алъул гьабураб" +} diff --git a/skins/Modern/i18n/bcc.json b/skins/Modern/i18n/bcc.json index 036721e0..bbc32039 100644 --- a/skins/Modern/i18n/bcc.json +++ b/skins/Modern/i18n/bcc.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-modern": "مدرن" } diff --git a/skins/Modern/i18n/bcl.json b/skins/Modern/i18n/bcl.json index 84f5a0b2..e4f318e7 100644 --- a/skins/Modern/i18n/bcl.json +++ b/skins/Modern/i18n/bcl.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-modern": "Bago" } diff --git a/skins/Modern/i18n/be-tarask.json b/skins/Modern/i18n/be-tarask.json index bdd735cf..896f46b7 100644 --- a/skins/Modern/i18n/be-tarask.json +++ b/skins/Modern/i18n/be-tarask.json @@ -1,3 +1,9 @@ { - "skinname-modern": "Сучаснае" + "@metadata": { + "authors": [ + "Red Winged Duck" + ] + }, + "skinname-modern": "Сучаснае", + "modern-desc": "Блакітная/шэрая тэма з бакавой і верхняй панэлямі. Паходзіць ад MonoBook." } diff --git a/skins/Modern/i18n/be.json b/skins/Modern/i18n/be.json index 52a2be37..8a9670f8 100644 --- a/skins/Modern/i18n/be.json +++ b/skins/Modern/i18n/be.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-modern": "Сучаснасць" } diff --git a/skins/Modern/i18n/bg.json b/skins/Modern/i18n/bg.json index ad220251..322df9a2 100644 --- a/skins/Modern/i18n/bg.json +++ b/skins/Modern/i18n/bg.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-modern": "Модерен" } diff --git a/skins/Modern/i18n/da.json b/skins/Modern/i18n/da.json index 62c98826..51151604 100644 --- a/skins/Modern/i18n/da.json +++ b/skins/Modern/i18n/da.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-modern": "Moderne" } diff --git a/skins/Modern/i18n/de.json b/skins/Modern/i18n/de.json index a666783b..4b14cdbd 100644 --- a/skins/Modern/i18n/de.json +++ b/skins/Modern/i18n/de.json @@ -1,11 +1,12 @@ { "@metadata": { "authors": [ - "Metalhead64" + "Metalhead64", + "Kghbln" ] }, "modern.css": "/* Das folgende CSS wird für Benutzer der Modern-Benutzeroberfläche geladen. */", "modern.js": "/* Das folgende JavaScript wird für Benutzer der Modern-Benutzeroberfläche geladen. */", "skinname-modern": "Modern", - "modern-desc": "Ein Thema in blau und grau mit Seiten- und Kopfleiste. Abgeleitet von MonoBook." + "modern-desc": "Stellt eine klassische Benutzeroberfläche bereit" } diff --git a/skins/Modern/i18n/el.json b/skins/Modern/i18n/el.json index b824d77a..01dce87a 100644 --- a/skins/Modern/i18n/el.json +++ b/skins/Modern/i18n/el.json @@ -1,10 +1,12 @@ { "@metadata": { "authors": [ - "Dead3y3" + "Dead3y3", + "Geraki" ] }, "modern.css": "/* Το τοποθετημένο εδώ CSS θα επηρεάσει χρήστες του Modern skin */", "modern.js": "/* Οποιοσδήποτε κώδικας JavaScript εδώ θα φορτωθεί για χρήστες που χρησιμοποιούν το Modern skin */", - "skinname-modern": "Μοντέρνο" + "skinname-modern": "Μοντέρνο", + "modern-desc": "Ένα μπλε/γκρι θέμα με πλαϊνή μπάρα και μπάρα στην κορυφή. Προέρχεται από το MonoBook." } diff --git a/skins/Modern/i18n/en.json b/skins/Modern/i18n/en.json index 398e5329..a22435e4 100644 --- a/skins/Modern/i18n/en.json +++ b/skins/Modern/i18n/en.json @@ -2,5 +2,5 @@ "modern.css": "/* CSS placed here will affect users of the Modern skin */", "modern.js": "/* Any JavaScript here will be loaded for users using the Modern skin */", "skinname-modern": "Modern", - "modern-desc": "A blue/grey theme with sidebar and top bar. Derived from MonoBook." + "modern-desc": "A blue/grey theme with sidebar and top bar. Derived from MonoBook" } diff --git a/skins/Modern/i18n/fi.json b/skins/Modern/i18n/fi.json index df0fec75..fcbcf0eb 100644 --- a/skins/Modern/i18n/fi.json +++ b/skins/Modern/i18n/fi.json @@ -3,10 +3,12 @@ "authors": [ "Nedergard", "Nike", - "Str4nd" + "Str4nd", + "McSalama" ] }, "modern.css": "/* Tämä sivu sisältää Moderni-ulkoasua muuttavia tyylejä. */", "modern.js": "/* Tämän sivun JavaScript-koodi liitetään Moderni-tyyliin */", - "skinname-modern": "Moderni" + "skinname-modern": "Moderni", + "modern-desc": "Siniharmaa teema sivu- ja yläpalkilla. Muunnettu MonoBookista" } diff --git a/skins/Modern/i18n/fur.json b/skins/Modern/i18n/fur.json index 62c98826..51151604 100644 --- a/skins/Modern/i18n/fur.json +++ b/skins/Modern/i18n/fur.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-modern": "Moderne" } diff --git a/skins/Modern/i18n/gl.json b/skins/Modern/i18n/gl.json index 5067710a..9d227c9f 100644 --- a/skins/Modern/i18n/gl.json +++ b/skins/Modern/i18n/gl.json @@ -1,10 +1,12 @@ { "@metadata": { "authors": [ - "Toliño" + "Toliño", + "Elisardojm" ] }, "modern.css": "/* O CSS que se coloque aquí afectará a quen use a aparencia Moderna */", "modern.js": "/* Calquera JavaScript que haxa aquí será cargado para os usuarios que usen a aparencia Moderna */", - "skinname-modern": "Moderna" + "skinname-modern": "Moderna", + "modern-desc": "Un tema azul e gris, con barras lateral e superior. Derivado de MonoBook." } diff --git a/skins/Modern/i18n/he.json b/skins/Modern/i18n/he.json index 27f64752..51662949 100644 --- a/skins/Modern/i18n/he.json +++ b/skins/Modern/i18n/he.json @@ -1,5 +1,11 @@ { + "@metadata": { + "authors": [ + "Amire80" + ] + }, "modern.css": "/* הסגנונות הנכתבים כאן ישפיעו על העיצוב Modern בלבד */", "modern.js": "/* כל סקריפט JavaScript שנכתב כאן ירוץ רק עבור המשתמשים בעיצוב Modern */", - "skinname-modern": "מודרני" + "skinname-modern": "מודרני", + "modern-desc": "עיצוב כחול־אפור עם סרגל צד וסרגל עליון. נגזר ממונובוק" } diff --git a/skins/Modern/i18n/hi.json b/skins/Modern/i18n/hi.json new file mode 100644 index 00000000..df6edb25 --- /dev/null +++ b/skins/Modern/i18n/hi.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Siddhartha Ghai" + ] + }, + "modern-desc": "ऊपर एवं किनारे की पट्टी के साथ एक नीला/ग्रे थीम। मोनोबुक पर आधारित।" +} diff --git a/skins/Modern/i18n/ilo.json b/skins/Modern/i18n/ilo.json new file mode 100644 index 00000000..3437a471 --- /dev/null +++ b/skins/Modern/i18n/ilo.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Lam-ang" + ] + }, + "modern-desc": "Ti asul/kolordapo a tema nga addaan iti igid a baras ken ngato a baras. Napataud manipud ti MonoBook" +} diff --git a/skins/Modern/i18n/is.json b/skins/Modern/i18n/is.json index 7e18fc5a..910832ae 100644 --- a/skins/Modern/i18n/is.json +++ b/skins/Modern/i18n/is.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-modern": "Nútímalegt" } diff --git a/skins/Modern/i18n/kk-arab.json b/skins/Modern/i18n/kk-arab.json index 937f5fcb..505c7636 100644 --- a/skins/Modern/i18n/kk-arab.json +++ b/skins/Modern/i18n/kk-arab.json @@ -1,4 +1,5 @@ { + "@metadata": [], "modern.css": "/* مىندا ورنالاستىرىلعان CSS تەك «زاماناۋىي» (modern) مانەرىن پايدالانۋشىلارىنا ىقپال ەتەدى */", "modern.js": "/* مىنداعى JavaScript تەك «زاماناۋىي» (modern) مانەرىن پايدالانۋشىلار ٴۇشىن جەگىلەدى */", "skinname-modern": "زاماناۋىي (modern)" diff --git a/skins/Modern/i18n/kk-cyrl.json b/skins/Modern/i18n/kk-cyrl.json index c7055c9c..9f32a343 100644 --- a/skins/Modern/i18n/kk-cyrl.json +++ b/skins/Modern/i18n/kk-cyrl.json @@ -1,4 +1,5 @@ { + "@metadata": [], "modern.css": "/* Мында орналастырылған CSS тек «Заманауи» (modern) мәнерін пайдаланушыларына ықпал етеді */", "modern.js": "/* Мындағы JavaScript тек «Заманауи» (modern) мәнерін пайдаланушылар үшін жегіледі */", "skinname-modern": "Заманауи (modern)" diff --git a/skins/Modern/i18n/kk-latn.json b/skins/Modern/i18n/kk-latn.json index 41764951..1ae1e2df 100644 --- a/skins/Modern/i18n/kk-latn.json +++ b/skins/Modern/i18n/kk-latn.json @@ -1,4 +1,5 @@ { + "@metadata": [], "modern.css": "/* Mında ornalastırılğan CSS tek «Zamanawï» (modern) mänerin paýdalanwşılarına ıqpal etedi */", "modern.js": "/* Mındağı JavaScript tek «Zamanawï» (modern) mänerin paýdalanwşılar üşin jegiledi */", "skinname-modern": "Zamanawï (modern)" diff --git a/skins/Modern/i18n/ko.json b/skins/Modern/i18n/ko.json index 3a5703ec..4a4056e6 100644 --- a/skins/Modern/i18n/ko.json +++ b/skins/Modern/i18n/ko.json @@ -6,5 +6,6 @@ }, "modern.css": "/* 이 CSS 설정은 모던 스킨을 사용하는 사용자에게 적용됩니다 */", "modern.js": "/* 이 자바스크립트 설정은 모던 스킨을 사용하는 사용자에게 적용됩니다 */", - "skinname-modern": "모던" + "skinname-modern": "모던", + "modern-desc": "사이드바와 위 막대가 있는 파랑/회색 테마입니다. 모노북에서 파생되었습니다." } diff --git a/skins/Modern/i18n/ksh.json b/skins/Modern/i18n/ksh.json index a2175809..a90e0749 100644 --- a/skins/Modern/i18n/ksh.json +++ b/skins/Modern/i18n/ksh.json @@ -4,7 +4,8 @@ "Purodha" ] }, - "modern.css": "/* CSS heh aan dä Stell wirrek nur op de Ovverflääsch „Modern“ */", - "modern.js": "/* De JavaSkrippte fun hee krijje alle Sigge met de Ovverflääsch \"Modern\" jescheck */", - "skinname-modern": "Modern" + "modern.css": "/* at CSS heh aan dä Schtäll wirrek nur op di Bedehnbovverflääsch „Modärn“ */", + "modern.js": "/* De JavaSkreppte fun heh krejje alle Sigge met de Bedehnbovverflääsch „Modärn“ jescheck */", + "skinname-modern": "Modärn", + "modern-desc": "En blou-jroue Bedehnbovverfläsch med enem Menüh aan de Sigg un einem bovve drövver. Ene Affkömmleng vum Monobohch." } diff --git a/skins/Modern/i18n/lzh.json b/skins/Modern/i18n/lzh.json index 052736eb..88f1760d 100644 --- a/skins/Modern/i18n/lzh.json +++ b/skins/Modern/i18n/lzh.json @@ -1,4 +1,5 @@ { + "@metadata": [], "modern.css": "/* 此之 CSS 用於時髦面之簿也 */", "modern.js": "/* 此之JavaScript將載於用時髦面之簿 */", "skinname-modern": "時髦" diff --git a/skins/Modern/i18n/mr.json b/skins/Modern/i18n/mr.json index 8bce4a6b..c06601b3 100644 --- a/skins/Modern/i18n/mr.json +++ b/skins/Modern/i18n/mr.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-modern": "आधुनिक" } diff --git a/skins/Modern/i18n/mwl.json b/skins/Modern/i18n/mwl.json index ec5086ef..3b25d7cc 100644 --- a/skins/Modern/i18n/mwl.json +++ b/skins/Modern/i18n/mwl.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-modern": "Moderno" } diff --git a/skins/Modern/i18n/myv.json b/skins/Modern/i18n/myv.json index f2d412f3..efe00393 100644 --- a/skins/Modern/i18n/myv.json +++ b/skins/Modern/i18n/myv.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-modern": "НееньШкань" } diff --git a/skins/Modern/i18n/nap.json b/skins/Modern/i18n/nap.json new file mode 100644 index 00000000..5eb9f31d --- /dev/null +++ b/skins/Modern/i18n/nap.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "C.R." + ] + }, + "modern-desc": "Verziona 'n blu e grigio cu barra laterale e supiriore. Derivata 'a MonoBook." +} diff --git a/skins/Modern/i18n/nb.json b/skins/Modern/i18n/nb.json index 74fe02b8..da77d690 100644 --- a/skins/Modern/i18n/nb.json +++ b/skins/Modern/i18n/nb.json @@ -1,5 +1,7 @@ { + "@metadata": [], "modern.css": "/* CSS i denne fila vil gjelde alle som bruker drakta Modern */", "modern.js": "/* Javascript i denne fila vil gjelde for brukere av drakta Modern */", - "skinname-modern": "Moderne" + "skinname-modern": "Moderne", + "modern-desc": "En blågrå drakt med sidestolpe og topplinje. Basert på MonoBook" } diff --git a/skins/Modern/i18n/nl.json b/skins/Modern/i18n/nl.json index efd95d57..27717073 100644 --- a/skins/Modern/i18n/nl.json +++ b/skins/Modern/i18n/nl.json @@ -6,5 +6,6 @@ }, "modern.css": "/* CSS die hier wordt geplaatst heeft alleen invloed op de skin Modern */", "modern.js": "/* JavaScript die hier wordt geplaatst heeft alleen invloed op gebruikers die de skin Modern gebruiken */", - "skinname-modern": "Modern" + "skinname-modern": "Modern", + "modern-desc": "Een blauw-grijs uiterlijk met een zij- en bovenmenu, afgeleid van MonoBook" } diff --git a/skins/Modern/i18n/ps.json b/skins/Modern/i18n/ps.json index c687dfda..c0838ea3 100644 --- a/skins/Modern/i18n/ps.json +++ b/skins/Modern/i18n/ps.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-modern": "نوی" } diff --git a/skins/Modern/i18n/qqq.json b/skins/Modern/i18n/qqq.json index a620a1d7..f7087455 100644 --- a/skins/Modern/i18n/qqq.json +++ b/skins/Modern/i18n/qqq.json @@ -7,5 +7,6 @@ }, "modern.css": "{{optional}}", "modern.js": "{{optional}}", - "skinname-modern": "{{optional}}\n{{Identical|Modern}}" + "skinname-modern": "{{optional}}\n{{Identical|Modern}}", + "modern-desc": "{{desc|what=skin|name=Modern|url=https://www.mediawiki.org/wiki/Skin:Modern}}" } diff --git a/skins/Modern/i18n/roa-tara.json b/skins/Modern/i18n/roa-tara.json index 5ba5bc97..df3e0d11 100644 --- a/skins/Modern/i18n/roa-tara.json +++ b/skins/Modern/i18n/roa-tara.json @@ -6,5 +6,6 @@ }, "modern.css": "/* 'U CSS ca se iacchie aqquà 'u 'ndrucane le utinde d'a masckere Moderne */", "modern.js": "/* Ogne JavaScript aqquà avène carecate pe le utinde ca ausane 'a masckere Moderne */", - "skinname-modern": "Moderne" + "skinname-modern": "Moderne", + "modern-desc": "'Nu teme blu/grigge cu le barre laterale e de sus. Derivate da MonoBook" } diff --git a/skins/Modern/i18n/sah.json b/skins/Modern/i18n/sah.json index f389250d..31842423 100644 --- a/skins/Modern/i18n/sah.json +++ b/skins/Modern/i18n/sah.json @@ -1,3 +1,4 @@ { + "@metadata": [], "skinname-modern": "Билиҥҥи" } diff --git a/skins/Modern/i18n/sco.json b/skins/Modern/i18n/sco.json new file mode 100644 index 00000000..d61b4c8c --- /dev/null +++ b/skins/Modern/i18n/sco.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "John Reid" + ] + }, + "modern-desc": "Ae blue/gray theme wi sidebaur n tap baur. Basit oan MonoBook." +} diff --git a/skins/Modern/i18n/sr-el.json b/skins/Modern/i18n/sr-el.json index 33899819..d829c287 100644 --- a/skins/Modern/i18n/sr-el.json +++ b/skins/Modern/i18n/sr-el.json @@ -1,4 +1,5 @@ { + "@metadata": [], "modern.css": "/* CSS postavljen ovde će uticati na sve korisnike teme „Savremeno“ */", "modern.js": "/* Javaskript postavljen ovde će se učitati za sve one koji koriste temu „Savremeno“ */", "skinname-modern": "Savremeno" diff --git a/skins/Modern/i18n/uk.json b/skins/Modern/i18n/uk.json index 9aa7a2a5..8ba258b8 100644 --- a/skins/Modern/i18n/uk.json +++ b/skins/Modern/i18n/uk.json @@ -1,10 +1,12 @@ { "@metadata": { "authors": [ - "Dim Grits" + "Dim Grits", + "Andriykopanytsia" ] }, "modern.css": "/* Розміщений тут CSS-код буде використаний в темі оформлення Сучасне */", "modern.js": "/* Розміщений тут код JavaScript буде завантажений для всіх користувачів, що використовують тему оформлення Сучасне */", - "skinname-modern": "Сучасне" + "skinname-modern": "Сучасне", + "modern-desc": "Синя/сіра тема з бічною та верхньою панелями. Похідна від MonoBook." } diff --git a/skins/Modern/i18n/yue.json b/skins/Modern/i18n/yue.json index 3c28d364..3cec7249 100644 --- a/skins/Modern/i18n/yue.json +++ b/skins/Modern/i18n/yue.json @@ -1,4 +1,5 @@ { + "@metadata": [], "modern.css": "/* 響呢度放 CSS 碼去改用戶用嘅摩登畫面 */", "modern.js": "/* 響每一次個頁面載入時,用摩登畫面嘅用戶都會載入呢度任何嘅JavaScript */", "skinname-modern": "摩登" diff --git a/skins/Modern/i18n/zh-hans.json b/skins/Modern/i18n/zh-hans.json index 756f801d..7ee50a3d 100644 --- a/skins/Modern/i18n/zh-hans.json +++ b/skins/Modern/i18n/zh-hans.json @@ -8,5 +8,5 @@ "modern.css": "/* 放置于这里的CSS将影响使用现代皮肤的用户 */", "modern.js": "/* 这里的任何JavaScript将为使用现代皮肤的用户加载 */", "skinname-modern": "现代", - "modern-desc": "带侧边栏和顶栏的蓝灰色主题。从MonoBook衍生而来。" + "modern-desc": "带侧边栏和顶栏的蓝灰色主题。从MonoBook衍生而来" } diff --git a/skins/Modern/i18n/zh-hant.json b/skins/Modern/i18n/zh-hant.json index 431c568d..25e3b3ba 100644 --- a/skins/Modern/i18n/zh-hant.json +++ b/skins/Modern/i18n/zh-hant.json @@ -1,11 +1,12 @@ { "@metadata": { "authors": [ - "Cwlin0416" + "Cwlin0416", + "Liuxinyu970226" ] }, "modern.css": "/* 此 CSS 會影響使用 Modern 介面外觀的使用者 */", "modern.js": "/* 此 JavaScript 會用於使用 Modern 介面外觀的使用者 */", "skinname-modern": "現代", - "modern-desc": "擁有側邊欄與上方列的藍灰色主題。 自 MonoBook 衍生而來。" + "modern-desc": "擁有側邊欄與上方列的藍灰色主題。自 MonoBook 衍生而來" } diff --git a/skins/Modern/resources/main.css b/skins/Modern/resources/main.css index 1ce8ada4..8c8ce3c8 100644 --- a/skins/Modern/resources/main.css +++ b/skins/Modern/resources/main.css @@ -27,11 +27,21 @@ body { border: none; height: 2em; width: 100%; - background-color: #003366; color: white; } +.mw-indicators { + float: right; +} + +.mw-indicator { + display: -moz-inline-block; + display: inline-block; + zoom: 1; + *display: inline; +} + #mw_header h1 { margin: 0 0 0 0.5em; padding: 0 0 0 0; @@ -47,7 +57,6 @@ body { margin: 0 0 0 0; padding: 0 0 0 0; width: 100%; - } #p-personal div.pBody { @@ -649,7 +658,6 @@ table.toc td { margin: 0 0 0 0; } -#mw_header h1, #p-personal, #p-cactions { overflow: hidden; diff --git a/skins/Modern/skin.json b/skins/Modern/skin.json new file mode 100644 index 00000000..98ba815a --- /dev/null +++ b/skins/Modern/skin.json @@ -0,0 +1,40 @@ +{ + "name": "Modern", + "author": [ + "River Tarnell", + "..." + ], + "url": "https://www.mediawiki.org/wiki/Skin:Modern", + "descriptionmsg": "modern-desc", + "namemsg": "skinname-modern", + "license-name": "GPL-2.0+", + "type": "skin", + "ValidSkinNames": { + "modern": "Modern" + }, + "MessagesDirs": { + "Modern": [ + "i18n" + ] + }, + "ResourceModules": { + "skins.modern": { + "styles": { + "resources/main.css": { + "media": "screen" + }, + "resources/print.css": { + "media": "print" + } + } + } + }, + "ResourceFileModulePaths": { + "localBasePath": "", + "remoteSkinPath": "Modern" + }, + "AutoloadClasses": { + "SkinModern": "SkinModern.php", + "ModernTemplate": "SkinModern.php" + } +} diff --git a/skins/MonoBook/COPYING b/skins/MonoBook/COPYING index 019694a9..d159169d 100644 --- a/skins/MonoBook/COPYING +++ b/skins/MonoBook/COPYING @@ -1,65 +1,65 @@ -== GNU GENERAL PUBLIC LICENSE == + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 -Version 2, June 1991 + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. -Copyright (C) 1989, 1991 Free Software Foundation, Inc. -51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA -Everyone is permitted to copy and distribute verbatim copies -of this license document, but changing it is not allowed. + Preamble -=== Preamble === - -The licenses for most software are designed to take away your + The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to +the GNU Lesser General Public License instead.) You can apply it to your programs, too. -When we speak of free software, we are referring to freedom, not + When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. -To protect your rights, we need to make restrictions that forbid + To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. -For example, if you distribute copies of such a program, whether + For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. -We protect your rights with two steps: (1) copyright the software, and + We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. -Also, for each author's protection and ours, we want to make certain + Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. -Finally, any free program is threatened constantly by software + Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. -The precise terms and conditions for copying, distribution and + The precise terms and conditions for copying, distribution and modification follow. -== TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION == + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION -'''0.''' This License applies to any program or other work which contains + 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" @@ -76,7 +76,7 @@ is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. -'''1.''' You may copy and distribute verbatim copies of the Program's + 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the @@ -87,29 +87,29 @@ along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. -'''2.''' You may modify your copy or copies of the Program or any portion + 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: - '''a)''' You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - '''b)''' You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - '''c)''' If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, @@ -131,26 +131,26 @@ with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. -'''3.''' You may copy and distribute the Program (or a work based on it, + 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: - '''a)''' Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, - '''b)''' Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, - '''c)''' Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source @@ -169,7 +169,7 @@ access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. -'''4.''' You may not copy, modify, sublicense, or distribute the Program + 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. @@ -177,7 +177,7 @@ However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. -'''5.''' You are not required to accept this License, since you have not + 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by @@ -186,7 +186,7 @@ Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. -'''6.''' Each time you redistribute the Program (or any work based on the + 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further @@ -194,7 +194,7 @@ restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. -'''7.''' If, as a consequence of a court judgment or allegation of patent + 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not @@ -226,7 +226,7 @@ impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. -'''8.''' If the distribution and/or use of the Program is restricted in + 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding @@ -234,7 +234,7 @@ those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. -'''9.''' The Free Software Foundation may publish revised and/or new versions + 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. @@ -247,7 +247,7 @@ Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. -'''10.''' If you wish to incorporate parts of the Program into other free + 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes @@ -255,9 +255,9 @@ make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. -=== NO WARRANTY === + NO WARRANTY -'''11.''' BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED @@ -267,7 +267,7 @@ TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. -'''12.''' IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING @@ -277,47 +277,45 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - '''END OF TERMS AND CONDITIONS''' + END OF TERMS AND CONDITIONS -== How to Apply These Terms to Your New Programs == + How to Apply These Terms to Your New Programs -If you develop a new program, and you want it to be of the greatest + If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. -To do so, attach the following notices to the program. It is safest + To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) + + Copyright (C) - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + This program 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 General Public License for more details. + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may @@ -328,15 +326,14 @@ You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. - Ty Coon, President of Vice + , 1 April 1989 + Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General +library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. diff --git a/skins/MonoBook/MonoBook.php b/skins/MonoBook/MonoBook.php index 97c0cd84..eee8ca13 100644 --- a/skins/MonoBook/MonoBook.php +++ b/skins/MonoBook/MonoBook.php @@ -1,52 +1,14 @@ __FILE__, - 'name' => 'MonoBook', - 'namemsg' => 'skinname-monobook', - 'descriptionmsg' => 'monobook-desc', - 'url' => 'https://www.mediawiki.org/wiki/Skin:MonoBook', - 'author' => array( 'Gabriel Wicke', '...' ), - 'license-name' => 'GPLv2+', -); - -// Register files -$wgAutoloadClasses['SkinMonoBook'] = __DIR__ . '/SkinMonoBook.php'; -$wgAutoloadClasses['MonoBookTemplate'] = __DIR__ . '/MonoBookTemplate.php'; -$wgMessagesDirs['MonoBook'] = __DIR__ . '/i18n'; - -// Register skin -$wgValidSkinNames['monobook'] = 'MonoBook'; - -// Register modules -$wgResourceModules['skins.monobook.styles'] = array( - 'styles' => array( - 'main.css' => array( 'media' => 'screen' ), - ), - 'remoteSkinPath' => 'MonoBook', - 'localBasePath' => __DIR__, -); +if ( function_exists( 'wfLoadSkin' ) ) { + wfLoadSkin( 'MonoBook' ); + // Keep i18n globals so mergeMessageFileList.php doesn't break + $wgMessagesDirs['MonoBook'] = __DIR__ . '/i18n'; + /* wfWarn( + 'Deprecated PHP entry point used for MonoBook skin. Please use wfLoadSkin instead, ' . + 'see https://www.mediawiki.org/wiki/Extension_registration for more details.' + ); */ + return true; +} else { + die( 'This version of the MonoBook skin requires MediaWiki 1.25+' ); +} diff --git a/skins/MonoBook/MonoBookTemplate.php b/skins/MonoBook/MonoBookTemplate.php index 8637b087..12f7016f 100644 --- a/skins/MonoBook/MonoBookTemplate.php +++ b/skins/MonoBook/MonoBookTemplate.php @@ -55,11 +55,12 @@ class MonoBookTemplate extends BaseTemplate { } ?> + getIndicators(); ?>

html( 'title' ) ?>

+ ?>">html( 'title' ) ?>
msg( 'tagline' ) ?>
@@ -126,8 +127,10 @@ class MonoBookTemplate extends BaseTemplate { $this->data['nav_urls']['mainpage']['href'], - 'style' => "background-image: url({$this->data['logopath']});" ) - + Linker::tooltipAndAccesskeyAttribs( 'p-logo' ) ); ?> + 'class' => 'mw-wiki-logo', + ) + + Linker::tooltipAndAccesskeyAttribs( 'p-logo' ) + ); ?>
printTrail(); echo Html::closeElement( 'body' ); echo Html::closeElement( 'html' ); + echo "\n"; wfRestoreWarnings(); } // end of execute() method diff --git a/skins/MonoBook/i18n/ar.json b/skins/MonoBook/i18n/ar.json index 05cad213..920a5ec6 100644 --- a/skins/MonoBook/i18n/ar.json +++ b/skins/MonoBook/i18n/ar.json @@ -1,10 +1,12 @@ { "@metadata": { "authors": [ - "Meno25" + "Meno25", + "Khaled" ] }, "skinname-monobook": "مونوبوك", + "monobook-desc": "تصميم ميديا ويكي الكلاسيكي منذ العام 2004، سمي على اسم الصورة البيضاء والسوداء من كتاب في خلفية الصفحة", "monobook.css": "/* الأنماط المتراصة CSS المعروضة هنا ستؤثر على مستخدمي واجهة مونوبوك */", "monobook.js": "/* أي جافاسكريبت هنا سيتم تحميلها للمستخدمين الذين يستعملون واجهة مونوبوك */" } diff --git a/skins/MonoBook/i18n/av.json b/skins/MonoBook/i18n/av.json new file mode 100644 index 00000000..c4ab7749 --- /dev/null +++ b/skins/MonoBook/i18n/av.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Gazimagomedov" + ] + }, + "monobook-desc": "Класикияб MediaWikiялъул куцалъул тема, 2004 соналъ чӀегӀер-хъахӀаб, тӀехьалъул сураталъул фоналдасан бахъараб, сураталъул цӀар швараб." +} diff --git a/skins/MonoBook/i18n/be-tarask.json b/skins/MonoBook/i18n/be-tarask.json index 2b4aa8c0..0d8662d4 100644 --- a/skins/MonoBook/i18n/be-tarask.json +++ b/skins/MonoBook/i18n/be-tarask.json @@ -1,4 +1,9 @@ { - "@metadata": [], - "skinname-monobook": "Монакніга" + "@metadata": { + "authors": [ + "Red Winged Duck" + ] + }, + "skinname-monobook": "Монакніга", + "monobook-desc": "Клясычная тэма афармленьня MediaWiki з 2004 году, названая паводле чорна-белага фотаздымка кнігі на фоне старонкі" } diff --git a/skins/MonoBook/i18n/de.json b/skins/MonoBook/i18n/de.json index 047b91df..08fdccf8 100644 --- a/skins/MonoBook/i18n/de.json +++ b/skins/MonoBook/i18n/de.json @@ -2,11 +2,12 @@ "@metadata": { "authors": [ "Geitost", - "Metalhead64" + "Metalhead64", + "Kghbln" ] }, "skinname-monobook": "MonoBook", - "monobook-desc": "Ergänzt die klassische MediaWiki-Benutzeroberfläche seit 2004, benannt nach dem Schwarzweißfoto eines Buches im Seitenhintergrund", - "monobook.css": "/* Das folgende CSS wird für Benutzer der MonoBook-Benutzeroberfläche geladen */", - "monobook.js": "/* Das folgende JavaScript wird für Benutzer der Monobook-Benutzeroberfläche geladen. */" + "monobook-desc": "Stellt eine klassische Benutzeroberfläche bereit", + "monobook.css": "/* Das folgende CSS wird für Benutzer der Benutzeroberfläche MonoBook geladen */", + "monobook.js": "/* Das folgende JavaScript wird für Benutzer der Benutzeroberfläche MonoBook geladen. */" } diff --git a/skins/MonoBook/i18n/el.json b/skins/MonoBook/i18n/el.json index 1e7f7b86..eb9a0891 100644 --- a/skins/MonoBook/i18n/el.json +++ b/skins/MonoBook/i18n/el.json @@ -1,9 +1,11 @@ { "@metadata": { "authors": [ - "Dead3y3" + "Dead3y3", + "Geraki" ] }, + "monobook-desc": "Το κλασικό θέμα του MediaWiki από το 2004, που πήρε το όνομά του από την ασπρόμαυρη φωτογραφία ενός βιβλίου στο φόντο της σελίδας", "monobook.css": "/* Το τοποθετημένο εδώ CSS θα επηρεάσει χρήστες του Monobook skin */", "monobook.js": "/* Οποιοσδήποτε κώδικας JavaScript εδώ θα φορτωθεί για χρήστες που χρησιμοποιούν το MonoBook skin */" } diff --git a/skins/MonoBook/i18n/fi.json b/skins/MonoBook/i18n/fi.json index f516bddb..804e5344 100644 --- a/skins/MonoBook/i18n/fi.json +++ b/skins/MonoBook/i18n/fi.json @@ -1,10 +1,12 @@ { "@metadata": { "authors": [ - "Crt" + "Crt", + "McSalama" ] }, "skinname-monobook": "Monobook", + "monobook-desc": "Klassinen MediaWiki teema vuodesta 2004, saanut nimensä mustavalkoisesta kirjan kuvasta sivun taustalla", "monobook.css": "/* Tämä sivu sisältää Monobook-ulkoasua muuttavia tyylejä. */", "monobook.js": "/* Tämän sivun JavaScript-koodi liitetään Monobook-tyyliin */" } diff --git a/skins/MonoBook/i18n/hu.json b/skins/MonoBook/i18n/hu.json index 07e3a104..d8041059 100644 --- a/skins/MonoBook/i18n/hu.json +++ b/skins/MonoBook/i18n/hu.json @@ -1,10 +1,12 @@ { "@metadata": { "authors": [ - "Dani" + "Dani", + "Tacsipacsi" ] }, "skinname-monobook": "MonoBook", + "monobook-desc": "A klasszikus MediaWiki-felület 2004 óta; egy könyv fekete-fehér fotója alapján kapta a nevét", "monobook.css": "/* Az ide elhelyezett CSS hatással lesz a Monobook felület használóira */", "monobook.js": "/* A Monobook felületet használó szerkesztők számára betöltendő JavaScriptek */" } diff --git a/skins/MonoBook/i18n/ksh.json b/skins/MonoBook/i18n/ksh.json index 6c8c8106..88250625 100644 --- a/skins/MonoBook/i18n/ksh.json +++ b/skins/MonoBook/i18n/ksh.json @@ -4,7 +4,8 @@ "Purodha" ] }, - "skinname-monobook": "MonoBoch", - "monobook.css": "/* CSS heh aan dä Stell wirrek nur op de Ovverflääsch „Monobooch“ */", - "monobook.js": "/* De JavaSkrippte fun hee krijje alle Sigge met de Ovverflääsch \"Monnobooch\" jescheck */" + "skinname-monobook": "Monobohch", + "monobook-desc": "De klaßesche Bedehnbovverfläsch vum MehdijaWikki zigg 2004. Se es noh däm eijnfarbesch jroue Bohch benannt, wat doh als Hengerjrondbeld bei es.", + "monobook.css": "/* Dat CSS heh aan dä Stell wirrek blohß op de Bedehnbovverflääsch „Monobohch“ */", + "monobook.js": "/* De JavaSkrippte fun heh krejje alle Sigge met dä Bedehnbovverflääsch „Monobohch“ jescheck */" } diff --git a/skins/MonoBook/i18n/nap.json b/skins/MonoBook/i18n/nap.json new file mode 100644 index 00000000..653374d4 --- /dev/null +++ b/skins/MonoBook/i18n/nap.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "C.R." + ] + }, + "monobook-desc": "'A skin classica 'e MediaWiki 'a 2004, piglia nomme ' a ll'immaggene 'n janco e niro d' 'o libbro ausata comme sfunno d' 'a paggena" +} diff --git a/skins/MonoBook/i18n/roa-tara.json b/skins/MonoBook/i18n/roa-tara.json index d7b52b07..097eb608 100644 --- a/skins/MonoBook/i18n/roa-tara.json +++ b/skins/MonoBook/i18n/roa-tara.json @@ -5,6 +5,7 @@ ] }, "skinname-monobook": "MonoBook", + "monobook-desc": "'U skin classeche de MediaUicchi da 'u 2004, nnomenate apprisse 'a fote vianghe e gnore de 'nu libbre jndr'à pàgene de sfonde", "monobook.css": "/* 'U CSS ca se iacchie aqquà 'u 'ndrucane le utinde d'a masckere Monobook */", "monobook.js": "/* Ogne JavaScript aqquà avène carecate pe le utinde ca ausane 'a masckere MonoBook */" } diff --git a/skins/MonoBook/i18n/sco.json b/skins/MonoBook/i18n/sco.json new file mode 100644 index 00000000..00f18ca4 --- /dev/null +++ b/skins/MonoBook/i18n/sco.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "John Reid" + ] + }, + "monobook-desc": "The classeec MediaWiki skin sin 2004, named efter the blaik-n-white photæ o ae buik in the page backgroond" +} diff --git a/skins/MonoBook/main.css b/skins/MonoBook/main.css index e0e0dc77..809fe184 100644 --- a/skins/MonoBook/main.css +++ b/skins/MonoBook/main.css @@ -63,6 +63,8 @@ div#globalWrapper { width: 100%; margin: 0; padding: 0; + position: relative; + z-index: 0; } /* general styles */ @@ -91,6 +93,20 @@ pre, .mw-code { #firstHeading { padding-top: 0; + overflow: visible; +} + +.mw-indicators { + float: right; + line-height: 1.5em; + font-size: 95%; +} + +.mw-indicator { + display: -moz-inline-block; + display: inline-block; + zoom: 1; + *display: inline; } /* diff --git a/skins/MonoBook/skin.json b/skins/MonoBook/skin.json new file mode 100644 index 00000000..1a4efc8d --- /dev/null +++ b/skins/MonoBook/skin.json @@ -0,0 +1,37 @@ +{ + "name": "MonoBook", + "author": [ + "Gabriel Wicke", + "..." + ], + "url": "https://www.mediawiki.org/wiki/Skin:MonoBook", + "descriptionmsg": "monobook-desc", + "namemsg": "skinname-monobook", + "license-name": "GPL-2.0+", + "type": "skin", + "ValidSkinNames": { + "monobook": "MonoBook" + }, + "MessagesDirs": { + "MonoBook": [ + "i18n" + ] + }, + "ResourceModules": { + "skins.monobook.styles": { + "styles": { + "main.css": { + "media": "screen" + } + } + } + }, + "ResourceFileModulePaths": { + "localBasePath": "", + "remoteSkinPath": "MonoBook" + }, + "AutoloadClasses": { + "SkinMonoBook": "SkinMonoBook.php", + "MonoBookTemplate": "MonoBookTemplate.php" + } +} diff --git a/skins/README b/skins/README index 4145b354..7a980f7b 100644 --- a/skins/README +++ b/skins/README @@ -11,7 +11,10 @@ directory and make a symbolic link: mediawiki/skins$ ln -s ../../skins-trunk/FooBar -Most skins are available through Git: +The default skin Vector can be installed by cloning from Git: + git clone https://git.wikimedia.org/git/mediawiki/skins/Vector.git + +Other skins are also available: https://gerrit.wikimedia.org/r/#/admin/projects/?filter=mediawiki%252Fskins%252F https://git.wikimedia.org/project/mediawiki diff --git a/skins/Vector/COPYING b/skins/Vector/COPYING index 019694a9..d159169d 100644 --- a/skins/Vector/COPYING +++ b/skins/Vector/COPYING @@ -1,65 +1,65 @@ -== GNU GENERAL PUBLIC LICENSE == + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 -Version 2, June 1991 + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. -Copyright (C) 1989, 1991 Free Software Foundation, Inc. -51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA -Everyone is permitted to copy and distribute verbatim copies -of this license document, but changing it is not allowed. + Preamble -=== Preamble === - -The licenses for most software are designed to take away your + The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to +the GNU Lesser General Public License instead.) You can apply it to your programs, too. -When we speak of free software, we are referring to freedom, not + When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. -To protect your rights, we need to make restrictions that forbid + To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. -For example, if you distribute copies of such a program, whether + For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. -We protect your rights with two steps: (1) copyright the software, and + We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. -Also, for each author's protection and ours, we want to make certain + Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. -Finally, any free program is threatened constantly by software + Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. -The precise terms and conditions for copying, distribution and + The precise terms and conditions for copying, distribution and modification follow. -== TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION == + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION -'''0.''' This License applies to any program or other work which contains + 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" @@ -76,7 +76,7 @@ is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. -'''1.''' You may copy and distribute verbatim copies of the Program's + 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the @@ -87,29 +87,29 @@ along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. -'''2.''' You may modify your copy or copies of the Program or any portion + 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: - '''a)''' You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - '''b)''' You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - '''c)''' If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, @@ -131,26 +131,26 @@ with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. -'''3.''' You may copy and distribute the Program (or a work based on it, + 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: - '''a)''' Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, - '''b)''' Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, - '''c)''' Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source @@ -169,7 +169,7 @@ access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. -'''4.''' You may not copy, modify, sublicense, or distribute the Program + 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. @@ -177,7 +177,7 @@ However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. -'''5.''' You are not required to accept this License, since you have not + 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by @@ -186,7 +186,7 @@ Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. -'''6.''' Each time you redistribute the Program (or any work based on the + 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further @@ -194,7 +194,7 @@ restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. -'''7.''' If, as a consequence of a court judgment or allegation of patent + 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not @@ -226,7 +226,7 @@ impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. -'''8.''' If the distribution and/or use of the Program is restricted in + 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding @@ -234,7 +234,7 @@ those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. -'''9.''' The Free Software Foundation may publish revised and/or new versions + 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. @@ -247,7 +247,7 @@ Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. -'''10.''' If you wish to incorporate parts of the Program into other free + 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes @@ -255,9 +255,9 @@ make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. -=== NO WARRANTY === + NO WARRANTY -'''11.''' BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED @@ -267,7 +267,7 @@ TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. -'''12.''' IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING @@ -277,47 +277,45 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - '''END OF TERMS AND CONDITIONS''' + END OF TERMS AND CONDITIONS -== How to Apply These Terms to Your New Programs == + How to Apply These Terms to Your New Programs -If you develop a new program, and you want it to be of the greatest + If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. -To do so, attach the following notices to the program. It is safest + To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) + + Copyright (C) - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + This program 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 General Public License for more details. + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may @@ -328,15 +326,14 @@ You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. - Ty Coon, President of Vice + , 1 April 1989 + Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General +library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. diff --git a/skins/Vector/SkinVector.php b/skins/Vector/SkinVector.php index 565c64bb..f5e3634c 100644 --- a/skins/Vector/SkinVector.php +++ b/skins/Vector/SkinVector.php @@ -39,8 +39,6 @@ class SkinVector extends SkinTemplate { $this->vectorConfig = ConfigFactory::getDefaultInstance()->makeConfig( 'vector' ); } - protected static $bodyClasses = array( 'vector-animateLayout' ); - /** * Initializes output page and sets up skin-specific parameters * @param OutputPage $out Object to initialize @@ -79,18 +77,4 @@ class SkinVector extends SkinTemplate { public function setupTemplate( $classname, $repository = false, $cache_dir = false ) { return new $classname( $this->vectorConfig ); } - - /** - * Adds classes to the body element. - * - * @param OutputPage $out - * @param array &$bodyAttrs Array of attributes that will be set on the body element - */ - function addToBodyAttributes( $out, &$bodyAttrs ) { - if ( isset( $bodyAttrs['class'] ) && strlen( $bodyAttrs['class'] ) > 0 ) { - $bodyAttrs['class'] .= ' ' . implode( ' ', static::$bodyClasses ); - } else { - $bodyAttrs['class'] = implode( ' ', static::$bodyClasses ); - } - } } diff --git a/skins/Vector/Vector.php b/skins/Vector/Vector.php index 2ffc3a7b..872b5bf7 100644 --- a/skins/Vector/Vector.php +++ b/skins/Vector/Vector.php @@ -1,110 +1,14 @@ __FILE__, - 'name' => 'Vector', - 'namemsg' => 'skinname-vector', - 'descriptionmsg' => 'vector-skin-desc', - 'url' => 'https://www.mediawiki.org/wiki/Skin:Vector', - 'author' => array( 'Trevor Parscal', 'Roan Kattouw', '...' ), - 'license-name' => 'GPLv2+', -); - -// Register files -$GLOBALS['wgAutoloadClasses']['SkinVector'] = __DIR__ . '/SkinVector.php'; -$GLOBALS['wgAutoloadClasses']['VectorTemplate'] = __DIR__ . '/VectorTemplate.php'; -$GLOBALS['wgMessagesDirs']['Vector'] = __DIR__ . '/i18n'; - -// Register skin -$GLOBALS['wgValidSkinNames']['vector'] = 'Vector'; - -// Register config -$GLOBALS['wgConfigRegistry']['vector'] = 'GlobalVarConfig::newInstance'; - -// Configuration options -/** - * Search form look. - * - true = use an icon search button - * - false = use Go & Search buttons - */ -$GLOBALS['wgVectorUseSimpleSearch'] = true; - -/** - * Watch and unwatch as an icon rather than a link. - * - true = use an icon watch/unwatch button - * - false = use watch/unwatch text link - */ -$GLOBALS['wgVectorUseIconWatch'] = true; - -// Register modules -$GLOBALS['wgResourceModules']['skins.vector.styles'] = array( - 'styles' => array( - 'screen.less' => array( 'media' => 'screen' ), - 'screen-hd.less' => array( 'media' => 'screen and (min-width: 982px)' ), - ), - 'remoteSkinPath' => 'Vector', - 'localBasePath' => __DIR__, -); - -$GLOBALS['wgResourceModules']['skins.vector.js'] = array( - 'scripts' => array( - 'collapsibleTabs.js', - 'vector.js', - ), - 'position' => 'top', - 'dependencies' => array( - 'jquery.throttle-debounce', - 'jquery.tabIndex', - ), - 'remoteSkinPath' => 'Vector', - 'localBasePath' => __DIR__, -); - -// Apply module customizations -$GLOBALS['wgResourceModuleSkinStyles']['vector'] = array( - 'jquery.tipsy' => 'skinStyles/jquery.tipsy.less', - 'jquery.ui.core' => array( - 'skinStyles/jquery.ui/jquery.ui.core.css', - 'skinStyles/jquery.ui/jquery.ui.theme.css', - ), - 'jquery.ui.accordion' => 'skinStyles/jquery.ui/jquery.ui.accordion.css', - 'jquery.ui.autocomplete' => 'skinStyles/jquery.ui/jquery.ui.autocomplete.css', - 'jquery.ui.button' => 'skinStyles/jquery.ui/jquery.ui.button.css', - 'jquery.ui.datepicker' => 'skinStyles/jquery.ui/jquery.ui.datepicker.css', - 'jquery.ui.dialog' => 'skinStyles/jquery.ui/jquery.ui.dialog.css', - 'jquery.ui.menu' => 'skinStyles/jquery.ui/jquery.ui.menu.css', - 'jquery.ui.progressbar' => 'skinStyles/jquery.ui/jquery.ui.progressbar.css', - 'jquery.ui.resizable' => 'skinStyles/jquery.ui/jquery.ui.resizable.css', - 'jquery.ui.selectable' => 'skinStyles/jquery.ui/jquery.ui.selectable.css', - 'jquery.ui.slider' => 'skinStyles/jquery.ui/jquery.ui.slider.css', - 'jquery.ui.spinner' => 'skinStyles/jquery.ui/jquery.ui.spinner.css', - 'jquery.ui.tabs' => 'skinStyles/jquery.ui/jquery.ui.tabs.css', - 'jquery.ui.tooltips' => 'skinStyles/jquery.ui/jquery.ui.tooltips.css', - 'mediawiki.notification' => 'skinStyles/mediawiki.notification.less', - 'mediawiki.special' => 'skinStyles/mediawiki.special.less', - 'mediawiki.special.preferences' => 'skinStyles/mediawiki.special.preferences.less', - 'remoteSkinPath' => 'Vector', - 'localBasePath' => __DIR__, -); +if ( function_exists( 'wfLoadSkin' ) ) { + wfLoadSkin( 'Vector' ); + // Keep i18n globals so mergeMessageFileList.php doesn't break + $wgMessagesDirs['Vector'] = __DIR__ . '/i18n'; + /* wfWarn( + 'Deprecated PHP entry point used for Vector skin. Please use wfLoadSkin instead, ' . + 'see https://www.mediawiki.org/wiki/Extension_registration for more details.' + ); */ + return true; +} else { + die( 'This version of the Vector skin requires MediaWiki 1.25+' ); +} \ No newline at end of file diff --git a/skins/Vector/VectorTemplate.php b/skins/Vector/VectorTemplate.php index 6e4e2f1e..fa3de5e0 100644 --- a/skins/Vector/VectorTemplate.php +++ b/skins/Vector/VectorTemplate.php @@ -102,11 +102,16 @@ class VectorTemplate extends BaseTemplate { + getIndicators(); + } + ?>

html( 'title' ) ?>

+ ?>">html( 'title' ) ?> html( 'prebodyhtml' ) ?>
msg( 'jumpto' ) ?> - msg( 'jumptonavigation' ) ?>msg( 'comma-separator' ) @@ -187,9 +192,7 @@ class VectorTemplate extends BaseTemplate {
-