Commit graph

293 commits

Author SHA1 Message Date
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
James D. Forrester 64a39ae460 Add a grunt checker for jshint, jscs, csslint, and banana and pass them
There was a pre-existing jshint config (.jshintrc) file that this upgrades based
on the equivalent files for VisualEditor and OOjs UI.

Change-Id: I3ecb0e65cc7ff090b7457be895917fbd8b8afd18
2014-06-03 20:16:18 -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