| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I3ebffbe0f7b677a72be65085dc4692759af32e79
|
|
|
|
|
|
|
|
|
|
| |
Overrides in LanguageWa's date/time methods meant that this incomplete
definition wasn't used in common Language methods, but DiscussionTools
ran into issues because it wanted to directly examine the formats and
assumed that a "both" format had to exist.
Bug: T343343
Change-Id: Id5c8d8ba02e9b44cf3743d83e5e216b0c63051c1
|
|
|
|
|
| |
Bug: T304802
Change-Id: Iccacf6288d758e526c95df69861385a4ac2d0f55
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Use @phpcs-require-sorted-array from new codesniffer release 32.0.0
Bug: T255826
Change-Id: I827d1f5010d000609324ec398beeb142d9bac299
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In cases where we're operating on text data (and not binary data),
use e.g. "\u{00A0}" to refer directly to the Unicode character
'NO-BREAK SPACE' instead of "\xc2\xa0" to specify the bytes C2h A0h
(which correspond to the UTF-8 encoding of that character). This
makes it easier to look up those mysterious sequences, as not all
are as recognizable as the no-break space.
This is not enforced by PHP, but I think we should write those in
uppercase and zero-padded to at least four characters, like the
Unicode standard does.
Note that not all "\xNN" escapes can be automatically replaced:
* We can't use Unicode escapes for binary data that is not UTF-8
(e.g. in code converting from legacy encodings or testing the
handling of invalid UTF-8 byte sequences).
* '\xNN' escapes in regular expressions in single-quoted strings
are actually handled by PCRE and have to be dealt with carefully
(those regexps should probably be changed to use the /u modifier).
* "\xNN" referring to ASCII characters ("\x7F" and lower) should
probably be left as-is.
The replacements in this commit were done semi-manually by piping
the existing "\xNN" escapes through the following terrible Ruby
script I devised:
chars = eval('"' + ARGV[0] + '"').force_encoding('utf-8')
puts chars.split('').map{|char|
'\\u{' + char.ord.to_s(16).upcase.rjust(4, '0') + '}'
}.join('')
Change-Id: Idc3dee3a7fb5ebfaef395754d8859b18f1f8769a
|
|
|
|
|
|
|
| |
Performed using
find . -name \*.php -exec sed -i -e :a -e '/./,$!d;/^\n*$/{$d;N;};/\n$/ba' {} \;
Change-Id: I5d0627f94c73690cf3a8a453539c22c760c2aa60
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
* Interface strings are now elsewhere
* MessagesQQQ no longer exists
* Prefer https for translatewiki.net
Change-Id: I76652ea94cca80441cd5d978029e4707ee41c4fd
|
|
|
|
|
|
| |
Largest patch set in the history of MediaWiki!
Change-Id: I918cfdc46c099017ca3622d1bcbbdd30c4fd00f6
|
|
|
|
| |
Change-Id: Ica6fa7fc2d685a655e07b24cd54c7ec42d10f214
|
|
|
|
| |
Change-Id: I31ee0d1685cdf6b315cb5336b30e548c76d67a95
|
|
|
|
| |
Change-Id: I18970accbce3b383e4ad89df2b5cd0d638861e26
|
|
|
|
| |
Change-Id: If66ddc1478b986417b08bd6d84cf441ea7f4526c
|
|
|
|
| |
Change-Id: I71e13fdbb541c2fccbe303849a3c78f0c1260bd2
|
|
|
|
| |
Change-Id: I9ed903822cabaf2a845d01f1a68ee34ac444d980
|
|
|
|
| |
Change-Id: Iaee33fbd265807b18879b6f9873d1d4344dfb878
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
NS_USER:
* User identifies as male: Utilisateur
* User identifies as female: Utilisatrice
NS_USER_TALK:
* User identifies as male: Discussion utilisateur
* User identifies as female: Discussion utilisatrice
Languages with fallback to French:
* applies to frc (Cajun French). This language also uses « Utilisateur »
and « Utilisatric » to translate “user”.
* doesn't apply to bm, ff, frp, ht, ln, mg, pcd, sg, ty, wa, wo.
This change is a follow-up of I5825f750a58dd196f907ad848c74f82130fd857d.
Change-Id: Icb8c787ebfa0e7dfd8289260225fef045fc1b0cb
|
|
|
|
| |
Change-Id: I78257c1482d2a8a5a36693082c3228a63d0f4b8f
|
|
|
|
| |
Change-Id: Id4b89fcef61ccf1e329710f6beff9398669fdadb
|
|
|
|
| |
Change-Id: Id32d5c87533081016e6a00312703f450782a1d6d
|
|
|
|
| |
Change-Id: I91af046a42d410457d6ccb6ce44657a29d184434
|
|
|
|
| |
Change-Id: Ic4c5e76d04630a9da5bde0590db09b55d30132ec
|
|
|
|
| |
Change-Id: Iac7415ec17a0a30026e8c542f5ddd98d67b35d59
|
|
|
|
| |
Change-Id: I0eb353cd0cadf0bed7cd17d4c3eb2c7e108f6aa6
|
|
|
|
| |
Change-Id: I5a74c20de10a3203ff81d453de6c739a8a476081
|
|
|
|
| |
Change-Id: I922e660fafc7a952129beebeaed001712f5c2bc1
|
|
|
|
| |
Change-Id: I4f52889299ffc8ae8d49634fd8b36d73c66d8b5a
|
|
|
|
| |
Change-Id: I5e7da5913a10c7f75cdf223f2166cc7873134949
|
|
|
|
| |
Change-Id: Iad6b538be6d172d232b8e593ff98faf3d5707abe
|
|
|
|
| |
Change-Id: I9a8b8769d0077d4d406c27910b8f94d9f3a2ceeb
|
|
|
|
| |
Change-Id: Idfa4331722672da932fe8a124bc9618de0e31fea
|
|
|
|
| |
Change-Id: I4e865f40a8c69fdc7520bd3a89ec61ca9af57337
|
|
|
|
| |
Change-Id: I599770c4c8b53d0d46c74f1426168a5c3d963a81
|
|
|
|
| |
Change-Id: I7458f257824c9b1a4f14d6cc7a9567ee454749c7
|
|
|
|
| |
Change-Id: Ic862c638ed6ce33d3fe4dad9743c88136d832433
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Format the three messages in header as one paragraph with three
sentences, instead of a paragraph and two split unordered lists with
one item each and inconsistent full stops.
Message changes: In 'wlheader-enotif' and 'wlheader-showupdated',
remove initial bullet point if present and add final full stop if
missing. First used the regexes below, then went through each language
file and manually changed the messages if applicable (e.g., Thai not
using full stops at all, Asian languages using '。', Devanagari
languages using '।' etc.)
Find: ('wlheader-[^']+'\s*=>\s*)(['"])(?:\*\s*)?([\s\S]+?)\.?\2,\n
Replace with: $1$2$3.$2,\n
Bug: 48615
Change-Id: I856f71f36d7f4b4baff5e968d88e4d3f7aeecce2
|
|
|
|
| |
Change-Id: Ie28bd2d1bce13b5a78eeb8573d8b5b9527b1afeb
|
|
|
|
| |
Change-Id: If7185aa1d59b6c4207765127204270ce2bc91217
|
|
|
|
| |
Change-Id: Ia14126efb5937b32606d7abb2334a6537eae8544
|
|
|
|
| |
Change-Id: Iaeeae73d2e7c3c44fa371c0691e5dc9ade2e52a2
|
|
|
|
| |
Change-Id: Iecaef86923bb32e102dd69ec12651824565bc3ed
|
|
|
|
| |
Change-Id: I554504cd3d622f5eccc27feaf55057c1af443212
|
|
|
|
| |
Change-Id: Ibb1d15728b75d4faaa21fbcab6393fa55eb0c4b3
|
|
|
|
| |
Change-Id: I20f77c44cb1ffbc2004a74e544ba1dd829079d5c
|
|
|
|
| |
Change-Id: I1b2cf70c578511ef44a2381e506ee168cc57c7ec
|
|
|
|
| |
Change-Id: I766bdb2f0fd630144b1bd56f0fa5135af8fbdf5d
|
|
|
|
| |
Change-Id: I0b758741deecd9ab4836085ca9728b7dc274bd71
|
|
|
|
|
|
| |
Updates for special page names.
Change-Id: I19700829922f3111756719db3d606db9495f9f95
|
|
|
|
| |
Change-Id: Ia20d132ff4467b41c4d7788411ed2ae4dbc4d1c0
|