[MediaWiki-CVS] SVN: [112417] trunk/translatewiki/MediaWiki/mediawiki-defines.txt
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112417 Revision: 112417 Author: siebrand Date: 2012-02-26 08:54:09 + (Sun, 26 Feb 2012) Log Message: --- Abbreviations are confusing. Modified Paths: -- trunk/translatewiki/MediaWiki/mediawiki-defines.txt Modified: trunk/translatewiki/MediaWiki/mediawiki-defines.txt === --- trunk/translatewiki/MediaWiki/mediawiki-defines.txt 2012-02-25 21:39:54 UTC (rev 112416) +++ trunk/translatewiki/MediaWiki/mediawiki-defines.txt 2012-02-26 08:54:09 UTC (rev 112417) @@ -1684,7 +1684,7 @@ #descmsg = lcadft-desc Translate - Message Group Descriptions -id = ext-translate-groupdescs +id = ext-translate-messagegroupdescriptions file = Translate/TranslateGroupDescriptions.i18n.php descmsg = translategroupdescriptions-desc ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112418] trunk/extensions/Translate/TranslateGroupDescriptions.i18n. php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112418 Revision: 112418 Author: siebrand Date: 2012-02-26 09:08:15 + (Sun, 26 Feb 2012) Log Message: --- Prepare for adding Potlatch2. Modified Paths: -- trunk/extensions/Translate/TranslateGroupDescriptions.i18n.php Modified: trunk/extensions/Translate/TranslateGroupDescriptions.i18n.php === --- trunk/extensions/Translate/TranslateGroupDescriptions.i18n.php 2012-02-26 08:54:09 UTC (rev 112417) +++ trunk/extensions/Translate/TranslateGroupDescriptions.i18n.php 2012-02-26 09:08:15 UTC (rev 112418) @@ -58,6 +58,7 @@ 'bw-desc-openlayers' => '[[Translating:OpenLayers|OpenLayers]] is a dynamic map generator in JavaScript', 'bw-desc-openstreetmap' => 'All messages related to [[Translating:OpenStreetMap|OpenStreetMap]]', 'bw-desc-osm-site' => '[[Translating:OpenStreetMap|OpenStreetMap]] is an editable map of the whole world', + 'translate-group-desc-potlatch2' => '[[Translating:OpenStreetMap|Potlatch2]] is a Flash-based OpenStreetMap editor', 'translate-group-desc-pywikipedia' => '[[Translating:Pywikipedia|Pywikipedia]] is a collection of tools to edit Wikipedia', 'bw-desc-shapado' => '[[Translating:Shapado|Shapado]] is web-based Question and Answer software', 'bw-desc-statusnet' => '[[Translating:StatusNet|StatusNet]] is a microblogging server', ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112419] trunk/translatewiki/OpenStreetMap
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112419 Revision: 112419 Author: siebrand Date: 2012-02-26 09:13:12 + (Sun, 26 Feb 2012) Log Message: --- Beta support for Potlatch2 Modified Paths: -- trunk/translatewiki/OpenStreetMap/README Added Paths: --- trunk/translatewiki/OpenStreetMap/Potlatch2.yaml Added: trunk/translatewiki/OpenStreetMap/Potlatch2.yaml === --- trunk/translatewiki/OpenStreetMap/Potlatch2.yaml (rev 0) +++ trunk/translatewiki/OpenStreetMap/Potlatch2.yaml2012-02-26 09:13:12 UTC (rev 112419) @@ -0,0 +1,60 @@ +TEMPLATE: + BASIC: +namespace: NS_OSM +description: "{{int:translate-group-desc-potlatch2}}" +class: FileBasedMessageGroup + + FILES: +class: JavaFFS +codeMap: + en:en_US + cs:cs_CZ + de:de_DE + en-gb: en_GB + es:es_ES + fr:fr_FR + it:it_IT + ja:ja_JP + nb:nb_NO + nl:nl_NL + nl-be: nl_BE + nn:nn_NO + pl:pl_PL + sv:sv_SE + pt:pt_PT + pt-br: pt_BR + zh-hans: zh_CN + zh-hant: zh_TW + + MANGLER: +class: StringMatcher +patterns: + - "*" + +--- +BASIC: + id: out-potlatch2-help + label: Potlatch2 - Help + display: out/osm/potlatch2/help + +FILES: + sourcePattern: %GROUPROOT%/potlatch2/l10n/locale/%CODE%/help_dialog.properties + definitionFile: %GROUPROOT%/potlatch2/l10n/locale/%CODE%/help_dialog.properties + targetPattern: potlatch2/l10n/locale/%CODE%/help_dialog.properties + +MANGLER: + prefix: help- + +--- +BASIC: + id: out-potlatch2-help + label: Potlatch2 - Main + display: out/osm/potlatch2/main + +FILES: + sourcePattern: %GROUPROOT%/potlatch2/l10n/locale/%CODE%/p2_main.properties + definitionFile: %GROUPROOT%/potlatch2/l10n/locale/%CODE%/p2_main.properties + targetPattern: potlatch2/l10n/locale/%CODE%/p2_main.properties + +MANGLER: + prefix: main- Property changes on: trunk/translatewiki/OpenStreetMap/Potlatch2.yaml ___ Added: svn:keywords + Id Added: svn:eol-style + native Modified: trunk/translatewiki/OpenStreetMap/README === --- trunk/translatewiki/OpenStreetMap/README2012-02-26 09:08:15 UTC (rev 112418) +++ trunk/translatewiki/OpenStreetMap/README2012-02-26 09:13:12 UTC (rev 112419) @@ -1,25 +1,19 @@ # Read-only repository setup cd %GROUPROOT% git clone git://git.openstreetmap.org/rails.git osm +git clone git://github.com/systemed/potlatch2.git potlatch2 # Commits * Execute on shell: "bxa osm". -* This will write all languages with 30%+ for the site and Potlatch to ~/export/ +* This will write all languages with 35%+ for the site and Potlatch2 to ~/export/ * download exports -* diff -* commit +* diff for QA purposes +* commit to the respective repositories # Documentation - partial /home/betawiki/bin/bxa: # Export all OpenStreetMap groups in proper structure if [ $1 = 'osm' ]; then -echo "Exporting OpenStreetMap potlatch and site with 30%+" -echo "Creating export folders..." -mkdir -p $HOME/export/config/potlatch/locales -mkdir -p $HOME/export/config/locales -echo "Exporting potlatch..." -php export.php --target=$HOME/export/potlatch --group=out-osm-potlatch --lang=* --threshold=30 -echo "Exporting site..." -php export.php --target=$HOME/export/site --group=out-osm-site --lang=* --threshold=30 -rm -rf $HOME/export/config/potlatch/locales/en.yml $HOME/export/config/locales/en.yml $HOME/export/config/potlatch/locales/qqq.yml $HOME/export/config/locales/qqq.yml +echo "Exporting OpenStreetMap potlatch and site with 35%+" +php export.php --target=$EXPORTPATH --groupprefix=out-osm- --lang='*' --skip=en,qqq --threshold=35 exit; fi ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112420] trunk/translatewiki/OpenStreetMap/Potlatch2.yaml
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112420 Revision: 112420 Author: siebrand Date: 2012-02-26 09:29:12 + (Sun, 26 Feb 2012) Log Message: --- Fix group ID. Modified Paths: -- trunk/translatewiki/OpenStreetMap/Potlatch2.yaml Modified: trunk/translatewiki/OpenStreetMap/Potlatch2.yaml === --- trunk/translatewiki/OpenStreetMap/Potlatch2.yaml2012-02-26 09:13:12 UTC (rev 112419) +++ trunk/translatewiki/OpenStreetMap/Potlatch2.yaml2012-02-26 09:29:12 UTC (rev 112420) @@ -47,7 +47,7 @@ --- BASIC: - id: out-potlatch2-help + id: out-potlatch2-main label: Potlatch2 - Main display: out/osm/potlatch2/main ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112421] trunk/translatewiki/OpenStreetMap/Potlatch2.yaml
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112421 Revision: 112421 Author: siebrand Date: 2012-02-26 09:35:19 + (Sun, 26 Feb 2012) Log Message: --- Fix grouping. Modified Paths: -- trunk/translatewiki/OpenStreetMap/Potlatch2.yaml Modified: trunk/translatewiki/OpenStreetMap/Potlatch2.yaml === --- trunk/translatewiki/OpenStreetMap/Potlatch2.yaml2012-02-26 09:29:12 UTC (rev 112420) +++ trunk/translatewiki/OpenStreetMap/Potlatch2.yaml2012-02-26 09:35:19 UTC (rev 112421) @@ -33,7 +33,7 @@ --- BASIC: - id: out-potlatch2-help + id: out-osm-potlatch2-help label: Potlatch2 - Help display: out/osm/potlatch2/help @@ -47,7 +47,7 @@ --- BASIC: - id: out-potlatch2-main + id: out-osm-potlatch2-main label: Potlatch2 - Main display: out/osm/potlatch2/main ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112422] trunk/translatewiki/MediaWiki/mediawiki-defines.txt
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112422 Revision: 112422 Author: siebrand Date: 2012-02-26 09:37:08 + (Sun, 26 Feb 2012) Log Message: --- A little more tweaking. Modified Paths: -- trunk/translatewiki/MediaWiki/mediawiki-defines.txt Modified: trunk/translatewiki/MediaWiki/mediawiki-defines.txt === --- trunk/translatewiki/MediaWiki/mediawiki-defines.txt 2012-02-26 09:35:19 UTC (rev 112421) +++ trunk/translatewiki/MediaWiki/mediawiki-defines.txt 2012-02-26 09:37:08 UTC (rev 112422) @@ -1683,8 +1683,8 @@ #aliasfile = Translate/lcadft/LCADFT.alias.php #descmsg = lcadft-desc -Translate - Message Group Descriptions -id = ext-translate-messagegroupdescriptions +Translate - Group Descriptions +id = ext-translate-groupdescriptions file = Translate/TranslateGroupDescriptions.i18n.php descmsg = translategroupdescriptions-desc ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112424] trunk/phase3/includes
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112424 Revision: 112424 Author: siebrand Date: 2012-02-26 11:49:01 + (Sun, 26 Feb 2012) Log Message: --- Follow-up r112410, r112412: Cheaper processing using plain(). Modified Paths: -- trunk/phase3/includes/Linker.php trunk/phase3/includes/Pager.php trunk/phase3/includes/specials/SpecialContributions.php Modified: trunk/phase3/includes/Linker.php === --- trunk/phase3/includes/Linker.php2012-02-26 11:39:49 UTC (rev 112423) +++ trunk/phase3/includes/Linker.php2012-02-26 11:49:01 UTC (rev 112424) @@ -1399,7 +1399,7 @@ return ''; } else { $formatted = self::formatComment( $comment, $title, $local ); - $formatted = wfMessage( 'parentheses' )->rawParams( $formatted ); + $formatted = wfMessage( 'parentheses' )->rawParams( $formatted )->plain(); return " $formatted"; } } @@ -1441,7 +1441,7 @@ } else { global $wgLang; $stxt = wfMsgExt( 'nbytes', 'parsemag', $wgLang->formatNum( $size ) ); - $stxt = wfMessage( 'parentheses' )->rawParams( $stxt ); + $stxt = wfMessage( 'parentheses' )->rawParams( $stxt )->plain(); } $stxt = htmlspecialchars( $stxt ); return "$stxt"; @@ -1870,7 +1870,7 @@ $html = $delete ? wfMsgHtml( 'rev-delundel' ) : wfMsgHtml( 'rev-showdeleted' ); $tag = $restricted ? 'strong' : 'span'; $link = self::link( $sp, $html, array(), $query, array( 'known', 'noclasses' ) ); - return Xml::tags( $tag, array( 'class' => 'mw-revdelundel-link' ), wfMessage( 'parentheses' )->rawParams( $link ) ); + return Xml::tags( $tag, array( 'class' => 'mw-revdelundel-link' ), wfMessage( 'parentheses' )->rawParams( $link )->plain() ); } /** @@ -1883,7 +1883,7 @@ */ public static function revDeleteLinkDisabled( $delete = true ) { $html = $delete ? wfMsgHtml( 'rev-delundel' ) : wfMsgHtml( 'rev-showdeleted' ); - return Xml::tags( 'span', array( 'class' => 'mw-revdelundel-link' ), wfMessage( 'parentheses' )->rawParams( $html ) ); + return Xml::tags( 'span', array( 'class' => 'mw-revdelundel-link' ), wfMessage( 'parentheses' )->rawParams( $html )->plain() ); } /* Deprecated methods */ Modified: trunk/phase3/includes/Pager.php === --- trunk/phase3/includes/Pager.php 2012-02-26 11:39:49 UTC (rev 112423) +++ trunk/phase3/includes/Pager.php 2012-02-26 11:49:01 UTC (rev 112424) @@ -771,7 +771,7 @@ $limits = $this->getLanguage()->pipeList( $limitLinks ); $firstLastLinks = wfMessage( 'parentheses' )->rawParams( "{$pagingLinks['first']}" . wfMsgExt( 'pipe-separator' , 'escapenoentities' ) . - "{$pagingLinks['last']}" ); + "{$pagingLinks['last']}" )->plain(); $this->mNavigationBar = $firstLastLinks . ' ' . wfMsgHTML( Modified: trunk/phase3/includes/specials/SpecialContributions.php === --- trunk/phase3/includes/specials/SpecialContributions.php 2012-02-26 11:39:49 UTC (rev 112423) +++ trunk/phase3/includes/specials/SpecialContributions.php 2012-02-26 11:49:01 UTC (rev 112424) @@ -254,7 +254,7 @@ // @todo Should this be removed at some point? $oldMsg = $this->msg( 'contribsub' ); if ( $oldMsg->exists() ) { - $linksWithParentheses = $this->msg( 'parenteses' )->rawParams( $links ); + $linksWithParentheses = $this->msg( 'parenteses' )->rawParams( $links )->plain(); return $oldMsg->rawParams( "$user $linksWithParentheses" ); } else { return $this->msg( 'contribsub2' )->rawParams( $user, $links ); @@ -839,7 +839,7 @@ $del .= ' '; } -
[MediaWiki-CVS] SVN: [112425] trunk/extensions/Translate
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112425 Revision: 112425 Author: siebrand Date: 2012-02-26 12:02:25 + (Sun, 26 Feb 2012) Log Message: --- Follow-up r112014: Remove 1.17 BC linker usage. Modified Paths: -- trunk/extensions/Translate/TranslateHooks.php trunk/extensions/Translate/specials/SpecialLanguageStats.php trunk/extensions/Translate/specials/SpecialManageGroups.php trunk/extensions/Translate/specials/SpecialMessageGroupStats.php trunk/extensions/Translate/specials/SpecialTranslate.php trunk/extensions/Translate/tag/PageTranslationHooks.php trunk/extensions/Translate/tag/SpecialPageTranslation.php trunk/extensions/Translate/utils/MessageTable.php trunk/extensions/Translate/utils/StatsTable.php trunk/extensions/Translate/utils/TranslationHelpers.php Modified: trunk/extensions/Translate/TranslateHooks.php === --- trunk/extensions/Translate/TranslateHooks.php 2012-02-26 11:49:01 UTC (rev 112424) +++ trunk/extensions/Translate/TranslateHooks.php 2012-02-26 12:02:25 UTC (rev 112425) @@ -313,11 +313,10 @@ global $wgLang, $wgContLang; $language = $forUI === null ? $wgContLang : $wgLang; - $linker = class_exists( 'DummyLinker' ) ? new DummyLinker : new Linker; if ( $action === 'message' ) { $link = $forUI ? - $linker->link( $title, null, array(), array( 'oldid' => $params[0] ) ) : + Linker::link( $title, null, array(), array( 'oldid' => $params[0] ) ) : $title->getPrefixedText(); return wfMessage( 'logentry-translationreview-message' )->params( '', // User link in the new system @@ -339,7 +338,7 @@ $newState = $newStateMessage->isBlank() ? $newState : $newStateMessage->text(); $link = $forUI ? - $linker->link( $title, $groupLabel, array(), array( 'language' => $languageCode ) ) : + Linker::link( $title, $groupLabel, array(), array( 'language' => $languageCode ) ) : $groupLabel; return wfMessage( 'logentry-groupreview-message' )->params( Modified: trunk/extensions/Translate/specials/SpecialLanguageStats.php === --- trunk/extensions/Translate/specials/SpecialLanguageStats.php 2012-02-26 11:49:01 UTC (rev 112424) +++ trunk/extensions/Translate/specials/SpecialLanguageStats.php 2012-02-26 12:02:25 UTC (rev 112425) @@ -225,9 +225,8 @@ protected function outputIntroduction() { global $wgOut, $wgLang, $wgUser; - $linker = class_exists( 'DummyLinker' ) ? new DummyLinker : new Linker; $languageName = TranslateUtils::getLanguageName( $this->target, false, $wgLang->getCode() ); - $rcInLangLink = $linker->link( + $rcInLangLink = Linker::link( SpecialPage::getTitleFor( 'Translate', '!recent' ), wfMsgHtml( 'languagestats-recenttranslations' ), array(), Modified: trunk/extensions/Translate/specials/SpecialManageGroups.php === --- trunk/extensions/Translate/specials/SpecialManageGroups.php 2012-02-26 11:49:01 UTC (rev 112424) +++ trunk/extensions/Translate/specials/SpecialManageGroups.php 2012-02-26 12:02:25 UTC (rev 112425) @@ -44,7 +44,6 @@ public function execute( $par ) { global $wgRequest; - $linker = class_exists( 'DummyLinker' ) ? new DummyLinker : new Linker; $this->out->setPageTitle( htmlspecialchars( wfMsg( 'translate-managegroups' ) ) ); @@ -102,7 +101,7 @@ wfDebug( __METHOD__ . ": {$group->getId()}\n" ); $id = $group->getId(); - $link = $linker->link( $this->getTitle(), $group->getLabel(), + $link = Linker::link( $this->getTitle(), $group->getLabel(), array( 'id' => "mw-group-$id" ), array( 'group' => $id ) ); $out = $link . $separator; @@ -417,8 +416,7 @@ if ( $code === 'en' ) { $this->doModLangs( $group ); } else { - $linker = class_exists( 'DummyLinker' ) ?
[MediaWiki-CVS] SVN: [112426] trunk/phase3/includes
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112426 Revision: 112426 Author: siebrand Date: 2012-02-26 12:07:21 + (Sun, 26 Feb 2012) Log Message: --- Follow-up r112424: Per IAlex on IRC: Use escape() instead of plain() for improved security. Modified Paths: -- trunk/phase3/includes/Linker.php trunk/phase3/includes/Pager.php trunk/phase3/includes/specials/SpecialContributions.php Modified: trunk/phase3/includes/Linker.php === --- trunk/phase3/includes/Linker.php2012-02-26 12:02:25 UTC (rev 112425) +++ trunk/phase3/includes/Linker.php2012-02-26 12:07:21 UTC (rev 112426) @@ -1399,7 +1399,7 @@ return ''; } else { $formatted = self::formatComment( $comment, $title, $local ); - $formatted = wfMessage( 'parentheses' )->rawParams( $formatted )->plain(); + $formatted = wfMessage( 'parentheses' )->rawParams( $formatted )->escape(); return " $formatted"; } } @@ -1441,7 +1441,7 @@ } else { global $wgLang; $stxt = wfMsgExt( 'nbytes', 'parsemag', $wgLang->formatNum( $size ) ); - $stxt = wfMessage( 'parentheses' )->rawParams( $stxt )->plain(); + $stxt = wfMessage( 'parentheses' )->rawParams( $stxt )->escape(); } $stxt = htmlspecialchars( $stxt ); return "$stxt"; @@ -1870,7 +1870,7 @@ $html = $delete ? wfMsgHtml( 'rev-delundel' ) : wfMsgHtml( 'rev-showdeleted' ); $tag = $restricted ? 'strong' : 'span'; $link = self::link( $sp, $html, array(), $query, array( 'known', 'noclasses' ) ); - return Xml::tags( $tag, array( 'class' => 'mw-revdelundel-link' ), wfMessage( 'parentheses' )->rawParams( $link )->plain() ); + return Xml::tags( $tag, array( 'class' => 'mw-revdelundel-link' ), wfMessage( 'parentheses' )->rawParams( $link )->escape() ); } /** @@ -1883,7 +1883,7 @@ */ public static function revDeleteLinkDisabled( $delete = true ) { $html = $delete ? wfMsgHtml( 'rev-delundel' ) : wfMsgHtml( 'rev-showdeleted' ); - return Xml::tags( 'span', array( 'class' => 'mw-revdelundel-link' ), wfMessage( 'parentheses' )->rawParams( $html )->plain() ); + return Xml::tags( 'span', array( 'class' => 'mw-revdelundel-link' ), wfMessage( 'parentheses' )->rawParams( $html )->escape() ); } /* Deprecated methods */ Modified: trunk/phase3/includes/Pager.php === --- trunk/phase3/includes/Pager.php 2012-02-26 12:02:25 UTC (rev 112425) +++ trunk/phase3/includes/Pager.php 2012-02-26 12:07:21 UTC (rev 112426) @@ -771,7 +771,7 @@ $limits = $this->getLanguage()->pipeList( $limitLinks ); $firstLastLinks = wfMessage( 'parentheses' )->rawParams( "{$pagingLinks['first']}" . wfMsgExt( 'pipe-separator' , 'escapenoentities' ) . - "{$pagingLinks['last']}" )->plain(); + "{$pagingLinks['last']}" )->escape(); $this->mNavigationBar = $firstLastLinks . ' ' . wfMsgHTML( Modified: trunk/phase3/includes/specials/SpecialContributions.php === --- trunk/phase3/includes/specials/SpecialContributions.php 2012-02-26 12:02:25 UTC (rev 112425) +++ trunk/phase3/includes/specials/SpecialContributions.php 2012-02-26 12:07:21 UTC (rev 112426) @@ -254,7 +254,7 @@ // @todo Should this be removed at some point? $oldMsg = $this->msg( 'contribsub' ); if ( $oldMsg->exists() ) { - $linksWithParentheses = $this->msg( 'parenteses' )->rawParams( $links )->plain(); + $linksWithParentheses = $this->msg( 'parenteses' )->rawParams( $links )->escape(); return $oldMsg->rawParams( "$user $linksWithParentheses" ); } else { return $this->msg( 'contribsub2' )->rawParams( $
[MediaWiki-CVS] SVN: [112427] trunk/phase3/includes
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112427 Revision: 112427 Author: siebrand Date: 2012-02-26 12:11:35 + (Sun, 26 Feb 2012) Log Message: --- Wow. Messy. Follow-up r112426, r112424: Fix incorrect calls. Should have been escaped() instead of escape(). Modified Paths: -- trunk/phase3/includes/Linker.php trunk/phase3/includes/Pager.php trunk/phase3/includes/specials/SpecialContributions.php Modified: trunk/phase3/includes/Linker.php === --- trunk/phase3/includes/Linker.php2012-02-26 12:07:21 UTC (rev 112426) +++ trunk/phase3/includes/Linker.php2012-02-26 12:11:35 UTC (rev 112427) @@ -1399,7 +1399,7 @@ return ''; } else { $formatted = self::formatComment( $comment, $title, $local ); - $formatted = wfMessage( 'parentheses' )->rawParams( $formatted )->escape(); + $formatted = wfMessage( 'parentheses' )->rawParams( $formatted )->escaped(); return " $formatted"; } } @@ -1441,7 +1441,7 @@ } else { global $wgLang; $stxt = wfMsgExt( 'nbytes', 'parsemag', $wgLang->formatNum( $size ) ); - $stxt = wfMessage( 'parentheses' )->rawParams( $stxt )->escape(); + $stxt = wfMessage( 'parentheses' )->rawParams( $stxt )->escaped(); } $stxt = htmlspecialchars( $stxt ); return "$stxt"; @@ -1870,7 +1870,7 @@ $html = $delete ? wfMsgHtml( 'rev-delundel' ) : wfMsgHtml( 'rev-showdeleted' ); $tag = $restricted ? 'strong' : 'span'; $link = self::link( $sp, $html, array(), $query, array( 'known', 'noclasses' ) ); - return Xml::tags( $tag, array( 'class' => 'mw-revdelundel-link' ), wfMessage( 'parentheses' )->rawParams( $link )->escape() ); + return Xml::tags( $tag, array( 'class' => 'mw-revdelundel-link' ), wfMessage( 'parentheses' )->rawParams( $link )->escaped() ); } /** @@ -1883,7 +1883,7 @@ */ public static function revDeleteLinkDisabled( $delete = true ) { $html = $delete ? wfMsgHtml( 'rev-delundel' ) : wfMsgHtml( 'rev-showdeleted' ); - return Xml::tags( 'span', array( 'class' => 'mw-revdelundel-link' ), wfMessage( 'parentheses' )->rawParams( $html )->escape() ); + return Xml::tags( 'span', array( 'class' => 'mw-revdelundel-link' ), wfMessage( 'parentheses' )->rawParams( $html )->escaped() ); } /* Deprecated methods */ Modified: trunk/phase3/includes/Pager.php === --- trunk/phase3/includes/Pager.php 2012-02-26 12:07:21 UTC (rev 112426) +++ trunk/phase3/includes/Pager.php 2012-02-26 12:11:35 UTC (rev 112427) @@ -771,7 +771,7 @@ $limits = $this->getLanguage()->pipeList( $limitLinks ); $firstLastLinks = wfMessage( 'parentheses' )->rawParams( "{$pagingLinks['first']}" . wfMsgExt( 'pipe-separator' , 'escapenoentities' ) . - "{$pagingLinks['last']}" )->escape(); + "{$pagingLinks['last']}" )->escaped(); $this->mNavigationBar = $firstLastLinks . ' ' . wfMsgHTML( Modified: trunk/phase3/includes/specials/SpecialContributions.php === --- trunk/phase3/includes/specials/SpecialContributions.php 2012-02-26 12:07:21 UTC (rev 112426) +++ trunk/phase3/includes/specials/SpecialContributions.php 2012-02-26 12:11:35 UTC (rev 112427) @@ -254,7 +254,7 @@ // @todo Should this be removed at some point? $oldMsg = $this->msg( 'contribsub' ); if ( $oldMsg->exists() ) { - $linksWithParentheses = $this->msg( 'parenteses' )->rawParams( $links )->escape(); + $linksWithParentheses = $this->msg( 'parenteses' )->rawParams( $links )->escaped(); return $oldMsg->rawParams( "$user $linksWithParentheses" ); } else { return $this->msg( 'contribsub2
[MediaWiki-CVS] SVN: [112429] trunk/extensions/Translate/specials/SpecialTranslations.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112429 Revision: 112429 Author: siebrand Date: 2012-02-26 12:51:27 + (Sun, 26 Feb 2012) Log Message: --- Remove hard coded parentheses. Modified Paths: -- trunk/extensions/Translate/specials/SpecialTranslations.php Modified: trunk/extensions/Translate/specials/SpecialTranslations.php === --- trunk/extensions/Translate/specials/SpecialTranslations.php 2012-02-26 12:26:16 UTC (rev 112428) +++ trunk/extensions/Translate/specials/SpecialTranslations.php 2012-02-26 12:51:27 UTC (rev 112429) @@ -193,6 +193,8 @@ $ajaxPageList = array(); $historyText = " " . wfMsgHtml( 'translate-translations-history-short' ) . " "; + $separator = wfMessage( 'word-separator' )->plain(); + $parentheses = wfMessage( 'parentheses' )->escaped(); foreach ( $res as $s ) { $key = $s->page_title; @@ -201,7 +203,9 @@ $code = $this->getCode( $s->page_title ); - $text = TranslateUtils::getLanguageName( $code, false, $wgLang->getCode() ) . " ($code)"; + $text = TranslateUtils::getLanguageName( $code, false, $wgLang->getCode() ); + $text .= $separator; + $text .= $paretheses->params( $code ); $text = htmlspecialchars( $text ); if ( $canTranslate ) { ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112430] trunk/extensions/Translate/specials/SpecialTranslations.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112430 Revision: 112430 Author: siebrand Date: 2012-02-26 12:52:50 + (Sun, 26 Feb 2012) Log Message: --- Follow-up r112429: Fix typo in variable name. Modified Paths: -- trunk/extensions/Translate/specials/SpecialTranslations.php Modified: trunk/extensions/Translate/specials/SpecialTranslations.php === --- trunk/extensions/Translate/specials/SpecialTranslations.php 2012-02-26 12:51:27 UTC (rev 112429) +++ trunk/extensions/Translate/specials/SpecialTranslations.php 2012-02-26 12:52:50 UTC (rev 112430) @@ -205,7 +205,7 @@ $text = TranslateUtils::getLanguageName( $code, false, $wgLang->getCode() ); $text .= $separator; - $text .= $paretheses->params( $code ); + $text .= $parentheses->params( $code ); $text = htmlspecialchars( $text ); if ( $canTranslate ) { ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112431] trunk/extensions/Translate/specials/SpecialTranslations.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112431 Revision: 112431 Author: siebrand Date: 2012-02-26 12:58:02 + (Sun, 26 Feb 2012) Log Message: --- Follow-up r112429: Didn't work as I thought it would. Thanks Niklas. Modified Paths: -- trunk/extensions/Translate/specials/SpecialTranslations.php Modified: trunk/extensions/Translate/specials/SpecialTranslations.php === --- trunk/extensions/Translate/specials/SpecialTranslations.php 2012-02-26 12:52:50 UTC (rev 112430) +++ trunk/extensions/Translate/specials/SpecialTranslations.php 2012-02-26 12:58:02 UTC (rev 112431) @@ -194,7 +194,6 @@ $ajaxPageList = array(); $historyText = " " . wfMsgHtml( 'translate-translations-history-short' ) . " "; $separator = wfMessage( 'word-separator' )->plain(); - $parentheses = wfMessage( 'parentheses' )->escaped(); foreach ( $res as $s ) { $key = $s->page_title; @@ -205,7 +204,7 @@ $text = TranslateUtils::getLanguageName( $code, false, $wgLang->getCode() ); $text .= $separator; - $text .= $parentheses->params( $code ); + $text .= wfMessage( 'parentheses' )->params( $code )->escaped(); $text = htmlspecialchars( $text ); if ( $canTranslate ) { ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112433] trunk/phase3
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112433 Revision: 112433 Author: siebrand Date: 2012-02-26 13:08:41 + (Sun, 26 Feb 2012) Log Message: --- (bug 34702) Localised parentheses are now used in more special pages. Modified Paths: -- trunk/phase3/RELEASE-NOTES-1.20 trunk/phase3/includes/Pager.php trunk/phase3/includes/specials/SpecialProtectedpages.php trunk/phase3/includes/specials/SpecialShortpages.php trunk/phase3/includes/specials/SpecialWhatlinkshere.php Modified: trunk/phase3/RELEASE-NOTES-1.20 === --- trunk/phase3/RELEASE-NOTES-1.20 2012-02-26 13:07:56 UTC (rev 112432) +++ trunk/phase3/RELEASE-NOTES-1.20 2012-02-26 13:08:41 UTC (rev 112433) @@ -34,7 +34,7 @@ copy/paste on supporting browsers * (bug 34428) Fixed incorrect hash mismatch errors in the DiffHistoryBlob history compression method. -* (bug 34702) Special:Contributions now uses localised parentheses. +* (bug 34702) Localised parentheses are now used in more special pages. * (bug 34723) When editing a script page on a RTL wiki the textbox should be LTR. === API changes in 1.20 === Modified: trunk/phase3/includes/Pager.php === --- trunk/phase3/includes/Pager.php 2012-02-26 13:07:56 UTC (rev 112432) +++ trunk/phase3/includes/Pager.php 2012-02-26 13:08:41 UTC (rev 112433) @@ -679,11 +679,11 @@ $limitLinks = $this->getLimitLinks(); $limits = $lang->pipeList( $limitLinks ); - $this->mNavigationBar = - "(" . $lang->pipeList( + $this->mNavigationBar = wfMessage( 'parentheses' )->rawParams( + $lang->pipeList( array( $pagingLinks['first'], $pagingLinks['last'] ) - ) . ") " . + ) )->escaped() . " " . wfMsgHtml( 'viewprevnext', $pagingLinks['prev'], $pagingLinks['next'], $limits ); @@ -713,7 +713,8 @@ } if( $extra !== '' ) { - $this->mNavigationBar .= " ($extra)"; + $extra = ' ' . wfMessage( 'parentheses' )->rawParams( $extra )->escaped(); + $this->mNavigationBar .= $extra; } return $this->mNavigationBar; Modified: trunk/phase3/includes/specials/SpecialProtectedpages.php === --- trunk/phase3/includes/specials/SpecialProtectedpages.php2012-02-26 13:07:56 UTC (rev 112432) +++ trunk/phase3/includes/specials/SpecialProtectedpages.php2012-02-26 13:08:41 UTC (rev 112433) @@ -118,15 +118,15 @@ # Show a link to the change protection form for allowed users otherwise a link to the protection log if( $this->getUser()->isAllowed( 'protect' ) ) { - $changeProtection = ' (' . Linker::linkKnown( + $changeProtection = Linker::linkKnown( $title, wfMsgHtml( 'protect_change' ), array(), array( 'action' => 'unprotect' ) - ) . ')'; + ); } else { $ltitle = SpecialPage::getTitleFor( 'Log' ); - $changeProtection = ' (' . Linker::linkKnown( + $changeProtection = Linker::linkKnown( $ltitle, wfMsgHtml( 'protectlogpage' ), array(), @@ -134,9 +134,11 @@ 'type' => 'protect', 'page' => $title->getPrefixedText() ) - ) . ')'; + ); } + $changeProtection = ' ' . wfMessage( 'parentheses' )->rawParams( $changeProtection )->escaped(); + wfProfileOut( __METHOD__ ); return Html::rawElement( Modified: trunk/phase3/includes/specials/SpecialShortpages.php === --- trunk/phase3/includes/specials/SpecialShortpages.php2012-02-26 13:07:56 UTC (rev 112432) +++ trunk/phase3/includes/specials/SpecialShortpages.php2012-02-26 13
[MediaWiki-CVS] SVN: [112436] trunk/phase3/includes/specials
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112436 Revision: 112436 Author: siebrand Date: 2012-02-26 14:02:54 + (Sun, 26 Feb 2012) Log Message: --- Use local context ( $this->msg() ) instead of global method wfMessage() per IAlex. Follows-up r112433. Modified Paths: -- trunk/phase3/includes/specials/SpecialProtectedpages.php trunk/phase3/includes/specials/SpecialShortpages.php trunk/phase3/includes/specials/SpecialWhatlinkshere.php Modified: trunk/phase3/includes/specials/SpecialProtectedpages.php === --- trunk/phase3/includes/specials/SpecialProtectedpages.php2012-02-26 13:43:28 UTC (rev 112435) +++ trunk/phase3/includes/specials/SpecialProtectedpages.php2012-02-26 14:02:54 UTC (rev 112436) @@ -137,7 +137,7 @@ ); } - $changeProtection = ' ' . wfMessage( 'parentheses' )->rawParams( $changeProtection )->escaped(); + $changeProtection = ' ' . $this->msg( 'parentheses' )->rawParams( $changeProtection )->escaped(); wfProfileOut( __METHOD__ ); Modified: trunk/phase3/includes/specials/SpecialShortpages.php === --- trunk/phase3/includes/specials/SpecialShortpages.php2012-02-26 13:43:28 UTC (rev 112435) +++ trunk/phase3/includes/specials/SpecialShortpages.php2012-02-26 14:02:54 UTC (rev 112436) @@ -95,7 +95,7 @@ : Linker::linkKnown( $title ); $size = $this->msg( 'nbytes' )->numParams( $result->value )->escaped(); - $hlinkInParentheses = wfMessage( 'parentheses' )->rawParams( $hlink )->escaped(); + $hlinkInParentheses = $this->msg( 'parentheses' )->rawParams( $hlink )->escaped(); return $title->exists() ? "${hlinkInParentheses} {$dm}{$plink} {$dm}[{$size}]" Modified: trunk/phase3/includes/specials/SpecialWhatlinkshere.php === --- trunk/phase3/includes/specials/SpecialWhatlinkshere.php 2012-02-26 13:43:28 UTC (rev 112435) +++ trunk/phase3/includes/specials/SpecialWhatlinkshere.php 2012-02-26 14:02:54 UTC (rev 112436) @@ -316,12 +316,12 @@ $props[] = $msgcache['isimage']; if ( count( $props ) ) { - $propsText = wfMessage( 'parentheses' )->rawParams( implode( $msgcache['semicolon-separator'], $props ) )->escaped(); + $propsText = $this->msg( 'parentheses' )->rawParams( implode( $msgcache['semicolon-separator'], $props ) )->escaped(); } # Space for utilities links, with a what-links-here link provided $wlhLink = $this->wlhLink( $nt, $msgcache['whatlinkshere-links'] ); - $wlh = Xml::wrapClass( wfMessage( 'parentheses' )->rawParams( $wlhLink )->escaped(), 'mw-whatlinkshere-tools' ); + $wlh = Xml::wrapClass( $this->msg( 'parentheses' )->rawParams( $wlhLink )->escaped(), 'mw-whatlinkshere-tools' ); return $notClose ? Xml::openElement( 'li' ) . "$link $propsText $dirmark $wlh\n" : ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112439] trunk/translatewiki/Pywikipedia/Pywikipedia.yaml
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112439 Revision: 112439 Author: siebrand Date: 2012-02-26 14:40:26 + (Sun, 26 Feb 2012) Log Message: --- Update codeMap. Modified Paths: -- trunk/translatewiki/Pywikipedia/Pywikipedia.yaml Modified: trunk/translatewiki/Pywikipedia/Pywikipedia.yaml === --- trunk/translatewiki/Pywikipedia/Pywikipedia.yaml2012-02-26 14:21:22 UTC (rev 112438) +++ trunk/translatewiki/Pywikipedia/Pywikipedia.yaml2012-02-26 14:40:26 UTC (rev 112439) @@ -6,8 +6,23 @@ FILES: class: PythonSingleFFS +# Pywikipediabot works on language code, so mapping fallbacked to Wikimedia code. codeMap: + gan-hant: gan + hif-latn: hif + ike-cans: iu + kbd-cyrl: kbd + kk-cyrl: kk + ks-arab: ks + ku-latn: ku nb: "no" + ruq-latn: ruq + sr-ec: sr + tg-cyrl: tg + tt-cyrl: tt + ug-arab: ug + vro: fiu-vro + zh-hans: zh CHECKER: class: MessageChecker ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112445] trunk/translatewiki/Shapado/Shapado.yaml
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112445 Revision: 112445 Author: siebrand Date: 2012-02-26 19:37:09 + (Sun, 26 Feb 2012) Log Message: --- Remove out- from Shapado groups. Modified Paths: -- trunk/translatewiki/Shapado/Shapado.yaml Modified: trunk/translatewiki/Shapado/Shapado.yaml === --- trunk/translatewiki/Shapado/Shapado.yaml2012-02-26 18:24:27 UTC (rev 112444) +++ trunk/translatewiki/Shapado/Shapado.yaml2012-02-26 19:37:09 UTC (rev 112445) @@ -32,18 +32,18 @@ --- BASIC: - id: out-shapado-0-all + id: shapado-0-all label: Shapado display: out/shapado meta: yes class: AggregateMessageGroup GROUPS: - - out-shapado-* + - shapado-* --- BASIC: - id: out-shapado-activities + id: shapado-activities label: Shapado - Activities display: out/shapado/activities @@ -56,7 +56,7 @@ --- BASIC: - id: out-shapado-announcements + id: shapado-announcements label: Shapado - Announcements display: out/shapado/announcements @@ -73,7 +73,7 @@ --- BASIC: - id: out-shapado-answers + id: shapado-answers label: Shapado - Answers display: out/shapado/answers @@ -86,7 +86,7 @@ --- BASIC: - id: out-shapado-badges + id: shapado-badges label: Shapado - Badges display: out/shapado/badges @@ -99,7 +99,7 @@ --- BASIC: - id: out-shapado-closerequests + id: shapado-closerequests label: Shapado - Close requests display: out/shapado/closerequests @@ -112,7 +112,7 @@ --- BASIC: - id: out-shapado-comments + id: shapado-comments label: Shapado - Comments display: out/shapado/comments @@ -125,7 +125,7 @@ --- BASIC: - id: out-shapado-constrainsconfig + id: shapado-constrainsconfig label: Shapado - Constraints Config display: out/shapado/constrainsconfig @@ -138,7 +138,7 @@ --- BASIC: - id: out-shapado-devise + id: shapado-devise label: Shapado - Devise display: out/shapado/devise @@ -151,7 +151,7 @@ --- BASIC: - id: out-shapado-doc + id: shapado-doc label: Shapado - Doc display: out/shapado/doc @@ -164,7 +164,7 @@ --- BASIC: - id: out-shapado-errors + id: shapado-errors label: Shapado - Errors display: out/shapado/errors @@ -177,7 +177,7 @@ --- BASIC: - id: out-shapado-favorites + id: shapado-favorites label: Shapado - Favorites display: out/shapado/favorites @@ -190,7 +190,7 @@ --- BASIC: - id: out-shapado-flags + id: shapado-flags label: Shapado - Flags display: out/shapado/flags @@ -203,7 +203,7 @@ --- BASIC: - id: out-shapado-global + id: shapado-global label: Shapado - Global display: out/shapado/global @@ -219,7 +219,7 @@ - global-views.pagination.truncate --- BASIC: - id: out-shapado-groups + id: shapado-groups label: Shapado - Groups display: out/shapado/groups @@ -232,7 +232,7 @@ --- BASIC: - id: out-shapado-imports + id: shapado-imports label: Shapado - Imports display: out/shapado/imports @@ -245,7 +245,7 @@ --- BASIC: - id: out-shapado-invitations + id: shapado-invitations label: Shapado - Invitations display: out/shapado/invitations @@ -258,7 +258,7 @@ --- BASIC: - id: out-shapado-jobs + id: shapado-jobs label: Shapado - Jobs display: out/shapado/jobs @@ -271,7 +271,7 @@ --- BASIC: - id: out-shapado-layouts + id: shapado-layouts label: Shapado - Layouts display: out/shapado/layouts @@ -284,7 +284,7 @@ --- BASIC: - id: out-shapado-mailers + id: shapado-mailers label: Shapado - Mailers display: out/shapado/mailers class: FileBasedMessageGroup @@ -298,7 +298,7 @@ --- BASIC: - id: out-shapado-manage + id: shapado-manage label: Shapado - Manage display: out/shapado/manage @@ -311,7 +311,7 @@ --- BASIC: - id: out-shapado-members + id: shapado-members label: Shapado - Members display: out/shapado/members @@ -324,7 +324,7 @@ --- BASIC: - id: out-shapado-moderate + id: shapado-moderate label: Shapado - Moderate display: out/shapado/moderate class: FileBasedMessageGroup @@ -338,7 +338,7 @@ --- BASIC: - id: out-shapado-notifier + id: shapado-notifier label: Shapado - Notifier display: out/shapado/notifier class: FileBasedMessageGroup @@ -352,7 +352,7 @@ --- BASIC: - id: out-shapado-openrequests + id: shapado-openrequests label: Shapado - Open Requests display: out/shapado/openrequests @@ -365,7 +365,7 @@ --- BASIC: - id: out-shapado-pages + id: shapado-pages label: Shapado - Pages display: out/shapado/pages @@ -378,7 +378,7 @@ --- BASIC: - id: out-shapado-questions + id: shapado-questions label: Shapado - Questions display: out/shapado/questions @@ -391,7 +391,7 @@ --- BASIC: - id: out-shapado-rewards + id: shapado-rewards label: Shapado - Rewards display: out/shapado/rewards @@ -404,7 +404,7 @@ --- BASIC: - id
[MediaWiki-CVS] SVN: [112446] trunk/extensions/Translate/Translate.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112446 Revision: 112446 Author: siebrand Date: 2012-02-26 19:38:15 + (Sun, 26 Feb 2012) Log Message: --- Follow-up r112445. Modified Paths: -- trunk/extensions/Translate/Translate.php Modified: trunk/extensions/Translate/Translate.php === --- trunk/extensions/Translate/Translate.php2012-02-26 19:37:09 UTC (rev 112445) +++ trunk/extensions/Translate/Translate.php2012-02-26 19:38:15 UTC (rev 112446) @@ -15,7 +15,7 @@ /** * Version number used in extension credits and in other placed where needed. */ -define( 'TRANSLATE_VERSION', '2012-02-19' ); +define( 'TRANSLATE_VERSION', '2012-02-26' ); /** * Extension credits properties. @@ -491,7 +491,7 @@ '/^out-openimages/' => array( 'openimages' ), '/^out-osm/' => array( 'osm' ), '/^out-pywikipedia/' => array( 'pywikipedia' ), - '/^out-shapado/' => array( 'shapado' ), + '/^shapado/' => array( 'shapado' ), '/^out-statusnet-plugin/' => array( 'statusnet', 'plugin' ), '/^out-statusnet/' => array( 'statusnet' ), // '/^page\|/' => array( 'page' ), ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112478] trunk/translatewiki/Shapado/Shapado.yaml
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112478 Revision: 112478 Author: siebrand Date: 2012-02-27 10:51:57 + (Mon, 27 Feb 2012) Log Message: --- Update tags. Modified Paths: -- trunk/translatewiki/Shapado/Shapado.yaml Modified: trunk/translatewiki/Shapado/Shapado.yaml === --- trunk/translatewiki/Shapado/Shapado.yaml2012-02-27 10:43:38 UTC (rev 112477) +++ trunk/translatewiki/Shapado/Shapado.yaml2012-02-27 10:51:57 UTC (rev 112478) @@ -441,6 +441,10 @@ MANGLER: prefix: shared- +TAGS: + optional: +- shared-shared.empty.filtered_by_language_questions.description.text +- shared-shared.empty.filtered_questions.description.text --- BASIC: id: shapado-themes ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112484] trunk/extensions/Translate/MediaWikiMessageChecker.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112484 Revision: 112484 Author: siebrand Date: 2012-02-27 13:33:26 + (Mon, 27 Feb 2012) Log Message: --- Fix regression in r111272 addressed in CR of r111825. Modified Paths: -- trunk/extensions/Translate/MediaWikiMessageChecker.php Modified: trunk/extensions/Translate/MediaWikiMessageChecker.php === --- trunk/extensions/Translate/MediaWikiMessageChecker.php 2012-02-27 13:18:43 UTC (rev 112483) +++ trunk/extensions/Translate/MediaWikiMessageChecker.php 2012-02-27 13:33:26 UTC (rev 112484) @@ -236,7 +236,7 @@ 'translate-checks-format', wfMessage( 'translate-checks-malformed', - $defArray[$i] + $traArray[$i] )->text() ); continue; ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112485] trunk/extensions/ArticleComments
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112485 Revision: 112485 Author: siebrand Date: 2012-02-27 14:41:25 + (Mon, 27 Feb 2012) Log Message: --- Add special page aliases. Add some message documentation. Add fixme for large init file. Modified Paths: -- trunk/extensions/ArticleComments/ArticleComments.i18n.php trunk/extensions/ArticleComments/ArticleComments.php Added Paths: --- trunk/extensions/ArticleComments/ArticleComments.alias.php Added: trunk/extensions/ArticleComments/ArticleComments.alias.php === --- trunk/extensions/ArticleComments/ArticleComments.alias.php (rev 0) +++ trunk/extensions/ArticleComments/ArticleComments.alias.php 2012-02-27 14:41:25 UTC (rev 112485) @@ -0,0 +1,14 @@ + array( 'ProcessComment' ), +); Property changes on: trunk/extensions/ArticleComments/ArticleComments.alias.php ___ Added: svn:keywords + Id Added: svn:eol-style + native Modified: trunk/extensions/ArticleComments/ArticleComments.i18n.php === --- trunk/extensions/ArticleComments/ArticleComments.i18n.php 2012-02-27 13:33:26 UTC (rev 112484) +++ trunk/extensions/ArticleComments/ArticleComments.i18n.php 2012-02-27 14:41:25 UTC (rev 112485) @@ -67,6 +67,7 @@ 'article-comments-commenter-said' => '$1 is a value filled into a form field by a commenter. It is not necessarily related to any wiki user name.', 'article-comments-summary' => '$1 is a value filled into a form field by a commenter. It is not necessarily related to any wiki user name.', 'article-comments-comment-bad-mode' => '{{doc-important|Do not translate the words "plain", "normal" and "wiki".}}', + 'processcomment' => 'Special page title and link description on Special:SpecialPages.', ); /** Afrikaans (Afrikaans) Modified: trunk/extensions/ArticleComments/ArticleComments.php === --- trunk/extensions/ArticleComments/ArticleComments.php2012-02-27 13:33:26 UTC (rev 112484) +++ trunk/extensions/ArticleComments/ArticleComments.php2012-02-27 14:41:25 UTC (rev 112485) @@ -22,6 +22,8 @@ * * Note: Typically this would be placed at the end of the article text. * Version Notes: + * version 0.6.1: + * Added internationalisation for special page names. * version 0.6: * Added comments inside tags instead of article-comments-new-comment message. * version 0.5.1: @@ -85,13 +87,15 @@ 'path' => __FILE__, 'name' => 'ArticleComments', 'author' => array( 'Jim R. Wilson', 'Platonides' ), - 'version' => '0.6', + 'version' => '0.6.1', 'url' => 'https://www.mediawiki.org/wiki/Extension:ArticleComments', 'descriptionmsg' => 'article-comments-desc', ); # Add extension internationalization messages -$wgExtensionMessagesFiles['ArticleComments'] = dirname( __FILE__ ) . '/ArticleComments.i18n.php'; +$dir = dirname( __FILE__ ) . '/'; +$wgExtensionMessagesFiles['ArticleComments'] = $dir . 'ArticleComments.i18n.php'; +$wgExtensionMessagesFiles['ArticleCommentsAlias'] = $dir . 'ArticleComments.alias.php'; # Attach hooks $wgHooks['ParserFirstCallInit'][] = 'wfArticleCommentsParserSetup'; @@ -118,6 +122,8 @@ # Sets up special page to handle comment submission $wgSpecialPages['ProcessComment'] = 'SpecialProcessComment'; +// @todo FIXME: Put hooks and class in separate files and use autoloader. + # Sets up the ArticleComments Parser hook for function wfArticleCommentsParserSetup( &$parser ) { $parser->setHook( 'comments', 'wfArticleCommentsParserHook' ); ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112486] trunk/extensions/SemanticForms/languages/SF_Messages.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112486 Revision: 112486 Author: siebrand Date: 2012-02-27 14:51:00 + (Mon, 27 Feb 2012) Log Message: --- Tweak two messages. Inspired by https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Sf_formstart_badform/fi Modified Paths: -- trunk/extensions/SemanticForms/languages/SF_Messages.php Modified: trunk/extensions/SemanticForms/languages/SF_Messages.php === --- trunk/extensions/SemanticForms/languages/SF_Messages.php2012-02-27 14:41:25 UTC (rev 112485) +++ trunk/extensions/SemanticForms/languages/SF_Messages.php2012-02-27 14:51:00 UTC (rev 112486) @@ -110,8 +110,8 @@ 'sf_createclass_success' => 'Properties, template, form and category will be created.', 'sf_createclass_create' => 'Create', 'formstart' => 'Start of form', - 'sf_formstart_badform' => 'Error: no form page was found at $1.', - 'sf_formstart_badtitle' => 'Error: "$1" is an invalid title for a page.', + 'sf_formstart_badform' => 'Error: No form was found on page "$1".', + 'sf_formstart_badtitle' => 'Error: "$1" is an invalid page title.', 'sf_formstart_docu' => 'Enter the name of a page here, to be edited with the form "$1". If this page already exists, you will be sent to the form for editing that page. Otherwise, you will be sent to the form for adding the page.', ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112496] trunk/extensions/NamespacePaths/NamespacePaths.i18n.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112496 Revision: 112496 Author: siebrand Date: 2012-02-27 18:01:34 + (Mon, 27 Feb 2012) Log Message: --- Update description message. Modified Paths: -- trunk/extensions/NamespacePaths/NamespacePaths.i18n.php Modified: trunk/extensions/NamespacePaths/NamespacePaths.i18n.php === --- trunk/extensions/NamespacePaths/NamespacePaths.i18n.php 2012-02-27 17:48:28 UTC (rev 112495) +++ trunk/extensions/NamespacePaths/NamespacePaths.i18n.php 2012-02-27 18:01:34 UTC (rev 112496) @@ -12,7 +12,7 @@ * @author Daniel Friesen */ $messages['en'] = array( - 'namespacepaths-desc' => 'Allows custom article paths to be mapped to namespaces of the wiki. Eg: Mapping pages like Help:A to /help/Page instead of /wiki/Help:Page.', + 'namespacepaths-desc' => 'Allows custom article paths to be mapped to namespaces; for example mapping pages like Help:Page to /help/Page instead of /wiki/Help:Page', ); /** Asturian (Asturianu) ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112528] trunk/extensions/Narayam/Narayam.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112528 Revision: 112528 Author: siebrand Date: 2012-02-27 21:57:24 + (Mon, 27 Feb 2012) Log Message: --- Take Gujarari input methods out of beta. Helps in resolving bug 33423. Modified Paths: -- trunk/extensions/Narayam/Narayam.php Modified: trunk/extensions/Narayam/Narayam.php === --- trunk/extensions/Narayam/Narayam.php2012-02-27 21:56:56 UTC (rev 112527) +++ trunk/extensions/Narayam/Narayam.php2012-02-27 21:57:24 UTC (rev 112528) @@ -89,8 +89,8 @@ 'gom-deva-inscript' => array( 'ext.narayam.rules.gom-deva-inscript', 'beta' ), ), 'gu' => array( - 'gu' => array( 'ext.narayam.rules.gu', 'beta' ), - 'gu-inscript' => array( 'ext.narayam.rules.gu-inscript', 'beta' ), + 'gu' => 'ext.narayam.rules.gu', + 'gu-inscript' => 'ext.narayam.rules.gu-inscript', ), 'he' => array( 'he-standard-2011-extonly' => array( 'ext.narayam.rules.he-standard-2011-extonly', 'beta' ), ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112541] branches/wmf
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112541 Revision: 112541 Author: siebrand Date: 2012-02-27 23:36:33 + (Mon, 27 Feb 2012) Log Message: --- MFT r112528. Take Gujarati input methods out of beta for bug 33423. Modified Paths: -- branches/wmf/1.18wmf1/extensions/Narayam/Narayam.php branches/wmf/1.19wmf1/extensions/Narayam/Narayam.php Modified: branches/wmf/1.18wmf1/extensions/Narayam/Narayam.php === --- branches/wmf/1.18wmf1/extensions/Narayam/Narayam.php2012-02-27 23:17:11 UTC (rev 112540) +++ branches/wmf/1.18wmf1/extensions/Narayam/Narayam.php2012-02-27 23:36:33 UTC (rev 112541) @@ -81,8 +81,8 @@ 'gom-deva-inscript' => array( 'ext.narayam.rules.gom-deva-inscript', 'beta' ), ), 'gu' => array( - 'gu' => array( 'ext.narayam.rules.gu', 'beta' ), - 'gu-inscript' => array( 'ext.narayam.rules.gu-inscript', 'beta' ), + 'gu' => 'ext.narayam.rules.gu', + 'gu-inscript' => 'ext.narayam.rules.gu-inscript', ), 'he' => array( 'he-standard-2011-extonly' => array( 'ext.narayam.rules.he-standard-2011-extonly', 'beta' ), Modified: branches/wmf/1.19wmf1/extensions/Narayam/Narayam.php === --- branches/wmf/1.19wmf1/extensions/Narayam/Narayam.php2012-02-27 23:17:11 UTC (rev 112540) +++ branches/wmf/1.19wmf1/extensions/Narayam/Narayam.php2012-02-27 23:36:33 UTC (rev 112541) @@ -81,8 +81,8 @@ 'gom-deva-inscript' => array( 'ext.narayam.rules.gom-deva-inscript', 'beta' ), ), 'gu' => array( - 'gu' => array( 'ext.narayam.rules.gu', 'beta' ), - 'gu-inscript' => array( 'ext.narayam.rules.gu-inscript', 'beta' ), + 'gu' => 'ext.narayam.rules.gu', + 'gu-inscript' => 'ext.narayam.rules.gu-inscript', ), 'he' => array( 'he-standard-2011-extonly' => array( 'ext.narayam.rules.he-standard-2011-extonly', 'beta' ), ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112587] trunk/translatewiki
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112587 Revision: 112587 Author: siebrand Date: 2012-02-28 11:46:36 + (Tue, 28 Feb 2012) Log Message: --- Update year. Modified Paths: -- trunk/translatewiki/IHRIS/IHRIS.yaml trunk/translatewiki/IHRIS/IHRISCommon.yaml trunk/translatewiki/IHRIS/IHRISI2ce.yaml trunk/translatewiki/IHRIS/IHRISManage.yaml trunk/translatewiki/IHRIS/IHRISQualify.yaml trunk/translatewiki/MantisBT/MantisBT.yaml Modified: trunk/translatewiki/IHRIS/IHRIS.yaml === --- trunk/translatewiki/IHRIS/IHRIS.yaml2012-02-28 11:23:27 UTC (rev 112586) +++ trunk/translatewiki/IHRIS/IHRIS.yaml2012-02-28 11:46:36 UTC (rev 112587) @@ -14,9 +14,9 @@ zh-hant: zh_TW header: | - # Copyright (c) 2011 Capacity Project partnership via IntraHealth International, Inc. - # Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 - # Copyright (c) 2011 translatewiki.net contributors + # Copyright (c) 2011-2012 Capacity Project partnership via IntraHealth International, Inc. + # Copyright (c) 2011-2012 Rosetta Contributors and Canonical Ltd 2011-2012 + # Copyright (c) 2011-2012 translatewiki.net contributors # This file is distributed under the same license as the iHRIS package. # Modified: trunk/translatewiki/IHRIS/IHRISCommon.yaml === --- trunk/translatewiki/IHRIS/IHRISCommon.yaml 2012-02-28 11:23:27 UTC (rev 112586) +++ trunk/translatewiki/IHRIS/IHRISCommon.yaml 2012-02-28 11:46:36 UTC (rev 112587) @@ -15,9 +15,9 @@ zh-hant: zh_TW header: | - # Copyright (c) 2011 Capacity Project partnership via IntraHealth International, Inc. - # Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 - # Copyright (c) 2011 translatewiki.net contributors + # Copyright (c) 2011-2012 Capacity Project partnership via IntraHealth International, Inc. + # Copyright (c) 2011-2012 Rosetta Contributors and Canonical Ltd 2011-2012 + # Copyright (c) 2011-2012 translatewiki.net contributors # This file is distributed under the same license as the iHRIS package. # Modified: trunk/translatewiki/IHRIS/IHRISI2ce.yaml === --- trunk/translatewiki/IHRIS/IHRISI2ce.yaml2012-02-28 11:23:27 UTC (rev 112586) +++ trunk/translatewiki/IHRIS/IHRISI2ce.yaml2012-02-28 11:46:36 UTC (rev 112587) @@ -15,9 +15,9 @@ zh-hant: zh_TW header: | - # Copyright (c) 2011 Capacity Project partnership via IntraHealth International, Inc. - # Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 - # Copyright (c) 2011 translatewiki.net contributors + # Copyright (c) 2011-2012 Capacity Project partnership via IntraHealth International, Inc. + # Copyright (c) 2011-2012 Rosetta Contributors and Canonical Ltd 2011-2012 + # Copyright (c) 2011-2012 translatewiki.net contributors # This file is distributed under the same license as the iHRIS package. # Modified: trunk/translatewiki/IHRIS/IHRISManage.yaml === --- trunk/translatewiki/IHRIS/IHRISManage.yaml 2012-02-28 11:23:27 UTC (rev 112586) +++ trunk/translatewiki/IHRIS/IHRISManage.yaml 2012-02-28 11:46:36 UTC (rev 112587) @@ -15,9 +15,9 @@ zh-hant: zh_TW header: | - # Copyright (c) 2011 Capacity Project partnership via IntraHealth International, Inc. - # Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 - # Copyright (c) 2011 translatewiki.net contributors + # Copyright (c) 2011-2012 Capacity Project partnership via IntraHealth International, Inc. + # Copyright (c) 2011-2012 Rosetta Contributors and Canonical Ltd 2011-2012 + # Copyright (c) 2011-2012 translatewiki.net contributors # This file is distributed under the same license as the iHRIS package. # Modified: trunk/translatewiki/IHRIS/IHRISQualify.yaml === --- trunk/translatewiki/IHRIS/IHRISQualify.yaml 2012-02-28 11:23:27 UTC (rev 112586) +++ trunk/translatewiki/IHRIS/IHRISQualify.yaml 2012-02-28 11:46:36 UTC (rev 112587) @@ -15,9 +15,9 @@ zh-hant: zh_TW header: | - # Copyright (c) 2011 Capacity Project partnership via IntraHealth International, Inc. - # Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 - # Copyright (c) 2011 translatewiki.net contributors + # Copyright (c) 2011-2012 Capacity Project partnership via IntraHealth International, Inc. + # Copyright (c) 2011-2012 Rosetta Contributors and Canonical Ltd 2011-2012 + # Copyright (c) 2011-2012 translatewiki.net contributors # This file is
[MediaWiki-CVS] SVN: [112589] trunk/phase3
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112589 Revision: 112589 Author: siebrand Date: 2012-02-28 11:56:59 + (Tue, 28 Feb 2012) Log Message: --- (bug 34702) More localised parentheses. Patch contributed by Yusuke Matsubara. Modified Paths: -- trunk/phase3/CREDITS trunk/phase3/includes/ChangesList.php trunk/phase3/includes/Linker.php trunk/phase3/includes/actions/HistoryAction.php Modified: trunk/phase3/CREDITS === --- trunk/phase3/CREDITS2012-02-28 11:55:58 UTC (rev 112588) +++ trunk/phase3/CREDITS2012-02-28 11:56:59 UTC (rev 112589) @@ -184,6 +184,7 @@ * Ville Stadista * Vitaliy Filippov * William Demchick +* Yusuke Matsubara * Yuvaraj Pandian T * Zachary Hauri Modified: trunk/phase3/includes/ChangesList.php === --- trunk/phase3/includes/ChangesList.php 2012-02-28 11:55:58 UTC (rev 112588) +++ trunk/phase3/includes/ChangesList.php 2012-02-28 11:56:59 UTC (rev 112589) @@ -252,7 +252,7 @@ public function insertLog( &$s, $title, $logtype ) { $page = new LogPage( $logtype ); $logname = $page->getName()->escaped(); - $s .= '(' . Linker::linkKnown( $title, $logname ) . ')'; + $s .= $this->msg( 'parentheses' )->rawParams( Linker::linkKnown( $title, $logname ) )->escaped(); } /** @@ -284,9 +284,9 @@ $query ); } - $s .= '(' . $diffLink . $this->message['pipe-separator']; + $diffhist = $diffLink . $this->message['pipe-separator']; # History link - $s .= Linker::linkKnown( + $diffhist .= Linker::linkKnown( $rc->getTitle(), $this->message['hist'], array(), @@ -295,7 +295,7 @@ 'action' => 'history' ) ); - $s .= ') . . '; + $s .= $this->msg( 'parentheses' )->rawParams( $diffhist )->escaped() . ' . . '; } /** @@ -679,7 +679,7 @@ $logtitle = SpecialPage::getTitleFor( 'Log', $logType ); $logpage = new LogPage( $logType ); $logname = $logpage->getName()->escaped(); - $clink = '(' . Linker::linkKnown( $logtitle, $logname ) . ')'; + $clink = $this->msg( 'parentheses' )->rawParams( Linker::linkKnown( $logtitle, $logname ) )->escaped(); } else { $clink = Linker::link( $rc->getTitle() ); } @@ -852,7 +852,7 @@ $text = $userlink; $text .= $this->getLanguage()->getDirMark(); if( $count > 1 ) { - $text .= ' (' . $this->getLanguage()->formatNum( $count ) . '×)'; + $text .= ' ' . $this->msg( 'parentheses' )->rawParams( $this->getLanguage()->formatNum( $count ) . '×' )->escaped(); } array_push( $users, $text ); } @@ -894,18 +894,18 @@ } # Total change link $r .= ' '; +$logtext = ''; if( !$allLogs ) { - $r .= '('; if( !ChangesList::userCan( $rcObj, Revision::DELETED_TEXT, $this->getUser() ) ) { - $r .= $nchanges[$n]; + $logtext .= $nchanges[$n]; } elseif( $isnew ) { - $r .= $nchanges[$n]; + $logtext .= $nchanges[$n]; } else { $params = $queryParams; $params['diff'] = $currentRevision; $params['oldid'] = $oldid; - $r .= Linker::link( + $logtext .= Linker::link( $block[0]->getTitle(), $nchanges[$n], array(), @@ -919,19 +919,24 @@ if( $allLogs ) { // don't show history link for logs } el
[MediaWiki-CVS] SVN: [112591] trunk/phase3/includes
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112591 Revision: 112591 Author: siebrand Date: 2012-02-28 12:41:26 + (Tue, 28 Feb 2012) Log Message: --- (bug 34702) More localised parentheses. Modified Paths: -- trunk/phase3/includes/RecentChange.php trunk/phase3/includes/SkinLegacy.php trunk/phase3/includes/logging/LogEventsList.php trunk/phase3/includes/logging/LogPage.php trunk/phase3/includes/specials/SpecialAllmessages.php trunk/phase3/includes/specials/SpecialListusers.php trunk/phase3/includes/specials/SpecialTags.php trunk/phase3/includes/specials/SpecialUndelete.php trunk/phase3/includes/specials/SpecialUserlogin.php Modified: trunk/phase3/includes/RecentChange.php === --- trunk/phase3/includes/RecentChange.php 2012-02-28 12:10:17 UTC (rev 112590) +++ trunk/phase3/includes/RecentChange.php 2012-02-28 12:41:26 UTC (rev 112591) @@ -706,6 +706,7 @@ } elseif($szdiff >= 0) { $szdiff = '+' . $szdiff ; } + // @todo i18n with parentheses in content language? $szdiff = '(' . $szdiff . ')' ; } else { $szdiff = ''; Modified: trunk/phase3/includes/SkinLegacy.php === --- trunk/phase3/includes/SkinLegacy.php2012-02-28 12:10:17 UTC (rev 112590) +++ trunk/phase3/includes/SkinLegacy.php2012-02-28 12:41:26 UTC (rev 112591) @@ -702,7 +702,7 @@ global $wgOut; if ( !$wgOut->isArticleRelated() ) { - return '(' . wfMsg( 'notanarticle' ) . ')'; + return wfMessage( 'parentheses', wfMessage( 'notanarticle' )->text() )->escaped(); } else { return Linker::linkKnown( SpecialPage::getTitleFor( 'Recentchangeslinked', $this->getSkin()->getTitle()->getPrefixedDBkey() ), @@ -815,8 +815,9 @@ $talkLink = Linker::link( $wgUser->getTalkPage(), $wgLang->getNsText( NS_TALK ) ); + $talkLink = wfMessage( 'parentheses' )->rawParams( $talkLink )->escaped(); - $ret .= "$name ($talkLink)"; + $ret .= "$name $talkLink"; } else { $ret .= wfMsg( 'notloggedin' ); } @@ -837,10 +838,11 @@ } else { $talkLink = Linker::link( $wgUser->getTalkPage(), $wgLang->getNsText( NS_TALK ) ); + $talkLink = wfMessage( 'parentheses' )->rawParams( $talkLink )->escaped(); $ret .= Linker::link( $wgUser->getUserPage(), htmlspecialchars( $wgUser->getName() ) ); - $ret .= " ($talkLink)"; + $ret .= " $talkLink"; $ret .= $wgLang->pipeList( array( Linker::link( SpecialPage::getTitleFor( 'Userlogout' ), wfMsg( 'logout' ), @@ -860,6 +862,4 @@ return $ret; } - } - Modified: trunk/phase3/includes/logging/LogEventsList.php === --- trunk/phase3/includes/logging/LogEventsList.php 2012-02-28 12:10:17 UTC (rev 112590) +++ trunk/phase3/includes/logging/LogEventsList.php 2012-02-28 12:41:26 UTC (rev 112591) @@ -383,7 +383,7 @@ if( self::typeAction( $row, 'move', 'move', 'move' ) && !empty( $paramArray[0] ) ) { $destTitle = Title::newFromText( $paramArray[0] ); if( $destTitle ) { - $revert = '(' . Linker::link( + $revert = Linker::link( SpecialPage::getTitleFor( 'Movepage' ), $this->message['revertmove'], array(), @@ -394,7 +394,8 @@ 'wpMovetalk' => 0 ), array( 'known', 'noclasses' ) - ) . ')'; + ); +
[MediaWiki-CVS] SVN: [112808] trunk/extensions/Translate/PageTranslation.i18n.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112808 Revision: 112808 Author: siebrand Date: 2012-03-01 13:55:12 + (Thu, 01 Mar 2012) Log Message: --- Tweaks for recently added messages. Modified Paths: -- trunk/extensions/Translate/PageTranslation.i18n.php Modified: trunk/extensions/Translate/PageTranslation.i18n.php === --- trunk/extensions/Translate/PageTranslation.i18n.php 2012-03-01 13:51:53 UTC (rev 112807) +++ trunk/extensions/Translate/PageTranslation.i18n.php 2012-03-01 13:55:12 UTC (rev 112808) @@ -65,8 +65,8 @@ but the latest {{PLURAL:$1|version|versions}} cannot be marked for translation.', 'tpt-discouraged-pages' => '{{PLURAL:$1|This page has|These pages have}} been discouraged from further translation.', - 'tpt-select-prioritylangs' => 'Comma-separated list of language codes:', - 'tpt-select-prioritylangs-force' => 'Prevent translations to other languages', + 'tpt-select-prioritylangs' => 'Comma-separated list of priority language codes:', + 'tpt-select-prioritylangs-force' => 'Prevent translations to other languages than the priotity languages', 'tpt-select-prioritylangs-reason' => 'Reason:', 'tpt-sections-prioritylangs' => 'Priority languages', @@ -97,15 +97,15 @@ This page is a translation of page [[$1]] and the translation can be updated using [$2 the translation tool].', 'tpt-unknown-page' => 'This namespace is reserved for content page translations. The page you are trying to edit does not seem to correspond any page marked for translation.', - 'tpt-translation-restricted' => 'Translation of this message group to this language has been prevented by translation administrator. + 'tpt-translation-restricted' => 'Translation of this page to this language has been prevented by a translation administrator. -Reason for limiting: $1', - 'tpt-discouraged-language-force' => 'Translation administrator has limited the languages this message group can be translated to. This language is not among those languages. +Reason: $1', + 'tpt-discouraged-language-force' => 'A translation administrator has limited the languages this page can be translated in. This language is not among those languages. -Reason for limiting: $1', - 'tpt-discouraged-language' => 'This language is not among the priority languages set by translation administrator for this message group. +Reason: $1', + 'tpt-discouraged-language' => 'This language is not among the priority languages set by a translation administrator for this page. -Reason for prioritization: $1', +Reason: $1', 'tpt-render-summary' => 'Updating to match new version of source page', ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112810] trunk/translatewiki/OpenStreetMap/OpenStreetMap.yaml
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112810 Revision: 112810 Author: siebrand Date: 2012-03-01 14:47:57 + (Thu, 01 Mar 2012) Log Message: --- Update tags. Modified Paths: -- trunk/translatewiki/OpenStreetMap/OpenStreetMap.yaml Modified: trunk/translatewiki/OpenStreetMap/OpenStreetMap.yaml === --- trunk/translatewiki/OpenStreetMap/OpenStreetMap.yaml2012-03-01 13:57:59 UTC (rev 112809) +++ trunk/translatewiki/OpenStreetMap/OpenStreetMap.yaml2012-03-01 14:47:57 UTC (rev 112810) @@ -59,8 +59,6 @@ - geocoder.search_osm_nominatim.prefix_other - geocoder.search_osm_twain.prefix_other - html.dir -- javascripts.map.base.mapnik -- javascripts.map.base.osmarender - javascripts.map.overlays.maplint - layouts.intro_3_bytemark - layouts.intro_3_ucl ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112811] trunk/extensions/Translate/PageTranslation.i18n.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112811 Revision: 112811 Author: siebrand Date: 2012-03-01 15:04:13 + (Thu, 01 Mar 2012) Log Message: --- Follow-up r112808: Fix typo. Modified Paths: -- trunk/extensions/Translate/PageTranslation.i18n.php Modified: trunk/extensions/Translate/PageTranslation.i18n.php === --- trunk/extensions/Translate/PageTranslation.i18n.php 2012-03-01 14:47:57 UTC (rev 112810) +++ trunk/extensions/Translate/PageTranslation.i18n.php 2012-03-01 15:04:13 UTC (rev 112811) @@ -66,7 +66,7 @@ 'tpt-discouraged-pages' => '{{PLURAL:$1|This page has|These pages have}} been discouraged from further translation.', 'tpt-select-prioritylangs' => 'Comma-separated list of priority language codes:', - 'tpt-select-prioritylangs-force' => 'Prevent translations to other languages than the priotity languages', + 'tpt-select-prioritylangs-force' => 'Prevent translations to other languages than the priority languages', 'tpt-select-prioritylangs-reason' => 'Reason:', 'tpt-sections-prioritylangs' => 'Priority languages', ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112812] trunk/extensions/Translate
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112812 Revision: 112812 Author: siebrand Date: 2012-03-01 15:20:47 + (Thu, 01 Mar 2012) Log Message: --- Revert r112787: Broke exports. Example: Command: php export.php --target=$EXPORTPATH --groupprefix=out-osm- --lang='*' --skip=en,qqq --threshold=35 Output: $ bxa osm Exporting OpenStreetMap potlatch and site with 35%+ Skipping meta message group out-osm-0-all Exporting out-osm-0-all $ It shouldn't have tried to calculate translation percentages of aggregate groups, but skipped them immediately. Modified Paths: -- trunk/extensions/Translate/MessageGroups.php trunk/extensions/Translate/scripts/export.php Modified: trunk/extensions/Translate/MessageGroups.php === --- trunk/extensions/Translate/MessageGroups.php2012-03-01 15:04:13 UTC (rev 112811) +++ trunk/extensions/Translate/MessageGroups.php2012-03-01 15:20:47 UTC (rev 112812) @@ -1333,17 +1333,22 @@ /** * Get message groups for corresponding message group ids. * -* @param $ids array of message group ids -* @return array array of message groups indexed by message group ids +* @param $ids array Group IDs +* @param $skipMeta bool Skip aggregate message groups +* @return array * @since 2012-02-13 */ - public static function getGroupsById( array $ids ) { + public static function getGroupsById( array $ids, $skipMeta = false ) { $groups = array(); foreach ( $ids as $id ) { $group = self::getGroup( $id ); if ( $group !== null ) { - $groups[$id] = $group; + if ( $skipMeta && $group->isMeta() ) { + continue; + } else { + $groups[$id] = $group; + } } else { wfDebug( __METHOD__ . ": Invalid message group id: $id\n" ); } Modified: trunk/extensions/Translate/scripts/export.php === --- trunk/extensions/Translate/scripts/export.php 2012-03-01 15:04:13 UTC (rev 112811) +++ trunk/extensions/Translate/scripts/export.php 2012-03-01 15:20:47 UTC (rev 112812) @@ -109,16 +109,12 @@ foreach ( $groups as $groupId => $group ) { if ( !$group instanceof MessageGroup ) { - STDERR( "Unknown message group $groupId" ); + STDERR( "Invalid group: " . $groupId ); exit( 1 ); } - if ( $group->isMeta() ) { - STDERR( "Skipping meta message group $groupId" ); - } + STDERR( 'Exporting ' . $groupId ); - STDERR( "Exporting $groupId" ); - $langs = $reqLangs; if ( $threshold ) { $stats = MessageGroupStats::forGroup( $groupId ); ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112877] trunk/extensions/Translate/tag/SpecialPageTranslation.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112877 Revision: 112877 Author: siebrand Date: 2012-03-02 11:47:16 + (Fri, 02 Mar 2012) Log Message: --- Add a few newlines. Modified Paths: -- trunk/extensions/Translate/tag/SpecialPageTranslation.php Modified: trunk/extensions/Translate/tag/SpecialPageTranslation.php === --- trunk/extensions/Translate/tag/SpecialPageTranslation.php 2012-03-02 10:03:17 UTC (rev 112876) +++ trunk/extensions/Translate/tag/SpecialPageTranslation.php 2012-03-02 11:47:16 UTC (rev 112877) @@ -70,6 +70,7 @@ $wgOut->addWikiMsg( 'tpt-nosuchpage', $title->getPrefixedText() ); return; } + $wgOut->addModules( 'ext.translate.special.pagetranslation' ); if ( $action === 'discourage' || $action === 'encourage' ) { @@ -81,12 +82,14 @@ 'tgr_lang' => '*priority', 'tgr_state' => 'discouraged', ); + if ( $action === 'encourage' ) { $dbw->delete( $table, $row, __METHOD__ ); } else { $index = array( 'tgr_group', 'tgr_lang' ); $dbw->replace( $table, array( $index ), $row, __METHOD__ ); } + $this->listPages(); $group = MessageGroups::getGroup( $id ); @@ -106,6 +109,7 @@ $logger->addEntry( 'unmark', $page->getTitle(), null, array( serialize( $params ) ) ); $wgOut->addWikiMsg( 'tpt-unmarked', $title->getPrefixedText() ); self::superDebug( __METHOD__, "unmarked page", $this->user, $title ); + return; } @@ -145,6 +149,7 @@ // Non-fatal error which prevents saving if ( $error === false && $wgRequest->wasPosted() ) { $err = $this->markForTranslation( $page, $sections ); + if ( $err ) { call_user_func_array( array( $wgOut, 'addWikiMsg' ), $err ); } else { ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112878] trunk/extensions/Translate
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112878 Revision: 112878 Author: siebrand Date: 2012-03-02 12:05:53 + (Fri, 02 Mar 2012) Log Message: --- Logging for encouraged/discouraged marking to Special:Log/pagetranslation on Special:PageTranslation. Card i18n/#382 Modified Paths: -- trunk/extensions/Translate/PageTranslation.i18n.php trunk/extensions/Translate/Translate.php trunk/extensions/Translate/TranslateHooks.php trunk/extensions/Translate/tag/PageTranslationHooks.php trunk/extensions/Translate/tag/SpecialPageTranslation.php Modified: trunk/extensions/Translate/PageTranslation.i18n.php === --- trunk/extensions/Translate/PageTranslation.i18n.php 2012-03-02 11:47:16 UTC (rev 112877) +++ trunk/extensions/Translate/PageTranslation.i18n.php 2012-03-02 12:05:53 UTC (rev 112878) @@ -134,11 +134,12 @@ 'pt-log-delete-full-nok' => '{{GENDER:$2|encountered}} a problem while deleting translatable page [[:$1]]', 'pt-log-delete-lang-ok' => '{{GENDER:$2|completed}} deletion of translation page $1', 'pt-log-delete-lang-nok' => '{{GENDER:$2|encountered}} a problem while deleting translation page [[:$1]]', + 'pt-log-encourage' => '{{GENDER:$2|encouraged}} translation for page [[:$1]]', + 'pt-log-discourage' => '{{GENDER:$2|discouraged}} translation for page [[:$1]]', 'pt-log-priority-langs-unset' => '{{GENDER:$2|removed}} priority languages from translatable page [[:$1]]', 'pt-log-priority-langs' => '{{GENDER:$2|set}} the priority languages for translatable page [[:$1]] to $3', 'pt-log-priority-langs-force' => '{{GENDER:$2|limited}} languages for translatable page [[:$1]] to $3', - # move page replacement 'pt-movepage-title' => 'Move translatable page $1', 'pt-movepage-blockers' => 'The translatable page cannot be moved to a new name because of the following {{PLURAL:$1|error|errors}}:', Modified: trunk/extensions/Translate/Translate.php === --- trunk/extensions/Translate/Translate.php2012-03-02 11:47:16 UTC (rev 112877) +++ trunk/extensions/Translate/Translate.php2012-03-02 12:05:53 UTC (rev 112878) @@ -15,7 +15,7 @@ /** * Version number used in extension credits and in other placed where needed. */ -define( 'TRANSLATE_VERSION', '2012-02-26' ); +define( 'TRANSLATE_VERSION', '2012-03-02' ); /** * Extension credits properties. Modified: trunk/extensions/Translate/TranslateHooks.php === --- trunk/extensions/Translate/TranslateHooks.php 2012-03-02 11:47:16 UTC (rev 112877) +++ trunk/extensions/Translate/TranslateHooks.php 2012-03-02 12:05:53 UTC (rev 112878) @@ -67,6 +67,8 @@ $wgLogActionsHandlers['pagetranslation/deletefok'] = 'PageTranslationHooks::formatLogEntry'; $wgLogActionsHandlers['pagetranslation/deletelnok'] = 'PageTranslationHooks::formatLogEntry'; $wgLogActionsHandlers['pagetranslation/deletefnok'] = 'PageTranslationHooks::formatLogEntry'; + $wgLogActionsHandlers['pagetranslation/encourage'] = 'PageTranslationHooks::formatLogEntry'; + $wgLogActionsHandlers['pagetranslation/discourage'] = 'PageTranslationHooks::formatLogEntry'; $wgLogActionsHandlers['pagetranslation/prioritylanguages'] = 'PageTranslationHooks::formatLogEntry'; global $wgJobClasses; Modified: trunk/extensions/Translate/tag/PageTranslationHooks.php === --- trunk/extensions/Translate/tag/PageTranslationHooks.php 2012-03-02 11:47:16 UTC (rev 112877) +++ trunk/extensions/Translate/tag/PageTranslationHooks.php 2012-03-02 12:05:53 UTC (rev 112878) @@ -608,6 +608,10 @@ return wfMsgExt( 'pt-log-delete-full-ok', $opts, $title->getPrefixedText(), $user ); } elseif ( $action === 'deletelok' ) { return wfMsgExt( 'pt-log-delete-lang-ok', $opts, $title->getPrefixedText(), $user ); + } elseif ( $action === 'encourage' ) { + return wfMsgExt( 'pt-log-encourage', $opts, $title->getPrefixedText(), $user ); + } elseif (
[MediaWiki-CVS] SVN: [112879] trunk/extensions/Translate/FirstSteps.i18n.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112879 Revision: 112879 Author: siebrand Date: 2012-03-02 12:08:38 + (Fri, 02 Mar 2012) Log Message: --- Remove trailing whitespace in "translate-fs-userpage-help". Modified Paths: -- trunk/extensions/Translate/FirstSteps.i18n.php Modified: trunk/extensions/Translate/FirstSteps.i18n.php === --- trunk/extensions/Translate/FirstSteps.i18n.php 2012-03-02 12:05:53 UTC (rev 112878) +++ trunk/extensions/Translate/FirstSteps.i18n.php 2012-03-02 12:08:38 UTC (rev 112879) @@ -46,7 +46,7 @@ 'translate-fs-userpage-level-3' => 'I have a good command of', 'translate-fs-userpage-level-2' => 'I have a moderate command of', 'translate-fs-userpage-level-1' => 'I know a little', - 'translate-fs-userpage-help' => 'Please indicate your language skills and tell us something about yourself. If you know more than five languages you can add more later. ', + 'translate-fs-userpage-help' => 'Please indicate your language skills and tell us something about yourself. If you know more than five languages you can add more later.', 'translate-fs-userpage-submit' => 'Create my userpage', 'translate-fs-userpage-done' => 'Well done! You now have an user page.', 'translate-fs-permissions-planguage' => "Primary language:", ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112882] trunk/extensions/Translate/tag/SpecialPageTranslation.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112882 Revision: 112882 Author: siebrand Date: 2012-03-02 12:30:59 + (Fri, 02 Mar 2012) Log Message: --- * Follow-up r112878: Fix bad copy-paste. * Add todos for preventing duplicate log entries on page reload or playing around with the CGI parameters. internationalization/#382 Modified Paths: -- trunk/extensions/Translate/tag/SpecialPageTranslation.php Modified: trunk/extensions/Translate/tag/SpecialPageTranslation.php === --- trunk/extensions/Translate/tag/SpecialPageTranslation.php 2012-03-02 12:20:32 UTC (rev 112881) +++ trunk/extensions/Translate/tag/SpecialPageTranslation.php 2012-03-02 12:30:59 UTC (rev 112882) @@ -88,11 +88,13 @@ if ( $action === 'encourage' ) { $dbw->delete( $table, $row, __METHOD__ ); - $logger->addEntry( 'encourage', $page->getTitle(), null, array( serialize( $params ) ) ); + // @todo Check if page is currently actually discouraged to prevent duplicate log entries. + $logger->addEntry( 'encourage', $title, null, array( serialize( $params ) ) ); } else { $index = array( 'tgr_group', 'tgr_lang' ); $dbw->replace( $table, array( $index ), $row, __METHOD__ ); - $logger->addEntry( 'discourage', $page->getTitle(), null, array( serialize( $params ) ) ); + // @todo Check if page is currently actually discouraged to prevent duplicate log entries. + $logger->addEntry( 'discourage', $title, null, array( serialize( $params ) ) ); } $this->listPages(); ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112883] trunk/extensions
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112883 Revision: 112883 Author: siebrand Date: 2012-03-02 12:57:25 + (Fri, 02 Mar 2012) Log Message: --- Looks like we finally came up with a name. We're calling her TranslationNotifications. Added Paths: --- trunk/extensions/TranslationNotifications/ Removed Paths: - trunk/extensions/Translate/lcadft/ ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112884] trunk/extensions/TranslationNotifications
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112884 Revision: 112884 Author: siebrand Date: 2012-03-02 13:06:20 + (Fri, 02 Mar 2012) Log Message: --- Follow-up r112883: Rename files and update what needs updating. Modified Paths: -- trunk/extensions/TranslationNotifications/SpecialTranslatorSignup.php Added Paths: --- trunk/extensions/TranslationNotifications/TranslationNotifications.alias.php trunk/extensions/TranslationNotifications/TranslationNotifications.i18n.php trunk/extensions/TranslationNotifications/TranslationNotifications.php Removed Paths: - trunk/extensions/TranslationNotifications/LCADFT.alias.php trunk/extensions/TranslationNotifications/LCADFT.i18n.php trunk/extensions/TranslationNotifications/LCADFT.php Deleted: trunk/extensions/TranslationNotifications/LCADFT.alias.php === --- trunk/extensions/TranslationNotifications/LCADFT.alias.php 2012-03-02 12:57:25 UTC (rev 112883) +++ trunk/extensions/TranslationNotifications/LCADFT.alias.php 2012-03-02 13:06:20 UTC (rev 112884) @@ -1,14 +0,0 @@ -http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later - */ - -$specialPageAliases = array(); - -/** English (English) */ -$specialPageAliases['en'] = array( - 'TranslatorSignup' => array( 'TranslatorSignup' ), -); Deleted: trunk/extensions/TranslationNotifications/LCADFT.i18n.php === --- trunk/extensions/TranslationNotifications/LCADFT.i18n.php 2012-03-02 12:57:25 UTC (rev 112883) +++ trunk/extensions/TranslationNotifications/LCADFT.i18n.php 2012-03-02 13:06:20 UTC (rev 112884) @@ -1,95 +0,0 @@ -http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later - */ - -$messages = array(); - -/** English - * @author Niklas Laxström - */ -$messages['en'] = array( - 'translatorsignup' => 'Translator signup', - 'lcadft-desc' => 'Allows translators sign up for translation notifications', - 'lcadft-info' => 'User information', - 'lcadft-username' => 'Username:', - 'lcadft-emailstatus' => 'E-mail status:', - 'lcadft-email-confirmed' => 'Your e-mail address is confirmed', - 'lcadft-email-unconfirmed' => 'Your e-mail address is not confirmed. $1', - 'lcadft-email-notset' => 'You have not provided an e-mail address. You can do that in your [[Special:Preferences|preferences]].', - 'lcadft-languages' => 'Languages', - 'lcadft-lang' => 'Language #$1', - 'lcadft-nolang' => 'Choose a language', - 'lcadft-contact' => 'Preferred contact methods', - 'lcadft-cmethod-email' => 'E-mail', - 'lcadft-cmethod-talkpage' => 'Talk page', - 'lcadft-cmethod-talkpage-elsewhere' => 'Talk page on other wiki', - 'lcadft-cmethod-feed' => 'Feed', - 'lcadft-cmethod-no' => 'Do not contact me', - 'lcadft-frequency' => 'Contact frequency', - 'lcadft-freq-always' => 'When there is something new to translate', - 'lcadft-freq-week' => 'At most once a week', - 'lcadft-freq-month' => 'At most once a month', - 'lcadft-freq-weekly' => 'Weekly digest', - 'lcadft-freq-monthly' => 'Monthly digest', - 'lcadft-submit' => 'Sign up', -); - -$messages['qqq'] = array( - 'lcadft' => 'Special page header', - 'lcadft-desc' => '{{desc}}', - 'lcadft-info' => 'Fieldset header', - 'lcadft-username' => 'Label followed by username', - 'lcadft-emailstatus' => 'Label', - 'lcadft-email-unconfirmed' => 'Parameters: -* $1 is a button which can be used to send confirmation email. Button text is {{msg-mw|mediawiki:confirmemail_send}}.', - 'lcadft-languages' => 'Fieldset header', - 'lcadft-lang' => 'Label for select, $1 is a numbeer', - 'lcadft-nolang' => 'First option in a language select', - 'lcadft-contact' => 'Fieldset header', - 'lcadft-cmethod-email' => 'Check option label', - 'lcadft-cmethod-talkpage' => 'Check option lab
[MediaWiki-CVS] SVN: [112885] trunk/translatewiki/MediaWiki/mediawiki-defines.txt
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112885 Revision: 112885 Author: siebrand Date: 2012-03-02 13:15:41 + (Fri, 02 Mar 2012) Log Message: --- Follow-up r112884: Add support for TranslationNotifications extension. Modified Paths: -- trunk/translatewiki/MediaWiki/mediawiki-defines.txt Modified: trunk/translatewiki/MediaWiki/mediawiki-defines.txt === --- trunk/translatewiki/MediaWiki/mediawiki-defines.txt 2012-03-02 13:06:20 UTC (rev 112884) +++ trunk/translatewiki/MediaWiki/mediawiki-defines.txt 2012-03-02 13:15:41 UTC (rev 112885) @@ -1676,13 +1676,6 @@ file = Translate/FirstSteps.i18n.php descmsg = firststeps-desc -# Nikerabbit on IRC: I was planning to get rid of the lcadft prefix with something better -#Translate - LCADFT -#id = ext-translate-lcadft -#file = Translate/lcadft/LCADFT.i18n.php -#aliasfile = Translate/lcadft/LCADFT.alias.php -#descmsg = lcadft-desc - Translate - Group Descriptions id = ext-translate-groupdescriptions file = Translate/TranslateGroupDescriptions.i18n.php @@ -1698,6 +1691,9 @@ aliasfile = TranslateSvg/TranslateSvg.alias.php ignored = translatesvg +Translation Notifications +aliasfile = TranslationNotifications/TranslationNotifications.alias.php + Transliterator magicfile = Transliterator/Transliterator.i18n.magic.php ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112901] trunk/extensions/Translate/PageTranslation.i18n.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112901 Revision: 112901 Author: siebrand Date: 2012-03-02 16:46:27 + (Fri, 02 Mar 2012) Log Message: --- Address Niklas' comment on r112878. s/for/of. Not adding "translatable". IMO it's clear enough. Modified Paths: -- trunk/extensions/Translate/PageTranslation.i18n.php Modified: trunk/extensions/Translate/PageTranslation.i18n.php === --- trunk/extensions/Translate/PageTranslation.i18n.php 2012-03-02 15:49:05 UTC (rev 112900) +++ trunk/extensions/Translate/PageTranslation.i18n.php 2012-03-02 16:46:27 UTC (rev 112901) @@ -134,8 +134,8 @@ 'pt-log-delete-full-nok' => '{{GENDER:$2|encountered}} a problem while deleting translatable page [[:$1]]', 'pt-log-delete-lang-ok' => '{{GENDER:$2|completed}} deletion of translation page $1', 'pt-log-delete-lang-nok' => '{{GENDER:$2|encountered}} a problem while deleting translation page [[:$1]]', - 'pt-log-encourage' => '{{GENDER:$2|encouraged}} translation for page [[:$1]]', - 'pt-log-discourage' => '{{GENDER:$2|discouraged}} translation for page [[:$1]]', + 'pt-log-encourage' => '{{GENDER:$2|encouraged}} translation of page [[:$1]]', + 'pt-log-discourage' => '{{GENDER:$2|discouraged}} translation of page [[:$1]]', 'pt-log-priority-langs-unset' => '{{GENDER:$2|removed}} priority languages from translatable page [[:$1]]', 'pt-log-priority-langs' => '{{GENDER:$2|set}} the priority languages for translatable page [[:$1]] to $3', 'pt-log-priority-langs-force' => '{{GENDER:$2|limited}} languages for translatable page [[:$1]] to $3', ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112902] trunk/extensions/Translate/tag/SpecialPageTranslation.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112902 Revision: 112902 Author: siebrand Date: 2012-03-02 16:48:26 + (Fri, 02 Mar 2012) Log Message: --- Fix typo in comment updated in r112887. Modified Paths: -- trunk/extensions/Translate/tag/SpecialPageTranslation.php Modified: trunk/extensions/Translate/tag/SpecialPageTranslation.php === --- trunk/extensions/Translate/tag/SpecialPageTranslation.php 2012-03-02 16:46:27 UTC (rev 112901) +++ trunk/extensions/Translate/tag/SpecialPageTranslation.php 2012-03-02 16:48:26 UTC (rev 112902) @@ -86,7 +86,7 @@ if ( $action === 'encourage' ) { $dbw->delete( $table, $row, __METHOD__ ); - // @todo Check if page is currently actually encourageed to prevent duplicate log entries. + // @todo Check if page is currently actually encouraged to prevent duplicate log entries. $logger->addEntry( 'encourage', $title, null, array( serialize( $params ) ) ); } else { $index = array( 'tgr_group', 'tgr_lang' ); ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112905] trunk/extensions/Translate/utils/TranslateMetadata.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112905 Revision: 112905 Author: siebrand Date: 2012-03-02 17:51:32 + (Fri, 02 Mar 2012) Log Message: --- Fix PHP Fatal error: Using $this when not in object context in TranslateMetadata.php on line 53 Modified Paths: -- trunk/extensions/Translate/utils/TranslateMetadata.php Modified: trunk/extensions/Translate/utils/TranslateMetadata.php === --- trunk/extensions/Translate/utils/TranslateMetadata.php 2012-03-02 16:57:17 UTC (rev 112904) +++ trunk/extensions/Translate/utils/TranslateMetadata.php 2012-03-02 17:51:32 UTC (rev 112905) @@ -50,7 +50,6 @@ $dbw->replace( 'translate_metadata', array( array( 'tmd_group', 'tmd_key' ) ), $data, __METHOD__ ); } - $this->cache = null; + self::$cache = null; } - } ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112907] trunk/translatewiki/Pywikipedia/Pywikipedia.yaml
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112907 Revision: 112907 Author: siebrand Date: 2012-03-02 18:00:33 + (Fri, 02 Mar 2012) Log Message: --- Follow-up r112439 per code review. Modified Paths: -- trunk/translatewiki/Pywikipedia/Pywikipedia.yaml Modified: trunk/translatewiki/Pywikipedia/Pywikipedia.yaml === --- trunk/translatewiki/Pywikipedia/Pywikipedia.yaml2012-03-02 17:53:06 UTC (rev 112906) +++ trunk/translatewiki/Pywikipedia/Pywikipedia.yaml2012-03-02 18:00:33 UTC (rev 112907) @@ -8,6 +8,7 @@ class: PythonSingleFFS # Pywikipediabot works on language code, so mapping fallbacked to Wikimedia code. codeMap: + als: gsw gan-hant: gan hif-latn: hif ike-cans: iu ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112914] branches
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112914 Revision: 112914 Author: siebrand Date: 2012-03-02 20:11:24 + (Fri, 02 Mar 2012) Log Message: --- Localisation updates. Backport compatible message updates and comments to REL1_18 and REL1_19. Modified Paths: -- branches/REL1_18/phase3/languages/messages/MessagesEn.php branches/REL1_19/phase3/languages/messages/MessagesEn.php Modified: branches/REL1_18/phase3/languages/messages/MessagesEn.php === --- branches/REL1_18/phase3/languages/messages/MessagesEn.php 2012-03-02 19:43:09 UTC (rev 112913) +++ branches/REL1_18/phase3/languages/messages/MessagesEn.php 2012-03-02 20:11:24 UTC (rev 112914) @@ -2245,7 +2245,7 @@ 'img-auth-nopathinfo' => 'Missing PATH_INFO. Your server is not set up to pass this information. It may be CGI-based and cannot support img_auth. -[//www.mediawiki.org/wiki/Manual:Image_Authorization See image authorization.]', +See https://www.mediawiki.org/wiki/Manual:Image_Authorization.', 'img-auth-notindir' => 'Requested path is not in the configured upload directory.', 'img-auth-badtitle' => 'Unable to construct a valid title from "$1".', 'img-auth-nologinnWL' => 'You are not logged in and "$1" is not in the whitelist.', Modified: branches/REL1_19/phase3/languages/messages/MessagesEn.php === --- branches/REL1_19/phase3/languages/messages/MessagesEn.php 2012-03-02 19:43:09 UTC (rev 112913) +++ branches/REL1_19/phase3/languages/messages/MessagesEn.php 2012-03-02 20:11:24 UTC (rev 112914) @@ -4708,29 +4708,29 @@ 'logentry-newusers-autocreate'=> 'Account $1 was created automatically', 'newuserlog-byemail' => 'password sent by e-mail', -# For IRC, see bug 34508. Do not change -'revdelete-logentry' => 'changed revision visibility of "[[$1]]"', -'logdelete-logentry' => 'changed event visibility of "[[$1]]"', -'revdelete-content' => 'content', -'revdelete-summary' => 'edit summary', -'revdelete-uname' => 'username', -'revdelete-hid' => 'hid $1', -'revdelete-unhid' => 'unhid $1', -'revdelete-log-message' => '$1 for $2 {{PLURAL:$2|revision|revisions}}', -'logdelete-log-message' => '$1 for $2 {{PLURAL:$2|event|events}}', -'deletedarticle' => 'deleted "[[$1]]"', -'suppressedarticle' => 'suppressed "[[$1]]"', -'undeletedarticle'=> 'restored "[[$1]]"', -'patrol-log-line' => 'marked $1 of $2 patrolled $3', -'patrol-log-auto' => '(automatic)', -'patrol-log-diff' => 'revision $1', -'1movedto2' => 'moved [[$1]] to [[$2]]', -'1movedto2_redir' => 'moved [[$1]] to [[$2]] over redirect', -'move-redirect-suppressed'=> 'redirect suppressed', +# For IRC, see bug 34508. Do not change +'revdelete-logentry' => 'changed revision visibility of "[[$1]]"', # do not translate or duplicate this message to other languages +'logdelete-logentry' => 'changed event visibility of "[[$1]]"', # do not translate or duplicate this message to other languages +'revdelete-content' => 'content', # do not translate or duplicate this message to other languages +'revdelete-summary' => 'edit summary', # do not translate or duplicate this message to other languages +'revdelete-uname' => 'username', # do not translate or duplicate this message to other languages +'revdelete-hid' => 'hid $1', # do not translate or duplicate this message to other languages +'revdelete-unhid' => 'unhid $1', # do not translate or duplicate this message to other languages +'revdelete-log-message' => '$1 for $2 {{PLURAL:$2|revision|revisions}}', # do not translate or duplicate this message to other languages +'logdelete-log-message' => '$1 for $2 {{PLURAL:$2|event|events}}', # do not translate or duplicate this message to other
[MediaWiki-CVS] SVN: [112916] trunk/extensions/Translate/scripts/export.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112916 Revision: 112916 Author: siebrand Date: 2012-03-02 20:39:15 + (Fri, 02 Mar 2012) Log Message: --- Don't filter out isMeta. This broke MediaWiki core branches export. Modified Paths: -- trunk/extensions/Translate/scripts/export.php Modified: trunk/extensions/Translate/scripts/export.php === --- trunk/extensions/Translate/scripts/export.php 2012-03-02 20:35:01 UTC (rev 112915) +++ trunk/extensions/Translate/scripts/export.php 2012-03-02 20:39:15 UTC (rev 112916) @@ -100,7 +100,7 @@ } $groupIds = MessageGroups::expandWildcards( $groupIds ); -$groups = MessageGroups::getGroupsById( $groupIds, true ); +$groups = MessageGroups::getGroupsById( $groupIds ); if ( !count( $groups ) ) { STDERR( "EE1: No valid message groups identified." ); ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112948] trunk/translatewiki/Pywikipedia/Pywikipedia.yaml
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112948 Revision: 112948 Author: siebrand Date: 2012-03-03 12:57:07 + (Sat, 03 Mar 2012) Log Message: --- FIx r112907. Should have been the other way around. Modified Paths: -- trunk/translatewiki/Pywikipedia/Pywikipedia.yaml Modified: trunk/translatewiki/Pywikipedia/Pywikipedia.yaml === --- trunk/translatewiki/Pywikipedia/Pywikipedia.yaml2012-03-03 12:46:58 UTC (rev 112947) +++ trunk/translatewiki/Pywikipedia/Pywikipedia.yaml2012-03-03 12:57:07 UTC (rev 112948) @@ -8,8 +8,8 @@ class: PythonSingleFFS # Pywikipediabot works on language code, so mapping fallbacked to Wikimedia code. codeMap: - als: gsw gan-hant: gan + gsw: als hif-latn: hif ike-cans: iu kbd-cyrl: kbd ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112952] trunk/extensions/CreatePage/CreatePage.i18n.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112952 Revision: 112952 Author: siebrand Date: 2012-03-03 17:27:09 + (Sat, 03 Mar 2012) Log Message: --- Simplify description message. Modified Paths: -- trunk/extensions/CreatePage/CreatePage.i18n.php Modified: trunk/extensions/CreatePage/CreatePage.i18n.php === --- trunk/extensions/CreatePage/CreatePage.i18n.php 2012-03-03 16:36:37 UTC (rev 112951) +++ trunk/extensions/CreatePage/CreatePage.i18n.php 2012-03-03 17:27:09 UTC (rev 112952) @@ -18,7 +18,7 @@ * @author Jeroen De Dauw */ $messages['en'] = array( - 'cp-desc' => 'Allows embedding an input into which users can enter the name of a page to be created and are taken to that page when they click create.', + 'cp-desc' => 'Allows embedding a form for new page creation', 'cp-create' => 'Create page', ); ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112975] trunk/translatewiki/EOL/EOL.yaml
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112975 Revision: 112975 Author: siebrand Date: 2012-03-04 15:18:22 + (Sun, 04 Mar 2012) Log Message: --- Update tags. Modified Paths: -- trunk/translatewiki/EOL/EOL.yaml Modified: trunk/translatewiki/EOL/EOL.yaml === --- trunk/translatewiki/EOL/EOL.yaml2012-03-04 10:57:14 UTC (rev 112974) +++ trunk/translatewiki/EOL/EOL.yaml2012-03-04 15:18:22 UTC (rev 112975) @@ -50,17 +50,6 @@ prefix: website- TAGS: - optional: -- website-errors.format -- website-collections.show.meta_title -- website-collections.show.tweet_text -- website-communities.newsfeeds.show.meta_title -- website-communities.newsfeeds.show.tweet_text -- website-content_partners.show.meta_title -- website-content_partners.show.tweet_text -- website-taxa.overviews.show.meta_title -- website-users.show.meta_title -- website-users.show.tweet_text ignored: - website-faker.lorem.* - website-date.* @@ -69,6 +58,14 @@ - website-number.* - website-datetime.* - website-support.* +- website-collections.show.meta_description +- website-collections.show.meta_title +- website-collections.show.tweet_text +- website-communities.newsfeeds.show.meta_description +- website-communities.newsfeeds.show.meta_title +- website-communities.newsfeeds.show.tweet_text +- website-content_partners.show.meta_title +- website-content_partners.show.tweet_text - website-taxa.communities.curators.meta_description - website-taxa.details.index.hierarchy_entry.meta_keywords - website-taxa.details.index.meta_keywords @@ -87,6 +84,7 @@ - website-taxa.names.index.hierarchy_entry.meta_title_with_common_name - website-taxa.names.index.meta_keywords - website-taxa.names.index.meta_keywords_with_common_name +- website-taxa.overviews.show.meta_title - website-taxa.resources.biomedical_terms.hierarchy_entry.meta_description - website-taxa.resources.biomedical_terms.hierarchy_entry.meta_description_with_common_name - website-taxa.resources.biomedical_terms.hierarchy_entry.meta_keywords @@ -133,6 +131,8 @@ - website-users.content_partners.index.meta_keywords - website-users.newsfeeds.show.meta_keywords - website-users.show.meta_keywords +- website-users.show.meta_title +- website-users.show.tweet_text --- BASIC: ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112976] trunk/translatewiki/OpenStreetMap/Potlatch2.yaml
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112976 Revision: 112976 Author: siebrand Date: 2012-03-04 15:32:36 + (Sun, 04 Mar 2012) Log Message: --- Fix group label. Modified Paths: -- trunk/translatewiki/OpenStreetMap/Potlatch2.yaml Modified: trunk/translatewiki/OpenStreetMap/Potlatch2.yaml === --- trunk/translatewiki/OpenStreetMap/Potlatch2.yaml2012-03-04 15:18:22 UTC (rev 112975) +++ trunk/translatewiki/OpenStreetMap/Potlatch2.yaml2012-03-04 15:32:36 UTC (rev 112976) @@ -34,7 +34,7 @@ --- BASIC: id: out-osm-potlatch2-help - label: Potlatch2 - Help + label: Potlatch 2 - Help display: out/osm/potlatch2/help FILES: @@ -48,7 +48,7 @@ --- BASIC: id: out-osm-potlatch2-main - label: Potlatch2 - Main + label: Potlatch 2 - Main display: out/osm/potlatch2/main FILES: ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [112977] trunk/translatewiki/OpenStreetMap/Potlatch2.yaml
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112977 Revision: 112977 Author: siebrand Date: 2012-03-04 15:33:03 + (Sun, 04 Mar 2012) Log Message: --- Update code map. Modified Paths: -- trunk/translatewiki/OpenStreetMap/Potlatch2.yaml Modified: trunk/translatewiki/OpenStreetMap/Potlatch2.yaml === --- trunk/translatewiki/OpenStreetMap/Potlatch2.yaml2012-03-04 15:32:36 UTC (rev 112976) +++ trunk/translatewiki/OpenStreetMap/Potlatch2.yaml2012-03-04 15:33:03 UTC (rev 112977) @@ -23,6 +23,7 @@ sv:sv_SE pt:pt_PT pt-br: pt_BR + vi: vi_VN zh-hans: zh_CN zh-hant: zh_TW ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [113061] trunk/translatewiki/Wikia/extensions.txt
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113061 Revision: 113061 Author: siebrand Date: 2012-03-05 18:53:59 + (Mon, 05 Mar 2012) Log Message: --- Update tags. Modified Paths: -- trunk/translatewiki/Wikia/extensions.txt Modified: trunk/translatewiki/Wikia/extensions.txt === --- trunk/translatewiki/Wikia/extensions.txt2012-03-05 18:39:31 UTC (rev 113060) +++ trunk/translatewiki/Wikia/extensions.txt2012-03-05 18:53:59 UTC (rev 113061) @@ -300,6 +300,7 @@ Video Embed Tool Wall +optional = wall-history-username-full, wall-history-username-short Watch Sub Pages descmsg = wikia-watchsubpages-desc ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [113063] trunk/translatewiki/Wikia/extensions.txt
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113063 Revision: 113063 Author: siebrand Date: 2012-03-05 19:14:36 + (Mon, 05 Mar 2012) Log Message: --- Update tags. Modified Paths: -- trunk/translatewiki/Wikia/extensions.txt Modified: trunk/translatewiki/Wikia/extensions.txt === --- trunk/translatewiki/Wikia/extensions.txt2012-03-05 18:54:09 UTC (rev 113062) +++ trunk/translatewiki/Wikia/extensions.txt2012-03-05 19:14:36 UTC (rev 113063) @@ -300,7 +300,7 @@ Video Embed Tool Wall -optional = wall-history-username-full, wall-history-username-short +optional = wall-history-username-full, wall-history-username-short, mail-notification-subject, mail-notification-html-footer-line3 Watch Sub Pages descmsg = wikia-watchsubpages-desc ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [113067] trunk/extensions/Translate/PageTranslation.i18n.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113067 Revision: 113067 Author: siebrand Date: 2012-03-05 19:32:28 + (Mon, 05 Mar 2012) Log Message: --- Add missing space. Modified Paths: -- trunk/extensions/Translate/PageTranslation.i18n.php Modified: trunk/extensions/Translate/PageTranslation.i18n.php === --- trunk/extensions/Translate/PageTranslation.i18n.php 2012-03-05 19:25:26 UTC (rev 113066) +++ trunk/extensions/Translate/PageTranslation.i18n.php 2012-03-05 19:32:28 UTC (rev 113067) @@ -117,7 +117,7 @@ 'tpt-aggregategroup-save' => 'Save', 'tpt-aggregategroup-add-new' => 'Add a new aggregate group', 'tpt-aggregategroup-new-name' => 'Name:', - 'tpt-aggregategroup-new-description' => 'Description(optional):', + 'tpt-aggregategroup-new-description' => 'Description (optional):', 'pt-parse-open' => 'Unbalanced <translate> tag. Translation template: $1', 'pt-parse-close' => 'Unbalanced </translate> tag. ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [113132] trunk/extensions/Translate/tag/SpecialPageTranslation.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113132 Revision: 113132 Author: siebrand Date: 2012-03-06 13:36:54 + (Tue, 06 Mar 2012) Log Message: --- Update language bard properly. Modified Paths: -- trunk/extensions/Translate/tag/SpecialPageTranslation.php Modified: trunk/extensions/Translate/tag/SpecialPageTranslation.php === --- trunk/extensions/Translate/tag/SpecialPageTranslation.php 2012-03-06 13:27:05 UTC (rev 113131) +++ trunk/extensions/Translate/tag/SpecialPageTranslation.php 2012-03-06 13:36:54 UTC (rev 113132) @@ -679,9 +679,12 @@ ); $logger->addEntry( 'mark', $page->getTitle(), null, array( serialize( $params ) ) ); - $this->handlePriorityLanguages( $wgRequest, $page, $wgUser ); + // This updates the language bars properly as well as the translatable page. + $page->getTranslationPercentages( true ); + WikiPage::factory( $page->getTitle() )->doPurge(); + $page->getTitle()->invalidateCache(); $this->setupRenderJobs( $page ); ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [113135] trunk/extensions/Translate/MessageGroups.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113135 Revision: 113135 Author: siebrand Date: 2012-03-06 13:43:46 + (Tue, 06 Mar 2012) Log Message: --- Update documentation. Modified Paths: -- trunk/extensions/Translate/MessageGroups.php Modified: trunk/extensions/Translate/MessageGroups.php === --- trunk/extensions/Translate/MessageGroups.php2012-03-06 13:43:29 UTC (rev 113134) +++ trunk/extensions/Translate/MessageGroups.php2012-03-06 13:43:46 UTC (rev 113135) @@ -1237,7 +1237,9 @@ * We want to de-emphasize time sensitive groups like news for 2009. * They can still exist in the system, but should not appear in front * of translators looking to do some useful work. -* @return string +* +* @param $group MessageGroup|string Message group ID +* @return string Translatable page priority * @since 2011-12-12 */ public static function getPriority( $group ) { ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [113137] trunk/extensions/Translate/tag/SpecialPageTranslation.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113137 Revision: 113137 Author: siebrand Date: 2012-03-06 14:00:28 + (Tue, 06 Mar 2012) Log Message: --- No more duplicate log entries when page is reloaded. Modified Paths: -- trunk/extensions/Translate/tag/SpecialPageTranslation.php Modified: trunk/extensions/Translate/tag/SpecialPageTranslation.php === --- trunk/extensions/Translate/tag/SpecialPageTranslation.php 2012-03-06 13:49:37 UTC (rev 113136) +++ trunk/extensions/Translate/tag/SpecialPageTranslation.php 2012-03-06 14:00:28 UTC (rev 113137) @@ -84,15 +84,20 @@ $logger = new LogPage( 'pagetranslation' ); $params = array( 'user' => $wgUser->getName() ); - if ( $action === 'encourage' ) { + $priority = MessageGroups::getPriority( $id ); + + // encouraged is default priority (''). Only do this if the priority is discouraged. + if ( $action === 'encourage' && $priority === 'discouraged' ) { $dbw->delete( $table, $row, __METHOD__ ); - // @todo Check if page is currently actually encouraged to prevent duplicate log entries. $logger->addEntry( 'encourage', $title, null, array( serialize( $params ) ) ); } else { $index = array( 'tgr_group', 'tgr_lang' ); $dbw->replace( $table, array( $index ), $row, __METHOD__ ); - // @todo Check if page is currently actually discouraged to prevent duplicate log entries. - $logger->addEntry( 'discourage', $title, null, array( serialize( $params ) ) ); + + // Prevent duplicate log entries. + if( $priority !== 'discouraged' ) { + $logger->addEntry( 'discourage', $title, null, array( serialize( $params ) ) ); + } } $this->listPages(); ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [113218] trunk/extensions/Translate/MessageGroups.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113218 Revision: 113218 Author: siebrand Date: 2012-03-07 07:57:26 + (Wed, 07 Mar 2012) Log Message: --- Follow-up r113135: Update return value documentation. Modified Paths: -- trunk/extensions/Translate/MessageGroups.php Modified: trunk/extensions/Translate/MessageGroups.php === --- trunk/extensions/Translate/MessageGroups.php2012-03-07 06:53:06 UTC (rev 113217) +++ trunk/extensions/Translate/MessageGroups.php2012-03-07 07:57:26 UTC (rev 113218) @@ -1239,7 +1239,7 @@ * of translators looking to do some useful work. * * @param $group MessageGroup|string Message group ID -* @return string Translatable page priority +* @return string Message group priority * @since 2011-12-12 */ public static function getPriority( $group ) { ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [113270] trunk/translatewiki/WikipediaMobile
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113270 Revision: 113270 Author: siebrand Date: 2012-03-07 19:06:55 + (Wed, 07 Mar 2012) Log Message: --- Update documentation. Update file locations. Modified Paths: -- trunk/translatewiki/WikipediaMobile/README trunk/translatewiki/WikipediaMobile/WikipediaMobile.yaml Property Changed: trunk/translatewiki/WikipediaMobile/README Modified: trunk/translatewiki/WikipediaMobile/README === --- trunk/translatewiki/WikipediaMobile/README 2012-03-07 19:01:41 UTC (rev 113269) +++ trunk/translatewiki/WikipediaMobile/README 2012-03-07 19:06:55 UTC (rev 113270) @@ -1,31 +1,24 @@ +== Add support in Translate == Check out a read-only copy: -$ git clone git://github.com/wikimedia/WikipediaMobile.git wikipedia +1. git clone git://github.com/wikimedia/WikipediaMobile.git WikipediaMobile +2. Add to LocalSettings.php: +wfAddNamespace( 1206, 'Wikimedia' ); +$wgTranslateGroupFiles[] = "$IP/extensions/Translate/groups/WikipediaMobile/WikipediaMobile.yaml"; -Update: -$ git pull +To update: +1. git pull +2. Process in Special:ManageMessageGroups - -Message files are in assets/www/messages/messages-*.properties -as Java-style properties files, using raw UTF-8. - - -messages-en.properties has master entries. -messages-qqq.properties has message descriptions. - - - -To commit: - - Check out a copy with github account already set up (read/write if sufficient rights): - $ git clone g...@github.com:wikimedia/WikipediaMobile.git wikipedia - - # must add any new or changed files! - git add assets/www/messages/messages-*.properties - - # commit locally - git commit -m "Updates from translatewiki.net" - - # push upstream - git push origin master - - +== Commit updates == +# Export translations +php /www/w/extensions/Translate/scripts/export.php --groupprefix=out-wikipedia-mobile --target=$HOME/export --lang=* --skip en,qqq --threshold=35 +php /www/w/extensions/Translate/scripts/export.php --groupprefix=out-wikipedia-mobile --target=$HOME/export --lang=qqq +# Check out a copy with github account set up (read/write with sufficient rights): +git clone g...@github.com:wikimedia/WikipediaMobile.git $HOME/export/WikipediaMobile +# must add any new or changed files! +cd $HOME/export/WikipediaMobile +git add assets/www/messages/messages-*.properties +# commit locally +git commit -m "Localisation updates from http://translatewiki.net."; +# push upstream +git push origin master Property changes on: trunk/translatewiki/WikipediaMobile/README ___ Added: svn:eol-style + native Modified: trunk/translatewiki/WikipediaMobile/WikipediaMobile.yaml === --- trunk/translatewiki/WikipediaMobile/WikipediaMobile.yaml2012-03-07 19:01:41 UTC (rev 113269) +++ trunk/translatewiki/WikipediaMobile/WikipediaMobile.yaml2012-03-07 19:06:55 UTC (rev 113270) @@ -14,9 +14,9 @@ FILES: class: JavaFFS - sourcePattern: %GROUPROOT%/wikipedia/assets/www/messages/messages-%CODE%.properties - definitionFile: %GROUPROOT%/wikipedia/assets/www/messages/messages-en.properties - targetPattern: wikipedia/assets/www/messages/messages-%CODE%.properties + sourcePattern: %GROUPROOT%/WikipediaMobile/assets/www/messages/messages-%CODE%.properties + definitionFile: %GROUPROOT%/WikipediaMobile/assets/www/messages/messages-en.properties + targetPattern: WikipediaMobile/assets/www/messages/messages-%CODE%.properties codeMap: nb: "no" header: | @@ -27,4 +27,3 @@ ignored: - mobileapp-settings-checkbox-example-desc - mobileapp-settings-checkbox-example-label - ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [113284] trunk/translatewiki/Wikia/extensions.txt
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113284 Revision: 113284 Author: siebrand Date: 2012-03-07 20:03:59 + (Wed, 07 Mar 2012) Log Message: --- Update support for Wikia MediaWiki extensions. Modified Paths: -- trunk/translatewiki/Wikia/extensions.txt Modified: trunk/translatewiki/Wikia/extensions.txt === --- trunk/translatewiki/Wikia/extensions.txt2012-03-07 19:59:38 UTC (rev 113283) +++ trunk/translatewiki/Wikia/extensions.txt2012-03-07 20:03:59 UTC (rev 113284) @@ -345,9 +345,6 @@ Wiki Features -Wiki Payment -ignored = wikipayment-click-here - Wiki Stats file = WikiStats/SpecialWikiStats.i18n.php descmsg = wikistats ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [113543] trunk/phase3
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113543 Revision: 113543 Author: siebrand Date: 2012-03-09 23:23:01 + (Fri, 09 Mar 2012) Log Message: --- Add message keys for 18 missing summary messages. * Patch for bug 34319 for Special:DeletedContributions and Special:Contributions contributed by Srikanth Lakshmanan * Other 16 instances identified by Der Umherirrende on translatewiki.net (https://translatewiki.net/wiki/Thread:Support/Missing_summary_message_keys_in_message_files), code updates by me. Modified Paths: -- trunk/phase3/CREDITS trunk/phase3/includes/specials/SpecialDeletedContributions.php trunk/phase3/languages/messages/MessagesEn.php trunk/phase3/maintenance/language/messageTypes.inc trunk/phase3/maintenance/language/messages.inc Modified: trunk/phase3/CREDITS === --- trunk/phase3/CREDITS2012-03-09 23:15:23 UTC (rev 113542) +++ trunk/phase3/CREDITS2012-03-09 23:23:01 UTC (rev 113543) @@ -8,7 +8,7 @@ * Alexandre Emsenhuber * Andrew Garrett * Aryeh Gregor -* Antoine Musso +* Antoine Musso * Brian Wolff * Bertrand Grondin * Brad Jorsch @@ -176,6 +176,7 @@ * Simon Walker * Solitarius * Søren Løvborg +* Srikanth Lakshmanan * Stefano Codari * Str4nd * svip Modified: trunk/phase3/includes/specials/SpecialDeletedContributions.php === --- trunk/phase3/includes/specials/SpecialDeletedContributions.php 2012-03-09 23:15:23 UTC (rev 113542) +++ trunk/phase3/includes/specials/SpecialDeletedContributions.php 2012-03-09 23:23:01 UTC (rev 113543) @@ -260,6 +260,7 @@ function execute( $par ) { global $wgQueryPageDefaultLimit; $this->setHeaders(); + $this->outputHeader(); $user = $this->getUser(); Modified: trunk/phase3/languages/messages/MessagesEn.php === --- trunk/phase3/languages/messages/MessagesEn.php 2012-03-09 23:15:23 UTC (rev 113542) +++ trunk/phase3/languages/messages/MessagesEn.php 2012-03-09 23:23:01 UTC (rev 113543) @@ -1062,6 +1062,7 @@ 'userloginnocreate' => 'Log in', 'logout' => 'Log out', 'userlogout' => 'Log out', +'userlogout-summary' => '', # do not translate or duplicate this message to other languages 'notloggedin'=> 'Not logged in', 'nologin'=> "Don't have an account? $1.", 'nologinlink'=> 'Create an account', @@ -1228,6 +1229,7 @@ # Special:ChangeEmail 'changeemail' => 'Change e-mail address', +'changeemail-summary' => '', # do not translate or duplicate this message to other languages 'changeemail-header' => 'Change account e-mail address', 'changeemail-text' => 'Complete this form to change your e-mail address. You will need to enter your password to confirm this change.', 'changeemail-no-info' => 'You must be logged in to access this page directly.', @@ -1764,6 +1766,7 @@ 'prefsnologin' => 'Not logged in', 'prefsnologintext' => 'You must be [{{fullurl:{{#Special:UserLogin}}|returnto=$1}} logged in] to set user preferences.', 'changepassword'=> 'Change password', +'changepassword-summary'=> '', # do not translate or duplicate this message to other languages 'prefs-skin'=> 'Skin', 'skin-preview' => 'Preview', 'datedefault' => 'No preference', @@ -2537,7 +2540,9 @@ 'uncategorizedtemplates' => 'Uncategorized templates', 'uncategorizedtemplates-summary' => '', # do not translate or duplicate this message to other languages 'unusedcategories'=> 'Unused categories', +'unusedcategories-summary'=> '', # do not translate or duplicate this message to other languages 'unusedimages'=> 'Unused files', +'unusedimages-summary'=> '', # do not translate or duplicate this message to other languages 'popularpages'=> 'Popular pages', 'popularpages-summary'=> '', # do not translate or duplicate this message to other languages 'wa
[MediaWiki-CVS] SVN: [113592] trunk/tools/ToolserverI18N/language/messages
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113592 Revision: 113592 Author: siebrand Date: 2012-03-11 21:45:54 + (Sun, 11 Mar 2012) Log Message: --- Localisation updates from http://translatewiki.net. Modified Paths: -- trunk/tools/ToolserverI18N/language/messages/General.i18n.php trunk/tools/ToolserverI18N/language/messages/Getwikiapi.i18n.php trunk/tools/ToolserverI18N/language/messages/Monumentsapi.i18n.php trunk/tools/ToolserverI18N/language/messages/Recentanonymousactivity.i18n.php trunk/tools/ToolserverI18N/language/messages/Templatecount.i18n.php trunk/tools/ToolserverI18N/language/messages/Toolserverstatus.i18n.php trunk/tools/ToolserverI18N/language/messages/Tsintuition.i18n.php Modified: trunk/tools/ToolserverI18N/language/messages/General.i18n.php === --- trunk/tools/ToolserverI18N/language/messages/General.i18n.php 2012-03-11 21:40:10 UTC (rev 113591) +++ trunk/tools/ToolserverI18N/language/messages/General.i18n.php 2012-03-11 21:45:54 UTC (rev 113592) @@ -598,6 +598,26 @@ 'view-source' => 'הצגת מקור', ); +/** Hindi (हिन्दी) + * @author Siddhartha Ghai + */ +$messages['hi'] = array( + 'hello' => 'नमस्कार', + 'welcome' => 'सुस्वागतम्!', + 'toolversionstamp' => 'वर्ज़न $1 ($2)', + 'etc' => 'आदि', + 'namespace' => 'नामस्थान', + 'form-reset' => 'रीसेट करें', + 'years' => '{{PLURAL: $1|वर्ष}}', + 'weeks' => '{{PLURAL: $1|सप्ताह}}', + 'days' => '{{PLURAL: $1|दिन}}', + 'hours' => '{{PLURAL:$1|घंटा|घंटे}}', + 'minutes' => '{{PLURAL: $1|मिनट}}', + 'seconds' => '{{PLURAL: $1|सॅकेंड}}', + 'last-modified-date' => 'अंतिम परिवर्तन: $1', + 'view-source' => 'स्रोत देखें', +); + /** Croatian (Hrvatski) * @author Ex13 */ @@ -1316,11 +1336,13 @@ 'hello' => 'வணக்கம்', 'welcome' => 'வருக', 'etc' => 'இன்ன பிற', + 'namespace' => 'பெயர்வெளி', 'form-submit' => 'செல்', 'form-reset' => 'மீட்டமைக்க', 'years' => '{{PLURAL: $1|வருடம்|வருடங்கள்}}', 'weeks' => '{{PLURAL: $1|வாரம்|வாரங்கள்}}', 'days' => '{{PLURAL: $1|நாள்|நாட்கள்}}', + 'hours' => '{{PLURAL: $1|மணி|மணிகள்}}', 'minutes' => '{{PLURAL: $1|நிமிடம்|நிமிடங்கள்}}', 'seconds' => '{{PLURAL: $1|வினாடி|வினாடிகள்}}', 'last-modified-date' => 'கடைசியாகத் திருத்தப்பட்டது: $1', Modified: trunk/tools/ToolserverI18N/language/messages/Getwikiapi.i18n.php === --- trunk/tools/ToolserverI18N/language/messages/Getwikiapi.i18n.php 2012-03-11 21:40:10 UTC (rev 113591) +++ trunk/tools/ToolserverI18N/language/messages/Getwikiapi.i18n.php 2012-03-11 21:45:54 UTC (rev 113592) @@ -30,7 +30,9 @@ $messages['qqq'] = array( 'formats-heading' => 'This is the heading above the list of available formats to export/output to.', 'input' => 'This is the heading above the input form.', - 'label-wikiids' => 'This form label is for the input field for the wiki identifiers. Users may type one or more identifiers here.', + 'label-wikiids' => 'This form label is for the input field for the wiki identifiers. Users may type one or more identifiers here. + +Identifiers can be a language code (e.g. \'de\' will assume the German Wikipedia), or a database code (enwiki_p for English Wikipedia), hostname (fr.wiktionary, optionally including ".org") and some others as well. Almost any form of identification or guessing is accepted.', 'no-matches' => 'Message to be displayed if nothing was found for the given id. $1 represents the user input.', 'output' => 'For each of the search results this heading is placed. $1 represents the user input.', ); @@ -242,6 +244,17 @@ 'output' => 'פלט עבור "$1"', ); +/** Hindi (हिन्दी) + * @author Siddhartha Ghai + */ +$messages['hi'] = array( + 'formats-heading' => 'आउटपुट फ़ॉर्मैट', + 'input' => 'इन
[MediaWiki-CVS] SVN: [113594] trunk/translatewiki/Mwlib/Mwlibrl.yaml
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113594 Revision: 113594 Author: siebrand Date: 2012-03-11 22:06:20 + (Sun, 11 Mar 2012) Log Message: --- Add definitionFile to work with export.php's ppgettext. Modified Paths: -- trunk/translatewiki/Mwlib/Mwlibrl.yaml Modified: trunk/translatewiki/Mwlib/Mwlibrl.yaml === --- trunk/translatewiki/Mwlib/Mwlibrl.yaml 2012-03-11 22:05:54 UTC (rev 113593) +++ trunk/translatewiki/Mwlib/Mwlibrl.yaml 2012-03-11 22:06:20 UTC (rev 113594) @@ -10,6 +10,7 @@ FILES: class: GettextFFS sourcePattern: %GROUPROOT%/mwlib.rl/mwlib/rl/locale/%CODE%/LC_MESSAGES/mwlib.rl.po + definitionFile: %GROUPROOT%/mwlib.rl/mwlib/rl/locale/en/LC_MESSAGES/mwlib.rl.po targetPattern: mwlib.rl/mwlib/rl/locale/%CODE%/LC_MESSAGES/mwlib.rl.po codeMap: pt-br: pt_BR ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [113596] trunk/translatewiki
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113596 Revision: 113596 Author: siebrand Date: 2012-03-11 22:17:12 + (Sun, 11 Mar 2012) Log Message: --- Update/add some documentation. Modified Paths: -- trunk/translatewiki/MantisBT/README trunk/translatewiki/StatusNet/README Added Paths: --- trunk/translatewiki/EOL/README trunk/translatewiki/Mwlib/README Added: trunk/translatewiki/EOL/README === --- trunk/translatewiki/EOL/README (rev 0) +++ trunk/translatewiki/EOL/README 2012-03-11 22:17:12 UTC (rev 113596) @@ -0,0 +1,10 @@ +== Setup == + cd %GROUPROOT% + git clone git://github.com/EncyclopediaOfLife/eol.git eol + +Add to your LocalSettings.php: + wfAddNamespace( 1242, 'EOL' ); + $wgTranslateGroupFiles[] = "$IP/extensions/Translate/groups/EOL/EOL.yaml" + +== Export === + php export.php --target=$EXPORTPATH --no-fuzzy --groupprefix=out-eol- --lang='*' --skip=en --threshold=35 Property changes on: trunk/translatewiki/EOL/README ___ Added: svn:eol-style + native Modified: trunk/translatewiki/MantisBT/README === --- trunk/translatewiki/MantisBT/README 2012-03-11 22:06:51 UTC (rev 113595) +++ trunk/translatewiki/MantisBT/README 2012-03-11 22:17:12 UTC (rev 113596) @@ -1,11 +1,11 @@ == Setup == cd %GROUPROOT% git clone git://git.mantisbt.org/mantisbt mantisbt + git checkout --track -b master-1.2.x origin/master-1.2.x Add to your LocalSettings.php wfAddNamespace( 1210, 'Mantis' ); $wgTranslateGroupFiles[] = "$IP/extensions/Translate/groups/MantisBT/MantisBT.yaml"; == Export == -@todo - + php export.php --target=$EXPORTPATH --groupprefix=out-mantis- --lang='*' --skip=en --threshold=35 Added: trunk/translatewiki/Mwlib/README === --- trunk/translatewiki/Mwlib/README(rev 0) +++ trunk/translatewiki/Mwlib/README2012-03-11 22:17:12 UTC (rev 113596) @@ -0,0 +1,11 @@ +== Setup == + cd %GROUPROOT% + git clone git://github.com/pediapress/mwlib.rl.git mwlib.rl + +Add to your LocalSettings.php: + wfAddNamespace( 1212, 'Mwlib' ); + $wgTranslateGroupFiles[] = "$IP/extensions/Translate/groups/Mwlib/Mwlibrl.yaml"; + +== Export === + php export.php --target=$EXPORTPATH/ --lang='*' --group=out-mwlibrl --ppgettext=%GROUPROOT% --threshold=10 + php export.php --target=$EXPORTPATH/ --lang=qqq --group=out-mwlibrl --ppgettext=%GROUPROOT% Property changes on: trunk/translatewiki/Mwlib/README ___ Added: svn:eol-style + native Modified: trunk/translatewiki/StatusNet/README === --- trunk/translatewiki/StatusNet/README2012-03-11 22:06:51 UTC (rev 113595) +++ trunk/translatewiki/StatusNet/README2012-03-11 22:17:12 UTC (rev 113596) @@ -6,7 +6,7 @@ git clone git://gitorious.org/statusnet/mainline.git statusnet -Then check out the current development branch (origin/0.9.x) in the clone. +Then check out the current development branch (origin/1.0.x) in the clone. ==Settings== @@ -35,7 +35,7 @@ echo "Rebuilding POT..." $HOME/statusnet/scripts/update_po_templates.php echo "Exporting all StatusNet groups in languages over 35%..." -php $SCRIPTPATH/export.php --target=$EXPORTPATH/ --lang=* --skip=en,qqq --threshold=35 --ppgettext=$HOME --grouptrail=out-statusnet +php $SCRIPTPATH/export.php --target=$EXPORTPATH/ --lang=* --skip=en,qqq --threshold=35 --ppgettext=$HOME --groupprefix=out-statusnet echo "Copying updated POT files into export..." cd $HOME for i in `find statusnet |grep [.]pot$ |grep locale` ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [113597] trunk/translatewiki/Mwlib/README
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113597 Revision: 113597 Author: siebrand Date: 2012-03-11 22:20:42 + (Sun, 11 Mar 2012) Log Message: --- Fix omission in r113596: --skip-en. Modified Paths: -- trunk/translatewiki/Mwlib/README Modified: trunk/translatewiki/Mwlib/README === --- trunk/translatewiki/Mwlib/README2012-03-11 22:17:12 UTC (rev 113596) +++ trunk/translatewiki/Mwlib/README2012-03-11 22:20:42 UTC (rev 113597) @@ -7,5 +7,5 @@ $wgTranslateGroupFiles[] = "$IP/extensions/Translate/groups/Mwlib/Mwlibrl.yaml"; == Export === - php export.php --target=$EXPORTPATH/ --lang='*' --group=out-mwlibrl --ppgettext=%GROUPROOT% --threshold=10 + php export.php --target=$EXPORTPATH/ --lang='*' --skip=en --group=out-mwlibrl --ppgettext=%GROUPROOT% --threshold=10 php export.php --target=$EXPORTPATH/ --lang=qqq --group=out-mwlibrl --ppgettext=%GROUPROOT% ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [113603] trunk/extensions/Translate/check-blacklist.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113603 Revision: 113603 Author: siebrand Date: 2012-03-12 00:07:45 + (Mon, 12 Mar 2012) Log Message: --- Update check blacklist. Modified Paths: -- trunk/extensions/Translate/check-blacklist.php Modified: trunk/extensions/Translate/check-blacklist.php === --- trunk/extensions/Translate/check-blacklist.php 2012-03-12 00:05:04 UTC (rev 113602) +++ trunk/extensions/Translate/check-blacklist.php 2012-03-12 00:07:45 UTC (rev 113603) @@ -82,6 +82,20 @@ ) ), array( + 'group' => 'core-1.17', + 'check' => 'variable', + 'message' => array( + 'perfcachedts', // Optional time parameters + ), +), +array( + 'group' => 'core-1.18', + 'check' => 'variable', + 'message' => array( + 'perfcachedts', // Optional time parameters + ), +), +array( 'group' => 'ext-abusefilter', 'check' => 'variable', 'message' => array( ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [113706] trunk/extensions/Translate/check-blacklist.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113706 Revision: 113706 Author: siebrand Date: 2012-03-13 02:35:38 + (Tue, 13 Mar 2012) Log Message: --- Follow-up r113603: Use correct keys. Modified Paths: -- trunk/extensions/Translate/check-blacklist.php Modified: trunk/extensions/Translate/check-blacklist.php === --- trunk/extensions/Translate/check-blacklist.php 2012-03-13 01:51:46 UTC (rev 113705) +++ trunk/extensions/Translate/check-blacklist.php 2012-03-13 02:35:38 UTC (rev 113706) @@ -85,14 +85,14 @@ 'group' => 'core-1.17', 'check' => 'variable', 'message' => array( - 'perfcachedts', // Optional time parameters + 'mw-core-1.17-perfcachedts', // Optional time parameters ), ), array( 'group' => 'core-1.18', 'check' => 'variable', 'message' => array( - 'perfcachedts', // Optional time parameters + 'mw-core-1.18-perfcachedts', // Optional time parameters ), ), array( ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [113729] trunk/extensions/Vector/Vector.i18n.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113729 Revision: 113729 Author: siebrand Date: 2012-03-13 15:58:01 + (Tue, 13 Mar 2012) Log Message: --- Tweak 'vector-footercleanup-transclusion'. Also remove use of strong. Modified Paths: -- trunk/extensions/Vector/Vector.i18n.php Modified: trunk/extensions/Vector/Vector.i18n.php === --- trunk/extensions/Vector/Vector.i18n.php 2012-03-13 15:54:42 UTC (rev 113728) +++ trunk/extensions/Vector/Vector.i18n.php 2012-03-13 15:58:01 UTC (rev 113729) @@ -1,7 +1,7 @@ 'Search', 'vector-simplesearch-containing' => 'containing...', 'vector-noexperiments-preference' => 'Exclude me from feature experiments', - 'vector-footercleanup-transclusion' => 'This page contains {{plural:$1|transclusion|transclusions}} of $1 other {{plural:$1|page|pages}}.', + 'vector-footercleanup-transclusion' => 'This page contains {{PLURAL:$1|transclusion|transclusions}} of {{PLURAL:$1|one other page|$1 other pages}}.', ); /** Message documentation (Message documentation) ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [113731] trunk/extensions/ExtensionDistributor/ExtensionDistributor. i18n.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113731 Revision: 113731 Author: siebrand Date: 2012-03-13 16:31:53 + (Tue, 13 Mar 2012) Log Message: --- Remove leading newline in 'extdist-choose-version'. Modified Paths: -- trunk/extensions/ExtensionDistributor/ExtensionDistributor.i18n.php Modified: trunk/extensions/ExtensionDistributor/ExtensionDistributor.i18n.php === --- trunk/extensions/ExtensionDistributor/ExtensionDistributor.i18n.php 2012-03-13 16:09:20 UTC (rev 113730) +++ trunk/extensions/ExtensionDistributor/ExtensionDistributor.i18n.php 2012-03-13 16:31:53 UTC (rev 113731) @@ -13,8 +13,7 @@ 'extdist-wc-empty' => 'The configured working copy directory has no distributable extensions!', 'extdist-submit-extension' => 'Continue', 'extdist-current-version' => 'Development version (trunk)', - 'extdist-choose-version' => ' -You are downloading the $1 extension. + 'extdist-choose-version' => 'You are downloading the $1 extension. Select your MediaWiki version. @@ -956,7 +955,7 @@ ممکن است بهمنظور بارگیری آنی به یک کارساز (سرور) استفاده شود، اما لطفاً آن را بوکمارک نکنید، چراکه محتویات بهروزرسانی نخواهند شد و شاید در تاریخی بعدتر پاک شوند. بایگانی tar باید در دایرکتوری افزونههایتان استخراج شود. برای مثال، در سامانهعاملهای مانند یونیکس: - + tar -xzf $5 -C /var/www/mediawiki/extensions @@ -1166,7 +1165,7 @@ O enderezo URL desta fotografía é: :$4 -Poderá ser usada para descargala inmediatamente a un servidor, pero, por favor, non a engada á lista dos seus favoritos mentres o contido non estea actualizado. Poderá tamén ser eliminada nuns días. +Poderá ser usada para descargala inmediatamente a un servidor, pero, por favor, non a engada á lista dos seus favoritos mentres o contido non estea actualizado. Poderá tamén ser eliminada nuns días. O arquivo tar deberá ser extraído no seu directorio de extensións. Por exemplo, nun sistema beseado no UNIX: @@ -1333,7 +1332,7 @@ 'extdist-wc-empty' => 'U konfiguriranom radnom direktoriju za kopiranje nema ekstenzija za distribuciju!', 'extdist-submit-extension' => 'Nastavi', 'extdist-current-version' => 'Razvojna inačica (stablo)', - 'extdist-choose-version' => 'Preuzimate ekstenziju $1. + 'extdist-choose-version' => 'Preuzimate ekstenziju $1. Izaberite vašu inačicu MedijaWikija. @@ -1556,17 +1555,17 @@ 'extdist-tar-error' => 'Tar Mengembalikan kode keluar $1:', 'extdist-created' => "Sebuah versi cuplikan $2 dari ekstensi $1 untuk MediaWiki $3 telah dibuat. Unduhan Anda akan dimulai secara otomatis dalam 5 detik. -URL untuk cuplikan ini adalah: -:$4 -Tautan ini dapat digunakan untuk mengunduh langsung ke server, tetapi jangan tandai karena isinya tidak akan diperbarui dan dapat dihapus di kemudian hari. +URL untuk cuplikan ini adalah: +:$4 +Tautan ini dapat digunakan untuk mengunduh langsung ke server, tetapi jangan tandai karena isinya tidak akan diperbarui dan dapat dihapus di kemudian hari. -Arsip tar harus diekstrak ke direktori ekstensi Anda. Sebagai contoh, pada sistem operasi keluarga UNIX: +Arsip tar harus diekstrak ke direktori ekstensi Anda. Sebagai contoh, pada sistem operasi keluarga UNIX: - -tar -xzf $5 -C /var/www/mediawiki/extensions - + +tar -xzf $5 -C /var/www/mediawiki/extensions + -Pada Windows, Anda dapat menggunakan [http://www.7-zip.org/ 7-zip] untuk mengekstrak file. +Pada Windows, Anda dapat menggunakan [http://www.7-zip.org/ 7-zip] untuk mengekstrak file. Jika wiki Anda di server jauh, ekstrak berkas ke direktori sementara pada komputer lokal Anda, dan kemudian unggah '''semua''' berkas yang diekstrak ke direktori ekstensi pada server. @@ -2707,11 +2706,11 @@ 'extdist-svn-error' => 'Барыл (Subversion) алҕаһа: $1', 'extdist-svn-parse-error' => '"Svn info" хамаанда ыыппыт XML уларытар процеһын алҕаһа: $1', 'extdist-tar-error' => 'Куод $1 сыыһатын Tar көрдөрөр:', - 'extdist-created' => "MediaWiki $3 анаан $1 тупсарыы $2 барылын снэпшота (хаартыската) оҥоһулунна. 5 сөкүүндэннэн хачайданыы саҕаланыахтаах. + 'extdist-created' => "MediaWiki $3 анаан $1 тупсарыы $2 барылын снэпшота (хаартыската) оҥоһулунна. 5 сөкүүндэннэн хачайданыы саҕаланыахтаах. Снэпшот URL-а: :$4 -Бу аадырыс сиэрбэргэ сип-сибилигин хачайдыырга туһаныллар, кэлин үлэлиэ суоҕун сөп, онон сигэни закладкаҕа киллэрэр на
[MediaWiki-CVS] SVN: [113753] trunk/phase3/languages/messages/MessagesEn.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113753 Revision: 113753 Author: siebrand Date: 2012-03-13 19:32:41 + (Tue, 13 Mar 2012) Log Message: --- Fix plural in 'backend-fail-maxsize' Modified Paths: -- trunk/phase3/languages/messages/MessagesEn.php Modified: trunk/phase3/languages/messages/MessagesEn.php === --- trunk/phase3/languages/messages/MessagesEn.php 2012-03-13 19:26:10 UTC (rev 113752) +++ trunk/phase3/languages/messages/MessagesEn.php 2012-03-13 19:32:41 UTC (rev 113753) @@ -2266,7 +2266,7 @@ 'backend-fail-closetemp' => 'Could not close temporary file.', 'backend-fail-read' => 'Could not read file $1.', 'backend-fail-create'=> 'Could not create file $1.', -'backend-fail-maxsize' => 'Could not create file $1 because it is larger than {{PLURAL:$2|$2 bytes|$2 byte}}.', +'backend-fail-maxsize' => 'Could not create file $1 because it is larger than {{PLURAL:$2|one byte|$2 bytes}}.', 'backend-fail-readonly' => 'The storage backend "$1" is currently read-only. The reason given was: "$2"', 'backend-fail-synced'=> 'The file "$1" is in an inconsistent state within the internal storage backends', 'backend-fail-connect' => 'Could not connect to storage backend "$1".', ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [113756] trunk
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113756 Revision: 113756 Author: siebrand Date: 2012-03-13 20:16:32 + (Tue, 13 Mar 2012) Log Message: --- Follow-up r113594: Update export.php so that when using gettext post processing switch ppgettext, definitionFile is no longer required. Modified Paths: -- trunk/extensions/Translate/scripts/export.php trunk/translatewiki/Mwlib/Mwlibrl.yaml Modified: trunk/extensions/Translate/scripts/export.php === --- trunk/extensions/Translate/scripts/export.php 2012-03-13 20:09:49 UTC (rev 113755) +++ trunk/extensions/Translate/scripts/export.php 2012-03-13 20:16:32 UTC (rev 113756) @@ -28,8 +28,8 @@ --helpThis help message --threshold Do not export under this percentage translated --ppgettext Group root path for checkout of product. "msgmerge" will post -process on the export result based on the current definitionFile -in that location +process on the export result based on the current source file +in that location (from sourcePattern or definitionFile) --no-location Only used combined with "ppgettext". This option will rebuild the gettext file without location information. --no-fuzzyDo not include any messages marked as fuzzy/outdated. @@ -149,7 +149,7 @@ $wgMaxShellMemory = 402400; $conf = $group->getConfiguration(); - $definitionFile = str_replace( '%GROUPROOT%', $options['ppgettext'], $conf['FILES']['definitionFile'] ); + $definitionFile = str_replace( '%GROUPROOT%', $options['ppgettext'], $group->getSourceFilePath( $group->getSourceLanguage() ) ); } foreach ( $langs as $lang ) { Modified: trunk/translatewiki/Mwlib/Mwlibrl.yaml === --- trunk/translatewiki/Mwlib/Mwlibrl.yaml 2012-03-13 20:09:49 UTC (rev 113755) +++ trunk/translatewiki/Mwlib/Mwlibrl.yaml 2012-03-13 20:16:32 UTC (rev 113756) @@ -10,7 +10,6 @@ FILES: class: GettextFFS sourcePattern: %GROUPROOT%/mwlib.rl/mwlib/rl/locale/%CODE%/LC_MESSAGES/mwlib.rl.po - definitionFile: %GROUPROOT%/mwlib.rl/mwlib/rl/locale/en/LC_MESSAGES/mwlib.rl.po targetPattern: mwlib.rl/mwlib/rl/locale/%CODE%/LC_MESSAGES/mwlib.rl.po codeMap: pt-br: pt_BR ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [113757] trunk/extensions/Translate/tag/SpecialPageTranslation.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113757 Revision: 113757 Author: siebrand Date: 2012-03-13 20:21:23 + (Tue, 13 Mar 2012) Log Message: --- Comment out code from r113132, because it didn't do that it needed to do. Modified Paths: -- trunk/extensions/Translate/tag/SpecialPageTranslation.php Modified: trunk/extensions/Translate/tag/SpecialPageTranslation.php === --- trunk/extensions/Translate/tag/SpecialPageTranslation.php 2012-03-13 20:16:32 UTC (rev 113756) +++ trunk/extensions/Translate/tag/SpecialPageTranslation.php 2012-03-13 20:21:23 UTC (rev 113757) @@ -686,9 +686,13 @@ $this->handlePriorityLanguages( $wgRequest, $page, $wgUser ); + // @todo FIXME: When translatable page X is tagged for translation and when X has , + // then there is no language bar on X after tagging and a job queue run. The below + // tried to resolve that, but didn't. No correct solution known at the moment. + // Manual fix is "action=purge" on X. // This updates the language bars properly as well as the translatable page. - $page->getTranslationPercentages( true ); - WikiPage::factory( $page->getTitle() )->doPurge(); + //$page->getTranslationPercentages( true ); + //WikiPage::factory( $page->getTitle() )->doPurge(); $page->getTitle()->invalidateCache(); $this->setupRenderJobs( $page ); ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [113763] trunk/translatewiki
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113763 Revision: 113763 Author: siebrand Date: 2012-03-13 20:57:30 + (Tue, 13 Mar 2012) Log Message: --- Update READMEs. Modified Paths: -- trunk/translatewiki/EOL/README trunk/translatewiki/Europeana/README trunk/translatewiki/FreeCol/README trunk/translatewiki/MantisBT/README trunk/translatewiki/Mifos/README trunk/translatewiki/Nocc/README trunk/translatewiki/Okawix/README trunk/translatewiki/OpenStreetMap/README trunk/translatewiki/StatusNet/README trunk/translatewiki/Toolserver/README trunk/translatewiki/WikiReader/README trunk/translatewiki/WikipediaMobile/README Modified: trunk/translatewiki/EOL/README === --- trunk/translatewiki/EOL/README 2012-03-13 20:50:02 UTC (rev 113762) +++ trunk/translatewiki/EOL/README 2012-03-13 20:57:30 UTC (rev 113763) @@ -7,4 +7,4 @@ $wgTranslateGroupFiles[] = "$IP/extensions/Translate/groups/EOL/EOL.yaml" == Export === - php export.php --target=$EXPORTPATH --no-fuzzy --groupprefix=out-eol- --lang='*' --skip=en --threshold=35 + php export.php --target=$EXPORTPATH --no-fuzzy --group=out-eol-* --lang='*' --skip=en --threshold=35 Modified: trunk/translatewiki/Europeana/README === --- trunk/translatewiki/Europeana/README2012-03-13 20:50:02 UTC (rev 113762) +++ trunk/translatewiki/Europeana/README2012-03-13 20:57:30 UTC (rev 113763) @@ -5,3 +5,6 @@ Add to your LocalSettings.php: wfAddNamespace( 1204, 'Europeana' ); $wgTranslateGroupFiles[] = "$IP/extensions/Translate/groups/Europeana/Europeana.yaml + +# Commits +To do. \ No newline at end of file Modified: trunk/translatewiki/FreeCol/README === --- trunk/translatewiki/FreeCol/README 2012-03-13 20:50:02 UTC (rev 113762) +++ trunk/translatewiki/FreeCol/README 2012-03-13 20:57:30 UTC (rev 113763) @@ -18,10 +18,10 @@ EXPORTERPATH=/var/www/w/extensions/Translate/scripts TARGET=/full/path/to/freecol/i18n TEMP=`mktemp -p freecol` || { echo "could not get temp file"; exit 1 } - + cd $EXPORTERPATH - php autoexport.php --hours="$1" --target="$TARGET" --groups="out-freecol" --threshold=25 --skip="en" > $TEMP - + php autoexport.php --hours="$1" --target="$TARGET" --group=out-freecol --threshold=25 --skip="en" > $TEMP + cat $TEMP sh $TEMP rm $TEMP Modified: trunk/translatewiki/MantisBT/README === --- trunk/translatewiki/MantisBT/README 2012-03-13 20:50:02 UTC (rev 113762) +++ trunk/translatewiki/MantisBT/README 2012-03-13 20:57:30 UTC (rev 113763) @@ -8,4 +8,4 @@ $wgTranslateGroupFiles[] = "$IP/extensions/Translate/groups/MantisBT/MantisBT.yaml"; == Export == - php export.php --target=$EXPORTPATH --groupprefix=out-mantis- --lang='*' --skip=en --threshold=35 + php export.php --target=$EXPORTPATH --group=out-mantis-* --lang='*' --skip=en --threshold=35 Modified: trunk/translatewiki/Mifos/README === --- trunk/translatewiki/Mifos/README2012-03-13 20:50:02 UTC (rev 113762) +++ trunk/translatewiki/Mifos/README2012-03-13 20:57:30 UTC (rev 113763) @@ -15,5 +15,5 @@ == export-mifos === git pull - php /www/w/extensions/Translate/scripts/export.php --grouptrail=out-mifos --target .. --lang='*' --skip=en --threshold=20 - php /www/w/extensions/Translate/scripts/export.php --grouptrail=out-mifos --target .. --lang=qqq + php /www/w/extensions/Translate/scripts/export.php --group=out-mifos* --target .. --lang='*' --skip=en --threshold=20 + php /www/w/extensions/Translate/scripts/export.php --group=out-mifos* --target .. --lang=qqq Modified: trunk/translatewiki/Nocc/README === --- trunk/translatewiki/Nocc/README 2012-03-13 20:50:02 UTC (rev 113762) +++ trunk/translatewiki/Nocc/README 2012-03-13 20:57:30 UTC (rev 113763) @@ -9,5 +9,5 @@ == Export == * Required: connect access to the NOCC SourceForge project. Contact: Tim Gerundt . -* php export.php --target=$EXPORTPATH --grouptrail=out-nocc- --skip=en --lang=* --threshold=35 +* php export.php --target=$EXPORTPATH --group=out-nocc-* --skip=en --lang=* --threshold=35 * Download, diff and commit the export to the project. Modified: trunk/translatewiki/Okawix/README === --- trunk/translatewiki/Okawix/README 2012-03-13 20:50:02 UTC (rev 113762) +++ trunk/translatewiki/Okawix/README 2012-03-13 20:57:30 UTC (rev 113763) @@ -22,7 +22,7 @@ TEMP=`mk
[MediaWiki-CVS] SVN: [113777] trunk/extensions/Translate
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113777 Revision: 113777 Author: siebrand Date: 2012-03-13 22:43:14 + (Tue, 13 Mar 2012) Log Message: --- * Removed groupprefix option from export.php and sync-group.php. Use * wildcard with group option. * Some formatting in README. Modified Paths: -- trunk/extensions/Translate/README trunk/extensions/Translate/Translate.php trunk/extensions/Translate/scripts/export.php trunk/extensions/Translate/scripts/sync-group.php Modified: trunk/extensions/Translate/README === --- trunk/extensions/Translate/README 2012-03-13 22:41:47 UTC (rev 113776) +++ trunk/extensions/Translate/README 2012-03-13 22:43:14 UTC (rev 113777) @@ -30,42 +30,52 @@ https://translatewiki.net/docs/Translate/html/ == Change log == +* 2012-03-13 +- Removed groupprefix option from export.php and sync-group.php. Use * wildcard + with group option. * 2012-03-12 -* Special:LanguageStats group collapsing now supports nested subgroups +- Special:LanguageStats group collapsing now supports nested subgroups. * 2012-03-11 -- Support for shared TTMServer databases was added -- Suggestions from different TTMServers are now grouped -- Output of TTMServer api module has changed -- TTMServer configs can override the link symbol by adding value for symbol in the config +- Support for shared TTMServer databases was added. +- Suggestions from different TTMServers are now grouped. +- Output of TTMServer api module has changed. +- TTMServer configs can override the link symbol by adding value for symbol in + the config. * 2012-03-07 -- $wgTranslateGroupStructure is no longer used. If you are using aggregate message - groups, you can remove the old settings and everything still works as expected. - If you are not yet using aggregate message groups, you should to not confuse users. -- Gettext file were not shown in translation editor when using recent translations task. -- New Special page AggregateGroups where translation administrator can group pages - into subgroups. +- $wgTranslateGroupStructure is no longer used. If you are using aggregate + message groups, you can remove the old settings and everything still works as + expected. If you are not yet using aggregate message groups, you should do + that to not confuse users. +- Gettext file were not shown in translation editor when using recent + translations task. +- New Special page AggregateGroups where translation administrator can group + pages into subgroups. * 2012-03-06 -- Translation administrator can now suggest languages translatable page should be - primarily translated into with a note or preventing other language translations. +- Translation administrator can now suggest languages translatable page should + be primarily translated into with a note or preventing other language + translations. * 2012-03-05 - Support for using remote TTMServers via API interface added. -- Support for tmserver was removed. Translate comes with TTMServer enabled by default. - To bootstrap it with current translations, run php scripts/ttmserver-export.php. -- Message documentation was not shown when translating for subgroups nested more than - one level deep. +- Support for tmserver was removed. Translate comes with TTMServer enabled by + default. To bootstrap it with current translations, run php + scripts/ttmserver-export.php. +- Message documentation was not shown when translating for subgroups nested more + than one level deep. - Special:TranslationStats can now graph review and reviewer activity. * 2012-03-02 - Encourage/discourage changes of translatable pages are now logged. * 2012-03-01 -- Added upper length for translation memory suggestions because of performance concerns. +- Added upper length for translation memory suggestions because of performance + concerns. * 2012-02-29 -- Configuring wgMainCache is no longer necessary. Translate extension will use any - available caching mechanism automatically when needed. +- Configuring wgMainCache is no longer necessary. Translate extension will use + any available caching mechanism automatically when needed. - Support for Google Translate was removed, as the free service is no more. -- Special:LanguageStats' default value derived from current interface language now - works also for anonymous users (only relevant when using LanguageSelector) +- Special:LanguageStats' default value derived from current interface language + now works also for anonymous users (only relevant when using + LanguageSelector). * 2012-02-24 -- Help link is no longer added twice in Special:SupportedLanguages +- Help link is no longer added twice in Special:SupportedLanguages. * 2012-02-21 - Gettext headers can now be customised with Translate:GettextFFS:headerFields hook. Less headers are modified by default. @@ -78,18 +88,19 @@ [[MediaWiki
[MediaWiki-CVS] SVN: [113943] trunk/extensions/Translate/scripts/export.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113943 Revision: 113943 Author: siebrand Date: 2012-03-15 18:15:36 + (Thu, 15 Mar 2012) Log Message: --- Follow-up r113756: Use $wgTranslateGroupRoot instead of '%GROUPROOT%', since it has already been replaced. Modified Paths: -- trunk/extensions/Translate/scripts/export.php Modified: trunk/extensions/Translate/scripts/export.php === --- trunk/extensions/Translate/scripts/export.php 2012-03-15 18:05:40 UTC (rev 113942) +++ trunk/extensions/Translate/scripts/export.php 2012-03-15 18:15:36 UTC (rev 113943) @@ -134,13 +134,13 @@ $definitionFile = false; if ( isset( $options['ppgettext'] ) && $ffs instanceof GettextFFS ) { - global $wgMaxShellMemory; + global $wgMaxShellMemory, $wgTranslateGroupRoot; // Need more shell memory for msgmerge. $wgMaxShellMemory = 402400; $conf = $group->getConfiguration(); - $definitionFile = str_replace( '%GROUPROOT%', $options['ppgettext'], $group->getSourceFilePath( $group->getSourceLanguage() ) ); + $definitionFile = str_replace( $wgTranslateGroupRoot, $options['ppgettext'], $group->getSourceFilePath( $group->getSourceLanguage() ) ); } foreach ( $langs as $lang ) { ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [113946] trunk/extensions/Translate/Translate.i18n.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113946 Revision: 113946 Author: siebrand Date: 2012-03-15 19:46:44 + (Thu, 15 Mar 2012) Log Message: --- Fix typos. Modified Paths: -- trunk/extensions/Translate/Translate.i18n.php Modified: trunk/extensions/Translate/Translate.i18n.php === --- trunk/extensions/Translate/Translate.i18n.php 2012-03-15 19:36:34 UTC (rev 113945) +++ trunk/extensions/Translate/Translate.i18n.php 2012-03-15 19:46:44 UTC (rev 113946) @@ -299,8 +299,8 @@ 'translate-manage-action-ignore' => 'Ignore', 'translate-manage-action-fuzzy' => 'Import and fuzzy translations', 'translate-manage-submit' => 'Execute', - 'translate-manage-nochanges' => 'There is no changes in message definitions for this group.', - 'translate-manage-nochanges-other' => 'There was no changes for this language. + 'translate-manage-nochanges' => 'There are no changes in message definitions for this group.', + 'translate-manage-nochanges-other' => 'There were no changes for this language. Use the link below to return the group details view.', 'translate-manage-inconsistent' => 'Detected inconsistency in the request. @@ -13252,7 +13252,7 @@ 'translate-edit-definition' => 'ಸಂದೇಶ ವ್ಯಾಖ್ಯೆ', 'translate-edit-translation' => 'ಅನುವಾದ', 'translate-edit-contribute' => 'ನೆರವಾಗು', - 'translate-edit-no-information' => '"ಈ ಸಂದೇಶಕ್ಕೆ ಯಾವುದೇ ದಾಖಲೆಗಳಿಲ್ಲ." + 'translate-edit-no-information' => '"ಈ ಸಂದೇಶಕ್ಕೆ ಯಾವುದೇ ದಾಖಲೆಗಳಿಲ್ಲ." "ನಿಮಗೆ ಈ ಸಂದೇಶ ಎಲ್ಲಿಯಾದರೂ ಅಥವಾ ಹೇಗಾದರೂ ಉಪಯೋಗದಲ್ಲಿರುವುದು ತಿಳಿದಿದ್ದರೆ,ನೀವು ಇದಕ್ಕೆ ತಕ್ಕ ದಾಖಲೆಗಳನ್ನು ಸೇರಿಸಿ ಬೇರಿ ಭಾಷಾಂತರಕಾರರಿಗೆ ಸಹಾಯ ಮಾಡಬಹುದು."', 'translate-edit-information' => 'ಸಂದೇಶದ ಬಗ್ಗೆ ಮಾಹಿತಿ ($1)', 'translate-edit-in-other-languages' => 'ಬೇರೆ ಭಾಷೆಗಳಲ್ಲಿ ಸಂದೇಶ', @@ -20539,7 +20539,7 @@ 'translate-prev' => 'Predošlá stránka', 'translate-page-description-legend' => 'Informácie o skupine', 'translate-page-description-hasoptional' => 'Táto skupina obsahuje voliteľné správy. -Voliteľné správy sa majú prekladať len v prípade, ak má váš jazyk špecifické potreby, +Voliteľné správy sa majú prekladať len v prípade, ak má váš jazyk špecifické potreby, ako napr. nepoužívanie medzier, alebo transkripcie vlastných mien. $1', 'translate-page-description-hasoptional-open' => 'Zobraziť voliteľné správy.', 'translate-page-edit' => 'upraviť', ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [113979] trunk/extensions/ArticleFeedbackv5/ArticleFeedbackv5.i18n.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113979 Revision: 113979 Author: siebrand Date: 2012-03-16 00:06:40 + (Fri, 16 Mar 2012) Log Message: --- Fix typo and add a bunch of FIXMEs because of a butt ugly patchwork message. Modified Paths: -- trunk/extensions/ArticleFeedbackv5/ArticleFeedbackv5.i18n.php Modified: trunk/extensions/ArticleFeedbackv5/ArticleFeedbackv5.i18n.php === --- trunk/extensions/ArticleFeedbackv5/ArticleFeedbackv5.i18n.php 2012-03-15 23:37:10 UTC (rev 113978) +++ trunk/extensions/ArticleFeedbackv5/ArticleFeedbackv5.i18n.php 2012-03-16 00:06:40 UTC (rev 113979) @@ -154,7 +154,7 @@ 'articlefeedbackv5-noteflyover-hide-submit' => 'Hide this post', 'articlefeedbackv5-noteflyover-hide-help' => 'Learn more', 'articlefeedbackv5-noteflyover-hide-help-link' => '#', - + /* Show this post panel */ 'articlefeedbackv5-noteflyover-show-caption' => 'Unhide this post', 'articlefeedbackv5-noteflyover-show-label' => 'Add a note', @@ -194,7 +194,7 @@ 'articlefeedbackv5-noteflyover-unoversight-submit' => 'Un-oversight this post', 'articlefeedbackv5-noteflyover-unoversight-help' => 'Learn more', 'articlefeedbackv5-noteflyover-unoversight-help-link' => '#', - + /* Decline oversight panel */ 'articlefeedbackv5-noteflyover-declineoversight-caption' => 'Decline oversight', 'articlefeedbackv5-noteflyover-declineoversight-label' => 'Add a note', @@ -372,7 +372,7 @@ Thank you for expressing interest in helping to improve {{SITENAME}}. -Please take a moment to confirm your e-mail by clicking on the link below: +Please take a moment to confirm your e-mail by clicking on the link below: $1 @@ -420,12 +420,12 @@ publicized to the community for this testing period.', /* Front-end: feedback link close button */ - 'articlefeedbackv5-link-close-caption' => 'Remove Article Feedback?', - 'articlefeedbackv5-link-close-text1' => 'To remove this widget, go to', - 'articlefeedbackv5-link-close-linktext' => '"My Preferences > Appearances"', - 'articlefeedbackv5-link-close-linkurl' => '#', - 'articlefeedbackv5-link-close-text2' => 'then check this box:', - 'articlefeedbackv5-link-cllse-text3' => '"Don\'t show the Article Feedback widget."', + 'articlefeedbackv5-link-close-caption' => 'Remove article feedback?', + 'articlefeedbackv5-link-close-text1' => 'To remove this widget, go to', // FIXME: Patchwork message + 'articlefeedbackv5-link-close-linktext' => '"My preferences > Appearance"', // FIXME: Patchwork message + 'articlefeedbackv5-link-close-linkurl' => '#', // FIXME: Patchwork message + 'articlefeedbackv5-link-close-text2' => 'then check this box:', // FIXME: Patchwork message + 'articlefeedbackv5-link-cllse-text3' => '"Do not show the Article Feedback widget."', // FIXME: Patchwork message 'articlefeedbackv5-link-close-submit' => 'Remove', 'articlefeedbackv5-link-close-cancel' => 'Cancel', @@ -929,7 +929,7 @@ شكرا لك على رغبتك في المساعدة على تحسين {{SITENAME}}. -أكد بريدك الإلكتروتي بالضغط على الزر أسفله: +أكد بريدك الإلكتروتي بالضغط على الزر أسفله: $1 @@ -1252,7 +1252,7 @@ Дзякуй, за дапамогу ў паляпшэньні {{GRAMMAR:родны|{{SITENAME. -Калі ласка, знайдзіце час каб пацьвердзіць Ваш адрас электроннай пошты. Перайдзіце па спасылцы пададзенай ніжэй: +Калі ласка, знайдзіце час каб пацьвердзіць Ваш адрас электроннай пошты. Перайдзіце па спасылцы пададзенай ніжэй: $1 @@ -1702,7 +1702,7 @@ Trugarez deoc'h da vezañ diskouezet bezañ dedennet d'hor skoazellañ evit gwellaat {{SITENAME}}. -Kemerit ur pennadig amzer evit kadarnaat ho chomlec'h postel en ur glikañ war al liamm a-is : +Kemerit ur pennadig amzer evit kadarnaat ho chomlec'h postel en ur glikañ war al liamm a-is : $1 @@ -1776,7 +1776,7 @@ Hvala što ste izrazili zanimanje za poboljšanje {{SITENAME}}. -Molimo vas potvrdite vaš e-mail putem klika na link ispod: +Molimo vas potvrdite vaš e-mail putem klika na link ispod: $1 @@ -2999,7 +2999,7 @@ Ευχαριστούμε που δείξατε ενδιαφέρον στη βελτίωση της Βικπέδιας. -Παρακαλώ αφιερώστε λίγο χρόνο για να επ
[MediaWiki-CVS] SVN: [113996] trunk/extensions/Translate/check-blacklist.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113996 Revision: 113996 Author: siebrand Date: 2012-03-16 04:29:15 + (Fri, 16 Mar 2012) Log Message: --- Update check blacklist. Modified Paths: -- trunk/extensions/Translate/check-blacklist.php Modified: trunk/extensions/Translate/check-blacklist.php === --- trunk/extensions/Translate/check-blacklist.php 2012-03-16 03:21:12 UTC (rev 113995) +++ trunk/extensions/Translate/check-blacklist.php 2012-03-16 04:29:15 UTC (rev 113996) @@ -663,6 +663,15 @@ 'stafflog-piggybacklogoutmsg', // Contains optional additional parameters. ) ), +array( + 'group' => 'wikia-wikiamobile', + 'check' => 'links', + 'message' => array( + 'wikiamobile-footer-link1', // Contains link parts that may need translation + 'wikiamobile-footer-link2', // Contains link parts that may need translation + 'wikiamobile-footer-link3', // Contains link parts that may need translation + ) +), // translatewiki.net specific array( 'group' => 'page-Translating:Intro', ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [113997] trunk/phase3/languages/messages/MessagesEn.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113997 Revision: 113997 Author: siebrand Date: 2012-03-16 04:38:00 + (Fri, 16 Mar 2012) Log Message: --- Remove incorrect "the" in 'filereadonlyerror'. Make use of reasons more consistent in a few messages. Modified Paths: -- trunk/phase3/languages/messages/MessagesEn.php Modified: trunk/phase3/languages/messages/MessagesEn.php === --- trunk/phase3/languages/messages/MessagesEn.php 2012-03-16 04:29:15 UTC (rev 113996) +++ trunk/phase3/languages/messages/MessagesEn.php 2012-03-16 04:38:00 UTC (rev 113997) @@ -1034,10 +1034,10 @@ 'ns-specialprotected' => 'Special pages cannot be edited.', 'titleprotected' => 'This title has been protected from creation by [[User:$1|$1]]. The reason given is "\'\'$2\'\'".', -'filereadonlyerror'=> 'Unable to the modify the file "$1" because the file repository "$2" is in read-only mode. - -The administrator who locked it offered this explanation: "$3".', +'filereadonlyerror'=> 'Unable to modify the file "$1" because the file repository "$2" is in read-only mode. +The reason given is "\'\'$3\'\'".', + # Virus scanner 'virus-badscanner' => "Bad configuration: Unknown virus scanner: ''$1''", 'virus-scanfailed' => 'scan failed (code $1)', @@ -1297,7 +1297,7 @@ Your current IP address is $3, and the block ID is #$5. Please include all above details in any queries you make.", 'autoblockedtext' => 'Your IP address has been automatically blocked because it was used by another user, who was blocked by $1. -The reason given is this: +The reason given is: :\'\'$2\'\' @@ -2270,7 +2270,7 @@ 'backend-fail-read' => 'Could not read file $1.', 'backend-fail-create'=> 'Could not create file $1.', 'backend-fail-maxsize' => 'Could not create file $1 because it is larger than {{PLURAL:$2|one byte|$2 bytes}}.', -'backend-fail-readonly' => 'The storage backend "$1" is currently read-only. The reason given was: "$2"', +'backend-fail-readonly' => 'The storage backend "$1" is currently read-only. The reason given is: "\'\'$2\'\'"', 'backend-fail-synced'=> 'The file "$1" is in an inconsistent state within the internal storage backends', 'backend-fail-connect' => 'Could not connect to storage backend "$1".', 'backend-fail-internal' => 'An unknown error occurred in storage backend "$1".', @@ -3171,7 +3171,7 @@ 'contribslink'=> 'contribs', 'emaillink' => 'send e-mail', 'autoblocker' => 'Autoblocked because your IP address has been recently used by "[[User:$1|$1]]". -The reason given for $1\'s block is: "$2"', +The reason given for $1\'s block is "\'\'$2\'\'"', 'blocklogpage'=> 'Block log', 'blocklog-showlog'=> 'This user has been blocked previously. The block log is provided below for reference:', ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [113998] trunk/translatewiki/Wikia/extensions.txt
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113998 Revision: 113998 Author: siebrand Date: 2012-03-16 04:48:46 + (Fri, 16 Mar 2012) Log Message: --- Fix key in tags. Modified Paths: -- trunk/translatewiki/Wikia/extensions.txt Modified: trunk/translatewiki/Wikia/extensions.txt === --- trunk/translatewiki/Wikia/extensions.txt2012-03-16 04:38:00 UTC (rev 113997) +++ trunk/translatewiki/Wikia/extensions.txt2012-03-16 04:48:46 UTC (rev 113998) @@ -43,7 +43,7 @@ file = SpecialBatchUserRights/BatchUserRights.i18n.php aliasfile = SpecialBatchUserRights/BatchUserRights.alias.php -Campfire +Campfire Category Exhibition file = CategoryExhibition/i18n/CategoryExhibition.i18n.php @@ -168,7 +168,7 @@ Oasis optional = oasis-latest-photos-single, oasis-corporatefooter-hub-Entertainment-link, oasis-corporatefooter-hub-Gaming-link, oasis-corporatefooter-hub-Lifestyle-link -optional = oasis-corporatefooter-hub-Food and Drink-link +optional = oasis-corporatefooter-hub-Food_and_Drink-link ignored = wiki-navigation, categoryblacklist, photosblacklist, oasis-button-random-page-tooltip ignored = oasis-button-wiki-activity-tooltip, wikia-navigation-global ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [113999] trunk/translatewiki/EOL/EOL.yaml
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113999 Revision: 113999 Author: siebrand Date: 2012-03-16 05:18:18 + (Fri, 16 Mar 2012) Log Message: --- Update codeMap. Map sr-ec to sr adn sr-el to sr_CS. Modified Paths: -- trunk/translatewiki/EOL/EOL.yaml Modified: trunk/translatewiki/EOL/EOL.yaml === --- trunk/translatewiki/EOL/EOL.yaml2012-03-16 04:48:46 UTC (rev 113998) +++ trunk/translatewiki/EOL/EOL.yaml2012-03-16 05:18:18 UTC (rev 113999) @@ -10,7 +10,8 @@ codeMap: be-tarask: be-TARASK pt-br: pt-BR - sr-ec: sr-EC + sr-el: sr + sr-ec: sr_CS zh-hans: zh-CN zh-hant: zh-TW ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [114000] trunk/translatewiki/EOL/EOL.yaml
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114000 Revision: 114000 Author: siebrand Date: 2012-03-16 06:36:45 + (Fri, 16 Mar 2012) Log Message: --- Use dash instead of underscore. Modified Paths: -- trunk/translatewiki/EOL/EOL.yaml Modified: trunk/translatewiki/EOL/EOL.yaml === --- trunk/translatewiki/EOL/EOL.yaml2012-03-16 05:18:18 UTC (rev 113999) +++ trunk/translatewiki/EOL/EOL.yaml2012-03-16 06:36:45 UTC (rev 114000) @@ -11,7 +11,7 @@ be-tarask: be-TARASK pt-br: pt-BR sr-el: sr - sr-ec: sr_CS + sr-ec: sr-CS zh-hans: zh-CN zh-hant: zh-TW ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [114001] trunk/translatewiki/EOL/EOL.yaml
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114001 Revision: 114001 Author: siebrand Date: 2012-03-16 07:09:40 + (Fri, 16 Mar 2012) Log Message: --- Prime example of making changes when tired... Modified Paths: -- trunk/translatewiki/EOL/EOL.yaml Modified: trunk/translatewiki/EOL/EOL.yaml === --- trunk/translatewiki/EOL/EOL.yaml2012-03-16 06:36:45 UTC (rev 114000) +++ trunk/translatewiki/EOL/EOL.yaml2012-03-16 07:09:40 UTC (rev 114001) @@ -10,8 +10,8 @@ codeMap: be-tarask: be-TARASK pt-br: pt-BR - sr-el: sr - sr-ec: sr-CS + sr-ec: sr + sr-el: sr-CS zh-hans: zh-CN zh-hant: zh-TW ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [114073] trunk/phase3/includes
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114073 Revision: 114073 Author: siebrand Date: 2012-03-17 21:19:31 + (Sat, 17 Mar 2012) Log Message: --- Follow-up r113939: Add divs to addWikiText(). Modified Paths: -- trunk/phase3/includes/FileDeleteForm.php trunk/phase3/includes/specials/SpecialUndelete.php Modified: trunk/phase3/includes/FileDeleteForm.php === --- trunk/phase3/includes/FileDeleteForm.php2012-03-17 21:13:10 UTC (rev 114072) +++ trunk/phase3/includes/FileDeleteForm.php2012-03-17 21:19:31 UTC (rev 114073) @@ -89,9 +89,7 @@ if( !$status->isGood() ) { $wgOut->addHTML( '' . $this->prepareMessage( 'filedeleteerror-short' ) . "\n" ); - $wgOut->addHTML( '' ); - $wgOut->addWikiText( $status->getWikiText( 'filedeleteerror-short', 'filedeleteerror-long' ) ); - $wgOut->addHTML( '' ); + $wgOut->addWikiText( '' . $status->getWikiText( 'filedeleteerror-short', 'filedeleteerror-long' ) . '' ); } if( $status->ok ) { $wgOut->setPageTitle( wfMessage( 'actioncomplete' ) ); Modified: trunk/phase3/includes/specials/SpecialUndelete.php === --- trunk/phase3/includes/specials/SpecialUndelete.php 2012-03-17 21:13:10 UTC (rev 114072) +++ trunk/phase3/includes/specials/SpecialUndelete.php 2012-03-17 21:19:31 UTC (rev 114073) @@ -1399,9 +1399,7 @@ // Show file deletion warnings and errors $status = $archive->getFileStatus(); if( $status && !$status->isGood() ) { - $out->addHTML( '' ); - $out->addWikiText( $status->getWikiText( 'undelete-error-short', 'undelete-error-long' ) ); - $out->addHTML( '' ); + $out->addWikiText( '' . $status->getWikiText( 'undelete-error-short', 'undelete-error-long' ) . '' ); } } } ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [114093] trunk/extensions/GlobalBlocking
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114093 Revision: 114093 Author: siebrand Date: 2012-03-18 06:55:37 + (Sun, 18 Mar 2012) Log Message: --- * Follow-up r39787: Fix issue with message in case a block will not expire (indefinite block). Mimicked core message 'blockedtext' as much as possible as well as code from Title.php. * Update formatting and a variable name. Modified Paths: -- trunk/extensions/GlobalBlocking/GlobalBlocking.class.php trunk/extensions/GlobalBlocking/GlobalBlocking.i18n.php Modified: trunk/extensions/GlobalBlocking/GlobalBlocking.class.php === --- trunk/extensions/GlobalBlocking/GlobalBlocking.class.php2012-03-18 00:01:40 UTC (rev 114092) +++ trunk/extensions/GlobalBlocking/GlobalBlocking.class.php2012-03-18 06:55:37 UTC (rev 114093) @@ -44,7 +44,9 @@ static $result = null; // Instance cache - if ( !is_null( $result ) ) { return $result; } + if ( !is_null( $result ) ) { + return $result; + } $block = self::getGlobalBlockingBlock( $ip, $user->isAnon() ); if ( $block ) { @@ -61,25 +63,23 @@ return $result = array(); } + $blockTimestamp = $wgLang->timeanddate( wfTimestamp( TS_MW, $block->gb_timestamp ), true ); + # Messy B/C until $wgLang->formatExpiry() is well embedded - if( Block::decodeExpiry( $block->gb_expiry ) == 'infinity' ){ - $expiry = wfMsgExt( 'infiniteblock', 'parseinline' ); + $blockExpiry = Block::decodeExpiry( $block->gb_expiry ); + if( $blockExpiry == 'infinity' ){ + $blockExpiry = wfMessage( 'infiniteblock' )->text(); } else { - $expiry = Block::decodeExpiry( $block->gb_expiry ); - $expiry = wfMsgExt( - 'expiringblock', - 'parseinline', - $wgLang->date( $expiry ), - $wgLang->time( $expiry ) - ); + $blockExpiry = $wgLang->timeanddate( wfTimestamp( TS_MW, $blockExpiry ), true ); } $display_wiki = self::getWikiName( $block->gb_by_wiki ); - $user_display = self::maybeLinkUserpage( $block->gb_by_wiki, $block->gb_by ); + $blockingUser = self::maybeLinkUserpage( $block->gb_by_wiki, $block->gb_by ); - return $result = array( 'globalblocking-blocked', - $user_display, $display_wiki, $block->gb_reason, $expiry, $ip ); + return $result = array( 'globalblocking-ipblocked', + $blockingUser, $display_wiki, $block->gb_reason, $blockTimestamp, $blockExpiry, $ip ); } + return $result = array(); } Modified: trunk/extensions/GlobalBlocking/GlobalBlocking.i18n.php === --- trunk/extensions/GlobalBlocking/GlobalBlocking.i18n.php 2012-03-18 00:01:40 UTC (rev 114092) +++ trunk/extensions/GlobalBlocking/GlobalBlocking.i18n.php 2012-03-18 06:55:37 UTC (rev 114093) @@ -102,9 +102,18 @@ If a global block is disabled on this wiki, users on the affected IP address will be able to edit normally. [[Special:GlobalBlockList|Return to the global block list]].", - 'globalblocking-blocked' => "Your IP address $5 has been blocked on all wikis by '''$1''' (''$2''). -The reason given was ''\"$3\"''. -The block ''$4''.", + 'globalblocking-ipblocked' => "'''Your IP address has been blocked on all wikis.''' + +The block was made by $1 ($2). +The reason given is ''$3''. + +* Start of block: $4 +* Expiry of block: $5 + +You can contact $1 to discuss the block. +You cannot use the \"{{int:emailuser}}\" feature unless a valid e-mail address is specified in your [[Special:Preferences|account preferences]] and you have not been blocked from using it. +Your current IP address is $6. +Please include all above details in any queries you make.", 'globalblocking-blocked-nopassreset' => "You cannot reset user's pas
[MediaWiki-CVS] SVN: [114123] trunk/translatewiki/OpenStreetMap/OpenStreetMap.yaml
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114123 Revision: 114123 Author: siebrand Date: 2012-03-19 07:59:14 + (Mon, 19 Mar 2012) Log Message: --- Update tags. Modified Paths: -- trunk/translatewiki/OpenStreetMap/OpenStreetMap.yaml Modified: trunk/translatewiki/OpenStreetMap/OpenStreetMap.yaml === --- trunk/translatewiki/OpenStreetMap/OpenStreetMap.yaml2012-03-19 02:30:41 UTC (rev 114122) +++ trunk/translatewiki/OpenStreetMap/OpenStreetMap.yaml2012-03-19 07:59:14 UTC (rev 114123) @@ -84,6 +84,8 @@ - layouts.help_url - layouts.wiki_url - javascripts.map.base.mapquest +- layouts.partners_url +- layouts.intro_2_use_url ignored: - geocoder.search_osm_namefinder.prefix - printable_name.with_id ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [114798] trunk/translatewiki/Wikia/extensions.txt
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114798 Revision: 114798 Author: siebrand Date: 2012-04-08 21:51:52 + (Sun, 08 Apr 2012) Log Message: --- Update tags. Modified Paths: -- trunk/translatewiki/Wikia/extensions.txt Modified: trunk/translatewiki/Wikia/extensions.txt === --- trunk/translatewiki/Wikia/extensions.txt2012-04-08 13:49:34 UTC (rev 114797) +++ trunk/translatewiki/Wikia/extensions.txt2012-04-08 21:51:52 UTC (rev 114798) @@ -168,7 +168,7 @@ Oasis optional = oasis-latest-photos-single, oasis-corporatefooter-hub-Entertainment-link, oasis-corporatefooter-hub-Gaming-link, oasis-corporatefooter-hub-Lifestyle-link -optional = oasis-corporatefooter-hub-Food_and_Drink-link +optional = oasis-corporatefooter-hub-Food_and_Drink-link, oasis-corporatefooter-hub-Video_Games-link, oasis-corporatefooter-hub-Video_Games-link ignored = wiki-navigation, categoryblacklist, photosblacklist, oasis-button-random-page-tooltip ignored = oasis-button-wiki-activity-tooltip, wikia-navigation-global ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [114799] trunk/translatewiki/Wikia/extensions.txt
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114799 Revision: 114799 Author: siebrand Date: 2012-04-08 21:53:15 + (Sun, 08 Apr 2012) Log Message: --- Remove support for deleted Wikia MediaWiki extension. Modified Paths: -- trunk/translatewiki/Wikia/extensions.txt Modified: trunk/translatewiki/Wikia/extensions.txt === --- trunk/translatewiki/Wikia/extensions.txt2012-04-08 21:51:52 UTC (rev 114798) +++ trunk/translatewiki/Wikia/extensions.txt2012-04-08 21:53:15 UTC (rev 114799) @@ -287,10 +287,6 @@ Unsubscribe file = SpecialUnsubscribe/Unsubscribe.i18n.php -User Profile Page -optional = recipes-template-skip-toggle-types -ignored = recipes-template-aboutuser-fields, recipes-template-aboutuser-wikitext - User Profile Page V3 file = UserProfilePageV3/UserProfilePage.i18n.php ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [114800] trunk/translatewiki/Wikia/extensions.txt
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114800 Revision: 114800 Author: siebrand Date: 2012-04-08 21:55:37 + (Sun, 08 Apr 2012) Log Message: --- Remove support for deleted Wikia MediaWiki extension. Modified Paths: -- trunk/translatewiki/Wikia/extensions.txt Modified: trunk/translatewiki/Wikia/extensions.txt === --- trunk/translatewiki/Wikia/extensions.txt2012-04-08 21:53:15 UTC (rev 114799) +++ trunk/translatewiki/Wikia/extensions.txt2012-04-08 21:55:37 UTC (rev 114800) @@ -138,8 +138,6 @@ Lookup Contribs file = LookupContribs/SpecialLookupContribs.i18n.php -Masthead - Mobile - Game Guides file = MobileAppTranslations/GameGuides.i18n.php ignored = windowwikicontents-title @@ -168,7 +166,7 @@ Oasis optional = oasis-latest-photos-single, oasis-corporatefooter-hub-Entertainment-link, oasis-corporatefooter-hub-Gaming-link, oasis-corporatefooter-hub-Lifestyle-link -optional = oasis-corporatefooter-hub-Food_and_Drink-link, oasis-corporatefooter-hub-Video_Games-link, oasis-corporatefooter-hub-Video_Games-link +optional = oasis-corporatefooter-hub-Food_and_Drink-link, oasis-corporatefooter-hub-Video_Games-link ignored = wiki-navigation, categoryblacklist, photosblacklist, oasis-button-random-page-tooltip ignored = oasis-button-wiki-activity-tooltip, wikia-navigation-global ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [114801] trunk/translatewiki/WikiReader/WikiReader.yaml
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114801 Revision: 114801 Author: siebrand Date: 2012-04-08 22:47:18 + (Sun, 08 Apr 2012) Log Message: --- Update targetPattern. Modified Paths: -- trunk/translatewiki/WikiReader/WikiReader.yaml Modified: trunk/translatewiki/WikiReader/WikiReader.yaml === --- trunk/translatewiki/WikiReader/WikiReader.yaml 2012-04-08 21:55:37 UTC (rev 114800) +++ trunk/translatewiki/WikiReader/WikiReader.yaml 2012-04-08 22:47:18 UTC (rev 114801) @@ -9,7 +9,7 @@ FILES: class: JavaFFS sourcePattern: %GROUPROOT%/wikireader/XML-Licenses/%CODE%/wiki.nls - targetPattern: wikireader/%CODE%/wiki.nls + targetPattern: wikireader/XML-Licenses/%CODE%/wiki.nls codeMap: nb: "no" ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [114844] trunk/translatewiki/Okawix
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114844 Revision: 114844 Author: siebrand Date: 2012-04-11 15:26:31 + (Wed, 11 Apr 2012) Log Message: --- Update paths for Okawix and (partial) update of README. Modified Paths: -- trunk/translatewiki/Okawix/Okawix.yaml trunk/translatewiki/Okawix/README Modified: trunk/translatewiki/Okawix/Okawix.yaml === --- trunk/translatewiki/Okawix/Okawix.yaml 2012-04-11 14:56:37 UTC (rev 114843) +++ trunk/translatewiki/Okawix/Okawix.yaml 2012-04-11 15:26:31 UTC (rev 114844) @@ -27,7 +27,7 @@ label: Okawix - Documentation FILES: - sourcePattern: %GROUPROOT%/okawix/locale/%CODE%/interfacewiki/okawix-doc.properties + sourcePattern: %GROUPROOT%/okawix/%CODE%/interfacewiki/okawix-doc.properties targetPattern: okawix/%CODE%/interfacewiki/okawix-doc.properties --- @@ -37,7 +37,7 @@ FILES: class: DtdFFS - sourcePattern: %GROUPROOT%/okawix/locale/%CODE%/interfacewiki/okawix.dtd + sourcePattern: %GROUPROOT%/okawix/%CODE%/interfacewiki/okawix.dtd targetPattern: okawix/%CODE%/interfacewiki/okawix.dtd AUTOLOAD: @@ -49,7 +49,7 @@ label: Okawix - Properties FILES: - sourcePattern: %GROUPROOT%/okawix/locale/%CODE%/interfacewiki/okawix.properties + sourcePattern: %GROUPROOT%/okawix/%CODE%/interfacewiki/okawix.properties targetPattern: okawix/%CODE%/interfacewiki/okawix.properties TAGS: @@ -73,5 +73,5 @@ label: Okawix - Site FILES: - sourcePattern: %GROUPROOT%/okawix/locale/%CODE%/interfacewiki/okawix-site.properties + sourcePattern: %GROUPROOT%/okawix/%CODE%/interfacewiki/okawix-site.properties targetPattern: okawix/%CODE%/interfacewiki/okawix-site.properties Modified: trunk/translatewiki/Okawix/README === --- trunk/translatewiki/Okawix/README 2012-04-11 14:56:37 UTC (rev 114843) +++ trunk/translatewiki/Okawix/README 2012-04-11 15:26:31 UTC (rev 114844) @@ -1,20 +1,13 @@ Check out writable copy: -mkdir -p $HOME/okawix -cd $HOME/okawix/ -svn co https://usern...@okawix.svn.sourceforge.net/svnroot/okawix/trunk/okawix/chrome/locale +svn co https://usern...@okawix.svn.sourceforge.net/svnroot/okawix/trunk/okawix/chrome/locale okawix To check out a read-only copy: cd %GROUPROOT% -mkdir okawix -cd okawix -svn co https://okawix.svn.sourceforge.net/svnroot/okawix/trunk/okawix/chrome/locale +svn co https://okawix.svn.sourceforge.net/svnroot/okawix/trunk/okawix/chrome/locale okawix Translate configuration: wfAddNamespace( , 'Okawix' ); -require_once( "$IP/extensions/Translate/groups/Okawix/Okawix.php" ); -$wgTranslateGroupFiles[] = "$IP/extensions/Translate/groups/Okawix/Okawix-doc.yml"; -$wgTranslateGroupFiles[] = "$IP/extensions/Translate/groups/Okawix/Okawix-dtd.yml"; -$wgTranslateGroupFiles[] = "$IP/extensions/Translate/groups/Okawix/Okawix-properties.yml"; +$wgTranslateGroupFiles[] = "$IP/extensions/Translate/groups/Okawix/Okawix.yaml"; Make an export script, like export.sh: EXPORTERPATH=/var/www/w/extensions/Translate/scripts ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [114872] trunk/translatewiki/MantisBT/MantisBT.yaml
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114872 Revision: 114872 Author: siebrand Date: 2012-04-12 21:38:55 + (Thu, 12 Apr 2012) Log Message: --- Update group IDs to improve exports. Modified Paths: -- trunk/translatewiki/MantisBT/MantisBT.yaml Modified: trunk/translatewiki/MantisBT/MantisBT.yaml === --- trunk/translatewiki/MantisBT/MantisBT.yaml 2012-04-12 20:59:44 UTC (rev 114871) +++ trunk/translatewiki/MantisBT/MantisBT.yaml 2012-04-12 21:38:55 UTC (rev 114872) @@ -120,7 +120,7 @@ --- BASIC: - id: out-mantis-mantiscoreformatting + id: out-mantis-plugin-mantiscoreformatting label: MantisBT - Mantis Core Formatting description: "{{int:translate-group-desc-mantisbt-plugin-core}}" @@ -130,7 +130,7 @@ --- BASIC: - id: out-mantis-mantisgraph + id: out-mantis-plugin-mantisgraph label: MantisBT - Mantis Graph description: "{{int:translate-group-desc-mantisbt-plugin-core}}" @@ -140,7 +140,7 @@ --- BASIC: - id: out-mantis-xmlimportexport + id: out-mantis-plugin-xmlimportexport label: MantisBT - Xml Import Export description: "{{int:translate-group-desc-mantisbt-plugin-core}}" ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [114907] trunk/extensions/Maintenance/Maintenance.i18n.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114907 Revision: 114907 Author: siebrand Date: 2012-04-14 14:02:13 + (Sat, 14 Apr 2012) Log Message: --- i18n for user namespace in 'maintenance-createAndPromote-output-creating'. Suggested by kgh. Remove trailing whitespace. Modified Paths: -- trunk/extensions/Maintenance/Maintenance.i18n.php Modified: trunk/extensions/Maintenance/Maintenance.i18n.php === --- trunk/extensions/Maintenance/Maintenance.i18n.php 2012-04-14 00:27:44 UTC (rev 114906) +++ trunk/extensions/Maintenance/Maintenance.i18n.php 2012-04-14 14:02:13 UTC (rev 114907) @@ -54,7 +54,7 @@ 'maintenance-attachLatest' => 'Use this form to fix entries in the page table where page_latest is set to 0', 'maintenance-attachLatest-desc' => 'Fix page_latest entries in the page table', 'maintenance-attachLatest-option-fix' => 'Actually fix the entries, will dry run otherwise', - 'maintenance-attachLatest-output-begin' => 'Looking for pages with page_latest set to 0...', + 'maintenance-attachLatest-output-begin' => 'Looking for pages with page_latest set to 0...', 'maintenance-attachLatest-output-notime' => '$1 $2 [[$3]] cannot find the latest rev time?!', #$1=wiki id, $2=page id, $3=page name 'maintenance-attachLatest-output-norev' => '$1 $2 [[$3]] latest time $4, cannot find revision id', #$1=wiki id, $2=page id, $3=page name, $4=latest time 'maintenance-attachLatest-output-found' => '$1 $2 [[$3]] latest time $4, rev id $5', #$1=wiki id, $2=page id, $3=page name, $4=latest time, $5=rev id @@ -162,7 +162,7 @@ 'maintenance-createAndPromote-option-bureaucrat' => 'Promote user to bureaucrat status', 'maintenance-createAndPromote-option-username' => '{{int:maintenance-generic-username}}', 'maintenance-createAndPromote-option-password' => '{{int:maintenance-generic-password}}', - 'maintenance-createAndPromote-output-creating' => 'Creating and promoting User:$2...', #$1=wiki id, $2=username + 'maintenance-createAndPromote-output-creating' => 'Creating and promoting {{ns:user}}:$2...', #$1=wiki id, $2=username 'maintenance-createAndPromote-output-done' => '{{int:maintenance-generic-done}}', 'maintenance-createAndPromote-error-invalid' => '{{int:noname}}', 'maintenance-createAndPromote-error-exists' => '{{int:userexists}}', @@ -417,7 +417,7 @@ 'maintenance-attachLatest' => 'Do not translate page_latest', 'maintenance-attachLatest-desc' => 'Do not translate page_latest', 'maintenance-attachLatest-option-fix' => 'Checkbox label. "dry run" refers to when the script is run and shows what needs to be fixed, but does not fix those items. Also called from {{mw-msg|maintenance-attachLatest-output-dryrun}} for the same context.', - 'maintenance-attachLatest-output-begin' => 'Do not translate page_latest', + 'maintenance-attachLatest-output-begin' => 'Do not translate page_latest', 'maintenance-attachLatest-output-notime' => '* $1 is the wiki id (database name) * $2 is the page id (number) * $3 is the page name', @@ -657,23 +657,23 @@ Do not translate 'UPDATE', 'DELETE', or 'INSERT'. This message is currently not used in this extension.", 'maintenance-deleted' => '{{Identical|Deleted}} - + This message is currently not used in this extension.', 'maintenance-revdelete' => '* $1 is a list of revisions numbers * $2 is the local wiki id (string containing database name and tables prefix, if any) This message is currently not used in this extension.', 'maintenance-memc-total' => '{{Identical|Total}} - + This message is currently not used in this extension.', 'maintenance-memc-hits' => '{{Identical|Hits}} - + This message is currently not used in this extension.', 'maintenance-re-report' => 'Used as text for an option check box. Also substituted in {{msg-mw|maintenance-re-rr}}. - + This message is currently not used in this extension.', 'maintenance-re-rr' => '* $1 is substituted by {{msg-mw|maintenance-re-report}} - + This message is currently n
[MediaWiki-CVS] SVN: [114908] trunk/extensions/Maintenance/Maintenance.i18n.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114908 Revision: 114908 Author: siebrand Date: 2012-04-14 14:06:07 + (Sat, 14 Apr 2012) Log Message: --- Fix typos kgh. Modified Paths: -- trunk/extensions/Maintenance/Maintenance.i18n.php Modified: trunk/extensions/Maintenance/Maintenance.i18n.php === --- trunk/extensions/Maintenance/Maintenance.i18n.php 2012-04-14 14:02:13 UTC (rev 114907) +++ trunk/extensions/Maintenance/Maintenance.i18n.php 2012-04-14 14:06:07 UTC (rev 114908) @@ -138,7 +138,7 @@ 'maintenance-cleanupSpam' => 'Use this form to revert spam edits that link to external sites', 'maintenance-cleanupSpam-desc' => 'Clean up all spam from a given hostname', 'maintenance-cleanupSpam-option-hostname' => 'Hostname that was spamming', - 'maintenance-cleanupSpam-output-found' => 'Found $1 {{PLURAL:$1|articles|article}} containing $2', #$1=count, $2=hostname + 'maintenance-cleanupSpam-output-found' => 'Found $1 {{PLURAL:$1|article|articles}} containing $2', #$1=count, $2=hostname 'maintenance-cleanupSpam-output-done' => '{{int:maintenance-generic-done}}', 'maintenance-cleanupSpam-output-false' => 'False match', 'maintenance-cleanupSpam-output-blanking' => 'blanking', ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [114911] trunk/tools/ToolserverI18N/language/messages
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114911 Revision: 114911 Author: siebrand Date: 2012-04-15 12:27:50 + (Sun, 15 Apr 2012) Log Message: --- Localisation updates from http://translatewiki.net. Modified Paths: -- trunk/tools/ToolserverI18N/language/messages/Catdown.i18n.php trunk/tools/ToolserverI18N/language/messages/Commonshelper2.i18n.php trunk/tools/ToolserverI18N/language/messages/General.i18n.php trunk/tools/ToolserverI18N/language/messages/Getwikiapi.i18n.php trunk/tools/ToolserverI18N/language/messages/Jarry.i18n.php trunk/tools/ToolserverI18N/language/messages/Krinkle.i18n.php trunk/tools/ToolserverI18N/language/messages/Monumentsapi.i18n.php trunk/tools/ToolserverI18N/language/messages/Orphantalk2.i18n.php trunk/tools/ToolserverI18N/language/messages/Recentanonymousactivity.i18n.php trunk/tools/ToolserverI18N/language/messages/Svgtranslate.i18n.php trunk/tools/ToolserverI18N/language/messages/Templatecount.i18n.php trunk/tools/ToolserverI18N/language/messages/Toolserverstatus.i18n.php trunk/tools/ToolserverI18N/language/messages/Tsintuition.i18n.php trunk/tools/ToolserverI18N/language/messages/Wlm.i18n.php Modified: trunk/tools/ToolserverI18N/language/messages/Catdown.i18n.php === --- trunk/tools/ToolserverI18N/language/messages/Catdown.i18n.php 2012-04-14 15:29:50 UTC (rev 114910) +++ trunk/tools/ToolserverI18N/language/messages/Catdown.i18n.php 2012-04-15 12:27:50 UTC (rev 114911) @@ -1709,3 +1709,50 @@ 'scaling-both' => ', 缩放到最大尺寸 $1x$2 像素', ); +/** Chinese (Hong Kong) (中文(香港)) + * @author Justincheng12345 + */ +$messages['zh-hk'] = array( + 'title' => '按分類下載圖片', + 'subtitle' => '下載分類中圖像的簡單方法', + 'project' => '項目:', + 'category' => '分類:', + 'thumbnailing' => '縮小圖片', + 'max-width' => '最大寬度:', + 'max-height' => '最大高度:', + 'invalid-width' => '無效寬度', + 'invalid-height' => '無效高度', + 'no-such-project' => '此項目不存在', + 'no-images' => '該分類中沒有圖片', + 'category-is-url' => '您所填寫分類名稱似乎是一個URL,您需要指明分類名稱而不是其URL', + 'category-contains-namespace' => '您似乎在分類名稱中包含了名字空間。使用此名稱時頁面將會顯示為[[Category:$1]]', + 'zip-failed' => 'Zip創建失敗', + 'image-area-too-big' => '$1對於縮略圖過大,使用其實際大小。', + 'download-info' => '此處有$1張大小為$2的圖片', + 'download' => '下載', + 'readme-contents' => '文件$4包括下列內容: +分類$1<$2>$3中的圖片。 + +==下載所有列出圖片指南== + +下載過程可能消耗幾分鐘至若干小時時間。 + +Windows: +將所有文件解壓縮至相同文件夾,並運行$5 +$6 +Linux/Mac OS: +解壓所有文件,並在終端中運行sh $5', + 'non-bundled-wget' => '注:此版本不包括適用於Windows的wget。您將需要解壓縮到有wget.exe的文件夾', + 'wget-info' => '該文件捆綁了wget的副本$1(Windows適用)。wget是一款免費軟件,其使用GNU通用公共許可證。下方有一個許可證副本,您也可以到http://www.gnu.org/licenses/gpl-3.0.txt 找到此許可證。 + +如你想獲得這個程序的源代碼,你可以從這裡下載 + http://toolserver.org/~platonides/catdown/wget-sources.php?version=$1 + http://ftp.gnu.org/gnu/wget/wget-$1.tar.xz + ftp://ftp.gnu.org/gnu/wget/wget-$1.tar.xz +或此鏡像 + http://www.gnu.org/prep/ftp.html', + 'scaling-width' => '縮放到最大寬度$1{{plural:$1|pixel|pixels}}', + 'scaling-height' => '縮放到最大高度$1{{plural:$1|pixel|pixels}}', + 'scaling-both' => '縮放到最大尺寸$1x$2像素', +); + Modified: trunk/tools/ToolserverI18N/language/messages/Commonshelper2.i18n.php === --- trunk/tools/ToolserverI18N/language/messages/Commonshelper2.i18n.php 2012-04-14 15:29:50 UTC (rev 114910) +++ trunk/tools/ToolserverI18N/language/messages/Commonshelper2.i18n.php 2012-04-15 12:27:50 UTC (rev 114911) @@ -112,9 +112,9 @@ $3 is target wiki name. $4 is the name of the file', - 'error_no_meta' => '$1 and $2 are for a clickable link ($1 is the start of the link, $2 the end of the link). The target of the link is a subpage of http://meta.wikimedia.org/wiki/CommonsHelper2.', - 'error_meta_no_good' => '$1 and $2 are for a clickable link ($1 is the start of the link, $2 the end of the link). The target of the link is a subpage of http://meta.wikimedia.org/wiki/CommonsHelper2.', - 'error_meta_bad' => '$1 and $2 are for a clickable link ($1 is the start of the link, $2 the end of the link). The target of the link is a subpage of http://meta.wikimedia.org/wiki/CommonsHel
[MediaWiki-CVS] SVN: [114914] trunk/translatewiki/Pywikipedia/Pywikipedia.yaml
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114914 Revision: 114914 Author: siebrand Date: 2012-04-15 23:23:05 + (Sun, 15 Apr 2012) Log Message: --- Add support for Pywikipedia ndashredir. Modified Paths: -- trunk/translatewiki/Pywikipedia/Pywikipedia.yaml Modified: trunk/translatewiki/Pywikipedia/Pywikipedia.yaml === --- trunk/translatewiki/Pywikipedia/Pywikipedia.yaml2012-04-15 20:30:03 UTC (rev 114913) +++ trunk/translatewiki/Pywikipedia/Pywikipedia.yaml2012-04-15 23:23:05 UTC (rev 114914) @@ -203,6 +203,15 @@ targetPattern: pywikipedia/movepages.py --- BASIC: + id: out-pywikipedia-ndashredir + label: Pywikipedia Ndash Redir + +FILES: + sourcePattern: %GROUPROOT%/pywikipedia/ndashredir.py + definitionFile: %GROUPROOT%/pywikipedia/ndashredir.py + targetPattern: pywikipedia/ndashredir.py +--- +BASIC: id: out-pywikipedia-noreferences label: Pywikipedia No References @@ -267,7 +276,7 @@ --- BASIC: id: out-pywikipedia-unlink - label: Pywikipedia Unlink + label: Pywikipedia Unlink FILES: sourcePattern: %GROUPROOT%/pywikipedia/unlink.py @@ -276,7 +285,7 @@ --- BASIC: id: out-pywikipedia-welcome - label: Pywikipedia Welcome + label: Pywikipedia Welcome FILES: sourcePattern: %GROUPROOT%/pywikipedia/welcome.py ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [114998] trunk/tools/ToolserverI18N/language/messages
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114998 Revision: 114998 Author: siebrand Date: 2012-04-21 10:29:30 + (Sat, 21 Apr 2012) Log Message: --- Localisation updates from http://translatewiki.net. Modified Paths: -- trunk/tools/ToolserverI18N/language/messages/Catdown.i18n.php trunk/tools/ToolserverI18N/language/messages/Commonshelper2.i18n.php trunk/tools/ToolserverI18N/language/messages/General.i18n.php trunk/tools/ToolserverI18N/language/messages/Getwikiapi.i18n.php trunk/tools/ToolserverI18N/language/messages/Jarry.i18n.php trunk/tools/ToolserverI18N/language/messages/Krinkle.i18n.php trunk/tools/ToolserverI18N/language/messages/Monumentsapi.i18n.php trunk/tools/ToolserverI18N/language/messages/Orphantalk2.i18n.php trunk/tools/ToolserverI18N/language/messages/Recentanonymousactivity.i18n.php trunk/tools/ToolserverI18N/language/messages/Svgtranslate.i18n.php trunk/tools/ToolserverI18N/language/messages/Toolserverstatus.i18n.php trunk/tools/ToolserverI18N/language/messages/Tsintuition.i18n.php trunk/tools/ToolserverI18N/language/messages/Wlm.i18n.php Modified: trunk/tools/ToolserverI18N/language/messages/Catdown.i18n.php === --- trunk/tools/ToolserverI18N/language/messages/Catdown.i18n.php 2012-04-20 21:08:57 UTC (rev 114997) +++ trunk/tools/ToolserverI18N/language/messages/Catdown.i18n.php 2012-04-21 10:29:30 UTC (rev 114998) @@ -939,27 +939,28 @@ /** Japanese (日本語) * @author Fryed-peach + * @author Shirayuki */ $messages['ja'] = array( - 'title' => 'カテゴリー別に画像をダウンロード', - 'subtitle' => 'カテゴリー内の画像をダウンロードする簡単な方法', + 'title' => 'カテゴリ別に画像をダウンロード', + 'subtitle' => 'カテゴリ内の画像をダウンロードする簡単な方法', 'project' => 'プロジェクト:', - 'category' => 'カテゴリー:', + 'category' => 'カテゴリ:', 'thumbnailing' => 'サムネイル処理', 'max-width' => '幅の最大値:', 'max-height' => '高さの最大値:', 'invalid-width' => '幅が無効', 'invalid-height' => '高さが無効', 'no-such-project' => 'そのようなプロジェクトはありません', - 'no-images' => 'そのカテゴリーには画像がありません', - 'category-is-url' => '指定されたカテゴリー名は URL のようにみえます。URL ではなく、カテゴリー名を指定する必要があります。', - 'category-contains-namespace' => 'カテゴリー名に名前空間が含まれているようです。指定の通りだと、[[Category:$1]] というページになります。', + 'no-images' => 'そのカテゴリには画像がありません', + 'category-is-url' => '指定されたカテゴリ名は URL のようです。URL ではなくカテゴリ名を指定してください。', + 'category-contains-namespace' => 'カテゴリ名に名前空間が含まれているようです。指定の通りだと [[Category:$1]] というページになります。', 'zip-failed' => 'ZIP の作成に失敗しました', 'image-area-too-big' => '$1 は大きすぎるためサムネイルを作成できません。元の大きさを利用します。', 'download-info' => '{{plural: $1|1個|$1個}}の画像があり、サイズの概算は$2です', 'download' => 'ダウンロード', 'readme-contents' => '同封したファイル $4 は -カテゴリー「$1」( $2 ) 内の画像を$3記載したものです。 +カテゴリ「$1」( $2 ) 内の画像を$3記載したものです。 == 記載した画像すべてをダウンロードする手順 == ダウンロード時間は2、3分で終わることもありますし、数時間かかることもあります。 @@ -1366,6 +1367,7 @@ /** Russian (Русский) * @author Eleferen + * @author Haffman */ $messages['ru'] = array( 'max-width' => 'Максимальная ширина:', @@ -1375,7 +1377,19 @@ 'no-such-project' => 'Такого проекта не существует', 'no-images' => 'В этой категории нет изображений', 'category-is-url' => 'Имя данной категории выглядит как URL-адрес. Необходимо указать название категории, а не его URL-адрес.', + 'category-contains-namespace' => 'Похоже, вы включили пространство имён в имя категории. С выбранным Вами названием страница будет доступна как [[Категория:$1]].', 'download-info' => '{{plural: $1|Есть одно изображение|Есть $1 изображения|Есть $1 изображений}}, с примерным размером $2', + 'non-bundled-wget' => 'Обратите внимание: Эта версия не включает wget для Windows. Вам необходимо извлечь файлы в папку с wget.exe или прописать wget в PATH', + 'wget-info' => 'Этот файл включает копию wget $1 (для платформы Windows). Wget является свободным программным обеспечением, +распространяемым на условиях лицензии GNU GENERAL PUBLIC LICENSE версии 3. +Ниже представлена копия текста лицензии, ее также можно прочитать по адресу http://www.gnu.org/licenses/gpl-3.
[MediaWiki-CVS] SVN: [115033] trunk/extensions/Interwiki
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/115033 Revision: 115033 Author: siebrand Date: 2012-04-25 08:53:49 + (Wed, 25 Apr 2012) Log Message: --- Whitespace updates. Modified Paths: -- trunk/extensions/Interwiki/Interwiki.css trunk/extensions/Interwiki/Interwiki.i18n.php trunk/extensions/Interwiki/Interwiki.php trunk/extensions/Interwiki/Interwiki_body.php Modified: trunk/extensions/Interwiki/Interwiki.css === --- trunk/extensions/Interwiki/Interwiki.css2012-04-25 00:45:00 UTC (rev 115032) +++ trunk/extensions/Interwiki/Interwiki.css2012-04-25 08:53:49 UTC (rev 115033) @@ -32,4 +32,4 @@ } .mw-interwikitable-modify { white-space: nowrap; -} \ No newline at end of file +} Modified: trunk/extensions/Interwiki/Interwiki.i18n.php === --- trunk/extensions/Interwiki/Interwiki.i18n.php 2012-04-25 00:45:00 UTC (rev 115032) +++ trunk/extensions/Interwiki/Interwiki.i18n.php 2012-04-25 08:53:49 UTC (rev 115033) @@ -3858,7 +3858,7 @@ 'interwiki_reasonfield' => 'காரணம்:', 'interwiki_delquestion' => '" $1 " நீக்கப்படுகிறது', 'interwiki_addtext' => 'Interwiki முன்னொட்டைச் சேர்', - 'interwiki_addintro' => 'நீங்கள் புதிய interwiki முன்னொட்டைச் சேர்க்கிறீர்கள். + 'interwiki_addintro' => 'நீங்கள் புதிய interwiki முன்னொட்டைச் சேர்க்கிறீர்கள். நினைவிற் கொள்க: இதில் இடைவெளி ( ), அரைப்புள்ளி (:), மற்றும் குறி (&), அல்லது சமக்குறி (=) இருக்கக் கூடாது', 'interwiki_addbutton' => 'சேர்', 'right-interwiki' => 'விக்கியிடைப் பரிமாற்றத் தரவுகளைத் தொகு', Modified: trunk/extensions/Interwiki/Interwiki.php === --- trunk/extensions/Interwiki/Interwiki.php2012-04-25 00:45:00 UTC (rev 115032) +++ trunk/extensions/Interwiki/Interwiki.php2012-04-25 08:53:49 UTC (rev 115033) @@ -17,7 +17,7 @@ * Formatting improvements Stephen Kennedy, 2006. */ -if( !defined( 'MEDIAWIKI' ) ){ +if ( !defined( 'MEDIAWIKI' ) ) { die( "This is not a valid entry point.\n" ); } @@ -32,9 +32,9 @@ ); $wgResourceModules['SpecialInterwiki'] = array( - 'styles' => 'Interwiki.css', - 'localBasePath' => dirname( __FILE__ ), - 'remoteExtPath' => 'Interwiki', + 'styles' => 'Interwiki.css', + 'localBasePath' => dirname( __FILE__ ), + 'remoteExtPath' => 'Interwiki', ); // Set up the new special page Modified: trunk/extensions/Interwiki/Interwiki_body.php === --- trunk/extensions/Interwiki/Interwiki_body.php 2012-04-25 00:45:00 UTC (rev 115032) +++ trunk/extensions/Interwiki/Interwiki_body.php 2012-04-25 08:53:49 UTC (rev 115033) @@ -4,7 +4,6 @@ * @ingroup SpecialPage */ class SpecialInterwiki extends SpecialPage { - /** * Constructor - sets up the new special page */ @@ -42,15 +41,15 @@ case 'delete': case 'edit': case 'add': - if( $this->canModify( $out ) ) { + if ( $this->canModify( $out ) ) { $out->addHTML( $this->showForm( $action ) ); } $out->returnToMain( false, $return ); break; case 'submit': - if( !$this->canModify( $out ) ) { + if ( !$this->canModify( $out ) ) { # Error msg added by canModify() - } elseif( !$request->wasPosted() || !$this->getUser()->matchEditToken( $request->getVal( 'wpEditToken' ) ) ) { + } elseif ( !$request->wasPosted() || !$this->getUser()->matchEditToken( $request->getVal( 'wpEditToken' ) ) ) { // Prevent cross-site request forgeries $out->addWikiMsg( 'sessionfailure' ); } else { @@ -71,17 +70,17 @@ */ public function canModify( $out = false ) { global $wgInterwikiCache; - if( !$this->getUser()->isAllowed( 'interwiki' ) ) { + if ( !$this->getUser()->isAllowed( 'interwiki' ) ) { # Check permissions - if(
[MediaWiki-CVS] SVN: [115037] trunk/extensions/Interwiki/Interwiki.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/115037 Revision: 115037 Author: siebrand Date: 2012-04-25 09:51:38 + (Wed, 25 Apr 2012) Log Message: --- Update extension authors. Modified Paths: -- trunk/extensions/Interwiki/Interwiki.php Modified: trunk/extensions/Interwiki/Interwiki.php === --- trunk/extensions/Interwiki/Interwiki.php2012-04-25 09:44:33 UTC (rev 115036) +++ trunk/extensions/Interwiki/Interwiki.php2012-04-25 09:51:38 UTC (rev 115037) @@ -25,7 +25,7 @@ $wgExtensionCredits['specialpage'][] = array( 'path' => __FILE__, 'name' => 'Interwiki', - 'author' => array( 'Stephanie Amanda Stevens', 'SPQRobin', 'Siebrand Mazeland' ), + 'author' => array( 'Stephanie Amanda Stevens', 'SPQRobin', 'Siebrand Mazeland', 'Platonides', 'Raimond Spekking', 'Sam Reed', '...' ), 'version' => '3.0 20120425', 'url' => 'https://www.mediawiki.org/wiki/Extension:Interwiki', 'descriptionmsg' => 'interwiki-desc', ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [115039] trunk/extensions/Interwiki/Interwiki_body.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/115039 Revision: 115039 Author: siebrand Date: 2012-04-25 10:02:50 + (Wed, 25 Apr 2012) Log Message: --- Coding style and whitespace updates. Modified Paths: -- trunk/extensions/Interwiki/Interwiki_body.php Modified: trunk/extensions/Interwiki/Interwiki_body.php === --- trunk/extensions/Interwiki/Interwiki_body.php 2012-04-25 09:54:03 UTC (rev 115038) +++ trunk/extensions/Interwiki/Interwiki_body.php 2012-04-25 10:02:50 UTC (rev 115039) @@ -72,15 +72,23 @@ global $wgInterwikiCache; if ( !$this->getUser()->isAllowed( 'interwiki' ) ) { # Check permissions - if ( $out ) { throw new PermissionsError( 'interwiki' ); } + if ( $out ) { + throw new PermissionsError( 'interwiki' ); + } + return false; } elseif ( $wgInterwikiCache ) { # Editing the interwiki cache is not supported - if ( $out ) { $out->addWikiMsg( 'interwiki-cached' ); } + if ( $out ) { + $out->addWikiMsg( 'interwiki-cached' ); + } + return false; } elseif ( wfReadOnly() ) { # Is the database in read-only mode? - if ( $out ) { $out->readOnlyPage(); } + if ( $out ) { + $out->readOnlyPage(); + } return false; } return true; @@ -103,10 +111,12 @@ } elseif ( $action == 'edit' ) { $dbr = wfGetDB( DB_SLAVE ); $row = $dbr->selectRow( 'interwiki', '*', array( 'iw_prefix' => $prefix ), __METHOD__ ); + if ( !$row ) { $this->error( 'interwiki_editerror', $prefix ); return; } + $prefix = $row->iw_prefix; $defaulturl = $row->iw_url; $trans = $row->iw_trans; ___ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[MediaWiki-CVS] SVN: [115041] trunk/extensions/Interwiki/Interwiki_body.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/115041 Revision: 115041 Author: siebrand Date: 2012-04-25 10:08:42 + (Wed, 25 Apr 2012) Log Message: --- Use local context to get messages. Modified Paths: -- trunk/extensions/Interwiki/Interwiki_body.php Modified: trunk/extensions/Interwiki/Interwiki_body.php === --- trunk/extensions/Interwiki/Interwiki_body.php 2012-04-25 10:08:19 UTC (rev 115040) +++ trunk/extensions/Interwiki/Interwiki_body.php 2012-04-25 10:08:42 UTC (rev 115041) @@ -16,7 +16,7 @@ * whether the user can modify the data. */ function getDescription() { - return wfMessage( $this->canModify() ? + return $this->msg( $this->canModify() ? 'interwiki' : 'interwiki-title-norights' )->plain(); } @@ -103,8 +103,8 @@ $input = array( 'class' => 'mw-input' ); if ( $action == 'delete' ) { - $topmessage = wfMessage( 'interwiki_delquestion', $prefix )->text(); - $intromessage = wfMessage( 'interwiki_deleting', $prefix )->text(); + $topmessage = $this->msg( 'interwiki_delquestion', $prefix )->text(); + $intromessage = $this->msg( 'interwiki_deleting', $prefix )->text(); $wpPrefix = Html::hidden( 'wpInterwikiPrefix', $prefix ); $button = 'delete'; $formContent = ''; @@ -122,8 +122,8 @@ $trans = $row->iw_trans; $local = $row->iw_local; $wpPrefix = Html::hidden( 'wpInterwikiPrefix', $row->iw_prefix ); - $topmessage = wfMessage( 'interwiki_edittext' )->text(); - $intromessage = wfMessage( 'interwiki_editintro' )->text(); + $topmessage = $this->msg( 'interwiki_edittext' )->text(); + $intromessage = $this->msg( 'interwiki_editintro' )->text(); $button = 'edit'; } elseif ( $action == 'add' ) { $prefix = $request->getVal( 'wpInterwikiPrefix', $request->getVal( 'prefix' ) ); @@ -131,24 +131,24 @@ array( 'tabindex' => 1, 'id' => 'mw-interwiki-prefix', 'maxlength' => 20 ) ); $local = $request->getCheck( 'wpInterwikiLocal' ); $trans = $request->getCheck( 'wpInterwikiTrans' ); - $defaulturl = $request->getVal( 'wpInterwikiURL', wfMessage( 'interwiki-defaulturl' )->text() ); - $topmessage = wfMessage( 'interwiki_addtext' )->text(); - $intromessage = wfMessage( 'interwiki_addintro' )->text(); + $defaulturl = $request->getVal( 'wpInterwikiURL', $this->msg( 'interwiki-defaulturl' )->text() ); + $topmessage = $this->msg( 'interwiki_addtext' )->text(); + $intromessage = $this->msg( 'interwiki_addintro' )->text(); $button = 'interwiki_addbutton'; } if ( $action == 'add' || $action == 'edit' ) { $formContent = Html::rawElement( 'tr', null, - Html::element( 'td', $label, wfMessage( 'interwiki-prefix-label' )->text() ) . + Html::element( 'td', $label, $this->msg( 'interwiki-prefix-label' )->text() ) . Html::rawElement( 'td', null, '' . $prefix . '' ) ) . Html::rawElement( 'tr', null, - Html::rawElement( 'td', $label, Xml::label( wfMessage( 'interwiki-local-label' )->text(), 'mw-interwiki-local' ) ) . + Html::rawElement( 'td', $label, Xml::label( $this->msg( 'interwiki-local-label' )->text(), 'mw-interwiki-local' ) ) . Html::rawElement( 'td', $input, Xml::check( 'wpInterwikiLocal', $local, array( 'id' => 'mw-interwiki-local' ) ) ) ) . Html::rawElement( 'tr', null, -