diff options
Diffstat (limited to 'skins')
209 files changed, 1506 insertions, 1047 deletions
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 @@ <?php -/** - * ArchLinux skin (based on MonoBook) - * - * Translated from gwicke's previous TAL template version to remove - * dependency on PHPTAL. - * - * 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. - * http://www.gnu.org/copyleft/gpl.html - * - * @file - * @ingroup Skins - */ -$wgExtensionCredits['skin'][] = array( - 'path' => __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 { } ?> + <?php echo $this->getIndicators(); ?> <h1 id="firstHeading" class="firstHeading" lang="<?php $this->data['pageLanguage'] = $this->getSkin()->getTitle()->getPageViewLanguage()->getHtmlCode(); $this->text( 'pageLanguage' ); - ?>"><span dir="auto"><?php $this->html( 'title' ) ?></span></h1> + ?>"><?php $this->html( 'title' ) ?></h1> <div id="bodyContent" class="mw-body-content"> <div id="siteSub"><?php $this->msg( 'tagline' ) ?></div> @@ -152,8 +153,10 @@ class ArchLinuxTemplate extends BaseTemplate { <?php echo Html::element( 'a', array( 'href' => $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' ) + ); ?> </div> <?php @@ -209,6 +212,7 @@ class ArchLinuxTemplate extends BaseTemplate { $this->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. - <one line to give the program's name and a brief idea of what it does.> - - Copyright (C) <year> <name of author> + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> - 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. - - <signature of Ty Coon>, 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 + <signature of Ty Coon>, 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. - <one line to give the program's name and a brief idea of what it does.> - - Copyright (C) <year> <name of author> + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> - 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. - - <signature of Ty Coon>, 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 + <signature of Ty Coon>, 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 @@ <?php -/** - * CologneBlue skin - * - * @file - * @ingroup Extensions - * - * 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. - * http://www.gnu.org/copyleft/gpl.html - */ -$wgExtensionCredits['skin'][] = array( - 'path' => __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 { <?php } ?> + <?php echo $this->getIndicators(); ?> <h1 id="firstHeading" lang="<?php $this->data['pageLanguage'] = $this->getSkin()->getTitle()->getPageViewLanguage()->getHtmlCode(); $this->text( 'pageLanguage' ); - ?>"><span dir="auto"><?php echo $this->data['title'] ?></span></h1> + ?>"><?php echo $this->data['title'] ?></h1> <?php if ( $this->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. - <one line to give the program's name and a brief idea of what it does.> - - Copyright (C) <year> <name of author> + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> - 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. - - <signature of Ty Coon>, 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 + <signature of Ty Coon>, 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 @@ <?php -/** - * Modern skin - * - * @file - * @ingroup Skins - * - * 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. - * http://www.gnu.org/copyleft/gpl.html - */ -$wgExtensionCredits['skin'][] = array( - 'path' => __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 { ?> <!-- heading --> - <div id="mw_header"><h1 id="firstHeading" lang="<?php + <div id="mw_header"> + <?php echo $this->getIndicators(); ?> + <h1 id="firstHeading" lang="<?php $this->data['pageLanguage'] = $this->getSkin()->getTitle()->getPageViewLanguage()->getHtmlCode(); $this->text( 'pageLanguage' ); - ?>"><span dir="auto"><?php $this->html( 'title' ) ?></span></h1></div> + ?>"><?php $this->html( 'title' ) ?></h1> + </div> <div id="mw_main"> <div id="mw_contentwrapper"> 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. - <one line to give the program's name and a brief idea of what it does.> - - Copyright (C) <year> <name of author> + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> - 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. - - <signature of Ty Coon>, 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 + <signature of Ty Coon>, 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 @@ <?php -/** - * MonoBook nouveau. - * - * Translated from gwicke's previous TAL template version to remove - * dependency on PHPTAL. - * - * 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. - * http://www.gnu.org/copyleft/gpl.html - * - * @file - * @ingroup Skins - */ -$wgExtensionCredits['skin'][] = array( - 'path' => __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 { } ?> + <?php echo $this->getIndicators(); ?> <h1 id="firstHeading" class="firstHeading" lang="<?php $this->data['pageLanguage'] = $this->getSkin()->getTitle()->getPageViewLanguage()->getHtmlCode(); $this->text( 'pageLanguage' ); - ?>"><span dir="auto"><?php $this->html( 'title' ) ?></span></h1> + ?>"><?php $this->html( 'title' ) ?></h1> <div id="bodyContent" class="mw-body-content"> <div id="siteSub"><?php $this->msg( 'tagline' ) ?></div> @@ -126,8 +127,10 @@ class MonoBookTemplate extends BaseTemplate { <?php echo Html::element( 'a', array( 'href' => $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' ) + ); ?> </div> <?php @@ -183,6 +186,7 @@ class MonoBookTemplate extends BaseTemplate { $this->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. - <one line to give the program's name and a brief idea of what it does.> - - Copyright (C) <year> <name of author> + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> - 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. - - <signature of Ty Coon>, 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 + <signature of Ty Coon>, 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 @@ <?php -/** - * Vector - Modern version of MonoBook with fresh look and many usability - * improvements. - * - * 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. - * http://www.gnu.org/copyleft/gpl.html - * - * @file - * @ingroup Skins - */ -$GLOBALS['wgExtensionCredits']['skin'][] = array( - 'path' => __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 { <?php } ?> + <?php + if ( is_callable( array( $this, 'getIndicators' ) ) ) { + echo $this->getIndicators(); + } + ?> <h1 id="firstHeading" class="firstHeading" lang="<?php $this->data['pageLanguage'] = $this->getSkin()->getTitle()->getPageViewLanguage()->getHtmlCode(); $this->text( 'pageLanguage' ); - ?>"><span dir="auto"><?php $this->html( 'title' ) ?></span></h1> + ?>"><?php $this->html( 'title' ) ?></h1> <?php $this->html( 'prebodyhtml' ) ?> <div id="bodyContent" class="mw-body-content"> <?php @@ -135,7 +140,7 @@ class VectorTemplate extends BaseTemplate { ?> <div id="jump-to-nav" class="mw-jump"> <?php $this->msg( 'jumpto' ) ?> - <a href="#mw-navigation"><?php + <a href="#mw-head"><?php $this->msg( 'jumptonavigation' ) ?></a><?php $this->msg( 'comma-separator' ) @@ -187,9 +192,7 @@ class VectorTemplate extends BaseTemplate { </div> </div> <div id="mw-panel"> - <div id="p-logo" role="banner"><a style="background-image: url(<?php - $this->text( 'logopath' ) - ?>);" href="<?php + <div id="p-logo" role="banner"><a class="mw-wiki-logo" href="<?php echo htmlspecialchars( $this->data['nav_urls']['mainpage']['href'] ) ?>" <?php echo Xml::expandAttributes( Linker::tooltipAndAccesskeyAttribs( 'p-logo' ) ) @@ -254,7 +257,7 @@ class VectorTemplate extends BaseTemplate { </body> </html> - <?php +<?php } /** @@ -466,7 +469,10 @@ class VectorTemplate extends BaseTemplate { ?>><span><a href="<?php echo htmlspecialchars( $link['href'] ) ?>" <?php - echo $link['key'] + echo $link['key']; + if ( isset ( $link['rel'] ) ) { + echo ' rel="' . htmlspecialchars( $link['rel'] ) . '"'; + } ?>><?php // $link['text'] can be undefined - bug 27764 if ( array_key_exists( 'text', $link ) ) { diff --git a/skins/Vector/collapsibleTabs.js b/skins/Vector/collapsibleTabs.js index e24bea95..6fd8c496 100644 --- a/skins/Vector/collapsibleTabs.js +++ b/skins/Vector/collapsibleTabs.js @@ -95,7 +95,7 @@ if ( $( data.collapsedContainer + ' ' + data.collapsible ).length > 0 && data.expandCondition( $.collapsibleTabs.getSettings( $( data.collapsedContainer ).children( data.collapsible + ':first' ) ).expandedWidth ) ) { - //move the element from the dropdown to the tab + // move the element from the dropdown to the tab $el.trigger( 'beforeTabExpand' ); $.collapsibleTabs .moveToExpanded( data.collapsedContainer + ' ' + data.collapsible + ':first' ); diff --git a/skins/Vector/components/animations.less b/skins/Vector/components/animations.less deleted file mode 100644 index ab273dc0..00000000 --- a/skins/Vector/components/animations.less +++ /dev/null @@ -1,28 +0,0 @@ -/* Animate between standard and high definition layouts */ -body.vector-animateLayout { - .mw-body, - div#footer, - #left-navigation { - .transition(margin-left 250ms, padding 250ms;); - } - - #p-logo { - .transition(left 250ms); - } - - #mw-panel { - .transition(padding-right 250ms); - } - - #p-search { - .transition(margin-right 250ms); - } - - #p-personal { - .transition(right 250ms); - } - - #mw-head-base { - .transition(margin-left 250ms); - } -} diff --git a/skins/Vector/components/common.less b/skins/Vector/components/common.less index ac4b8509..088b373e 100644 --- a/skins/Vector/components/common.less +++ b/skins/Vector/components/common.less @@ -50,16 +50,14 @@ body { } h1, - h2, - #firstHeading { + h2 { font-family: @content-heading-font-family; line-height: @heading-line-height; margin-bottom: 0.25em; padding: 0; } - h1, - #firstHeading { + h1 { font-size: @content-heading-font-size; } @@ -98,6 +96,27 @@ body { font-size: 100%; /* (reset) */ font-family: @content-font-family; } + + .firstHeading { + /* Change the default from mediawiki.skinning CSS to let indicators float into heading area */ + overflow: visible; + } + + .mw-indicators { + float: right; + line-height: @content-line-height; + font-size: @content-font-size; + /* Ensure that this is displayed on top of .mw-body-content and clickable */ + position: relative; + z-index: 1; + } + + .mw-indicator { + display: -moz-inline-block; + display: inline-block; + zoom: 1; + *display: inline; + } } /* Hide empty portlets */ @@ -107,7 +126,7 @@ div.emptyPortlet { ul { list-style-type: disc; - .list-style-image('images/bullet-icon.png'); + .list-style-image-svg('images/bullet-icon.svg', 'images/bullet-icon.png'); } pre, .mw-code { @@ -123,12 +142,9 @@ pre, .mw-code { font-size: 140%; } -.redirectMsg img { - vertical-align: text-bottom; -} - .mw-body-content { position: relative; line-height: @content-line-height; font-size: @content-font-size; + z-index: 0; } diff --git a/skins/Vector/components/navigation.less b/skins/Vector/components/navigation.less index 8b384acf..e9c5e4af 100644 --- a/skins/Vector/components/navigation.less +++ b/skins/Vector/components/navigation.less @@ -129,16 +129,17 @@ div#mw-panel { } } } + } - &.first { - background-image: none; - margin-top: 0; - h3 { - display: none; - } - div.body { - margin-left: 0.5em; - } + /* First sidebar portlet. Not using :first-of-type for IE<=8 support. */ + #p-logo + div.portal { + background-image: none; + margin-top: 0; + h3 { + display: none; + } + div.body { + margin-left: 0.5em; } } } diff --git a/skins/Vector/components/tabs.less b/skins/Vector/components/tabs.less index a5647345..2d28d938 100644 --- a/skins/Vector/components/tabs.less +++ b/skins/Vector/components/tabs.less @@ -134,7 +134,6 @@ div#mw-head div.vectorMenu h3 { .background-image('images/tab-break.png'); background-repeat: no-repeat; background-position: bottom right; - margin-left: -1px; font-size: 1em; height: 2.5em; // This effectively moves the "background border" outside of the element to act like a real diff --git a/skins/Vector/i18n/ace.json b/skins/Vector/i18n/ace.json index befc427a..94454259 100644 --- a/skins/Vector/i18n/ace.json +++ b/skins/Vector/i18n/ace.json @@ -15,5 +15,6 @@ "vector-view-edit": "Andam", "vector-view-history": "Eu riwayat", "vector-view-view": "Beuët", - "vector-view-viewsource": "Eu nè" + "vector-view-viewsource": "Eu nè", + "vector-more-actions": "Lom" } diff --git a/skins/Vector/i18n/aeb.json b/skins/Vector/i18n/aeb.json index b3c71f9e..9b6c041f 100644 --- a/skins/Vector/i18n/aeb.json +++ b/skins/Vector/i18n/aeb.json @@ -2,7 +2,8 @@ "@metadata": { "authors": [ "Csisc", - "Malekbr" + "Malekbr", + "GeekEmad" ] }, "vector-action-addsection": "أضف موضوعا", @@ -13,7 +14,7 @@ "vector-action-unprotect": "غير الحماية", "vector-view-create": "أنشئ", "vector-view-edit": "Baddel", - "vector-view-history": "Warri l'historique", + "vector-view-history": "Warri listorik", "vector-view-view": "Aqra", "vector-view-viewsource": "اعرض المصدر" } diff --git a/skins/Vector/i18n/ang.json b/skins/Vector/i18n/ang.json index 56321dc0..534aa78f 100644 --- a/skins/Vector/i18n/ang.json +++ b/skins/Vector/i18n/ang.json @@ -14,5 +14,6 @@ "vector-view-edit": "Adihtan", "vector-view-history": "Stǣr", "vector-view-view": "Rǣdan", - "vector-view-viewsource": "Sēon fruman" + "vector-view-viewsource": "Sēon fruman", + "vector-more-actions": "Mā" } diff --git a/skins/Vector/i18n/ar.json b/skins/Vector/i18n/ar.json index 9c07d9b8..4baeb272 100644 --- a/skins/Vector/i18n/ar.json +++ b/skins/Vector/i18n/ar.json @@ -7,10 +7,12 @@ "Mido", "OsamaK", "أحمد", - "زكريا" + "زكريا", + "Khaled" ] }, "skinname-vector": "فكتور", + "vector-skin-desc": "نسة حديثة من مونوبوك بمظهر جديد وسهولة الاستخدام", "vector.css": "/* الأنماط المتراصة CSS المعروضة هنا ستؤثر على مستخدمي واجهة فكتور */", "vector.js": "/* أي جافاسكريبت هنا سيتم تحميلها للمستخدمين الذين يستعملون واجهة فكتور */", "vector-action-addsection": "أضف موضوعا", diff --git a/skins/Vector/i18n/arq.json b/skins/Vector/i18n/arq.json index 740ab9b7..1673efbb 100644 --- a/skins/Vector/i18n/arq.json +++ b/skins/Vector/i18n/arq.json @@ -15,5 +15,6 @@ "vector-view-edit": "بدل", "vector-view-history": "روح للتاريخي", "vector-view-view": "أقرى", - "vector-view-viewsource": "شوف المصدر" + "vector-view-viewsource": "شوف المصدر", + "vector-more-actions": "زيادة" } diff --git a/skins/Vector/i18n/av.json b/skins/Vector/i18n/av.json index e7a6452b..97be52f5 100644 --- a/skins/Vector/i18n/av.json +++ b/skins/Vector/i18n/av.json @@ -1,8 +1,21 @@ { "@metadata": { "authors": [ - "Умар" + "Умар", + "Gazimagomedov" ] }, - "vector-view-edit": "Хисизабизе" + "vector-skin-desc": "MonoBook'алъул цӀияб версия цияб куцгун ва цӀиял юзабилитиялгун", + "vector-action-addsection": "Тема жубазе", + "vector-action-delete": "БацIцIине", + "vector-action-move": "ЦӀар хисизе", + "vector-action-protect": "Хиса-басияздасан цIунизе", + "vector-action-undelete": "БукӀараб гӀадин гьабизе", + "vector-action-unprotect": "ЦӀуни хисизе", + "vector-view-create": "Гьабизе", + "vector-view-edit": "Хисизабизе", + "vector-view-history": "Тарих балагьизе", + "vector-view-view": "ЦӀализе", + "vector-view-viewsource": "Вики-текст балагьизе", + "vector-more-actions": "Жеги" } diff --git a/skins/Vector/i18n/awa.json b/skins/Vector/i18n/awa.json new file mode 100644 index 00000000..2aebbedc --- /dev/null +++ b/skins/Vector/i18n/awa.json @@ -0,0 +1,19 @@ +{ + "@metadata": { + "authors": [ + "1AnuraagPandey" + ] + }, + "vector-action-addsection": "शिर्षक जोडा जाय", + "vector-action-delete": "मेटावा जाय", + "vector-action-move": "घुस्कावा जाय", + "vector-action-protect": "सुरक्षित करा जाय", + "vector-action-undelete": "हटाइब वापस लिहा जाय", + "vector-action-unprotect": "सुरक्षा परिवर्तन करा जाय", + "vector-view-create": "बनावा जाय", + "vector-view-edit": "सम्पादन", + "vector-view-history": "इतिहास देखा जाय", + "vector-view-view": "पढा जाय", + "vector-view-viewsource": "स्रोत देखा जाय", + "vector-more-actions": "अउर" +} diff --git a/skins/Vector/i18n/azb.json b/skins/Vector/i18n/azb.json index ae46e1ce..cc06620e 100644 --- a/skins/Vector/i18n/azb.json +++ b/skins/Vector/i18n/azb.json @@ -3,7 +3,8 @@ "authors": [ "E THP", "Ebrahimi-amir", - "Mousa" + "Mousa", + "Amir a57" ] }, "vector-action-addsection": "قوْنو آرتیر", @@ -16,5 +17,6 @@ "vector-view-edit": "دَییشدیر", "vector-view-history": "گئچمیشه باخ", "vector-view-view": "اوْخو", - "vector-view-viewsource": "قایناغا باخ" + "vector-view-viewsource": "قایناغا باخ", + "vector-more-actions": "داها" } diff --git a/skins/Vector/i18n/be-tarask.json b/skins/Vector/i18n/be-tarask.json index 4bbef699..29219fc2 100644 --- a/skins/Vector/i18n/be-tarask.json +++ b/skins/Vector/i18n/be-tarask.json @@ -7,6 +7,7 @@ ] }, "skinname-vector": "Вэктар", + "vector-skin-desc": "Сучасная вэрсія MonoBook з абноўленым выглядам і шматлікімі паляпшэньнямі", "vector-action-addsection": "Дадаць тэму", "vector-action-delete": "Выдаліць", "vector-action-move": "Перанесьці", diff --git a/skins/Vector/i18n/bgn.json b/skins/Vector/i18n/bgn.json new file mode 100644 index 00000000..6e3941f2 --- /dev/null +++ b/skins/Vector/i18n/bgn.json @@ -0,0 +1,14 @@ +{ + "@metadata": { + "authors": [ + "Baloch Afghanistan" + ] + }, + "vector-action-addsection": "یک بخش ئی لۆڑ کورتین", + "vector-action-move": "انتقال", + "vector-view-create": "جوڑ\t کورتین", + "vector-view-edit": "ایڈیٹ", + "vector-view-history": "تاریخچه ئی دیستین", + "vector-view-view": "وانتین", + "vector-more-actions": "گیشتیر" +} diff --git a/skins/Vector/i18n/bho.json b/skins/Vector/i18n/bho.json index e41f3322..ec61c4cd 100644 --- a/skins/Vector/i18n/bho.json +++ b/skins/Vector/i18n/bho.json @@ -2,7 +2,8 @@ "@metadata": { "authors": [ "Ganesh", - "Nepaboy" + "Nepaboy", + "SatyamMishra" ] }, "vector-action-addsection": "विषय जोड़ीं", @@ -15,5 +16,6 @@ "vector-view-edit": "सम्पादन", "vector-view-history": "इतिहास देखीं", "vector-view-view": "पढ़ीं", - "vector-view-viewsource": "स्त्रोत देखीं" + "vector-view-viewsource": "स्रोत देखीं", + "vector-more-actions": "अधिक" } diff --git a/skins/Vector/i18n/bn.json b/skins/Vector/i18n/bn.json index a2c37b3d..1f4521c0 100644 --- a/skins/Vector/i18n/bn.json +++ b/skins/Vector/i18n/bn.json @@ -18,7 +18,7 @@ "vector-action-unprotect": "সুরক্ষা পরিবর্তন", "vector-view-create": "তৈরি", "vector-view-edit": "সম্পাদনা", - "vector-view-history": "ইতিহাস", + "vector-view-history": "ইতিহাস দেখুন", "vector-view-view": "পড়ুন", "vector-view-viewsource": "উৎস দেখুন", "vector-more-actions": "আরও" diff --git a/skins/Vector/i18n/ca.json b/skins/Vector/i18n/ca.json index c494f64f..bba84347 100644 --- a/skins/Vector/i18n/ca.json +++ b/skins/Vector/i18n/ca.json @@ -13,7 +13,7 @@ }, "skinname-vector": "Vector", "vector-skin-desc": "Versió moderna del MonoBook amb un nou aspesctes i moltes millores en la usabilitat", - "vector-action-addsection": "Secció nova", + "vector-action-addsection": "Afegeix un tema", "vector-action-delete": "Esborra", "vector-action-move": "Reanomena", "vector-action-protect": "Protegeix", @@ -21,7 +21,7 @@ "vector-action-unprotect": "Desprotegeix", "vector-view-create": "Crea", "vector-view-edit": "Modifica", - "vector-view-history": "Mostra l'historial", + "vector-view-history": "Mostra l’historial", "vector-view-view": "Mostra", "vector-view-viewsource": "Mostra el codi", "vector-more-actions": "Més" diff --git a/skins/Vector/i18n/cv.json b/skins/Vector/i18n/cv.json index 6206af8d..cda61b0b 100644 --- a/skins/Vector/i18n/cv.json +++ b/skins/Vector/i18n/cv.json @@ -2,7 +2,8 @@ "@metadata": { "authors": [ "Chavash", - "FLAGELLVM DEI" + "FLAGELLVM DEI", + "Chuvash2014" ] }, "vector-action-addsection": "Тема хуш", @@ -11,7 +12,8 @@ "vector-action-protect": "Хӳтĕле", "vector-view-create": "Çĕннине ту", "vector-view-edit": "Тӳрлет", - "vector-view-history": "Кун-çул", + "vector-view-history": "Истори", "vector-view-view": "Вула", - "vector-view-viewsource": "пуçламăш текста пăх" + "vector-view-viewsource": "Кодне пăх", + "vector-more-actions": "Тата" } diff --git a/skins/Vector/i18n/de-ch.json b/skins/Vector/i18n/de-ch.json new file mode 100644 index 00000000..9fd82d4b --- /dev/null +++ b/skins/Vector/i18n/de-ch.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Marcell0" + ] + }, + "vector-more-actions": "Mehr" +} diff --git a/skins/Vector/i18n/de.json b/skins/Vector/i18n/de.json index d2201c2f..2a9c159a 100644 --- a/skins/Vector/i18n/de.json +++ b/skins/Vector/i18n/de.json @@ -8,7 +8,7 @@ ] }, "skinname-vector": "Vector", - "vector-skin-desc": "Moderne Version von Monobook mit frischem Aussehen und vielen Verbesserungen an der Benutzerfreundlichkeit", + "vector-skin-desc": "Stellt eine modernisierte Benutzeroberfläche bereit", "vector.css": "/* Das folgende CSS wird für Benutzer der Vector-Benutzeroberfläche geladen. */", "vector.js": "/* Das folgende JavaScript wird für Benutzer der Vector-Benutzeroberfläche geladen. */", "vector-action-addsection": "Abschnitt hinzufügen", diff --git a/skins/Vector/i18n/dv.json b/skins/Vector/i18n/dv.json index 9e530568..a3567224 100644 --- a/skins/Vector/i18n/dv.json +++ b/skins/Vector/i18n/dv.json @@ -1,17 +1,20 @@ { "@metadata": { "authors": [ - "Ushau97" + "Ushau97", + "Glaisher" ] }, "vector-action-addsection": "ޚިޔާލެއް އިތުރުކުރައްވާ", "vector-action-delete": "ފޮހެލައްވާ", "vector-action-move": "ތަން ބަދަލުކުރައްވާ", "vector-action-protect": "ދިފާޢުކުރައްވާ", + "vector-action-undelete": "އިޔާދަކުރައްވާ", "vector-action-unprotect": "ދިފާޢުކުރުން ބަދަލުކުރައްވާ", "vector-view-create": "ފަށްޓަވާ", "vector-view-edit": "އުނިއިތުރު ގެންނަވާ", "vector-view-history": "ޞަފްޙާގެ ތާރީޚް", "vector-view-view": "ކިޔުއްވާ", - "vector-view-viewsource": "މަސްދަރު ބައްލަވާ" + "vector-view-viewsource": "މަސްދަރު ބައްލަވާ", + "vector-more-actions": "އިތުރަށް" } diff --git a/skins/Vector/i18n/el.json b/skins/Vector/i18n/el.json index 06fa36b8..0b57e52c 100644 --- a/skins/Vector/i18n/el.json +++ b/skins/Vector/i18n/el.json @@ -6,9 +6,11 @@ "Evropi", "Omnipaedista", "Protnet", - "ZaDiak" + "ZaDiak", + "Geraki" ] }, + "vector-skin-desc": "Σύγχρονη έκδοση του MonoBook με φρέσκια ματιά και πολλές βελτιώσεις χρηστικότητας", "vector.css": "/* Το τοποθετημένο εδώ CSS θα επηρεάσει χρήστες του Vector skin */", "vector.js": "/* Οποιοσδήποτε κώδικας JavaScript εδώ θα φορτωθεί για χρήστες που χρησιμοποιούν το Vector skin */", "vector-action-addsection": "Προσθήκη θέματος", diff --git a/skins/Vector/i18n/eo.json b/skins/Vector/i18n/eo.json index 5f92fe8a..730aa2cc 100644 --- a/skins/Vector/i18n/eo.json +++ b/skins/Vector/i18n/eo.json @@ -11,7 +11,7 @@ "vector.js": "/* La jena Ĝavaskripto ŝargiĝos por uzantoj de la Vektora temo. */", "vector-action-addsection": "Aldoni temon", "vector-action-delete": "Forigi", - "vector-action-move": "Alinomigi", + "vector-action-move": "Alinomi", "vector-action-protect": "Protekti", "vector-action-undelete": "Malforigi", "vector-action-unprotect": "Ŝanĝi protektadon", diff --git a/skins/Vector/i18n/eu.json b/skins/Vector/i18n/eu.json index 856742c2..1fc829bf 100644 --- a/skins/Vector/i18n/eu.json +++ b/skins/Vector/i18n/eu.json @@ -3,9 +3,11 @@ "authors": [ "Unai Fdz. de Betoño", "Xabier Armendaritz", - "Fitoschido" + "Fitoschido", + "Subi" ] }, + "vector-skin-desc": "MonoBook-en bertsio modernoa, itxura berriarekin eta erabilgarritasun hobekuntza askorekin", "vector-action-addsection": "Gehitu atala", "vector-action-delete": "Ezabatu", "vector-action-move": "Mugitu", diff --git a/skins/Vector/i18n/fi.json b/skins/Vector/i18n/fi.json index 75336897..5cbeb84c 100644 --- a/skins/Vector/i18n/fi.json +++ b/skins/Vector/i18n/fi.json @@ -4,9 +4,11 @@ "Crt", "Nedergard", "Nike", - "Pxos" + "Pxos", + "SuperPete" ] }, + "vector-skin-desc": "Uudistettu versio MonoBookista raikkaalla ulkoasulla ja useilla käytettävyysparannuksilla", "vector.css": "/* Tämä sivu sisältää Vector-ulkoasua muuttavia tyylejä. */", "vector.js": "/* Tämän sivun JavaScript-koodi liitetään Vector-tyyliin */", "vector-action-addsection": "Lisää aihe", diff --git a/skins/Vector/i18n/frc.json b/skins/Vector/i18n/frc.json index f13d8ce6..47339730 100644 --- a/skins/Vector/i18n/frc.json +++ b/skins/Vector/i18n/frc.json @@ -1,9 +1,16 @@ { "@metadata": { "authors": [ - "Ebe123" + "Ebe123", + "Hangmanwa7id" ] }, "vector-action-delete": "Supprimer", - "vector-action-protect": "Protéger" + "vector-action-move": "Renommer", + "vector-action-protect": "Protéger", + "vector-view-create": "Créer", + "vector-view-edit": "Changer", + "vector-view-view": "Lire", + "vector-view-viewsource": "Regarder la source", + "vector-more-actions": "Plus" } diff --git a/skins/Vector/i18n/fy.json b/skins/Vector/i18n/fy.json index 328193d3..bafda6d9 100644 --- a/skins/Vector/i18n/fy.json +++ b/skins/Vector/i18n/fy.json @@ -2,17 +2,20 @@ "@metadata": { "authors": [ "Kening Aldgilles", - "SK-luuut" + "SK-luuut", + "Robin0van0der0vliet" ] }, + "vector-action-addsection": "Kopke tafoegje", "vector-action-delete": "Fuortsmite", "vector-action-move": "Werneam", "vector-action-protect": "Beskermje", "vector-action-undelete": "Tebeksette", "vector-action-unprotect": "Beskerming fuorthelje", "vector-view-create": "Oanmeitsje", - "vector-view-edit": "Wizigje", + "vector-view-edit": "Bewurkje", "vector-view-history": "Skiednis sjen litte", "vector-view-view": "Lês", - "vector-view-viewsource": "Besjoch de boarne" + "vector-view-viewsource": "Besjoch de boarne", + "vector-more-actions": "Mear" } diff --git a/skins/Vector/i18n/gom-deva.json b/skins/Vector/i18n/gom-deva.json index 044d43c0..244d8625 100644 --- a/skins/Vector/i18n/gom-deva.json +++ b/skins/Vector/i18n/gom-deva.json @@ -15,5 +15,6 @@ "vector-view-edit": "बदल", "vector-view-history": "इतिहास पळेयात", "vector-view-view": "वाचचें", - "vector-view-viewsource": "उगम पळेयात" + "vector-view-viewsource": "उगम पळेयात", + "vector-more-actions": "आनीक" } diff --git a/skins/Vector/i18n/hr.json b/skins/Vector/i18n/hr.json index 1887ee51..fb288f1a 100644 --- a/skins/Vector/i18n/hr.json +++ b/skins/Vector/i18n/hr.json @@ -2,7 +2,8 @@ "@metadata": { "authors": [ "Ex13", - "Tivek" + "Tivek", + "Bugoslav" ] }, "vector-action-addsection": "Dodaj temu", @@ -15,5 +16,6 @@ "vector-view-edit": "Uredi", "vector-view-history": "Vidi stare izmjene", "vector-view-view": "Čitaj", - "vector-view-viewsource": "Vidi izvor" + "vector-view-viewsource": "Vidi izvor", + "vector-more-actions": "Više" } diff --git a/skins/Vector/i18n/hu.json b/skins/Vector/i18n/hu.json index a144ece2..22db6af8 100644 --- a/skins/Vector/i18n/hu.json +++ b/skins/Vector/i18n/hu.json @@ -9,6 +9,7 @@ "Tgr" ] }, + "vector-skin-desc": "A MonoBook felület modern változata frissebb kinézettel és sok használhatóságot javító fejlesztéssel", "vector.css": "/* Az ide elhelyezett CSS hatással lesz a Vector felület használóira */", "vector.js": "/* A Vector felületet használó szerkesztők számára betöltendő JavaScriptek */", "vector-action-addsection": "Új téma nyitása", diff --git a/skins/Vector/i18n/ilo.json b/skins/Vector/i18n/ilo.json index d83586d0..54a925df 100644 --- a/skins/Vector/i18n/ilo.json +++ b/skins/Vector/i18n/ilo.json @@ -5,7 +5,7 @@ "Saluyot" ] }, - "vector-skin-desc": "Modernno a bersion ti MonoBook nga addaan iti baro a langa ken adu kadagiti naserbi a panagpasayaat", + "vector-skin-desc": "Moderno a bersion ti MonoBook nga addaan iti baro a langa ken adu kadagiti naserbi a panagpasayaat", "vector-action-addsection": "Agnayon ti topiko", "vector-action-delete": "Ikkaten", "vector-action-move": "Iyalis", diff --git a/skins/Vector/i18n/is.json b/skins/Vector/i18n/is.json index dc54f1b6..221a7ad0 100644 --- a/skins/Vector/i18n/is.json +++ b/skins/Vector/i18n/is.json @@ -17,5 +17,6 @@ "vector-view-edit": "Breyta", "vector-view-history": "Breytingaskrá", "vector-view-view": "Lesa", - "vector-view-viewsource": "Sýna frumkóða" + "vector-view-viewsource": "Sýna frumkóða", + "vector-more-actions": "Meira" } diff --git a/skins/Vector/i18n/it.json b/skins/Vector/i18n/it.json index 2edac078..53997c2f 100644 --- a/skins/Vector/i18n/it.json +++ b/skins/Vector/i18n/it.json @@ -6,7 +6,8 @@ "Gianfranco", "Melos", "Pietrodn", - "FRacco" + "FRacco", + "Elitre" ] }, "vector-skin-desc": "Versione moderna del MonoBook con un aspetto rinnovato e molti miglioramenti dell'usabilità", @@ -22,6 +23,6 @@ "vector-view-edit": "Modifica", "vector-view-history": "Cronologia", "vector-view-view": "Leggi", - "vector-view-viewsource": "Visualizza sorgente", + "vector-view-viewsource": "Visualizza wikitesto", "vector-more-actions": "Altro" } diff --git a/skins/Vector/i18n/kn.json b/skins/Vector/i18n/kn.json index aae7272b..fcd84f70 100644 --- a/skins/Vector/i18n/kn.json +++ b/skins/Vector/i18n/kn.json @@ -3,7 +3,8 @@ "authors": [ "Ktkaushik", "Nayvik", - "VASANTH S.N." + "VASANTH S.N.", + "Omshivaprakash" ] }, "vector-action-addsection": "ವಿಷಯ ಸೇರಿಸಿ", @@ -16,5 +17,6 @@ "vector-view-edit": "ಸಂಪಾದಿಸಿ", "vector-view-history": "ಇತಿಹಾಸವನ್ನು ನೋಡಿ", "vector-view-view": "ಓದು", - "vector-view-viewsource": "ಆಕರ ವೀಕ್ಷಿಸು" + "vector-view-viewsource": "ಆಕರ ವೀಕ್ಷಿಸು", + "vector-more-actions": "ಇನ್ನಷ್ಟು" } diff --git a/skins/Vector/i18n/ksh.json b/skins/Vector/i18n/ksh.json index 7d91fae5..05360965 100644 --- a/skins/Vector/i18n/ksh.json +++ b/skins/Vector/i18n/ksh.json @@ -4,18 +4,20 @@ "Purodha" ] }, - "skinname-vector": "Vektor", - "vector.css": "/* CSS heh aan dä Stell wirrek nur op de Ovverflääsch „Vector“ */", - "vector.js": "/* De JavaSkrippte fun hee krijje alle Sigge met de Ovverflääsch \"Vector\" jescheck */", - "vector-action-addsection": "Ne neue Afschnet onge draan!", - "vector-action-delete": "Fottschmiiße!", + "skinname-vector": "Väktor", + "vector-skin-desc": "En modärne Väsjohn vun dä ällere Bedehnbovverfläsch „Monobooch“ met enem neue Ußsinn un Verbäßeronge bem Bedehne.", + "vector.css": "/* Dat CSS heh aan dä Schtäll wirrek blohß op de Bedehnbovverfläsch „Väktor“ */", + "vector.js": "/* De JavaSkreppte fun heh krejje alle Sigge met dä Bedehnbovverfläsch „Väktor“ jeschek */", + "vector-action-addsection": "Ne neue Afschnet onge drahn!", + "vector-action-delete": "Fottschmihße!", "vector-action-move": "Ömnänne!", "vector-action-protect": "Schöze!", "vector-action-undelete": "Zerökholle!", "vector-action-unprotect": "Schoz ändere!", - "vector-view-create": "Neu Schriive!", - "vector-view-edit": "Ändere!", + "vector-view-create": "Neu Schrihve!", + "vector-view-edit": "Änndere!", "vector-view-history": "Versione zeije!", - "vector-view-view": "Lesse!", - "vector-view-viewsource": "Wikitex aanlooere!" + "vector-view-view": "Lässe!", + "vector-view-viewsource": "Der Wikitäx aanlohre!", + "vector-more-actions": "Mieh" } diff --git a/skins/Vector/i18n/li.json b/skins/Vector/i18n/li.json index 8fe7e265..ae9c2cc4 100644 --- a/skins/Vector/i18n/li.json +++ b/skins/Vector/i18n/li.json @@ -1,7 +1,8 @@ { "@metadata": { "authors": [ - "Ooswesthoesbes" + "Ooswesthoesbes", + "Robin0van0der0vliet" ] }, "vector-action-addsection": "Voog köpke toe", @@ -14,5 +15,6 @@ "vector-view-edit": "Bewirk", "vector-view-history": "Bekiek de gesjiedenis", "vector-view-view": "Laes", - "vector-view-viewsource": "Bekiek bróntèks" + "vector-view-viewsource": "Bekiek bróntèks", + "vector-more-actions": "Mieë" } diff --git a/skins/Vector/i18n/ln.json b/skins/Vector/i18n/ln.json index 5fb40110..19cc48aa 100644 --- a/skins/Vector/i18n/ln.json +++ b/skins/Vector/i18n/ln.json @@ -15,5 +15,6 @@ "vector-view-edit": "Kobɔngisa", "vector-view-history": "Komɔ́nisa mokóló", "vector-view-view": "Kotánga", - "vector-view-viewsource": "Komɔ́nisa mosólo" + "vector-view-viewsource": "Komɔ́nisa mosólo", + "vector-more-actions": "Elandí" } diff --git a/skins/Vector/i18n/lrc.json b/skins/Vector/i18n/lrc.json index 2f756b55..d77bb7ba 100644 --- a/skins/Vector/i18n/lrc.json +++ b/skins/Vector/i18n/lrc.json @@ -4,15 +4,16 @@ "Mogoeilor" ] }, - "vector-action-addsection": "موضوع اضاف بكيد", + "vector-action-addsection": "داسون اضاف بكيد", "vector-action-delete": "پاکسا کردن", "vector-action-move": "جاوه جا بوئيت", - "vector-action-protect": "حمايت بكيد", + "vector-action-protect": "پر و پیم بكيد", "vector-action-undelete": "حذف نبيئني", "vector-action-unprotect": "حمايت آلشت بكيد", "vector-view-create": "راس كردن", "vector-view-edit": "ويرايشت", "vector-view-history": "ديئن ويرگار", "vector-view-view": "حنن", - "vector-view-viewsource": "سرچشمه نه بوينيت" + "vector-view-viewsource": "سرچشمه نه بوينيت", + "vector-more-actions": "بیشتر" } diff --git a/skins/Vector/i18n/lt.json b/skins/Vector/i18n/lt.json index 40886a84..a097eb99 100644 --- a/skins/Vector/i18n/lt.json +++ b/skins/Vector/i18n/lt.json @@ -4,7 +4,9 @@ "Garas", "Homo", "Matasg", - "Perkunas" + "Perkunas", + "Hugo.arg", + "Tomasdd" ] }, "skinname-vector": "Vektorinė", @@ -16,7 +18,8 @@ "vector-action-unprotect": "Keisti apsaugą", "vector-view-create": "Kurti", "vector-view-edit": "Redaguoti", - "vector-view-history": "Istorija", + "vector-view-history": "Peržiūrėti istoriją", "vector-view-view": "Skaityti", - "vector-view-viewsource": "Žiūrėti kodą" + "vector-view-viewsource": "Žiūrėti kodą", + "vector-more-actions": "Daugiau" } diff --git a/skins/Vector/i18n/mai.json b/skins/Vector/i18n/mai.json index 068e67d9..b7d984d4 100644 --- a/skins/Vector/i18n/mai.json +++ b/skins/Vector/i18n/mai.json @@ -2,7 +2,8 @@ "@metadata": { "authors": [ "Ggajendra", - "Umeshberma" + "Umeshberma", + "Tulsi Bhagat" ] }, "skinname-vector": "सदिश", @@ -16,5 +17,6 @@ "vector-view-edit": "सम्पादन करू", "vector-view-history": "इतिहास देखू", "vector-view-view": "पढ़ू", - "vector-view-viewsource": "जड़ि देखू" + "vector-view-viewsource": "जड़ि देखू", + "vector-more-actions": "आर" } diff --git a/skins/Vector/i18n/mo.json b/skins/Vector/i18n/mo.json new file mode 100644 index 00000000..8b8ab8ab --- /dev/null +++ b/skins/Vector/i18n/mo.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "TheChampionMan1234" + ] + }, + "vector-more-actions": "Май мулт" +} diff --git a/skins/Vector/i18n/nap.json b/skins/Vector/i18n/nap.json index 51e03a52..0117c5e0 100644 --- a/skins/Vector/i18n/nap.json +++ b/skins/Vector/i18n/nap.json @@ -5,6 +5,7 @@ "C.R." ] }, + "vector-skin-desc": "Verziona muderna 'e MonoBook cu n'aspetto nuovo nuovo e tante migliuramente d'uso", "vector-action-addsection": "Aggiunge chiacchierata", "vector-action-delete": "Scancèlla", "vector-action-move": "Spusta", @@ -15,5 +16,6 @@ "vector-view-edit": "Càgna", "vector-view-history": "Vere cronologgia", "vector-view-view": "Liegge", - "vector-view-viewsource": "Vere sorgente" + "vector-view-viewsource": "Vere sorgente", + "vector-more-actions": "Cchiù" } diff --git a/skins/Vector/i18n/ne.json b/skins/Vector/i18n/ne.json index 443becb9..49ccae7a 100644 --- a/skins/Vector/i18n/ne.json +++ b/skins/Vector/i18n/ne.json @@ -3,7 +3,8 @@ "authors": [ "Bhawani Gautam", "RajeshPandey", - "सरोज कुमार ढकाल" + "सरोज कुमार ढकाल", + "बिप्लब आनन्द" ] }, "skinname-vector": "भेक्टर", @@ -18,5 +19,6 @@ "vector-view-edit": "सम्पादन", "vector-view-history": "इतिहास हेर्ने", "vector-view-view": "पढ्ने", - "vector-view-viewsource": "स्रोत हेर्ने" + "vector-view-viewsource": "स्रोत हेर्ने", + "vector-more-actions": "थप" } diff --git a/skins/Vector/i18n/oc.json b/skins/Vector/i18n/oc.json index 2aa517e9..5fb2c094 100644 --- a/skins/Vector/i18n/oc.json +++ b/skins/Vector/i18n/oc.json @@ -17,5 +17,6 @@ "vector-view-edit": "Modificar", "vector-view-history": "Veire l'istoric", "vector-view-view": "Legir", - "vector-view-viewsource": "Veire la font" + "vector-view-viewsource": "Veire la font", + "vector-more-actions": "Mai" } diff --git a/skins/Vector/i18n/os.json b/skins/Vector/i18n/os.json index a1782896..58d41d31 100644 --- a/skins/Vector/i18n/os.json +++ b/skins/Vector/i18n/os.json @@ -15,5 +15,6 @@ "vector-view-edit": "Ивын", "vector-view-history": "Истори", "vector-view-view": "Кæсын", - "vector-view-viewsource": "Код кæсын" + "vector-view-viewsource": "Код кæсын", + "vector-more-actions": "Фылдæр" } diff --git a/skins/Vector/i18n/pa.json b/skins/Vector/i18n/pa.json index 5f153999..c2f3811e 100644 --- a/skins/Vector/i18n/pa.json +++ b/skins/Vector/i18n/pa.json @@ -17,5 +17,6 @@ "vector-view-edit": "ਸੋਧੋ", "vector-view-history": "ਅਤੀਤ ਵੇਖੋ", "vector-view-view": "ਪੜ੍ਹੋ", - "vector-view-viewsource": "ਸਰੋਤ ਵੇਖੋ" + "vector-view-viewsource": "ਸਰੋਤ ਵੇਖੋ", + "vector-more-actions": "ਹੋਰ" } diff --git a/skins/Vector/i18n/pfl.json b/skins/Vector/i18n/pfl.json index 419eb4e6..a4c39f4a 100644 --- a/skins/Vector/i18n/pfl.json +++ b/skins/Vector/i18n/pfl.json @@ -9,9 +9,10 @@ "vector-action-move": "Vaschiewe", "vector-action-protect": "Schidze", "vector-action-undelete": "Zriggbringe", - "vector-view-create": "Õleesche", - "vector-view-edit": "Drõ schaffe", + "vector-view-create": "Oaleesche", + "vector-view-edit": "Droa schaffe", "vector-view-history": "Dadaigschischd", "vector-view-view": "Lese", - "vector-view-viewsource": "Gwelltegschd zaische" + "vector-view-viewsource": "Gwelltegschd zaische", + "vector-more-actions": "Mea" } diff --git a/skins/Vector/i18n/pms.json b/skins/Vector/i18n/pms.json index 79627b0d..40dab80e 100644 --- a/skins/Vector/i18n/pms.json +++ b/skins/Vector/i18n/pms.json @@ -14,5 +14,6 @@ "vector-view-edit": "Modifiché", "vector-view-history": "Smon-e la stòria", "vector-view-view": "Lese", - "vector-view-viewsource": "Vëdde la sorgiss" + "vector-view-viewsource": "Vëdde la sorgiss", + "vector-more-actions": "Ëd pi" } diff --git a/skins/Vector/i18n/ps.json b/skins/Vector/i18n/ps.json index 2ccb2658..474fac18 100644 --- a/skins/Vector/i18n/ps.json +++ b/skins/Vector/i18n/ps.json @@ -7,7 +7,7 @@ "skinname-vector": "وېکټور", "vector.css": "/* د CSS هره بڼه چې دلته ځای پر ځای کېږي هغه به د وېکټور د پوښ ټولو کارنانو لپاره کار کوي */", "vector.js": "/* د جاوا هر يو سکرېپټ چې دلته ځای پر ځای کېږي هغه به د وېکټور د پوښ ټولو کارنانو لپاره کار کوي */", - "vector-action-addsection": "سرليکونه ورگډول", + "vector-action-addsection": "سرليک ورگډول", "vector-action-delete": "ړنگول", "vector-action-move": "لېږدول", "vector-action-protect": "ژغورل", @@ -17,5 +17,6 @@ "vector-view-edit": "سمول", "vector-view-history": "پېښليک کتل", "vector-view-view": "لوستل", - "vector-view-viewsource": "سرچينه کتل" + "vector-view-viewsource": "سرچينه کتل", + "vector-more-actions": "نور" } diff --git a/skins/Vector/i18n/pt-br.json b/skins/Vector/i18n/pt-br.json index db476759..93c16401 100644 --- a/skins/Vector/i18n/pt-br.json +++ b/skins/Vector/i18n/pt-br.json @@ -5,7 +5,8 @@ "Diego Queiroz", "Giro720", "Helder.wiki", - 555 + 555, + "He7d3r" ] }, "vector.js": "/* Qualquer JavaScript aqui colocado afetará os usuários do skin Vector */", diff --git a/skins/Vector/i18n/qqq.json b/skins/Vector/i18n/qqq.json index fea395be..25b94339 100644 --- a/skins/Vector/i18n/qqq.json +++ b/skins/Vector/i18n/qqq.json @@ -6,14 +6,15 @@ "Lloffiwr", "Shirayuki", "Umherirrender", - "Matma Rex" + "Matma Rex", + "Liuxinyu970226" ] }, "skinname-vector": "{{optional}}", "vector-skin-desc": "{{desc|what=skin|name=Vector|url=https://www.mediawiki.org/wiki/Skin:Vector}}", "vector.css": "{{optional}}", "vector.js": "{{optional}}", - "vector-action-addsection": "Used in the Vector skin. See for example {{canonicalurl:Talk:Main_Page|useskin=vector}}", + "vector-action-addsection": "Used in the Vector skin. See for example {{canonicalurl:Talk:Main_Page|useskin=vector}}\n{{Identical|Add topic}}", "vector-action-delete": "Used in the Vector skin, as the name of a tab at the top of the page. See for example {{canonicalurl:Main_Page|useskin=vector}}\n\n{{Identical|Delete}}", "vector-action-move": "Used in the Vector skin, on the tabs at the top of the page. See for example {{canonicalurl:Talk:Main_Page|useskin=vector}}\n\n{{Identical|Move}}", "vector-action-protect": "Tab at top of page, in vector skin\n\n{{Identical|Protect}}", diff --git a/skins/Vector/i18n/ro.json b/skins/Vector/i18n/ro.json index 96725c0b..b1d80733 100644 --- a/skins/Vector/i18n/ro.json +++ b/skins/Vector/i18n/ro.json @@ -9,6 +9,7 @@ ] }, "skinname-vector": "Vector", + "vector-skin-desc": "Versiunea modernă pentru MonoBook cu o înfățișare reîmprospătată și multe îmbunătățiri de uzabilitate", "vector.css": "/* CSS plasate aici vor afecta utilizatorii stilului Vector */", "vector-action-addsection": "Mesaj nou", "vector-action-delete": "Ștergere", diff --git a/skins/Vector/i18n/roa-tara.json b/skins/Vector/i18n/roa-tara.json index c5721e77..37ea6d98 100644 --- a/skins/Vector/i18n/roa-tara.json +++ b/skins/Vector/i18n/roa-tara.json @@ -5,6 +5,7 @@ ] }, "skinname-vector": "Vettore", + "vector-skin-desc": "Versione moderne de MonoBook cu 'nu sguarde aggiornate e 'nu sbuènne de miglioramende sus a l'ausabbilità", "vector.css": "/* 'U CSS ca se iacchie aqquà 'u 'ndrucane le utinde d'a masckere Vettore */", "vector.js": "/* Ogne JavaScript aqquà avène carecate pe le utinde ca ausane 'a masckere Vettore */", "vector-action-addsection": "Aggiunge 'na discussiona", @@ -17,5 +18,6 @@ "vector-view-edit": "Cange", "vector-view-history": "Vide 'u cunde", "vector-view-view": "Ligge", - "vector-view-viewsource": "Vide 'u sorgende" + "vector-view-viewsource": "Vide 'u sorgende", + "vector-more-actions": "De cchiù" } diff --git a/skins/Vector/i18n/ru.json b/skins/Vector/i18n/ru.json index cd344b9b..696ee0ef 100644 --- a/skins/Vector/i18n/ru.json +++ b/skins/Vector/i18n/ru.json @@ -19,7 +19,7 @@ "vector-action-protect": "Защитить", "vector-action-undelete": "Восстановить", "vector-action-unprotect": "Изменить защиту", - "vector-view-create": "Создание", + "vector-view-create": "Создать", "vector-view-edit": "Править", "vector-view-history": "История", "vector-view-view": "Читать", diff --git a/skins/Vector/i18n/rue.json b/skins/Vector/i18n/rue.json index 2147f80e..1302c681 100644 --- a/skins/Vector/i18n/rue.json +++ b/skins/Vector/i18n/rue.json @@ -1,7 +1,8 @@ { "@metadata": { "authors": [ - "Gazeb" + "Gazeb", + "Tkalyn" ] }, "vector-action-addsection": "Придати тему", @@ -14,5 +15,6 @@ "vector-view-edit": "Едітовати", "vector-view-history": "Видїти історію", "vector-view-view": "Чітати", - "vector-view-viewsource": "Видїти код" + "vector-view-viewsource": "Видїти код", + "vector-more-actions": "Веце" } diff --git a/skins/Vector/i18n/sah.json b/skins/Vector/i18n/sah.json index 9d44db50..92b32649 100644 --- a/skins/Vector/i18n/sah.json +++ b/skins/Vector/i18n/sah.json @@ -14,5 +14,6 @@ "vector-view-edit": "Уларыт", "vector-view-history": "Устуоруйатын көрүү", "vector-view-view": "Ааҕыы", - "vector-view-viewsource": "Бэлиэлэрин көрүү" + "vector-view-viewsource": "Бэлиэлэрин көрүү", + "vector-more-actions": "Эбии" } diff --git a/skins/Vector/i18n/scn.json b/skins/Vector/i18n/scn.json index a9483c4e..1a068959 100644 --- a/skins/Vector/i18n/scn.json +++ b/skins/Vector/i18n/scn.json @@ -2,19 +2,21 @@ "@metadata": { "authors": [ "Gmelfi", - "Melos" + "Melos", + "Pippinu" ] }, + "vector-skin-desc": "Virsioni muderna di MonoBook cu' n'aspettu novu e tanti migghiuramenti nta l'usabbilità", "vector-action-addsection": "Agghiunci argumentu", - "vector-action-delete": "Elìmina", + "vector-action-delete": "Cancella", "vector-action-move": "Sposta", "vector-action-protect": "Pruteggi", - "vector-action-undelete": "Riprìstina", + "vector-action-undelete": "Annulla la cancillazzioni", "vector-action-unprotect": "Cancia la prutizzioni", "vector-view-create": "Crea", "vector-view-edit": "Cancia", - "vector-view-history": "Talìa a storia", + "vector-view-history": "Talìa la crunuluggìa", "vector-view-view": "Leggi", - "vector-view-viewsource": "Talìa la fonti", + "vector-view-viewsource": "Talìa lu surgenti", "vector-more-actions": "Àutri cosi" } diff --git a/skins/Vector/i18n/sco.json b/skins/Vector/i18n/sco.json index acf5387a..a8a4e360 100644 --- a/skins/Vector/i18n/sco.json +++ b/skins/Vector/i18n/sco.json @@ -6,6 +6,7 @@ "Omnipaedista" ] }, + "vector-skin-desc": "Modern version o MonoBook wi ae fresh luik n monie uisabeelitie impruivments", "vector-action-addsection": "Eik topic", "vector-action-delete": "Delyte", "vector-action-move": "Muiv", @@ -16,5 +17,6 @@ "vector-view-edit": "Eedit", "vector-view-history": "See histerie", "vector-view-view": "Read", - "vector-view-viewsource": "See Soorce" + "vector-view-viewsource": "See Soorce", + "vector-more-actions": "Mair" } diff --git a/skins/Vector/i18n/sgs.json b/skins/Vector/i18n/sgs.json index 7b2591c4..8b60f540 100644 --- a/skins/Vector/i18n/sgs.json +++ b/skins/Vector/i18n/sgs.json @@ -14,5 +14,6 @@ "vector-view-edit": "Taisītė", "vector-view-history": "Veizietė istuorėjė", "vector-view-view": "Skaitītė", - "vector-view-viewsource": "Veizietė kuoda" + "vector-view-viewsource": "Veizietė kuoda", + "vector-more-actions": "Dā" } diff --git a/skins/Vector/i18n/shn.json b/skins/Vector/i18n/shn.json index c2cea6a6..ad8a3c0c 100644 --- a/skins/Vector/i18n/shn.json +++ b/skins/Vector/i18n/shn.json @@ -1,13 +1,17 @@ { "@metadata": { "authors": [ - "Saiddzone" + "Saiddzone", + "Saimawnkham" ] }, + "vector-action-addsection": "ထႅမ်သႂ်ႇ ႁူဝ်ၶေႃႈ", + "vector-action-move": "ၶၢႆႉ", "vector-action-protect": "ႁေႉၵင်ႈ", "vector-view-create": "သၢင်ႈ", "vector-view-edit": "မူၼ်ႉမႄး", "vector-view-history": "တူၺ်းပိုၼ်း", "vector-view-view": "လူတူၺ်း", - "vector-view-viewsource": "တူၺ်း ငဝ်ႈငႃႇ" + "vector-view-viewsource": "တူၺ်း ငဝ်ႈငႃႇ", + "vector-more-actions": "ၼမ်လိူဝ်" } diff --git a/skins/Vector/i18n/szl.json b/skins/Vector/i18n/szl.json index 9e8c1063..1b67a26f 100644 --- a/skins/Vector/i18n/szl.json +++ b/skins/Vector/i18n/szl.json @@ -3,7 +3,8 @@ "authors": [ "Britscher", "Gaj777", - "Przemub" + "Przemub", + "Krol111" ] }, "vector-action-addsection": "Nowo tajla", @@ -16,5 +17,6 @@ "vector-view-edit": "Sprowjej", "vector-view-history": "Uobocz gyszichta", "vector-view-view": "Czytej", - "vector-view-viewsource": "Zdrzůdłowy tekst" + "vector-view-viewsource": "Zdrzůdłowy tekst", + "vector-more-actions": "Wjyncyj" } diff --git a/skins/Vector/i18n/tcy.json b/skins/Vector/i18n/tcy.json index 0001fe58..f73ce306 100644 --- a/skins/Vector/i18n/tcy.json +++ b/skins/Vector/i18n/tcy.json @@ -15,5 +15,6 @@ "vector-view-edit": "ಸಂಪಾದನೆ ಮಲ್ಪುಲೆ", "vector-view-history": "ಇತಿಹಾಸೊನು ತೂಲೆ", "vector-view-view": "ಓದ್ಲೇ", - "vector-view-viewsource": "ಮೂಲೊನು ತೂಲೆ" + "vector-view-viewsource": "ಮೂಲೊನು ತೂಲೆ", + "vector-more-actions": "ನನಲಾ" } diff --git a/skins/Vector/i18n/tt-cyrl.json b/skins/Vector/i18n/tt-cyrl.json index 606fbe35..80b54b4d 100644 --- a/skins/Vector/i18n/tt-cyrl.json +++ b/skins/Vector/i18n/tt-cyrl.json @@ -4,7 +4,8 @@ "Don Alessandro", "Rinatus", "Ильнар", - "Рашат Якупов" + "Рашат Якупов", + "Derslek" ] }, "skinname-vector": "Сызымлы", @@ -18,5 +19,6 @@ "vector-view-edit": "Үзгәртү", "vector-view-history": "Тарихын карау", "vector-view-view": "Уку", - "vector-view-viewsource": "Чыганагын карау" + "vector-view-viewsource": "Чыганагын карау", + "vector-more-actions": "Тагын" } diff --git a/skins/Vector/i18n/ur.json b/skins/Vector/i18n/ur.json index 595477e6..88aa8401 100644 --- a/skins/Vector/i18n/ur.json +++ b/skins/Vector/i18n/ur.json @@ -5,7 +5,8 @@ "Istabani", "Noor2020", "Tahir mq", - "محبوب عالم" + "محبوب عالم", + "عثمان خان شاہ" ] }, "vector-action-addsection": "نیا موضوع", @@ -16,8 +17,8 @@ "vector-action-unprotect": "تحفظ میں تبدیلی", "vector-view-create": "تخلیق", "vector-view-edit": "ترمیم", - "vector-view-history": "تاریخ", + "vector-view-history": "تاریخچہ دکھائیے", "vector-view-view": "مطالعہ", "vector-view-viewsource": "مسودہ", - "vector-more-actions": "زیادہ" + "vector-more-actions": "مزید" } diff --git a/skins/Vector/i18n/uz.json b/skins/Vector/i18n/uz.json index ee75d39a..05d3d63f 100644 --- a/skins/Vector/i18n/uz.json +++ b/skins/Vector/i18n/uz.json @@ -5,7 +5,8 @@ "Arystanbek", "Casual", "CoderSI", - "Sociologist" + "Sociologist", + "Nataev" ] }, "skinname-vector": "Vektor", @@ -14,7 +15,7 @@ "vector-action-move": "Ko‘chirish", "vector-action-protect": "Himoyalash", "vector-action-undelete": "Tiklash", - "vector-action-unprotect": "Himoyalashni oʻzgartirish", + "vector-action-unprotect": "Himoyani oʻzgartirish", "vector-view-create": "Yaratish", "vector-view-edit": "Tahrirlash", "vector-view-history": "Tarix", diff --git a/skins/Vector/i18n/vec.json b/skins/Vector/i18n/vec.json index 96228289..67febc07 100644 --- a/skins/Vector/i18n/vec.json +++ b/skins/Vector/i18n/vec.json @@ -8,15 +8,15 @@ "Vajotwo" ] }, - "vector-action-addsection": "Zonta discusion", - "vector-action-delete": "Scanseła", + "vector-action-addsection": "Xonta discusion", + "vector-action-delete": "Scanseƚa", "vector-action-move": "Sposta", - "vector-action-protect": "Protezi", + "vector-action-protect": "Protegi", "vector-action-undelete": "Recupera", - "vector-action-unprotect": "Canbia ła protesion", + "vector-action-unprotect": "Canbia ƚa protesion", "vector-view-create": "Crea", "vector-view-edit": "Canbia", - "vector-view-history": "Varda ła storia", - "vector-view-view": "Lezi", + "vector-view-history": "Varda ƚa stòria", + "vector-view-view": "Lexi", "vector-view-viewsource": "Varda el testo" } diff --git a/skins/Vector/i18n/vo.json b/skins/Vector/i18n/vo.json index 1bd30425..ec384175 100644 --- a/skins/Vector/i18n/vo.json +++ b/skins/Vector/i18n/vo.json @@ -14,5 +14,6 @@ "vector-view-edit": "Redakön", "vector-view-history": "Logön jenotemi", "vector-view-view": "Reidön", - "vector-view-viewsource": "Logön fonäti" + "vector-view-viewsource": "Logön fonäti", + "vector-more-actions": "Pluikos" } diff --git a/skins/Vector/i18n/yi.json b/skins/Vector/i18n/yi.json index 16907ade..66a79602 100644 --- a/skins/Vector/i18n/yi.json +++ b/skins/Vector/i18n/yi.json @@ -2,7 +2,8 @@ "@metadata": { "authors": [ "Joystick", - "פוילישער" + "פוילישער", + "Har-wradim" ] }, "skinname-vector": "וועקטאר", @@ -16,7 +17,7 @@ "vector-action-unprotect": "ענדערונג באַשיצונג", "vector-view-create": "שאַפֿן", "vector-view-edit": "רעדאַקטירן", - "vector-view-history": "ווײַזן היסטאָריע", + "vector-view-history": "ווייזן היסטאָריע", "vector-view-view": "לייענען", "vector-view-viewsource": "ווײַזן מקור", "vector-more-actions": "נאך" diff --git a/skins/Vector/i18n/yue.json b/skins/Vector/i18n/yue.json index 3aa23090..c104579d 100644 --- a/skins/Vector/i18n/yue.json +++ b/skins/Vector/i18n/yue.json @@ -2,10 +2,12 @@ "@metadata": { "authors": [ "Ktchankt", - "Waihorace" + "Waihorace", + "Yueman" ] }, "skinname-vector": "Vector", + "vector-skin-desc": "MonoBook嘅摩登版,有新嘅樣,又有好多功能改進", "vector.css": "/* 響呢度放 CSS 碼去改用戶用嘅域達畫面 */", "vector.js": "/* 響每一次個頁面載入時,用域達畫面嘅用戶都會載入呢度任何嘅JavaScript */", "vector-action-addsection": "加主題", diff --git a/skins/Vector/i18n/zh-hant.json b/skins/Vector/i18n/zh-hant.json index 556db105..bee74a31 100644 --- a/skins/Vector/i18n/zh-hant.json +++ b/skins/Vector/i18n/zh-hant.json @@ -11,7 +11,7 @@ "vector-skin-desc": "現代版的 MonoBook,有著較新穎的外觀與許多使用性的改進", "vector.css": "/* 此 CSS 會影響使用 Vector 介面外觀的使用者 */", "vector.js": "/* 此 JavaScript 會用於使用 Vector 介面外觀的使用者 */", - "vector-action-addsection": "加入主題", + "vector-action-addsection": "新增主題", "vector-action-delete": "刪除", "vector-action-move": "移動", "vector-action-protect": "保護", diff --git a/skins/Vector/images/bullet-icon.svg b/skins/Vector/images/bullet-icon.svg new file mode 100644 index 00000000..dede350a --- /dev/null +++ b/skins/Vector/images/bullet-icon.svg @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="UTF-8"?> +<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="5" height="13"> +<circle cx="2.5" cy="9.5" r="2.5" fill="#00528c"/> +</svg> diff --git a/skins/Vector/images/user-icon.svg b/skins/Vector/images/user-icon.svg index 87eeb8ea..c37d464a 100644 --- a/skins/Vector/images/user-icon.svg +++ b/skins/Vector/images/user-icon.svg @@ -1,11 +1,11 @@ -<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="12px" height="13.836px" viewBox="0 0 12 13.836" enable-background="new 0 0 12 13.836" xml:space="preserve">
-<path fill="#777777" d="M1.938,6.656c-1.32,1.485-1.47,3.15-0.97,4.25c0.323,0.707,0.78,1.127,1.313,1.375
- c0.496,0.229,1.074,0.273,1.658,0.282c0.023,0,0.04,0.03,0.062,0.03h4.187c0.61,0,1.225-0.125,1.75-0.405
- c0.527-0.28,0.961-0.718,1.188-1.376c0.335-0.964,0.175-2.529-1.094-4.03C9.094,7.954,7.68,8.719,6.065,8.719
- c-1.677,0-3.182-0.812-4.125-2.063H1.938z"/>
-<path fill="#777777" d="M6.063,0c-1.89,0-3.595,1.674-3.594,3.563C2.467,5.45,4.173,7.155,6.06,7.155
- c1.89,0,3.564-1.705,3.563-3.593C9.625,1.673,7.95,0,6.063,0L6.063,0z"/>
-</svg>
+<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> +<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" + width="12px" height="13.836px" viewBox="0 0 12 13.836" enable-background="new 0 0 12 13.836" xml:space="preserve"> +<path fill="#777777" d="M1.938,6.656c-1.32,1.485-1.47,3.15-0.97,4.25c0.323,0.707,0.78,1.127,1.313,1.375 + c0.496,0.229,1.074,0.273,1.658,0.282c0.023,0,0.04,0.03,0.062,0.03h4.187c0.61,0,1.225-0.125,1.75-0.405 + c0.527-0.28,0.961-0.718,1.188-1.376c0.335-0.964,0.175-2.529-1.094-4.03C9.094,7.954,7.68,8.719,6.065,8.719 + c-1.677,0-3.182-0.812-4.125-2.063H1.938z"/> +<path fill="#777777" d="M6.063,0c-1.89,0-3.595,1.674-3.594,3.563C2.467,5.45,4.173,7.155,6.06,7.155 + c1.89,0,3.564-1.705,3.563-3.593C9.625,1.673,7.95,0,6.063,0L6.063,0z"/> +</svg> diff --git a/skins/Vector/screen.less b/skins/Vector/screen.less index da0dec53..353f35fc 100644 --- a/skins/Vector/screen.less +++ b/skins/Vector/screen.less @@ -3,7 +3,6 @@ @import "variables.less"; @import "components/common.less"; -@import "components/animations.less"; @import "components/navigation.less"; @import "components/footer.less"; @import "components/externalLinks.less"; diff --git a/skins/Vector/skin.json b/skins/Vector/skin.json new file mode 100644 index 00000000..1d1ac1b6 --- /dev/null +++ b/skins/Vector/skin.json @@ -0,0 +1,85 @@ +{ + "name": "Vector", + "author": [ + "Trevor Parscal", + "Roan Kattouw", + "..." + ], + "url": "https://www.mediawiki.org/wiki/Skin:Vector", + "descriptionmsg": "vector-skin-desc", + "namemsg": "skinname-vector", + "license-name": "GPL-2.0+", + "type": "skin", + "ConfigRegistry": { + "vector": "GlobalVarConfig::newInstance" + }, + "ValidSkinNames": { + "vector": "Vector" + }, + "MessagesDirs": { + "Vector": [ + "i18n" + ] + }, + "AutoloadClasses": { + "SkinVector": "SkinVector.php", + "VectorTemplate": "VectorTemplate.php" + }, + "ResourceModules": { + "skins.vector.styles": { + "styles": { + "screen.less": { + "media": "screen" + }, + "screen-hd.less": { + "media": "screen and (min-width: 982px)" + } + } + }, + "skins.vector.js": { + "scripts": [ + "collapsibleTabs.js", + "vector.js" + ], + "position": "top", + "dependencies": [ + "jquery.throttle-debounce", + "jquery.tabIndex" + ] + } + }, + "ResourceFileModulePaths": { + "localBasePath": "", + "remoteSkinPath": "Vector" + }, + "ResourceModuleSkinStyles": { + "vector": { + "jquery.tipsy": "skinStyles/jquery.tipsy.less", + "jquery.ui.core": [ + "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.sectionAnchor": "skinStyles/mediawiki.sectionAnchor.less", + "mediawiki.special": "skinStyles/mediawiki.special.less", + "mediawiki.special.preferences": "skinStyles/mediawiki.special.preferences.less" + } + }, + "config": { + "VectorUseSimpleSearch": true, + "VectorUseIconWatch": true + } +} diff --git a/skins/Vector/skinStyles/jquery.ui/jquery.ui.core.css b/skins/Vector/skinStyles/jquery.ui/jquery.ui.core.css index 2e088ca1..d4f7db3b 100644 --- a/skins/Vector/skinStyles/jquery.ui/jquery.ui.core.css +++ b/skins/Vector/skinStyles/jquery.ui/jquery.ui.core.css @@ -14,7 +14,7 @@ .ui-helper-hidden { display: none; } .ui-helper-hidden-accessible { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; } .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } -.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; } +.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; border-collapse: collapse; } .ui-helper-clearfix:after { clear: both; } .ui-helper-clearfix { zoom: 1; } .ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } diff --git a/skins/Vector/skinStyles/mediawiki.sectionAnchor.less b/skins/Vector/skinStyles/mediawiki.sectionAnchor.less new file mode 100644 index 00000000..6a748108 --- /dev/null +++ b/skins/Vector/skinStyles/mediawiki.sectionAnchor.less @@ -0,0 +1,45 @@ +@media screen { + .mw-headline-anchor { + margin-left: -16px; + width: 16px; + } + + .mw-content-ltr .mw-headline-anchor, + .mw-content-rtl .mw-content-ltr .mw-headline-anchor { + /* @noflip */ + margin-left: -16px; + /* @noflip */ + margin-right: 0; + } + + .mw-content-rtl .mw-headline-anchor, + .mw-content-ltr .mw-content-rtl .mw-headline-anchor { + /* @noflip */ + margin-left: 0; + /* @noflip */ + margin-right: -16px; + } +} + +@media screen and (min-width: 982px) { + .mw-headline-anchor { + margin-left: -20px; + width: 20px; + } + + .mw-content-ltr .mw-headline-anchor, + .mw-content-rtl .mw-content-ltr .mw-headline-anchor { + /* @noflip */ + margin-left: -20px; + /* @noflip */ + margin-right: 0; + } + + .mw-content-rtl .mw-headline-anchor, + .mw-content-ltr .mw-content-rtl .mw-headline-anchor { + /* @noflip */ + margin-left: 0; + /* @noflip */ + margin-right: -20px; + } +} diff --git a/skins/Vector/vector.js b/skins/Vector/vector.js index 7be35355..8f839186 100644 --- a/skins/Vector/vector.js +++ b/skins/Vector/vector.js @@ -34,11 +34,6 @@ jQuery( function ( $ ) { } ); /** - * Sidebar - */ - $( '#mw-panel > .portal:first' ).addClass( 'first' ); - - /** * Collapsible tabs */ var $cactions = $( '#p-cactions' ), @@ -54,16 +49,16 @@ jQuery( function ( $ ) { $cactions .removeClass( 'emptyPortlet' ) .find( 'h3' ) - .css( 'width', '1px' ).animate( { 'width': originalDropdownWidth }, 'normal' ); + .css( 'width', '1px' ).animate( { width: originalDropdownWidth }, 'normal' ); } } ) .bind( 'beforeTabExpand', function () { // If we're removing the last child node right now, hide the dropdown if ( $cactions.find( 'li' ).length === 1 ) { - $cactions.find( 'h3' ).animate( { 'width': '1px' }, 'normal', function () { + $cactions.find( 'h3' ).animate( { width: '1px' }, 'normal', function () { $( this ).attr( 'style', '' ) .parent().addClass( 'emptyPortlet' ); - }); + } ); } } ) .collapsibleTabs( { |