Commit graph

326 commits

Author SHA1 Message Date
Winston Sung
64c005972c Merge zh and zh-tw namespace translations back to zh-hans, zh-hant,
zh-hk respectively

* Merge zh-tw translations back to zh-hant
* Split zh-hans, zh-hant, zh-hk translations and aliases from zh to
  respective message files
* Language->getNamespaceAliases() with the updated language fallback
  chain can already fetch aliases from language variant i18n files

All translation authors are added when merging those translations.

Bug: T286291
Bug: T296188
Change-Id: Ia2aa17fa15fe6d6b9396bf06b472d28b3ab12f68
2023-07-16 16:27:07 +00:00
Stang
aa3fac56b4 Remove twn-related comment from languages/messages/* files
Bug: T304802
Change-Id: Iccacf6288d758e526c95df69861385a4ac2d0f55
2022-11-13 22:46:44 -05:00
Timo Tijhof
939700e8ff language: Continue doc Languages subgroup for msg files and subclasses
Follows-up I301f471f86ba2.

For ease of navigation, move Converter subclasses to a group called
"Languages", which for documentation purposes is a subgroup of
"Language". The next commit does the same for Messages* files,
and Language subclasses (done separately for ease of review).

Change-Id: If1cef9aa15f536ebaedd4477ad7453426e7f3b85
2022-06-29 00:13:45 +00:00
Winston Sung
934c922686 Rearrange zh-related language fallback chain
Update language fallback chain to zh-hans <=> zh-hant bidirectional to prevent adding translation
duplicates in zh and zh-hans.
Add en magic words in zh message file to prevent fallback to translations of language variants.

Bug: T286291
Bug: T296188
Bug: T252367
Bug: T278639
Related: I484d4cba1e16fce0f7c433a865f3acf676b818c1
Related: Idf39310b4b66f9c5f210d1717e0e47b9e598c13c
Change-Id: I3b30303118ae8cd87dc5f2016372f0de89a7b075
2022-06-01 13:41:10 +00:00
Winston Sung
6eda8891a0 Update 台灣 to 臺灣 according to Wikipedia-zh village pump discussions
https://zh.wikipedia.org/wiki/Wikipedia:互助客栈/其他/存档/2019年2月?oldid=61018059#「台灣」「正體」?

Follow-up of https://gerrit.wikimedia.org/r/c/mediawiki/core/+/700626

Change-Id: I6d2a128f682e71312400b97333ffbfffe9968ee7
2021-10-26 11:02:07 +00:00
Umherirrender
673477a4b4 Sort special page alises alphabetically
Use @phpcs-require-sorted-array from new codesniffer release 32.0.0

Bug: T255826
Change-Id: I827d1f5010d000609324ec398beeb142d9bac299
2020-10-30 09:59:17 +01:00
Fomafix
ce6f7faadd Remove trailing empty lines in PHP
Performed using
find . -name \*.php -exec sed -i -e :a -e '/./,$!d;/^\n*$/{$d;N;};/\n$/ba' {} \;

Change-Id: I5d0627f94c73690cf3a8a453539c22c760c2aa60
2017-01-16 22:06:43 +01:00
Kunal Mehta
6e9b4f0e9c Convert all array() syntax to []
Per wikitech-l consensus:
 https://lists.wikimedia.org/pipermail/wikitech-l/2016-February/084821.html

Notes:
* Disabled CallTimePassByReference due to false positives (T127163)

Change-Id: I2c8ce713ce6600a0bb7bf67537c87044c7a45c4b
2016-02-17 01:33:00 -08:00
Siebrand Mazeland
187a93e554 Localisation updates from https://translatewiki.net.
Updates for special page aliases.

Change-Id: Ic2b34a948d527cee6b76abd7e24a6d8a33b65bd2
2015-01-29 20:14:33 +01:00
Niklas Laxström
b382478944 Cleanup message file documentation
* Interface strings are now elsewhere
* MessagesQQQ no longer exists
* Prefer https for translatewiki.net

Change-Id: I76652ea94cca80441cd5d978029e4707ee41c4fd
2014-06-05 14:06:25 +00:00
Siebrand Mazeland
0dd91d5396 Migrate translations for core to JSON format
Largest patch set in the history of MediaWiki!

Change-Id: I918cfdc46c099017ca3622d1bcbbdd30c4fd00f6
2014-04-01 21:25:43 +00:00
Liangent
1469cd8a7d Partly revert 28b4dd5f for zh and zh-cn/hk/mo/sg/tw messages
For unknown reason (maybe some bug), L10n-bot exported messages in
these languages which had been disabled for translation. Let's remove
them for now and observe whether the bot exports them again.

See I0007fd00579971d4d5bce5e4545492f87ea52867.

Change-Id: I70d384c3a01aff5bbade01917c92e7be9fb936f4
2014-03-11 13:15:47 +00:00
Translation updater bot
28b4dd5ff5 Localisation updates from https://translatewiki.net.
Change-Id: I1cdc5f6df47189ab35d141ed89a4c84cfac7fe18
2014-02-25 21:05:45 +00:00
Siebrand Mazeland
87a4320444 Localisation updates from https://translatewiki.net.
Updates for translations of special page aliases.

Change-Id: I061d2f9c8f5b3f4df58060fae4101e340c68a04d
2013-12-02 09:38:25 +01:00
Liangent
7ad0a7238f Followup Ifb005e7c: some cleanup in comments.
There're still various "disable" left there in messages, which are
fixable on translatewiki.net:

MessagesIke_cans.php:'variantname-iu' => 'disable',
MessagesIke_latn.php:'variantname-iu' => 'disable',
MessagesKk.php:'variantname-kk-kz'   => 'disable',
MessagesKk.php:'variantname-kk-tr'   => 'disable',
MessagesKk.php:'variantname-kk-cn'   => 'disable',
MessagesKk.php:'variantname-kk'      => 'disable',
MessagesKu_latn.php:'variantname-ku' => 'disable',
MessagesShi.php:'variantname-shi' => 'disable',

Change-Id: Ic8f874660f3b6f266ab791422cc5ee1749546a00
2013-08-14 15:36:38 +00:00
Siebrand Mazeland
9be697fa4e Update parts order in message files
Update the order of parts in messages files. Not done for all files. Order set as:
fallback, encoding, namespace related, special pages, magic words, other (no fixed
ordering after magic words).

Change-Id: Ide5ec747ba62a8c2bca8040a14d0aeea8e6c79b9
2012-10-31 22:51:46 +01:00
Siebrand Mazeland
be523b6d28 Should be used from fallback.
Change-Id: I91ce057883d902d9dc55a781e200136971c94f02
2012-08-06 01:39:36 +02:00
Raimond Spekking
66770c7425 Localisation updates for core and extension messages from translatewiki.net 2012-02-19 20:47:51 +00:00
Raimond Spekking
229f511070 Localisation updates for core and extension messages from translatewiki.net 2012-01-25 20:38:04 +00:00
Siebrand Mazeland
129817c257 Follow-up r102628, r102612: More protocol relative URLs.
Also contains localisation updates from //translatewiki.net :)
2011-11-10 09:42:16 +00:00
Benny Situ
25c3a4aeda This SVN commit fixes bug32220 and makes links to mediawiki.org in language message files protocol relative 2011-11-10 01:13:35 +00:00
Siebrand Mazeland
725f780b08 Localisation updates from http://translatewiki.net. 2011-11-01 22:20:34 +00:00
Raimond Spekking
d854c55180 Localisation updates for core and extension messages from translatewiki.net 2011-09-19 19:40:55 +00:00
Raimond Spekking
547f9806fd Localisation updates for core and extension messages from translatewiki.net 2011-09-14 20:46:49 +00:00
Niklas Laxström
b56b84c5b8 Attempt to fix Bug 30216 - Improve language fallback loop detection.
Made fallbacks a list per language, instead of scanning them recursively through the languages.
2011-08-18 16:41:07 +00:00
Siebrand Mazeland
bd49ce9d43 Localisation updates from http://translatewiki.net. 2011-08-16 20:54:19 +00:00
Raimond Spekking
8873c93624 Localisation updates for core and extension messages from translatewiki.net (2011-07-13 19:30:00 UTC)
Ping r92057: Full export of core and ext-installer
2011-07-13 19:43:11 +00:00
Raimond Spekking
3bf71ea951 Localisation updates for core and extension messages from translatewiki.net (2011-07-05 21:00:00 UTC) 2011-07-05 21:05:02 +00:00
Raimond Spekking
f4207de4ca Localisation updates for core and extension messages from translatewiki.net (2011-06-05 19:19:00 UTC) 2011-06-05 19:21:51 +00:00
Siebrand Mazeland
fcc46b6a1e Localisation updates for special page aliases from http://translatewiki.net.
This changeset contains both resorted arrays as well as updates. Unfortunately the resorting makes the diffs unreadable :(.
2011-05-07 14:19:48 +00:00
Raimond Spekking
5007083707 Localisation updates for core and extension messages from translatewiki.net (2011-04-20 21:00:00 UTC) 2011-04-20 21:13:02 +00:00
Siebrand Mazeland
de485b6924 Update messages files for r86294: revert of r86186, r86187, r86227, r86276.
* also contains recent translations from http://translatewiki.net.
2011-04-18 11:32:25 +00:00
Tim Starling
b13d5ca6f5 (bug 28590) Temporary revert of r86186, r86187, r86227, r86276: caused instant breakage of Wikimedia websites via LocalisationUpdate due to the introduction of the recentchanges-summary message. 2011-04-18 08:42:59 +00:00
Siebrand Mazeland
c962c5c35c Localisation updates from translatewiki.net. 2011-04-16 18:53:10 +00:00
Siebrand Mazeland
859fa0b3fe Rebuild all language files.
Removes messages removed from MessagesEn.php in r86146, r86155, r86157, r86169.
2011-04-16 11:27:11 +00:00
Siebrand Mazeland
bea0cca50b Follow-up r85724: update messages.inc and rebuild all language files. 2011-04-09 17:21:31 +00:00
Happy-melon
77d38cbeff Follow-up r83909, r83825: update special page aliases for all languages. 2011-03-18 21:42:39 +00:00
Raimond Spekking
339653349b Localisation updates for core and extension messages from translatewiki.net (2011-03-14 21:06:00 UTC) 2011-03-14 21:28:18 +00:00
Siebrand Mazeland
211e9cd1b2 Localisation updates for core from translatewiki.net. 2011-01-22 18:42:30 +00:00
Raimond Spekking
0cd2dd73ee Localisation updates for core and extension messages from translatewiki.net (2010-11-22 20:11:00 UTC) 2010-11-23 20:20:45 +00:00
OverlordQ
f2df835d56 Revert r69337 (Removal of minordefault preference) 2010-11-01 18:58:24 +00:00
Siebrand Mazeland
964d5bddcb Localisation updates from translatewiki.net 2010-10-31 17:55:47 +00:00
Shinjiman
630d991e13 Localisation updates Cantonese, Chinese and Literary Chinese 2010-10-23 14:48:18 +00:00
Siebrand Mazeland
09ab3150f6 Localisation updates for core messages from translatewiki.net 2010-08-28 23:52:46 +00:00
Siebrand Mazeland
d5012b76c3 Localisation updates for core from translatewiki.net
* update special page aliases.
2010-08-24 12:30:07 +00:00
Siebrand Mazeland
1b665792f6 Localisation updates for core messages from translatewiki.net 2010-07-27 19:07:39 +00:00
Danny B
bc22f746d4 * (bug 19858) Removed obsolete <big> in interface messages. 2010-07-27 11:27:28 +00:00
Aryeh Gregor
1b1d821d16 Remove 'minordefault' preference completely
See bug 24313.  The preference encourages people to mark changes minor
by mistake, but it's better to have minor changes not marked minor than
non-minor changes marked minor.  enwiki users at [[Help talk:Minor
edit]] seemed to think it was a good idea.  Plus, I'm always in favor of
removing user preferences where possible.

The only likely fallout of note is some bot operators who didn't notice
this suddenly find their bot not marking anything minor.  I doubt it
will cause major problems, though.
2010-07-14 18:50:32 +00:00
Shinjiman
3e32a355f0 Localisation updates Cantonese, Chinese and Literary Chinese 2010-04-25 09:51:55 +00:00
Siebrand Mazeland
15ea8a5364 Localisation updates for core messages from translatewiki.net (2010-01-01 15:00 UTC) 2010-01-01 15:47:13 +00:00