Commit graph

2304 commits

Author SHA1 Message Date
jenkins-bot 109ee53725 Merge "Remove matching groups from regex" 2016-02-24 16:01:34 +00:00
Ed Sanders 2b5db1ed30 Remove matching groups from regex
Bug: T127898
Change-Id: I1cd040cafedf84785938564c5610be4601f41862
2016-02-24 15:59:59 +00:00
Ed Sanders 60883bf812 Included aliases in getAllParamNames
They are bound by they same uniqueness constraints as regular
parameter names.

Bug: T111320
Change-Id: Ia9c1593ec69e1aa97a07b769faf8c9f526dd2922
2016-02-24 15:13:20 +00:00
jenkins-bot 40ce492b34 Merge "Give drag handle an increased opacity on hover" 2016-02-23 01:15:50 +00:00
jenkins-bot 16b79b8e55 Merge "Param list style tweaks" 2016-02-23 01:15:47 +00:00
jenkins-bot 33080afe63 Merge "Keep JSON data as an object (not a string) until the last possible point" 2016-02-23 01:15:45 +00:00
jenkins-bot e8f877671c Merge "Show param label in list if available" 2016-02-23 01:15:43 +00:00
jenkins-bot bb13550785 Merge "Make main template param select widget drag/drop re-orderable" 2016-02-23 01:15:40 +00:00
Ed Sanders 9dd781c18b Give drag handle an increased opacity on hover
Change-Id: Ic7f283b4d20cc8ba35924d4f79be6ba7d3414a78
2016-02-22 17:12:08 -08:00
Ed Sanders f11893573a Param list style tweaks
Change-Id: I244b010a4b1a06e33b31d029afaabe9290440e0f
2016-02-23 01:10:49 +00:00
Ed Sanders 4810a7552e Keep JSON data as an object (not a string) until the last possible point
Conversion to wikitext string can all happen in one place, and tests
are cleaner.

Change-Id: I42adc454dad0dcbb33d9395f8ced0b07a6535fed
2016-02-23 01:10:39 +00:00
Translation updater bot 5e0cb92f8f Localisation updates from https://translatewiki.net.
Change-Id: I8d46ed123d58134c0ce0e184f1165f295369d0cb
2016-02-22 21:42:14 +01:00
Translation updater bot 13a7e66bc0 Localisation updates from https://translatewiki.net.
Change-Id: Ic4ceae3c71a56fdad4cdfd180bbe2368a15e65b7
2016-02-21 22:29:19 +01:00
James D. Forrester 4d90520c0e ApiTemplateData: Get rid of deprecated API documentation commands
Change-Id: Ib6b782f0aed2716b0b9ac00c68d79099b97268ce
2016-02-20 18:54:03 -08:00
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