| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a library providing date/time formatting according to the user's
preferred time zone and date preference.
I tested formatting of an example date with all defined formats in all
languages, and I found that it gives identical output to PHP in about
90% of our ~500 languages.
Resolve some of the outstanding issues by aliasing the problematic date
formats on the client side, so that the user will see the date in
another acceptable format for the same language.
The remaining issues mostly relate to the use of a fallback language to
display weekdays and non-Gregorian month names.
Details:
* Add Language::getJsDateFormats(), which converts existing date formats
to an options array that can be interpreted by the client.
* In Messages*.php, add $numberingSystem, which is the CLDR numbering
system ID. I set it for all languages that had overriden
$digitTransformTable. This is sent to the client in the library's JSON
config and is used as the default numberingSystem option when
formatting dates.
* In Messages*.php, add $jsDateFormats, which overrides the
automatically generated date format options.
Bug: T389161
Change-Id: Ib6bc8ebd4d01317aaf32225c6006ea2dc7a1b39e
|
|
|
|
| |
Change-Id: I9fbce8be35b2d04ab232d31838816bb12d0a110e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Merge Interwiki extension into core, with some changes:
* Always register 'interwiki' user right and 'interwiki' log type, and
remove $wgInterwikiViewOnly
* Remove nonstandard 'intro' and 'body' CSS classes on Special:Interwiki
* Make interlanguage special cases be conditional on $wgInterwikiMagic
* Other cleanups
* Add SpecialInterwikiTest
* Add a constant MW_HAS_SPECIAL_INTERWIKI which can be used in config to
suppress loading of the extension.
After merging Interwiki extension into core we can remove
InterwikiLoadPrefix hook, which is incompatible with Parsoid.
Bug: T33951
Bug: T270444
Bug: T312425
Bug: T315759
Bug: T357247
Depends-On: I0d02d93f49c746a7ce86b72b456f13c4af9b6c34
Change-Id: I05049e7c2e056928977245367583d027b80ef613
|
|
|
|
| |
Change-Id: I688c0966ae63cf8bc5b6afa8e3bc26f1f11fd169
|
|
|
|
|
|
| |
* These were added in the last two days
Change-Id: Ie6d5274ee9e695836a274a9af61ee313ab876b6a
|
|
|
|
| |
Change-Id: I71026626c1d9c0370a6a6abf0e9526ac79e28072
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add the same no-arg options for language code that
{{#dir}} and {{#bcp47}} have, for consistency:
* `{{#language}}` will return the name of the *target language*
(for articles, the content language; for messages, the user language)
The default value for the "in language" argument should be the autonym.
This was working previously but only via a baroque code flow path for
invalid language codes. Make this a bit clearer and add tests.
Since non-autonym language code translations are added via the
[[Extension:CLDR]] in production, hook LanguageGetTranslatedLanguageNames
in the ParserTestRunner to ensure that we can test this.
Followup-To: Ice1c671c5b3cc077d2bb80ea5dc25c5eabbfeb36
Followup-To: I19c3e91a924e080f37dc95a0d4e61493583b533e
Change-Id: Ibf6e7f194cc056eadb48a5ad8e6d01a761d9351c
|
|/
|
|
|
|
| |
* Update $magicWords and $specialPageAliases
Change-Id: I7fc99a924dd9ccb8d616dab88949556569cac39e
|
|
|
|
| |
Change-Id: I7de4d00bd8e7a72320b2ccf340486c462e28c9e9
|
|
|
|
|
|
|
|
|
| |
Copy the Renameuser extension into core, with minimal code changes. The
hook handlers are inlined into Article, SpecialLog and
SpecialContributions.
Bug: T27482
Change-Id: I314021f4138773df6aaf2753b33ab8283cd16974
|
|
|
|
| |
Change-Id: I9a47f9ff6beef87abf71c20a5656115a3f6a99a1
|
|
|
|
| |
Change-Id: I4efc320c08b1b73e6e694645bba1c955813fecd6
|
|
|
|
|
| |
Bug: T304802
Change-Id: Iccacf6288d758e526c95df69861385a4ac2d0f55
|
|
|
|
| |
Change-Id: I71a54cd7711cb18f4ea11a55e9faab34f8cb35b7
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I0f3382a2cfc4c34e42985a310b5312e6cdd9c8e7
|
|
|
|
|
|
|
|
|
|
| |
Use @phpcs-require-sorted-array from new codesniffer release 32.0.0
Similiar to special page alias in
I827d1f5010d000609324ec398beeb142d9bac299
Bug: T255826
Change-Id: I7b7cbf0c03714001609437af68fe16e06930cc33
|
|
|
|
|
|
|
| |
Use @phpcs-require-sorted-array from new codesniffer release 32.0.0
Bug: T255826
Change-Id: I827d1f5010d000609324ec398beeb142d9bac299
|
|
|
|
| |
Change-Id: Iee0e9c9021b0244014a162ae08f8d5f737cd93db
|
|
|
|
| |
Change-Id: Iecc30b4eae9a5fe0f87d162c8118722ba5aab90c
|
|\
| |
| |
| | |
Arabic"
|
| |
| |
| |
| |
| |
| |
| | |
It is requested by User:Meno25 to update magic words and special page aliases for Arabic and Egyptian Arabic languages.
Bug: T143880
Change-Id: I5701ab523aea6c9a933586c86a478c4dbcc8cf7a
|
| |
| |
| |
| |
| |
| |
| | |
It's unreasonable to expect newbies to know that "bug 12345" means "Task T14345"
except where it doesn't, so let's just standardise on the real numbers.
Change-Id: Id2f9d229d17b8eee66b2ca4e3927f3f66ac62988
|
|/
|
|
|
|
|
| |
Performed using
find . -name \*.php -exec sed -i -e :a -e '/./,$!d;/^\n*$/{$d;N;};/\n$/ba' {} \;
Change-Id: I5d0627f94c73690cf3a8a453539c22c760c2aa60
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When there are multiple aliases, the first alias MUST be the
preferred alias in that language, so that wikitext code
generators can generate the desired syntax.
The other aliases SHOULD be sorted by the following convention:
- Local first, English last
- Most common first, least common last
Bug: T116020
Change-Id: Ia670512e0cb375335873e7f9a08b638bbe039e45
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Imported RandomRootPage extension as SpecialRandomrootpage, including
its aliases and localization messages.
Bug: T109809
Change-Id: I7252ae9f4a8f1822b023cc4f0d3a732af48d84d3
|
|
|
|
|
|
| |
The bit being removed here causes a NOTICE with HitCounters.
Change-Id: I318eb641d4ed4b50dea0a172cf7970045b3a49e7
|
|
|
|
|
|
| |
Updates for magic words.
Change-Id: Ic564d36de395c9a30be5f1390591da723f47edce
|
|
|
|
|
|
| |
Updates for special page aliases.
Change-Id: Ic2b34a948d527cee6b76abd7e24a6d8a33b65bd2
|
|
|
|
|
|
|
|
|
| |
Tuvan (tyv) didn't have a special page section, so now it's added.
See also I6f84eaf414b6d4239522bad14e90b1cbfc82590f.
Bug: 69461
Change-Id: Ie6a4d878b87ee030f9c042b43f7b1fb424b54099
|
|
|
|
|
|
|
|
| |
* 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: I87ed70aa87a61057fa81f0eae63363af85fd71a0
|
|
|
|
| |
Change-Id: I71e13fdbb541c2fccbe303849a3c78f0c1260bd2
|
|
|
|
| |
Change-Id: I9ed903822cabaf2a845d01f1a68ee34ac444d980
|
|
|
|
| |
Change-Id: Icb726976f02aaed49f1b1e83a429c6a05c8ae103
|
|
|
|
| |
Change-Id: I8187963fdb3b2cb88ee7afc1cc3b32cf8672e20b
|
|
|
|
| |
Change-Id: Idf89d2bff84d9c4e74be06a2532222891b0fb30e
|
|
|
|
| |
Change-Id: Iaee33fbd265807b18879b6f9873d1d4344dfb878
|
|
|
|
| |
Change-Id: I9b0a5f6786c86abea3e0b1ffed52291eb88447e3
|
|
|
|
| |
Change-Id: I78257c1482d2a8a5a36693082c3228a63d0f4b8f
|
|
|
|
| |
Change-Id: Id4b89fcef61ccf1e329710f6beff9398669fdadb
|
|
|
|
| |
Change-Id: Id32d5c87533081016e6a00312703f450782a1d6d
|
|
|
|
| |
Change-Id: I91af046a42d410457d6ccb6ce44657a29d184434
|