Commit graph

60 commits

Author SHA1 Message Date
Translation updater bot b61d4e993f Localisation updates from http://translatewiki.net.
Change-Id: I1a78d98f3ee8c752b2e8eb19733464edf106a8a1
2013-03-28 19:15:50 +00:00
Translation updater bot 5d0f0b78fd Localisation updates from http://translatewiki.net.
Change-Id: I2b576cbf378b83458289a361f779815ac1acf9aa
2013-03-27 21:04:31 +00:00
Translation updater bot 5d65a44317 Localisation updates from http://translatewiki.net.
Change-Id: I7059c88d1729678dda479000eb3bbab1a3219d30
2013-03-25 20:13:05 +00:00
Translation updater bot f9b074ed2e Localisation updates from http://translatewiki.net.
Change-Id: I93e649164bc4e180445aa489c18219a5655907e3
2013-03-22 20:21:21 +00:00
Translation updater bot 74314a5761 Localisation updates from http://translatewiki.net.
Change-Id: I0451bbbcc98933abdab702d2004ec11e66ae99f1
2013-03-21 22:43:58 +00:00
Translation updater bot 4affa728c8 Localisation updates from http://translatewiki.net.
Change-Id: I62fa4d8943609e89d51cf6f3f59380fc5efb42b4
2013-03-20 21:02:08 +00:00
Translation updater bot 9cb8d38371 Localisation updates from http://translatewiki.net.
Change-Id: Iaa60f91f5014274616e54f5f8ab218a40097f279
2013-03-19 21:44:46 +00:00
Translation updater bot fe7dd60fb9 Localisation updates from http://translatewiki.net.
Change-Id: Ica51f2858e35ecd81ca8c687ad7b2581c8855814
2013-03-18 21:08:33 +00:00
raymond 5abfff9f0a Consistency tweak in preparation for adding extension to translatewiki.net
* Remove full stop from description message
* Remove TitleCase

Change-Id: Iab58e92e2a3a5c77cfd1cd7eba6f77f01d396aff
2013-03-15 14:41:38 +01:00
Timo Tijhof b7080c5f90 Initial TemplateData commit
Registers a parser tag <templatedata> that should have a JSON
blob as content. The blob is then validated and normalised when
MediaWiki parses the page (e.g. during save and preview).

If there are validation errors, the save is aborted from the
extension hook and an error is displayed.

If all goes well, the normalised blob is stored in the database
(which can be retrieved through the API). And an HTML
representation of the template parameters is returned to the
wikitext parser to show where the <templatedata> was in the page.

The blob format is specified in spec.templatedata.json and
is validated in TemplateDataBlob::parse.

Bug: 44444
Change-Id: Icf305892a9512545a63f5a5280cc0d340c61585f
2013-03-14 19:19:55 +00:00