Commit graph

2363 commits

Author SHA1 Message Date
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
jenkins-bot 492f933bb8 Merge "Reset paramOrder widget on dialog setup" 2015-01-30 17:50:17 +00:00
Moriel Schottlender 3ad7e0b1e3 Reset paramOrder widget on dialog setup
Make sure that every time the dialog is open, the paramOrder
widget is emptied so it can be refilled fresh from the model.

Bug: T88126
Change-Id: I628c66710cb1f2f77385b16c627585350f357c45
2015-01-30 17:41:41 +00:00
Translation updater bot 54df9f5f6d Localisation updates from https://translatewiki.net.
Change-Id: I449afa72b7e2c7648f1c624f4bcd269c34e31acb
2015-01-29 23:07:29 +01:00
Moriel Schottlender d141e924f6 Use ActionFieldLayout for language and auto-choose new lang on add
Change the current hacky layout to the proper ActionFieldLayout,
and also make sure that when the user adds a language, the new
language is selected.

Change-Id: I737a1dcfc08bd47829661daf3c08e2e480670842
2015-01-29 11:58:56 -08: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
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