Commit graph

2320 commits

Author SHA1 Message Date
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
Translation updater bot ffd679756b Localisation updates from https://translatewiki.net.
Change-Id: Ia562df0ecdf0d15ffc48fdc8e38ee5424f287a6a
2016-01-07 23:38:24 +01:00
Translation updater bot 4bc8ce6b81 Localisation updates from https://translatewiki.net.
Change-Id: I7ee77936a54eeac892071ba563d6f7f6e97f5e7d
2016-01-05 22:30:25 +01:00
Kunal Mehta 1eae799476 build: Updating development dependencies
* jakub-onderka/php-parallel-lint: 0.9 → 0.9.2

Change-Id: Ie95b2a35404f5bd517462e7b2ea5e4e2d1244bfe
2016-01-05 10:41:10 -08:00
jenkins-bot 02ba6e39ea Merge "build: Updating development dependencies" 2016-01-04 03:19:06 +00:00
Kunal Mehta c495e23e57 build: Updating development dependencies
* mediawiki/mediawiki-codesniffer: 0.5.0 → 0.5.1

Change-Id: I65a03be53e75daacb4129f644c83880ca1584e69
2016-01-03 18:53:32 -08:00
Justin Du 800b3c4b54 Replace deprecated wfMsg* functions
Bug: T70750
Change-Id: I4b037f14c7a6fc7592c4d6c90afa3844fc60bf35
2016-01-03 19:57:14 -06:00
Translation updater bot a0feee14d7 Localisation updates from https://translatewiki.net.
Change-Id: I3c4aef97359fd5503d8a72227388aaf245c3d054
2016-01-01 20:06:07 +01:00
Translation updater bot 2fd3e92813 Localisation updates from https://translatewiki.net.
Change-Id: Ic72532e044f2d3e83c9f05dbb2ed8ef325f787a9
2015-12-30 21:45:27 +01:00
Kunal Mehta 8e4caaa69c build: Updating development dependencies
* grunt-jsonlint: 1.0.4 → 1.0.7

Change-Id: I97677abcf72a0fc079fdc6b21a1bf388c0b2a541
2015-12-29 11:57:02 -08:00
Translation updater bot d625dcc13e Localisation updates from https://translatewiki.net.
Change-Id: I9315f0c1ebb3911e5dc5d810eac1d8f120f580fe
2015-12-15 22:25:13 +01:00
Translation updater bot 4c31881387 Localisation updates from https://translatewiki.net.
Change-Id: I6b3a7e92479643f34518b57d88a92140f09085cb
2015-12-14 22:05:45 +01:00
Translation updater bot 7d11ef5f00 Localisation updates from https://translatewiki.net.
Change-Id: Iee7840335912258020946dc8ab0173b1b73def69
2015-12-13 22:23:07 +01:00
Translation updater bot bb2cd72191 Localisation updates from https://translatewiki.net.
Change-Id: Id5d6a7c2491a2ac6f29c726b16e36e50e3fc214b
2015-12-11 23:55:12 +01:00
Translation updater bot 6a775b729c Localisation updates from https://translatewiki.net.
Change-Id: I1884ad9b10a3249ef25b0b0b8157935e632d60a6
2015-12-10 22:59:58 +01:00
Translation updater bot cce8cf0849 Localisation updates from https://translatewiki.net.
Change-Id: I9647962e22c65519ff54ea6220a585b7845fbaf5
2015-12-09 21:42:43 +01:00
Translation updater bot 5f52241f6a Localisation updates from https://translatewiki.net.
Change-Id: I0869f0f1fd817a18b72e332b15b5c7044c447a6d
2015-12-07 23:15:19 +01:00
Translation updater bot 65991161dc Localisation updates from https://translatewiki.net.
Change-Id: I9eb03b84da990e916e2e2deebcce6d444f93389f
2015-12-06 21:45:31 +01:00
Translation updater bot f556059a99 Localisation updates from https://translatewiki.net.
Change-Id: I9d5541bed8cf43c23f21b05278a74b811a205fab
2015-12-03 23:17:27 +01:00
Translation updater bot 7bcc80eca7 Localisation updates from https://translatewiki.net.
Change-Id: Ic746d0778779281c401fbce365316293b8fadfd5
2015-12-01 21:36:19 +01:00
Translation updater bot 1b9d12966b Localisation updates from https://translatewiki.net.
Change-Id: Iefbc81fa15e0f5d175b7dd720673e223e6a11dc8
2015-11-28 21:48:33 +01:00