Commit graph

1001 commits

Author SHA1 Message Date
Translation updater bot 08cd710c96 Localisation updates from https://translatewiki.net.
Change-Id: I6c4e27bd5cd488af12baa06fd96a1b9bc0d0f261
2015-03-02 22:12:00 +01:00
Translation updater bot 2d12b225ea Localisation updates from https://translatewiki.net.
Change-Id: I51fe4e5ff3aaf4883a5b5bccfb934b528b3d17ae
2015-03-01 22:09:28 +01:00
Translation updater bot 883050edda Localisation updates from https://translatewiki.net.
Change-Id: I9574b4ca0cd07074f02af2178926159db99aa9f8
2015-02-28 22:09:14 +01:00
Translation updater bot b718a3235b Localisation updates from https://translatewiki.net.
Change-Id: I914433f3572738c321f3c1aec6dbf4d04a481c1a
2015-02-27 21:57:53 +01:00
Translation updater bot 6a4abee253 Localisation updates from https://translatewiki.net.
Change-Id: Ib4ffb871ffe8a229c9493b21ceae82a8a1f79883
2015-02-26 21:39:07 +01:00
Translation updater bot cfcffeead6 Localisation updates from https://translatewiki.net.
Change-Id: I8d7d295c241d6e3afbd032829b2d34b5ca617854
2015-02-25 22:58:13 +01:00
Translation updater bot 4024c8c53a Localisation updates from https://translatewiki.net.
Change-Id: Iaecb6818f6d71f9cd694bfe4074f93f4a5c2bb30
2015-02-24 22:04:07 +01:00
Translation updater bot 3d354342a1 Localisation updates from https://translatewiki.net.
Change-Id: Ia7d4efa3dc4944ad25aa02a8dc4d43859639d49f
2015-02-23 21:59:45 +01:00
Translation updater bot 8d44a26c57 Localisation updates from https://translatewiki.net.
Change-Id: I8acb7d84a0de6d812863f5bef7b47cb7b30f293c
2015-02-22 21:36:49 +01:00
Translation updater bot b6c28878c7 Localisation updates from https://translatewiki.net.
Change-Id: Ic4878ccd705e1db1a8dc0b3e603ab0bc1c2c19d4
2015-02-21 23:34:54 +01:00
Translation updater bot 589780afc5 Localisation updates from https://translatewiki.net.
Change-Id: Ibf4be2b8733afeb2d40b25169d7054d3eb93e225
2015-02-20 22:29:37 +01:00
Translation updater bot 1039a551ee Localisation updates from https://translatewiki.net.
Change-Id: Iac6d72dc410b3cdc8f6e85d598f93a55089a5d84
2015-02-19 22:11:07 +01:00
Moriel Schottlender d59d517339 Warn if a TemplateData block already exists in related page
Check if there already is a TemplateData block in a related
page and warn the user if that is the case. Related pages are
either the /doc page or, if we are already in a /doc page, its
immediate parent.

Bug: T74062
Change-Id: I83212f14ecd2dcc18970d21ad0d833b461405390
2015-02-18 17:56:13 -08:00
Moriel Schottlender 4757a83f88 Display a message when no parameters are defined
If no parameters are defined in the TemplateData, have the table
display a specific message noting that.

Bug: T53429
Change-Id: I3c9ae31ef9eafab7f94325fcd58e14a3e45c9818
2015-02-18 17:43:16 -08:00
Translation updater bot 985e8b56bf Localisation updates from https://translatewiki.net.
Change-Id: I1ae1fa3965936ee47c96fbdfe23b68b2c764e9f6
2015-02-18 22:06:37 +01:00
Translation updater bot 82986955b2 Localisation updates from https://translatewiki.net.
Change-Id: I79f53b348601b0135433e53d3e837c82f5b20cd8
2015-02-17 21:54:23 +01:00
Translation updater bot 7b6aa00ef8 Localisation updates from https://translatewiki.net.
Change-Id: I77889b4973f395d78d416620b84436aaabb74a82
2015-02-16 21:57:07 +01:00
Translation updater bot 4b1961dca9 Localisation updates from https://translatewiki.net.
Change-Id: I29fddfa00753297f22b9db1c2fd1d0a75bb33658
2015-02-13 22:21:58 +01:00
Translation updater bot 35b536763d Localisation updates from https://translatewiki.net.
Change-Id: I37eb0bd606604f43ef4ac8f234875e865f0de95b
2015-02-12 21:36:22 +01:00
Translation updater bot 7b7d4836ab Localisation updates from https://translatewiki.net.
Change-Id: Ic4c33fbe6628061ecf6335bea7c5228a328335a0
2015-02-11 22:29:12 +01:00
Translation updater bot 75d6906924 Localisation updates from https://translatewiki.net.
Change-Id: I86b58db28492346504e3f086367edc5252ff978a
2015-02-10 22:17:10 +01:00
Translation updater bot 229006ce38 Localisation updates from https://translatewiki.net.
Change-Id: I0759b0421b1403edfc085f437115c08bde6db828
2015-02-09 21:37:34 +01:00
Translation updater bot 672b6b6a58 Localisation updates from https://translatewiki.net.
Change-Id: Ieeb59d52baf4c71e6937fd4381a8904197ce52ef
2015-02-08 21:49:51 +01:00
Translation updater bot 0b3d8d5bb7 Localisation updates from https://translatewiki.net.
Change-Id: I91918cd3d938af317b870aa064bd40ce21dafea5
2015-02-07 21:48:50 +01:00
Translation updater bot 9dffcfbe51 Localisation updates from https://translatewiki.net.
Change-Id: Id8273c0b15d298ed7a941b5f29f01ce9ef2d3828
2015-02-06 21:07:40 +01:00
Translation updater bot 32c9190f0b Localisation updates from https://translatewiki.net.
Change-Id: I9a058b6478d5854867f642696588347ad7e05557
2015-02-05 23:07:20 +01:00
Translation updater bot 53bbb3b875 Localisation updates from https://translatewiki.net.
Change-Id: Iaf62250d795a663196d217b6c8a870136aa6c70b
2015-02-04 22:28:27 +01:00
Translation updater bot 76c9692953 Localisation updates from https://translatewiki.net.
Change-Id: I9775b234de44122eaf2f9d08cd559db8ed8569aa
2015-02-02 22:31:30 +01:00
Translation updater bot d67225b2d3 Localisation updates from https://translatewiki.net.
Change-Id: I7326d7a9d0c8b7a2852f5085f51126e55f79ec34
2015-01-30 21:52:40 +01:00
Translation updater bot 54df9f5f6d Localisation updates from https://translatewiki.net.
Change-Id: I449afa72b7e2c7648f1c624f4bcd269c34e31acb
2015-01-29 23:07:29 +01:00
jenkins-bot afeb20a469 Merge "Allow adding a deleted parameter in the templatedata dialog" 2015-01-29 02:56:40 +00:00
Moriel Schottlender b3877b327d Allow adding a deleted parameter in the templatedata dialog
If a user adds a parameter that was previously deleted, the
parameter properties will be completely emptied, and the parameter
will be added as if it is new.

Bug: T86916
Change-Id: Ib739ee09229750f94314636d4290dbe6662b4c0f
2015-01-28 18:50:43 -08:00
Translation updater bot d35296b00a Localisation updates from https://translatewiki.net.
Change-Id: Ibaa6d061ae69d8c0a5499fdb45d6607885212855
2015-01-28 22:38:58 +01:00
Translation updater bot 80d79f3eee Localisation updates from https://translatewiki.net.
Change-Id: I53daf9e67340ff073aff3d8732b4e216faf3610a
2015-01-27 22:16:31 +01:00
Translation updater bot b2f2787957 Localisation updates from https://translatewiki.net.
Change-Id: Icc18d9d95b470f86a89c7b1569868255a8d51f48
2015-01-26 22:42:19 +01:00
Translation updater bot a24073138d Localisation updates from https://translatewiki.net.
Change-Id: I5a21cf8ac10596d57199d095fee1cd42a76c6111
2015-01-25 21:50:40 +01:00
Translation updater bot 14ae044cff Localisation updates from https://translatewiki.net.
Change-Id: I7d580e964cb773ff5e08d8277b90ee2b10b9dc36
2015-01-23 22:30:14 +01:00
Moriel Schottlender d212901649 Add param order drag/drop widget to TemplateData dialog
Make sure the parameter order is editable with the drag/drop widget.

Change-Id: I35079907b2ed9f5ecdcd438dd69ed9892ce3e428
2015-01-23 19:02:56 +00:00
Translation updater bot 1bf4ae185d Localisation updates from https://translatewiki.net.
Change-Id: I5727d150eacb424e26fc4828606145447bcc0098
2015-01-22 23:23:38 +01:00
Translation updater bot c9663f4f9b Localisation updates from https://translatewiki.net.
Change-Id: Ia948b0d132bde497290e6f60d71994eeba1e0964
2015-01-20 22:00:47 +01:00
Translation updater bot f6ecc4a5cc Localisation updates from https://translatewiki.net.
Change-Id: I0c98b57a5c69f1f3b006da4b02386f7f99599e27
2015-01-19 22:05:10 +01:00
Translation updater bot d9ecc878e1 Localisation updates from https://translatewiki.net.
Change-Id: I9a68481e63b7464d0716f07c768beb4b8a9d88c4
2015-01-18 22:22:23 +01:00
Moriel Schottlender ee56d518fb Add deprecated switch to the editor
The 'deprecated' boolean property was missing from the templatedata
edit dialog.

Change-Id: Ib05e832d8fc91896816b3f8b22f7678dacb245cd
2015-01-16 11:00:27 -08:00
Translation updater bot a0fbe90630 Localisation updates from https://translatewiki.net.
Change-Id: Ia8216989b3586309364e98e06f51ec9121d0ed24
2015-01-15 22:50:54 +01:00
Translation updater bot e779af4312 Localisation updates from https://translatewiki.net.
Change-Id: Ibc13f6f37ed021d4d8a8b63518ad69a85d0d10c1
2015-01-12 22:39:26 +01:00
Translation updater bot b86d1ff5fd Localisation updates from https://translatewiki.net.
Change-Id: Ifa8c23c1327c7936b7805ff793b7491f1b900adb
2015-01-09 22:11:17 +01:00
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
Translation updater bot b3ebf0f6b5 Localisation updates from https://translatewiki.net.
Change-Id: I6e5e00bfb0ce650db35b6535ef42115f9c98729a
2015-01-04 21:50:58 +01: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
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
Translation updater bot f60a69bdcc Localisation updates from https://translatewiki.net.
Change-Id: I6f0609e69c150a8c5ff842c0490da1c50831922a
2014-11-15 23:17:25 +01: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
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
Translation updater bot 06e441c100 Localisation updates from https://translatewiki.net.
Change-Id: Iee595191bc653a15051369f2da4c80786b04bc41
2014-10-23 23:27:07 +02:00
Translation updater bot 86fd8e5002 Localisation updates from https://translatewiki.net.
Change-Id: I532c5f9da075dc87a69f29efb90ed86b8a1ecd5d
2014-10-22 22:03:59 +02:00
Translation updater bot 695da40846 Localisation updates from https://translatewiki.net.
Change-Id: I4832b6ee10c7c160483e476d7bb79a578b0f6cbd
2014-10-21 23:02:30 +02:00
jenkins-bot 8210018147 Merge "Let help link target be locally over-ridden; default to the MW help page" 2014-10-21 17:53:50 +00:00
jenkins-bot c7e39b68bf Merge "Re-label "Manage template documentation" to "Manage TemplateData"" 2014-10-21 17:47:05 +00:00
Translation updater bot f2b206ec2b Localisation updates from https://translatewiki.net.
Change-Id: Id7a6b7d498d52ffc8c7d2f6a631c58cb9197e8e5
2014-10-19 22:10:03 +02:00
Translation updater bot ed73b03a0e Localisation updates from https://translatewiki.net.
Change-Id: I0337aea5bb9a89ce715a5712ec3f9856a603f586
2014-10-15 22:08:30 +02:00
Translation updater bot 74780e5d71 Localisation updates from https://translatewiki.net.
Change-Id: I6aebf2acc3f4038140bfa61cb2675afa79f5c3c5
2014-10-14 23:02:33 +02:00
Translation updater bot f9c3fa23e2 Localisation updates from https://translatewiki.net.
Change-Id: I2b856d298320e6cd31265743ca2071dddb073424
2014-10-12 22:19:23 +02:00
Translation updater bot 9f3f214b8f Localisation updates from https://translatewiki.net.
Change-Id: I4043427e059f1b4246c2bb490b89070e43e841bd
2014-10-11 22:45:00 +02:00
Translation updater bot dbc94928d4 Localisation updates from https://translatewiki.net.
Change-Id: I03cfcd1157ecf58c82095a6444431a4eea43c534
2014-10-10 22:01:22 +02:00
Translation updater bot 2bf1641140 Localisation updates from https://translatewiki.net.
Change-Id: I0ecf8e9d998e9b8c31c4a015a0f57ff7a5195afd
2014-10-09 21:22:48 +02:00
Translation updater bot 39e93162cb Localisation updates from https://translatewiki.net.
Change-Id: I3d5d5b187d7e720046e250bf00f101cddc694c67
2014-10-08 21:28:03 +02:00
Translation updater bot 9da016f09a Localisation updates from https://translatewiki.net.
Change-Id: I72da422a3012df8622aeaf23211297209a3f0086
2014-10-07 21:02:17 +02:00
Translation updater bot d86327bdfe Localisation updates from https://translatewiki.net.
Change-Id: I567938bd219f0425dcdad3b986149855b88529d8
2014-10-05 22:16:05 +02:00
Translation updater bot 033919164d Localisation updates from https://translatewiki.net.
Change-Id: I98b341dca173223624bc3f673db1ce82d561f227
2014-10-02 23:27:52 +02:00
Translation updater bot aa5c43aba3 Localisation updates from https://translatewiki.net.
Change-Id: I1f96f9e7717595b9deaa12893d28dcc773f18afa
2014-09-29 23:33:22 +02:00
Translation updater bot 87d45c955c Localisation updates from https://translatewiki.net.
Change-Id: I5ecddc301205c7d0b76551fc6059e7381e68a8dc
2014-09-28 22:36:30 +02:00
Translation updater bot 87e5c50d31 Localisation updates from https://translatewiki.net.
Change-Id: I6e01f04ec1c52f0078c85aa6f2ab864ca2cca571
2014-09-27 20:31:59 +02:00
Translation updater bot 53ab68ee23 Localisation updates from https://translatewiki.net.
Change-Id: Ie7813592461b90fcf9c2921a1b3b68deecb89c80
2014-09-25 23:07:39 +02:00
James D. Forrester f7706868f3 Let help link target be locally over-ridden; default to the MW help page
Bug: 67621
Change-Id: Ic205a8bd51516d3fa580955b310014e4fe30ec6d
2014-09-25 11:05:39 -07:00
James D. Forrester 41e8f193ac Re-label "Manage template documentation" to "Manage TemplateData"
Bug: 63389
Change-Id: I49c2f78376918ba3ad59afcb943fc7df67e627f7
2014-09-25 11:00:51 -07:00
Translation updater bot 6c0fe30adb Localisation updates from https://translatewiki.net.
Change-Id: Id969f0854e36112b7f0cfd0cdb978ba8e0952a07
2014-09-24 22:19:50 +02:00
Translation updater bot 4feae66446 Localisation updates from https://translatewiki.net.
Change-Id: I189a5e1b45c630735199d450084fca182b4407fe
2014-09-22 21:49:10 +02:00
Translation updater bot fde35ac958 Localisation updates from https://translatewiki.net.
Change-Id: Ic8af19dd6f4761de2dbaf81f730d88f322716ffc
2014-09-21 22:00:02 +02:00
Translation updater bot 45b253179d Localisation updates from https://translatewiki.net.
Change-Id: I2df1d4ba803a2abd108a078fcc207917c74b5e22
2014-09-20 21:43:44 +02:00
Moriel Schottlender 4f3e647758 Implement new 'autovalue' parameter property
Add an 'autovalue' parameter property to the TemplateData spec. And
implement it in the validation for the API and in the editor.

Also added tests to make sure all parameter attributes preserve
their values before and after parsing, including the 'autovalue'
parameter.

Bug: 51428
Change-Id: Iffb376a804d39388d2b5b6ea3583ef2a292eea41
2014-09-19 16:36:29 -07:00
Translation updater bot 949401fa10 Localisation updates from https://translatewiki.net.
Change-Id: I1d9b1357f34d4f696ab074a2059d8d125aa1313c
2014-09-17 22:46:41 +02:00
Translation updater bot 9052ca70fc Localisation updates from https://translatewiki.net.
Change-Id: I7bb1a7e834e600d1a6451f08a63a2f53e6014d4b
2014-09-15 02:10:26 +02:00
Translation updater bot 3bced4e5b9 Localisation updates from https://translatewiki.net.
Change-Id: Iab8adf620a0c9fbb0c374819d070b29e09c37253
2014-09-07 22:01:25 +02:00
Translation updater bot c22246ff4c Localisation updates from https://translatewiki.net.
Change-Id: Id98294b931d05ff640082c8e89fd45c93679bed4
2014-09-05 22:50:25 +02:00
Translation updater bot bd27459cb1 Localisation updates from https://translatewiki.net.
Change-Id: I83ed5fdd125b30b09a43303bb8e5267a143fac6b
2014-09-03 22:23:57 +02:00
Translation updater bot 6ace4f3c4b Localisation updates from https://translatewiki.net.
Change-Id: Ide445ca8ec3cc8754d5d82921482ff5f05d80919
2014-09-02 22:18:06 +02:00
Translation updater bot 4ec096fa9f Localisation updates from https://translatewiki.net.
Change-Id: Ia5744344539d4cfdd9a530879fbd74e585fb89b7
2014-09-01 22:37:43 +02:00
Translation updater bot ba2b3aa0ba Localisation updates from https://translatewiki.net.
Change-Id: Id226c60da209770074402eeccb0d6ab64c12bb30
2014-08-31 22:00:02 +02:00
James D. Forrester 4b27cb0642 Sort i18n files alphabetically for better diffs in future
Change-Id: Idbdfd19e8b41129d40cb0c26dec8547e039715b4
2014-08-30 15:54:41 -07:00
jenkins-bot ecf813b6af Merge "Refactor TemplateData Editor" 2014-08-30 22:45:28 +00:00
Moriel Schottlender b313bbe485 Refactor TemplateData Editor
Refactor and rewrite the templatedata editor to make it more flexible and
adaptable to new types. Separating the model from the gui, and adding new and
improved unit tests.

Also added features:
* Map depracated param types into current types.
* Retrieve template code from top template page if we are in a subpage.
* Mark parameters that do not appear in the template code.
* Add parameter types and a more flexible way to add and adjust the types.
* Add a link to TemplateData documentation from the main edit page.
* Add support for paramOrder; order the parameters according to the given array.
* Make the template parameter table sortable so users can change the paraOrder.

Bug: 59745
Bug: 65951
Bug: 66920
Bug: 67310
Bug: 67621
Change-Id: I65a76c2b772ef76c5dbbe71dd433c881c097b202
2014-08-30 15:18:05 -07:00
Translation updater bot 44b5388541 Localisation updates from https://translatewiki.net.
Change-Id: I53ef35774d4258140f197070fdce44ed8fe6b4a5
2014-08-30 22:42:50 +02:00
Translation updater bot b82e0cde9c Localisation updates from https://translatewiki.net.
Change-Id: Ic3c3663360e1a6f0163594ec3cb47051d773d1e3
2014-08-28 22:31:32 +02:00
Translation updater bot 23b0922cab Localisation updates from https://translatewiki.net.
Change-Id: I5c1d230579f0de38753cf054c0dba0b479b32a23
2014-08-23 22:00:29 +02:00
Translation updater bot 2ae918735a Localisation updates from https://translatewiki.net.
Change-Id: I6bd162258cab92f8be27b018c63d87245c3415d7
2014-08-11 23:12:39 +02:00
Translation updater bot d90d43de42 Localisation updates from https://translatewiki.net.
Change-Id: I520b25f04e2d244c7ce161ba22f8983ce2dee2ac
2014-08-05 21:58:52 +02:00
Translation updater bot 65603ef5d3 Localisation updates from https://translatewiki.net.
Change-Id: I18203e3b1220409d4a70e76209a92db39cb470a3
2014-08-03 22:12:07 +02:00
Translation updater bot c4eb739808 Localisation updates from https://translatewiki.net.
Change-Id: I1d67bd4f0459cb1ec9fdcf30ab54b55766e560c1
2014-08-01 21:34:27 +02:00
Translation updater bot 8146d4f51f Localisation updates from https://translatewiki.net.
Change-Id: I4697a64252fbe38e22ae6a9c6f4a82a739683b39
2014-07-27 22:24:29 +02:00
Translation updater bot c4e2f6f1b8 Localisation updates from https://translatewiki.net.
Change-Id: I0c64fc517f40290ba13a568049d35b2063854d2d
2014-07-25 23:07:03 +02:00
Translation updater bot 08d2a0fe9e Localisation updates from https://translatewiki.net.
Change-Id: Ie705ea3e785c2fdd5e2bd9332d43dbb060818e2c
2014-07-24 23:51:30 +02:00
Translation updater bot 7d80ec843f Localisation updates from https://translatewiki.net.
Change-Id: Ibf505b7e1c32726ab19d05fac90c8c1d3989b83c
2014-07-22 23:02:39 +02:00
Translation updater bot 4deb6b59f2 Localisation updates from https://translatewiki.net.
Change-Id: I77b60a7c5153fb81b6a4d176e35616c9e5874eae
2014-07-21 21:42:02 +02:00
Translation updater bot daf055f495 Localisation updates from https://translatewiki.net.
Change-Id: Ib305f5cb2822b4455757654acf6ed74d539b2cac
2014-07-13 22:24:32 +02:00
Translation updater bot 828a65a3e1 Localisation updates from https://translatewiki.net.
Change-Id: If59a1a8e8995299c832ce26cd7d9dd4e05b9503e
2014-07-11 21:57:48 +02:00
Translation updater bot 7136f55975 Localisation updates from https://translatewiki.net.
Change-Id: I196effa1fb56f1dc5d0882ef0ed7b7dd7e092090
2014-07-09 20:36:22 +00:00
Translation updater bot 0bdb07bbc2 Localisation updates from https://translatewiki.net.
Change-Id: If3da8ccf9dd576f2173c42a9ed726cb30801a2a7
2014-07-08 21:02:32 +00:00
Translation updater bot 3f9f3fb89a Localisation updates from https://translatewiki.net.
Change-Id: I19a155f3d4cfb7261720b0a71e4e8063c83a734e
2014-07-07 20:21:31 +00:00
Translation updater bot 55bb493ee3 Localisation updates from https://translatewiki.net.
Change-Id: I99a530b170200d0ecb487deebf7ab341e4c848ba
2014-06-29 18:44:42 +00:00
Translation updater bot 4da2242995 Localisation updates from https://translatewiki.net.
Change-Id: I2aeb6001dcd1981b931bcc991f32b12d79222eff
2014-06-27 20:25:04 +00:00
Translation updater bot c780b25f81 Localisation updates from https://translatewiki.net.
Change-Id: I6480dc3710a8e22855c6377c7abf37406d1c5df9
2014-06-24 20:01:08 +00:00
Translation updater bot 9b0ee7b9e4 Localisation updates from https://translatewiki.net.
Change-Id: I5d8a6eed920afdd66bc83ba446fb0d673f40990d
2014-06-23 19:56:45 +00:00
Translation updater bot 088a1fa6cd Localisation updates from https://translatewiki.net.
Change-Id: I4b748e29e2637c99b0c426364c09c1777d5a5eaf
2014-06-20 19:51:35 +00:00
Translation updater bot 7757355f6c Localisation updates from https://translatewiki.net.
Change-Id: I98cf27f90ce732731e268439d16a8bc28c5a8b8f
2014-06-16 19:55:20 +00:00
Translation updater bot 36c60bfeb6 Localisation updates from https://translatewiki.net.
Change-Id: I92342a5990ac6b273fd3202e8d2374631013e132
2014-06-15 19:53:41 +00:00
Translation updater bot a782fe3ea3 Localisation updates from https://translatewiki.net.
Change-Id: Ie772d45aa7c5f25274eb62b4f5787ae6e43ae495
2014-06-13 20:50:59 +00:00
Translation updater bot 1246deb7fb Localisation updates from https://translatewiki.net.
Change-Id: I1e4a7942544b9d1ce9c3400edaec7a0888520298
2014-06-12 21:39:48 +00:00
Translation updater bot 8471146952 Localisation updates from https://translatewiki.net.
Change-Id: Id1188464d8ed60e90c176e318278b3f1f68ef5cb
2014-06-11 20:40:36 +00:00
Translation updater bot 074177a38c Localisation updates from https://translatewiki.net.
Change-Id: Ideaa074791615f980737ff0fe37c4c984545cacf
2014-06-10 20:45:16 +00:00
Translation updater bot 0f624c5ca7 Localisation updates from https://translatewiki.net.
Change-Id: I00a4637e54fc3425b3b508fed6f8e2338d474161
2014-06-09 20:31:51 +00:00
Translation updater bot e190cb0182 Localisation updates from https://translatewiki.net.
Change-Id: I35b1696098a2a396bc53fd7021747c29ad0aea35
2014-06-08 19:58:12 +00:00
Translation updater bot 5d0b20bf9e Localisation updates from https://translatewiki.net.
Change-Id: I769f4bb7d2ae5d2d57a671b556d20d236e2c4d3d
2014-06-06 21:48:00 +00:00
Translation updater bot 7f6ed96141 Localisation updates from https://translatewiki.net.
Change-Id: I0afaa049dd247ad53ea3d74cdc2997d47f65d040
2014-06-05 20:47:09 +00:00
Moriel Schottlender 9a7f8de499 Block object descriptions from edit
Some descriptions allow for language objects. For the moment, these
should be blocked for editing so the original JSON string won't be
corrupted. The current fix blocks any input that is not a string
or an expected array in aliases as uneditable.

Bug: 60089
Change-Id: I9b13e2f3cfd805d382564e270484557567932a0f
2014-06-04 17:37:02 -07:00
Translation updater bot 13095937af Localisation updates from https://translatewiki.net.
Change-Id: Ieaeecba324aaae89fa12ecc5a840e3bd821be6d5
2014-06-03 19:52:23 +00:00
Translation updater bot 4428736d11 Localisation updates from https://translatewiki.net.
Change-Id: Id5b06714420f13905887c1e81dc131f8d371f346
2014-06-02 21:00:11 +00:00
Translation updater bot b2eec502d2 Localisation updates from https://translatewiki.net.
Change-Id: Iaeb51b7593774dbef152025ac26a3add770f7bce
2014-06-01 19:41:47 +00:00
Translation updater bot 0aa7f6aaf7 Localisation updates from https://translatewiki.net.
Change-Id: Iaa181017c9941ea12eab12b5d5040e83c0e0262d
2014-05-28 19:35:20 +00:00
Translation updater bot 015b711ccc Localisation updates from https://translatewiki.net.
Change-Id: I8f47df03ca2e6aebc22f25f687759aef23c9f220
2014-05-27 20:31:49 +00:00
Translation updater bot 3a59315d9c Localisation updates from https://translatewiki.net.
Change-Id: I6c07fc04f4bd32db443a24cc8c1134b8ef04fa60
2014-05-26 20:13:03 +00:00
Translation updater bot 90c7aa8d72 Localisation updates from https://translatewiki.net.
Change-Id: Ief7812eb6738a22050b314717e59ab53643ee957
2014-05-25 19:37:55 +00:00
Translation updater bot 70336be027 Localisation updates from https://translatewiki.net.
Change-Id: Ie6ff9b59e95877f65a08b1f2d856f20f320a035d
2014-05-24 15:23:47 +00:00
James D. Forrester 3f05967d94 Add 'date' type support for ISO 8601 date-times
Change-Id: Ida5b09fb763bef12f92cf687b5170b5f5b5840a2
2014-05-23 18:50:00 -07:00
Translation updater bot 15e462ad76 Localisation updates from https://translatewiki.net.
Change-Id: If27547d6491675e27260b9da8207a583519a1640
2014-05-22 20:04:00 +00:00
Translation updater bot 8778dbb319 Localisation updates from https://translatewiki.net.
Change-Id: Idd6395f5ceca8d88ba4b70d1ff5d807cfca8605e
2014-05-21 20:25:44 +00:00
James D. Forrester 759f0eef20 Add 'boolean' type support
Bug: 55331
Change-Id: I2508e3cc6e04f1eb382e6ec18c636bebdfccbf99
2014-05-20 20:40:05 +02:00
Translation updater bot ee2674c147 Localisation updates from https://translatewiki.net.
Change-Id: I9fb709b5e16573e7e231132f535b798b80e77ed3
2014-05-18 20:08:19 +00:00
Translation updater bot 56d32c8548 Localisation updates from https://translatewiki.net.
Change-Id: I0c356f48806064c0e2abc8de8db821c03d1854a2
2014-05-17 19:56:58 +00:00
Translation updater bot 1d72cc4f83 Localisation updates from https://translatewiki.net.
Change-Id: If90828c70f748961bd418dd3610429061d69f394
2014-05-11 19:09:57 +00:00
Translation updater bot 3d2b2a046c Localisation updates from https://translatewiki.net.
Change-Id: I977297cdff050e320e752cb9c1ed9352109f9e7c
2014-05-09 22:22:53 +00:00
Translation updater bot babf182af7 Localisation updates from https://translatewiki.net.
Change-Id: I4d07e70d561baebf2538582ca6254fc1bcd12551
2014-05-08 20:49:05 +00:00
Translation updater bot 08725487ec Localisation updates from https://translatewiki.net.
Change-Id: If8d7db86202c43a840476af90c753affc43bf080
2014-05-07 20:01:56 +00:00
Translation updater bot ae9462eef3 Localisation updates from https://translatewiki.net.
Change-Id: I4fa4c535ce767f0c0ca5eae6e628292b90319b88
2014-05-06 19:54:07 +00:00
Translation updater bot a401715e4d Localisation updates from https://translatewiki.net.
Change-Id: Ida74259c5b41291e5e6aa27af8dde5dda8fcd53f
2014-05-05 20:20:29 +00:00
Translation updater bot 889109d6ba Localisation updates from https://translatewiki.net.
Change-Id: I5c3ddbc73ccc7d34592b721de3d9e5f88478950d
2014-05-04 20:09:15 +00:00
Translation updater bot 6130c361fb Localisation updates from https://translatewiki.net.
Change-Id: Idad1a271c57d6acd3f42f041d89a44821dc1f013
2014-05-01 20:21:28 +00:00
Translation updater bot d2b194921c Localisation updates from https://translatewiki.net.
Change-Id: I03edd97a258830670dbb6a9e053f8db0d19a5965
2014-04-30 20:44:16 +00:00
Translation updater bot 70692b5d13 Localisation updates from https://translatewiki.net.
Change-Id: Idaad4a8a4ebb26a1d6f2feb9d136c1907d1a8f1f
2014-04-29 19:38:14 +00:00
jenkins-bot 2d0bed10bf Merge "Add a wiki-file-name type for file names" 2014-04-29 17:17:15 +00:00
James D. Forrester fb34a07c02 Add a wiki-file-name type for file names
Bug: 52652
Change-Id: Ibe8d143abbb607eb71549536aaac6555528813cc
2014-04-28 13:21:53 -07:00
Translation updater bot cd18609470 Localisation updates from https://translatewiki.net.
Change-Id: Ibbc59583bf8b91bfedff577f0bc4096d7beb5b28
2014-04-28 20:15:17 +00:00
jenkins-bot 4f7fa2f424 Merge "Add 'suggested' status type for parameters" 2014-04-28 18:56:16 +00:00
James D. Forrester 5293a6d3da Add 'suggested' status type for parameters
This is a status for parameters which are not 'required' but are recommended
to be high value, if not always used, by downstream template users. This
commit does not add GUI-related changes to address this, as the interface
probably needs moving from checkbox- to dropdown-based status setting given
that there are now four, rather than three, mutually-exclusive statuses.

Change-Id: I104976e76d5ad6d586d9c818418ba6e16af53506
2014-04-28 11:45:44 -07:00
Translation updater bot 1369eb96c9 Localisation updates from https://translatewiki.net.
Change-Id: I5fab1d25cda715771b7ad8732612934143c05632
2014-04-27 20:33:30 +00:00
Translation updater bot ba2bc03682 Localisation updates from https://translatewiki.net.
Change-Id: I17f57dccbf345676562f4890567231a36ffad9a8
2014-04-25 19:44:42 +00:00
James D. Forrester 4f01e7c8b0 Convert en.json back to having tabs, not spaces
Also, move spec.templatedata.json to spec.templatedata.txt, because it's
not now (and has never been) valid JSON and is triping json-lint, blocking
merge.

Change-Id: I46d6d91b71a054b4523639252d7e6a3a181d84e5
2014-04-24 15:53:46 -07:00
Translation updater bot 291c11e528 Localisation updates from https://translatewiki.net.
Change-Id: If9d9a909f87f27307861e211a2e9770508a5d2cd
2014-04-24 19:37:27 +00:00
Translation updater bot 66018f08ff Localisation updates from https://translatewiki.net.
Change-Id: I0b3b699254a290dd2843462d8bedc1e172fda395
2014-04-16 17:02:15 +00:00
Translation updater bot 31eddea46a Localisation updates from https://translatewiki.net.
Change-Id: Ibd793f00fa750f506b2462bfe6c52fa8141cb355
2014-04-06 19:44:21 +00:00
Translation updater bot 8233e30127 Localisation updates from https://translatewiki.net.
Change-Id: I3b072138923b5678aa65f05ba172aade199bad28
2014-04-03 19:47:01 +00:00
Translation updater bot 12d48c9cac Localisation updates from https://translatewiki.net.
Change-Id: I32a44bb25083fd3a6e4909a1a46c0f3af3c68e9b
2014-04-01 19:52:00 +00:00
Translation updater bot 3d5821ae75 Localisation updates from https://translatewiki.net.
Change-Id: I76c87e8b02aa73f28b65412d0302fd926ad3e480
2014-03-31 20:17:29 +00:00
Translation updater bot 6309679a97 Localisation updates from https://translatewiki.net.
Change-Id: Ib01b4d37259b8ef1bc8e89fa75f47091e7a85be9
2014-03-30 20:15:17 +00:00
Siebrand Mazeland 255fc8225f Migrate to JSON i18n
Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: I6627353205c79a91da7615833ebfefe3316bff8d
2014-03-28 14:45:07 -07:00