Commit graph

2253 commits

Author SHA1 Message Date
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
addshore 40907dd714 Remove use of deprecated getPossibleErrors (since 1.24)
Change-Id: I30d3ccc834dcc7eaa9534cfb7c5c6047752f147b
2014-08-29 11:53:53 +01: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
Max Semenik 4551fd29f7 HHVM compatibility: objects don't have array-like interface
Bug: 66937
Change-Id: I6da1eb76afc26ebf724c089d7137c4e5106fbe7c
2014-07-18 00:30:19 +00: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
Max Semenik 66d7631388 @group TemplateData
Change-Id: I0cd2a2347a2785b3b621f9db6bcb5a91f47f768b
2014-07-07 15:54:42 -07: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
jenkins-bot 5ba3be9e9d Merge "Use <code> rather than <tt> elements for HTML5-ification" 2014-06-25 19:03:01 +00:00
James D. Forrester d333467ec2 Use <code> rather than <tt> elements for HTML5-ification
Apparently some Blackbery devices just silently chomp content inside HTML4-style
elements, so let's use the HTML5 version (which is meant to be preferred anyway).

Bug: 67084
Change-Id: I7e07fc2193b290a0e5c3912a678f53045ff1de32
2014-06-25 16:08:10 +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