Commit graph

740 commits

Author SHA1 Message Date
Ed Sanders 5c7f50de62 Show param label in list if available
It looks like this is how the code was originally intended,
but 'name' and 'key' are the same thing.

Move the key to the 'alias' list where CSS already exists to
colour it differently.

Change-Id: Ieade122633cec14203f7959121e9cd7250bb9f7a
2016-02-21 02:43:54 +00:00
Ed Sanders beaea898c2 Make main template param select widget drag/drop re-orderable
Not having two lists of all the parameters seems like a good idea.

Depends-On: I30d1f7f56230d73eb47ccbf9881c0b952b15bd89
Change-Id: I5b2ba39fb7b98fc50816f63bc4fbfc9fe25e02a5
2016-02-21 02:43:48 +00:00
Alex Monk 3d4e71956c Make 'required' bold in the TD documentation block
Bug: T104674
Change-Id: Ie3bb75a3e1df9096f911615ecf362fe16625d8ed
2016-02-21 01:59:03 +00:00
Translation updater bot 02e39e42d1 Localisation updates from https://translatewiki.net.
Change-Id: I3814399a319607d688a3f02e405fac71e0b9eaae
2016-02-20 22:24:56 +01:00
Ed Sanders 4bb9bb317a Fix splice re-ordering when moving items forward
Bug: T127203
Change-Id: I91824a4dff3faf9fc401e4824e568df3e891ea3f
2016-02-20 17:48:34 +00:00
Ed Sanders 6ac0d165b1 Fix documentation
Change-Id: I8c12afd193679762439ed3b189a8474ccd5b4c03
2016-02-20 17:48:33 +00:00
Translation updater bot 52533eb1b4 Localisation updates from https://translatewiki.net.
Change-Id: I8237bfc2fe8baefcb5309ac28047640c804bcd53
2016-02-19 22:11:24 +01:00
Bartosz Dziewoński d9e70f4285 Use MenuOptionWidget rather than OptionWidget for MenuSelectWidget items
The current way surprisingly mostly works, but you're supposed to use
the matching class. This fixes some styling inconsistencies.

Change-Id: I3f8ce19b1f96cc051b7ac987fa211d1b5ee9cc71
2016-02-19 18:55:16 +00:00
jenkins-bot 56e191aacb Merge "Fix linting paths and resulting errors" 2016-02-19 18:29:01 +00:00
Ed Sanders 384c9af747 Update language search/result widget
Change-Id: I646d89aa1dddbd31577810f0a8a1d8ddbabe3baa
2016-02-19 10:26:17 -08:00
Ed Sanders ce3ce51558 Fix linting paths and resulting errors
Change-Id: Ib415d306124df53be085e358e7b868aa1ced9fd1
2016-02-19 17:48:51 +00:00
Ed Sanders 2ea0e0e475 Fix case of class names
Change-Id: I74214eac20a52a3fd1f2e520522fbb5527421a2d
2016-02-19 13:16:29 +00:00
Translation updater bot 659fca15f6 Localisation updates from https://translatewiki.net.
Change-Id: Icf9c55539ffaa223ffd1478df0424e353f6e20bc
2016-02-17 22:51:35 +01:00
Translation updater bot c985046ac6 Localisation updates from https://translatewiki.net.
Change-Id: I6b61d170aac74a5eb658f25196e3733bbb3f300e
2016-02-16 23:12:59 +01:00
Translation updater bot 38c050e48d Localisation updates from https://translatewiki.net.
Change-Id: Ia8643b31098197ffa11ab7dc94a5dfaeec726586
2016-02-15 21:42:02 +01:00
jenkins-bot 7a5a935408 Merge "TemplateDataBlob: Avoid encoding and compressing json twice" 2016-02-13 10:17:19 +00:00
Translation updater bot ccb5f6f0c7 Localisation updates from https://translatewiki.net.
Change-Id: Idfeba06de25a4489f819f84f3c640f1e458142bb
2016-02-10 21:11:30 +01:00
Translation updater bot 38f71e992e Localisation updates from https://translatewiki.net.
Change-Id: Id6a6802f9efed40d19546aa7c02c59d96ecc4a4b
2016-02-08 22:16:35 +01:00
Translation updater bot 8c955ccfd6 Localisation updates from https://translatewiki.net.
Change-Id: Ia4cbf75334b3c1e35d3ad4c30a0f1158beef701f
2016-02-05 21:53:57 +01:00
Translation updater bot 50b0daf3a2 Localisation updates from https://translatewiki.net.
Change-Id: I12c263e28f3a1b364b3b3a7fffea5fa1d15fdd53
2016-02-04 22:17:00 +01:00
cenarium ab4ede9015 TemplateDataBlob: Avoid encoding and compressing json twice
The json and compressed json are saved in-class to avoid
reencoding and compressing twice (this is called both in
parse and to set the 'templatedata' property). In case
of status failure, they are set to null since the data
is reinitialized.

Change-Id: I3976e48b9c2cc914960271485e7c8c59ba36aa57
2016-02-04 00:00:29 +01:00
Translation updater bot c1f1b0508b Localisation updates from https://translatewiki.net.
Change-Id: I64121de09276dd46b4ad7b6229073b8458fb20c8
2016-01-30 22:49:37 +01:00
Translation updater bot 07ed36b473 Localisation updates from https://translatewiki.net.
Change-Id: I6f0abee543fc209237aa3e42f338fb4f65f4abef
2016-01-28 21:10:27 +01:00
Translation updater bot b78ececb15 Localisation updates from https://translatewiki.net.
Change-Id: Id754f051544519d8c9c87fe9283e4e59fbbc08d6
2016-01-27 21:45:14 +01:00
jenkins-bot 2b5546d6cb Merge "Don't restrict format parameter in the API" 2016-01-26 17:40:56 +00:00
jenkins-bot a2eb417304 Merge "Fix mw.TemplateData.SourceHandler.prototype.extractParametersFromTemplateCode return doc" 2016-01-26 03:36:26 +00:00
jenkins-bot ba2565dec3 Merge "Don't show warning about already-known parameters that weren't imported" 2016-01-26 02:27:39 +00:00
jenkins-bot a99d959959 Merge "Try to put TemplateData in an existing noinclude at bottom of the page" 2016-01-25 12:11:58 +00:00
Translation updater bot cd6cb9113b Localisation updates from https://translatewiki.net.
Change-Id: I551e65a305ba1bd62b8551fca0e84809f4060123
2016-01-23 22:29:38 +01:00
Alex Monk 423bc5c33d Fix mw.TemplateData.SourceHandler.prototype.extractParametersFromTemplateCode return doc
Does not return a promise

Change-Id: I790fb92542abca9768d0e55cfe79906e22886c1d
2016-01-20 22:34:00 +00:00
Alex Monk d723905034 Don't show warning about already-known parameters that weren't imported
Bug: T124223
Change-Id: Id102799b925ebaec6a1d819f1d2294982c24e407
2016-01-20 22:29:45 +00:00
Translation updater bot 89392b9d9d Localisation updates from https://translatewiki.net.
Change-Id: I615a7ea6bf35f53d78cefe0354708e7cd60c961b
2016-01-20 21:08:47 +01:00
Alex Monk 893eaad6af Don't restrict format parameter in the API
Bug: T91455
Change-Id: I847a0b70d437d6789f32e40199ea602ca3bfa6c8
2016-01-19 22:03:41 +00:00
Translation updater bot 8b55249ade Localisation updates from https://translatewiki.net.
Change-Id: I74d96db03bfa23b4c80a1619b45cdd76e11c7242
2016-01-19 21:21:32 +01:00
Alex Monk 317e9a9e84 Try to put TemplateData in an existing noinclude at bottom of the page
Bug: T96537
Change-Id: I947577179fa05c8f095906d6a36743c94dfc7b78
2016-01-18 21:51:19 +00:00
Translation updater bot 4676b3951d Localisation updates from https://translatewiki.net.
Change-Id: I0b37e8fe24391acd14446ca91c161adb4c4cfdec
2016-01-18 21:37:47 +01:00
Translation updater bot 67b7da4ef9 Localisation updates from https://translatewiki.net.
Change-Id: Icde8b634afe9bdca91a7d8ed433feb8a2b6cef63
2016-01-16 21:59:14 +01:00
jenkins-bot 2876b16208 Merge "Show message about related pages (e.g. /doc) as a warning, not an error" 2016-01-15 06:21:50 +00:00
Translation updater bot 73ad3941a6 Localisation updates from https://translatewiki.net.
Change-Id: Ia891f0d7e303b397f4d30cb7432fc6fd53309ba0
2016-01-14 22:25:43 +01:00
Translation updater bot c8b8da6438 Localisation updates from https://translatewiki.net.
Change-Id: I4180053f77824e8880d1fe905f21488f6a6e954e
2016-01-13 23:31:35 +01:00
Alex Monk ebbec6ad1c Show message about related pages (e.g. /doc) as a warning, not an error
Bug: T103753
Change-Id: I31eb0e159aeb5154ce2b507e8dfe19db0c1e2dfd
2016-01-13 18:22:55 +00:00
jenkins-bot a9a56605ba Merge "Make ext.templateDataGenerator.ui depend on ext.templateData" 2016-01-13 17:43:47 +00:00
Alex Monk 68423b1a69 Make ext.templateDataGenerator.ui depend on ext.templateData
To get the correct styles... Alternatively, I suppose we could split the
style file?

Bug: T119361
Change-Id: Idc2d35cd929b239448c9c317c89d70f174a4eb05
2016-01-13 05:06:46 +00:00
jenkins-bot 4f081392f2 Merge "Prompt user to confirm closing modified TemplateData edit dialog" 2016-01-12 23:48:31 +00:00
Translation updater bot 03051531d9 Localisation updates from https://translatewiki.net.
Change-Id: Idf5a4a0c115000c3c542a722b46761f14fc2d412
2016-01-12 22:48:35 +01:00
jenkins-bot 89b3889005 Merge "Avoid adding an extra blank line before <noinclude>" 2016-01-12 20:00:45 +00:00
Alex Monk 11f874975e Update filename of specification in TemplateDataBlob::parse comment
Change-Id: Ibddd3834ea870eb6e817458dd495b5dea762e60a
2016-01-12 19:44:17 +00:00
Alex Monk 334b9661b0 Avoid adding an extra blank line before <noinclude>
Bug: T86917
Change-Id: I44209ca4549f6eb40f5ba5d94d81b59f8a75fa79
2016-01-12 18:47:53 +00:00
Alex Monk cc6487498b Prompt user to confirm closing modified TemplateData edit dialog
Depends on Ieaf19fe4485b679e0ee21d16f8f2e0693808f386 to take effect with the
escape key. Otherwise only handles the visible 'Cancel' button.

Bug: T106382
Change-Id: Ibc55727fd6a5becfe10b4e74cae5e573d110575d
2016-01-12 17:43:50 +00:00
Translation updater bot 59746bbff5 Localisation updates from https://translatewiki.net.
Change-Id: I971b00f62eaf8e0511be44924a996c36ee679eae
2016-01-10 23:14:12 +01:00