From 0ffd1299d92b46a6faf595b7a70b03f507a76e3b Mon Sep 17 00:00:00 2001 From: Federico Leva Date: Sun, 14 Jul 2013 12:19:34 +0200 Subject: [PATCH] Move translators credits list to a wiki page * List as per Iedc78728156f04b16109140db485492ba7693f14 (to be occasionally updated manually on wiki with automatic authors lists from the files as exported by the Translate extension) * Link it from Special:Version * Make protocol consistent in the different parts of the sentence Change-Id: I3bb53d4c184173b5362f5036764fb38d8f07d178 --- CREDITS | 9 ++------- includes/specials/SpecialVersion.php | 7 +++++-- languages/messages/MessagesEn.php | 1 + languages/messages/MessagesQqq.php | 3 ++- maintenance/language/messages.inc | 1 + 5 files changed, 11 insertions(+), 10 deletions(-) diff --git a/CREDITS b/CREDITS index 3c05bf1ce3..7927c3d8fa 100644 --- a/CREDITS +++ b/CREDITS @@ -236,10 +236,5 @@ following names for their contribution to the product. * Zachary Hauri == Translators == -* Anders Wegge Jakobsen -* Hk kng -* Hojjat -* Meno25 -* Rotem Liss -* Shinjiman -* [https://translatewiki.net/wiki/Special:ListUsers/translator Translatewiki.net Translators] + +* [https://translatewiki.net/wiki/Translating:MediaWiki/Credits Translators on translatewiki.net and others] diff --git a/includes/specials/SpecialVersion.php b/includes/specials/SpecialVersion.php index 0ba056ac86..5ba785f57d 100644 --- a/includes/specials/SpecialVersion.php +++ b/includes/specials/SpecialVersion.php @@ -113,11 +113,13 @@ class SpecialVersion extends SpecialPage { global $wgLang; if ( defined( 'MEDIAWIKI_INSTALL' ) ) { - $othersLink = '[http://www.mediawiki.org/wiki/Special:Version/Credits ' . wfMessage( 'version-poweredby-others' )->text() . ']'; + $othersLink = '[//www.mediawiki.org/wiki/Special:Version/Credits ' . wfMessage( 'version-poweredby-others' )->text() . ']'; } else { $othersLink = '[[Special:Version/Credits|' . wfMessage( 'version-poweredby-others' )->text() . ']]'; } + $translatorsLink = '[//translatewiki.net/wiki/Translating:MediaWiki/Credits ' . wfMessage( 'version-poweredby-translators' )->text() . ']'; + $authorList = array( 'Magnus Manske', 'Brion Vibber', 'Lee Daniel Crocker', 'Tim Starling', 'Erik Möller', 'Gabriel Wicke', 'Ævar Arnfjörð Bjarmason', @@ -126,7 +128,8 @@ class SpecialVersion extends SpecialPage { 'Alexandre Emsenhuber', 'Siebrand Mazeland', 'Chad Horohoe', 'Roan Kattouw', 'Trevor Parscal', 'Bryan Tong Minh', 'Sam Reed', 'Victor Vasiliev', 'Rotem Liss', 'Platonides', 'Antoine Musso', - 'Timo Tijhof', 'Daniel Kinzler', 'Jeroen De Dauw', $othersLink + 'Timo Tijhof', 'Daniel Kinzler', 'Jeroen De Dauw', $othersLink, + $translatorsLink ); return wfMessage( 'version-poweredby-credits', MWTimestamp::getLocalInstance()->format( 'Y' ), diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index 66bebc6ba6..b365da8462 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -4846,6 +4846,7 @@ You can also [[Special:EditWatchlist|use the standard editor]].', 'version-license' => 'License', 'version-poweredby-credits' => "This wiki is powered by '''[//www.mediawiki.org/ MediaWiki]''', copyright © 2001-$1 $2.", 'version-poweredby-others' => 'others', +'version-poweredby-translators' => 'translatewiki.net translators', 'version-credits-summary' => 'We would like to recognize the following persons for their contribution to [[Special:Version|MediaWiki]].', 'version-license-info' => 'MediaWiki 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. diff --git a/languages/messages/MessagesQqq.php b/languages/messages/MessagesQqq.php index 280100a0da..574fbf32a5 100644 --- a/languages/messages/MessagesQqq.php +++ b/languages/messages/MessagesQqq.php @@ -8772,7 +8772,8 @@ This is being used in [[Special:Version]], preceeding the subversion revision nu 'version-poweredby-credits' => 'Message shown on [[Special:Version]]. Parameters: * $1 - the current year * $2 - a list of selected MediaWiki authors', -'version-poweredby-others' => 'Used at the very end of {{msg-mw|version-poweredby-credits}} on [[Special:Version]]. First, there\'s a long list of selected MediaWiki authors, then the word "and" (from {{msg-mw|and}}) follows and then this translation, which is supposed to credit the many other people than developer helping with MediaWiki.', +'version-poweredby-others' => 'Used at the end of {{msg-mw|version-poweredby-credits}} on [[Special:Version]]. First, there\'s a long list of selected MediaWiki authors, then a comma and then this translation, which is supposed to credit the many other people than developer helping with MediaWiki.', +'version-poweredby-translators' => 'Label for a link to [[Translating:MediaWiki/Credits]], which follows {{msg-mw|version-poweredby-others}} and an "and" (from {{msg-mw|and}}), at the end of {{msg-mw|version-poweredby-credits}} on [[Special:Version]].', 'version-credits-summary' => 'Summary of the [[Special:Version/Credits]] sub page, which lists all developers etc. who contributed to MediaWiki. Shown at the top.', 'version-license-info' => '[[wikipedia:GNU GPL|GNU GPL]] notice shown at [[Special:Version]]. See //www.gnu.org/licenses/old-licenses/gpl-2.0-translations.html for available translations.', 'version-software' => 'Message shown on [[Special:Version]]. diff --git a/maintenance/language/messages.inc b/maintenance/language/messages.inc index 9fabc43a1f..8553824c8e 100644 --- a/maintenance/language/messages.inc +++ b/maintenance/language/messages.inc @@ -3693,6 +3693,7 @@ $wgMessageStructure = array( 'version-license', 'version-poweredby-credits', 'version-poweredby-others', + 'version-poweredby-translators', 'version-credits-summary', 'version-license-info', 'version-software', -- 2.20.1