Commit graph

2304 commits

Author SHA1 Message Date
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
jenkins-bot 459236923c Merge "Adapt the type input to work with the new ooui getMenu()" 2015-01-20 17:32:38 +00:00
Moriel Schottlender edf70972e1 Adapt the type input to work with the new ooui getMenu()
The type in the templatedata editor didn't update because the events
were attached to the previous ooui SelectWidget, and should be
adjusted to use the new methods.

Bug: T86922
Change-Id: I619d1cc69f672d2d03d7dafa97ba3d950de9d89d
2015-01-20 17:19:40 +00: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
jenkins-bot b4fb04a142 Merge "Add deprecated switch to the editor" 2015-01-17 03:45:11 +00:00
Ricordisamoa 9639d78e4f Show "no description" in italic grey also for deprecated parameters
Timo Tijhof's initial commit b7080c5f90
inexplicably caused the "mw-templatedata-doc-muted" class to be added
to the description field only when $paramObj->deprecated was false.

Bug: T69794
Change-Id: Iad86f5dbc48046faa09f39c339fce95db3331208
2015-01-16 23:58:05 +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
jenkins-bot 6d9b97fdf8 Merge "Trim aliases on save" 2015-01-15 01:47:55 +00:00
Moriel Schottlender 16cca5b1a2 Trim aliases on save
Make sure that aliases get trimmed and are not getting extra spaces
when saving a parameter.
NOTE: To prevent dirty diffs, only parameters that are 'touched'
(viewed or edited directly in the editor) will be trimmed. The editor
will keep all other "wrong" values that have trailing or preceding
whitespaces as-is.

Bug: T85330
Change-Id: I64ecb88a7d736fa36b5e6debf2e94b0d37152020
2015-01-12 15:29:38 -08:00
Translation updater bot e779af4312 Localisation updates from https://translatewiki.net.
Change-Id: Ibc13f6f37ed021d4d8a8b63518ad69a85d0d10c1
2015-01-12 22:39:26 +01:00
Ori Livneh 74b46c14d8 MWException -> Exception
Change-Id: I9ed1d8c331787718ed85ef61fdda4714247fc72b
2015-01-09 19:05:53 -08: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
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