Commit graph

2400 commits

Author SHA1 Message Date
Translation updater bot 6a4abee253 Localisation updates from https://translatewiki.net.
Change-Id: Ib4ffb871ffe8a229c9493b21ceae82a8a1f79883
2015-02-26 21:39:07 +01:00
Moriel Schottlender 9b3cf2b971 Delete boolean values if they are false
For values like 'deprecated', 'suggested' and 'required' make sure
that if they are marked as 'false' they are deleted from the result
string. If the original TemplateData already had either one of
those parameters marked as false don't delete so to avoid dirty
diffs.

Bug: T90283
Change-Id: I34c81d45e3967ce5398691d97d1a15908b8a2e57
2015-02-25 16:26:32 -08:00
Translation updater bot cfcffeead6 Localisation updates from https://translatewiki.net.
Change-Id: I8d7d295c241d6e3afbd032829b2d34b5ca617854
2015-02-25 22:58:13 +01:00
Translation updater bot 4024c8c53a Localisation updates from https://translatewiki.net.
Change-Id: Iaecb6818f6d71f9cd694bfe4074f93f4a5c2bb30
2015-02-24 22:04:07 +01:00
Translation updater bot 3d354342a1 Localisation updates from https://translatewiki.net.
Change-Id: Ia7d4efa3dc4944ad25aa02a8dc4d43859639d49f
2015-02-23 21:59:45 +01:00
Translation updater bot 8d44a26c57 Localisation updates from https://translatewiki.net.
Change-Id: I8acb7d84a0de6d812863f5bef7b47cb7b30f293c
2015-02-22 21:36:49 +01:00
Translation updater bot b6c28878c7 Localisation updates from https://translatewiki.net.
Change-Id: Ic4878ccd705e1db1a8dc0b3e603ab0bc1c2c19d4
2015-02-21 23:34:54 +01:00
Timo Tijhof 796e7b1a76 Correct jsduck documentation tags casing
Change-Id: Ic438492ea4e7060c3c5626ae9b5493f70cfb578e
2015-02-21 17:05:40 +00:00
James D. Forrester bad08f37da Convert to use extension registration
Bug: T87977
Change-Id: Ie1b822636289f9d7a1ec0a0b8175255441357cd3
2015-02-20 15:58:43 -08:00
James D. Forrester 4393235e66 Enable $wgTemplateDataUseGUI by default
It's stable enough now.

Change-Id: I45fd4d1f0d4eda4f9e55aeffb1dae4cc5c4ef553
2015-02-20 15:57:56 -08:00
jenkins-bot b4999fc40b Merge "Kill reference to $wgPageProps" 2015-02-20 23:56:12 +00:00
James D. Forrester 4596eb2e49 Kill reference to $wgPageProps
Apparently it hasn't existed since 2010.

Change-Id: I34ee6b0d2b95f1dbdf778585c3d6ef5ba3eeed64
2015-02-20 15:53:33 -08:00
James D. Forrester 2a0fd770d8 Update author credits
Change-Id: I93e2dd5ec4cdfad15a0ef150eb3a358f3f414f99
2015-02-20 23:47:18 +00:00
James D. Forrester cda06241f1 Move to wfUseMW for compatibility detection
Change-Id: I46f9c148ec14eae557c4c9c44832a368e2d72e82
2015-02-20 23:44:43 +00:00
Translation updater bot 589780afc5 Localisation updates from https://translatewiki.net.
Change-Id: Ibf4be2b8733afeb2d40b25169d7054d3eb93e225
2015-02-20 22:29:37 +01:00
Translation updater bot 1039a551ee Localisation updates from https://translatewiki.net.
Change-Id: Iac6d72dc410b3cdc8f6e85d598f93a55089a5d84
2015-02-19 22:11:07 +01:00
jenkins-bot ca94adc3a9 Merge "Allow adding a new parameter again" 2015-02-19 02:10:11 +00:00
Moriel Schottlender c525aef5b0 Allow adding a new parameter again
Due to a bug, new parameters could not be added unless they were
previously deleted. This commit fixes that bug.

Change-Id: I3784d1b3d650893f26abb63994d13c08b148075b
2015-02-19 02:02:15 +00:00
Moriel Schottlender d59d517339 Warn if a TemplateData block already exists in related page
Check if there already is a TemplateData block in a related
page and warn the user if that is the case. Related pages are
either the /doc page or, if we are already in a /doc page, its
immediate parent.

Bug: T74062
Change-Id: I83212f14ecd2dcc18970d21ad0d833b461405390
2015-02-18 17:56:13 -08:00
jenkins-bot c087fe89c7 Merge "Change global class variables to mw.TemplateData" 2015-02-19 01:49:42 +00:00
Moriel Schottlender e6e728b58e Change global class variables to mw.TemplateData
Nest all classes for the templatedata dialog in mw.TemplateData
namespace.

Change-Id: Ib514378c9fbc0fb993b3cbc2fa48ced920167226
2015-02-18 17:47:08 -08:00
Moriel Schottlender 4757a83f88 Display a message when no parameters are defined
If no parameters are defined in the TemplateData, have the table
display a specific message noting that.

Bug: T53429
Change-Id: I3c9ae31ef9eafab7f94325fcd58e14a3e45c9818
2015-02-18 17:43:16 -08:00
Moriel Schottlender ba0349866f Display TemplateData parameter table according to param order
Have the parameter order in the display table appear according to
the paramOrder setting. If the setting isn't explicitly set in the
TemplateData string, the parameters will be in order of appearance.

Change-Id: Ibbd5a7b28f722c51788b9ed0f5ac577902ce4b7a
2015-02-18 16:53:59 -08:00
Translation updater bot 985e8b56bf Localisation updates from https://translatewiki.net.
Change-Id: I1ae1fa3965936ee47c96fbdfe23b68b2c764e9f6
2015-02-18 22:06:37 +01:00
Translation updater bot 82986955b2 Localisation updates from https://translatewiki.net.
Change-Id: I79f53b348601b0135433e53d3e837c82f5b20cd8
2015-02-17 21:54:23 +01:00
Translation updater bot 7b6aa00ef8 Localisation updates from https://translatewiki.net.
Change-Id: I77889b4973f395d78d416620b84436aaabb74a82
2015-02-16 21:57:07 +01:00
Translation updater bot 4b1961dca9 Localisation updates from https://translatewiki.net.
Change-Id: I29fddfa00753297f22b9db1c2fd1d0a75bb33658
2015-02-13 22:21:58 +01:00
Translation updater bot 35b536763d Localisation updates from https://translatewiki.net.
Change-Id: I37eb0bd606604f43ef4ac8f234875e865f0de95b
2015-02-12 21:36:22 +01:00
Translation updater bot 7b7d4836ab Localisation updates from https://translatewiki.net.
Change-Id: Ic4c33fbe6628061ecf6335bea7c5228a328335a0
2015-02-11 22:29:12 +01:00
Translation updater bot 75d6906924 Localisation updates from https://translatewiki.net.
Change-Id: I86b58db28492346504e3f086367edc5252ff978a
2015-02-10 22:17:10 +01:00
Translation updater bot 229006ce38 Localisation updates from https://translatewiki.net.
Change-Id: I0759b0421b1403edfc085f437115c08bde6db828
2015-02-09 21:37:34 +01:00
Translation updater bot 672b6b6a58 Localisation updates from https://translatewiki.net.
Change-Id: Ieeb59d52baf4c71e6937fd4381a8904197ce52ef
2015-02-08 21:49:51 +01:00
Translation updater bot 0b3d8d5bb7 Localisation updates from https://translatewiki.net.
Change-Id: I91918cd3d938af317b870aa064bd40ce21dafea5
2015-02-07 21:48:50 +01:00
Translation updater bot 9dffcfbe51 Localisation updates from https://translatewiki.net.
Change-Id: Id8273c0b15d298ed7a941b5f29f01ce9ef2d3828
2015-02-06 21:07:40 +01:00
Translation updater bot 32c9190f0b Localisation updates from https://translatewiki.net.
Change-Id: I9a058b6478d5854867f642696588347ad7e05557
2015-02-05 23:07:20 +01:00
Translation updater bot 53bbb3b875 Localisation updates from https://translatewiki.net.
Change-Id: Iaf62250d795a663196d217b6c8a870136aa6c70b
2015-02-04 22:28:27 +01:00
jenkins-bot 39da09b516 Merge "Use ActionFieldLayout for language and auto-choose new lang on add" 2015-02-03 00:54:15 +00:00
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