Commit graph

1634 commits

Author SHA1 Message Date
Translation updater bot 6093a4de5d Localisation updates from https://translatewiki.net.
Change-Id: I7ece7e52c66180483d7d4c983cb1ff51074e461a
2015-01-08 22:47:07 +01:00
Translation updater bot e1344d5335 Localisation updates from https://translatewiki.net.
Change-Id: Ic568a10740dde6593515737cbc4e1442c4459c0d
2015-01-07 22:20:20 +01:00
jenkins-bot 86c8eb925a Merge "Correctly detect if jquery.uls.data is loaded" 2015-01-05 13:30:23 +00:00
Translation updater bot b3ebf0f6b5 Localisation updates from https://translatewiki.net.
Change-Id: I6e5e00bfb0ce650db35b6535ef42115f9c98729a
2015-01-04 21:50:58 +01:00
Marielle Volz f940a0707b Correctly detect if jquery.uls.data is loaded
Fix onResourceLoaderRegisterModules() to
check if the jquery.uls.data module is already
loaded in the ResourceLoader.

Modify comment to indicate that VE also
loads this module.

Bug: T85733
Change-Id: Idd459555312879a85a0a56fba651f609b4f9a52a
2015-01-03 17:36:36 +00:00
Translation updater bot 46d793f0f0 Localisation updates from https://translatewiki.net.
Change-Id: I4907bb2da0ea480de5b82757ae25be6be8e8eab7
2014-12-30 21:13:19 +01:00
Translation updater bot 10e21b3a0c Localisation updates from https://translatewiki.net.
Change-Id: I0e66f06c3ac424475aab7e0becc40251e6c9f549
2014-12-28 21:47:01 +01:00
Translation updater bot efc8d96665 Localisation updates from https://translatewiki.net.
Change-Id: I13cd7e4a962c6447facdeffe14d17a9bfd4f6cfd
2014-12-27 19:54:11 +01:00
Translation updater bot b60c4ecdf1 Localisation updates from https://translatewiki.net.
Change-Id: I42d6fb1e402ebbe897b6c661ddfea3c373bec925
2014-12-26 09:47:51 +01:00
Translation updater bot 1ed9dcfdfa Localisation updates from https://translatewiki.net.
Change-Id: Ib9fce2ab23bcfa526fd886ac131dc034f8257987
2014-12-23 21:43:04 +01:00
jenkins-bot 46cd4bbb84 Merge "Eventify TemplateDataGenerator and use oojs-ui" 2014-12-22 22:30:51 +00:00
Moriel Schottlender df59f0179a Eventify TemplateDataGenerator and use oojs-ui
Change the ui/data behavior to work with oojs and event emitters,
and replace the gui from jquery ui to oojs-ui.

Changes made:
* Recreate the templatedata editor with oojs and ooui.
* Create a standalone templatedata model with internal validation.
* Allow the user to insert language-specific strings:
  * Allow adding arbitrary languages and values
  * Normalize output between language object and 'simple' string
  * Add new language code by searching for its name or code
* Import parameters from template code
  * If the template is in subpage and there is no code in the
    current page, the code will request the contents of the parent
    page.

Change-Id: I985ea03dfee58984ec22ec9a157a00968bfca878
2014-12-22 12:58:37 -05:00
Translation updater bot 509bd5acc4 Localisation updates from https://translatewiki.net.
Change-Id: I42a4fd281e2ea1449aab13f49e20e6dda2a5da73
2014-12-20 22:27:30 +01:00
Translation updater bot 5565c28444 Localisation updates from https://translatewiki.net.
Change-Id: Ic3917fdcde94310f082a943442233cc20bc639dd
2014-12-17 21:51:43 +01:00
Translation updater bot 6ddefe6131 Localisation updates from https://translatewiki.net.
Change-Id: I15adb9f1291a1a49808cde67cdab39df99c93205
2014-12-11 23:56:34 +01:00
Translation updater bot a501de264d Localisation updates from https://translatewiki.net.
Change-Id: I13ff69fbe7c526a868ba1ebd77b97b627f288599
2014-12-07 21:56:16 +01:00
Translation updater bot 14d46da454 Localisation updates from https://translatewiki.net.
Change-Id: I78eabac02da720d880fce4c14d7ddbd34570c006
2014-12-02 22:07:35 +01:00
Translation updater bot a2bf21828b Localisation updates from https://translatewiki.net.
Change-Id: I929e85cf800ae8196618f55b8facda701c965194
2014-11-30 22:15:49 +01:00
Translation updater bot ebdceaedc3 Localisation updates from https://translatewiki.net.
Change-Id: I4a0c4bea12120a25e5d0f21219c6f127a033953e
2014-11-26 22:36:39 +01:00
Moriel Schottlender 4c236dc961 Correct placement of <noinclude> tags
The noinclude tags should appear only if the page is not a subpage
and only around the <templatedata> tags.

Change-Id: I492bb35c8f2c70235f3ceefdddcc4df6548d7469
2014-11-25 17:02:48 +00:00
Translation updater bot 3137eb1fd0 Localisation updates from https://translatewiki.net.
Change-Id: I0d01de1130b68820c1eb9f24b4ac9991f9455062
2014-11-22 22:43:07 +01:00
Translation updater bot 126ee38bdd Localisation updates from https://translatewiki.net.
Change-Id: I395ec743bac13547eddc6e14d338dc59c4c602be
2014-11-21 22:11:50 +01:00
Translation updater bot fae44de1a2 Localisation updates from https://translatewiki.net.
Change-Id: I14cb3531b2113f7d1010124217d35f61c29188da
2014-11-19 22:40:34 +01:00
jenkins-bot 9322c4262d Merge "Implement new "maps" property in Root" 2014-11-19 03:48:41 +00:00
Translation updater bot e4d906a7d8 Localisation updates from https://translatewiki.net.
Change-Id: Id8eb7d9ac8d2d4e585bef211787354104fffc155
2014-11-18 21:35:07 +01:00
Translation updater bot 97ae92c4db Localisation updates from https://translatewiki.net.
Change-Id: Iec81662c5b982759e8490b0daa1d6f9d8ca62d1b
2014-11-17 22:28:51 +01:00
jenkins-bot 83662c8f7e Merge "Add "sortable" class to display table" 2014-11-17 19:09:40 +00:00
Translation updater bot f60a69bdcc Localisation updates from https://translatewiki.net.
Change-Id: I6f0609e69c150a8c5ff842c0490da1c50831922a
2014-11-15 23:17:25 +01:00
glaisher fae0586c00 Add "sortable" class to display table
This will make the display table sortable; table which appears when
<templatedata> tag is used on a page.

Bug: 50435
Change-Id: If72a44eab3229139791ea2d06ef6a74e2ce2e0c9
2014-11-15 22:21:30 +05:00
Translation updater bot a3a3f601f5 Localisation updates from https://translatewiki.net.
Change-Id: Ifdaddd0e1c7186d9acedcb589a5a0323a61d35ad
2014-11-14 22:26:58 +01:00
Translation updater bot 5ed35b5800 Localisation updates from https://translatewiki.net.
Change-Id: I7530824f10800b14fc1b1e3ed8162c81b64f9c1c
2014-11-13 23:11:43 +01:00
Translation updater bot 8490a91df4 Localisation updates from https://translatewiki.net.
Change-Id: I3cd06144dc6597844d009ce410c7525776ecf9f0
2014-11-12 21:54:36 +01:00
Translation updater bot 1e87d3ec20 Localisation updates from https://translatewiki.net.
Change-Id: Ie3299ddd77a4a983f4539e1e3a1a2b4871c4a1cf
2014-11-11 22:14:29 +01:00
Translation updater bot 1d22ab882c Localisation updates from https://translatewiki.net.
Change-Id: Id539cb65b2b8bf0a40999bd35ef82175128e9e53
2014-11-10 22:11:51 +01:00
Translation updater bot 8e02ef66e4 Localisation updates from https://translatewiki.net.
Change-Id: I1084390d69d65d7e092b1e430a0ac61146f1d35a
2014-11-09 21:54:13 +01:00
Translation updater bot 7bfc382f21 Localisation updates from https://translatewiki.net.
Change-Id: I13ac174af25e295d3b4b9c4472d9691ba42854aa
2014-11-08 22:19:36 +01:00
Marielle Volz d6cac31082 Implement new "maps" property in Root
Add "maps" as an allowed root value to template data JSON.

Maps allow applications to map equivalencies between their
application-specific parameters and valid template parameters.

Each Map has arbitrary keys (from the consuming application) that
are mapped to one or more template parameters.

* Added root.maps to TemplateDataBlob
  * Validates that values are strings or arrays
  * Validates that values are valid params
* Added templatedata-invalid-param to i18n/en.json
  * Richer error message for when invalid value is a param
* Fixed existing tests to work with new "maps" property
* Added two new tests for maps
  * Test for invalid value (!string or !array)
  * Test for invalid parameter
* Added specification for root.maps property and Map object

Change-Id: I3bf5e002ad6c1632e02c4c2e393b244c51f77177
2014-11-08 20:29:51 +00:00
Timo Tijhof e03a12b393 test: Apply Sanitizer::decodeCharReferences for clearer tests
These wiktext-isms from the Status object make the tests rather
obfuscated and hard to read/maintain.

Change-Id: I6438c33229ac013489893f8a2241510d9b5a7765
2014-11-08 19:44:56 +00:00
Translation updater bot a1d5bc034d Localisation updates from https://translatewiki.net.
Change-Id: Id2153a475efd483884a7149fbafac631b1d86f1f
2014-11-05 21:48:41 +01:00
Translation updater bot 41e5365804 Localisation updates from https://translatewiki.net.
Change-Id: I740d9cd32c12bb82a13a5fe2bcd720d685339d35
2014-11-04 23:32:06 +01:00
Translation updater bot 1d913ecb51 Localisation updates from https://translatewiki.net.
Change-Id: I71dc938e98c2fdbb989a0d07311d8f85aaf3ef31
2014-11-02 21:59:52 +01:00
Translation updater bot 26ffc6c518 Localisation updates from https://translatewiki.net.
Change-Id: I2e6b49a42b36fe22a0c39a5d41d91844c08ac284
2014-11-01 22:39:47 +01:00
Translation updater bot 17643b1608 Localisation updates from https://translatewiki.net.
Change-Id: I886cd8fa69e0ebaeb8cc3d29030d7020e1fbc9d3
2014-10-31 21:47:08 +01:00
Translation updater bot be012d7bda Localisation updates from https://translatewiki.net.
Change-Id: I328d3571613c062aa89faf0a4d255506f49a7607
2014-10-30 23:31:38 +01:00
Brad Jorsch a9ac3e201f Add i18n for API module help
MediaWiki core change I04b1a384 added support for i18n of API module
help. This takes advantage of that while still maintaining backwards
compatibility with earlier versions of MediaWiki.

Once support for MediaWiki before 1.25 is dropped, the methods marked
deprecated in this patch may be removed.

Change-Id: I67395aff48185f3e09da31b51a08aa2541fe6a17
2014-10-29 14:59:23 -07:00
Translation updater bot a6b2e6a718 Localisation updates from https://translatewiki.net.
Change-Id: I199b2221dc0fd61ef9ef3eda5b189f8cf0462241
2014-10-28 15:20:24 +01:00
Translation updater bot db63f6fb16 Localisation updates from https://translatewiki.net.
Change-Id: I24bc568a1c4e3425bf95a3f117a78da47ef25fb1
2014-10-27 20:19:13 +01:00
Translation updater bot 3c06ee57c1 Localisation updates from https://translatewiki.net.
Change-Id: I628a7770603f45d4c94d39a08b4859db988d8a92
2014-10-26 21:11:48 +01:00
Translation updater bot f918b9e2e2 Localisation updates from https://translatewiki.net.
Change-Id: I9268676bb66d892fabe0753726e279f7b68e26ed
2014-10-25 22:48:42 +02:00
Translation updater bot f419897409 Localisation updates from https://translatewiki.net.
Change-Id: I88017b23baed371a3df1b70f58d35d8c98c5c196
2014-10-24 22:21:46 +02:00