Commit graph

24 commits

Author SHA1 Message Date
Translation updater bot d5efa6a033
Localisation updates from https://translatewiki.net.
Change-Id: I59f8b1d35a43f536be4f428469a13c9422e3cd09
2024-11-22 08:42:48 +01:00
Siddharth VP 55630cc5ea Implement copy buttons for code blocks
<syntaxhighlight> blocks with a boolean "copy" param will now have a
button next to them for copying the code to the clipboard. Not
applicable for inline code blocks.

Adapted from the mediawiki.org gadget written by Krinkle.

Bug: T40932
Change-Id: Ic8ef030514c3b6dd2cb9b137f032588869ab3762
2024-09-11 01:31:14 +05:30
Translation updater bot 1ae9ab51ce Localisation updates from https://translatewiki.net.
Change-Id: Id7cfbadf64563bc52968dd4e58bba4ca1914b061
2022-02-28 14:29:29 +01:00
Translation updater bot 0a2f128e33 Localisation updates from https://translatewiki.net.
Change-Id: Iedea634dbb3641c0752632b073e1e73f9e0afae9
2022-02-11 08:42:21 +01:00
Translation updater bot 6b6001c5f9 Localisation updates from https://translatewiki.net.
Change-Id: Iacf4ee294ce7f3b977fba5fab7f54d7b76dacb73
2022-02-01 08:27:33 +01:00
Translation updater bot 8f58455186 Localisation updates from https://translatewiki.net.
Change-Id: Ie40787e30c2dcef9d81215ebe825f27a70d3cd0a
2020-04-13 09:02:40 +02:00
DannyS712 f5b61126da Add tracking categories when deprecated syntax is used
When the `enclose` attribute is used `syntaxhighlight-enclose-category`
is added, and when a <source> tag is used, the
`syntaxhighlight-source-category` is used.

Parser tests verify the tracking category is added when appropriate.

Bug: T241636
Bug: T237267
Change-Id: I7a21c635de426ab024703c04acdc6fa2184daedb
2020-04-09 19:18:32 +00:00
Translation updater bot 019734aef5 Localisation updates from https://translatewiki.net.
Change-Id: I2fb07c7fb312aba9237bae8ac7d62d9ce4c27465
2020-04-07 08:50:37 +02:00
Translation updater bot e08865087c Localisation updates from https://translatewiki.net.
Change-Id: I6bc88751e47502ddd1b16004c35ff6dab47efb72
2017-05-18 22:58:04 +02:00
Ed Sanders f53d8c2e6e VE: Support editing start line parameter
Change-Id: I869ac413f4d7581026353e2d54f9d22c6b6290f5
2017-05-15 09:49:42 +01:00
Translation updater bot 8dad6f06e8 Localisation updates from https://translatewiki.net.
Change-Id: I2374613cd533686061ab49dc786eb6eb0316b760
2015-08-29 21:47:13 +02:00
Alex Monk 0a59b4ccb1 VE integration: Provide a combobox for language input
Bug: T103756
Change-Id: Ic84c5afb1cf83cce6fa521a99f5fee242bc610b1
2015-08-27 03:24:07 +01:00
Ed Sanders d38d9c1994 Add VisualEditor support for 'line' attribute
The line attribute sets line='1', as both Parsoid and VE
expect proper XML attributes.

Change-Id: I10b5717fcc4b8e84a3030425a4a6a9a865272830
2015-07-06 22:09:23 +01:00
Translation updater bot 1b3f2c4dd1 Localisation updates from https://translatewiki.net.
Change-Id: I40b6725bafcb9fe210d9e4d09c4ca1e55ab6b86e
2015-07-05 22:01:39 +02:00
Ori Livneh f41f26a85c Add a tracking category on pages that contain invalid <syntaxhighlight> attributes
Do this by having SyntaxHighlight_GeSHi::highlight() return a Status object
rather than a plain string, and by making it the highlight method's job to look
up a lexer for a language.  The actual warning text is not outputted anywhere
yet; deferring that for a follow-up patch.

Bug: T103586
Change-Id: Id839f925a56ab09a8423958327b9aefd7207ef37
2015-07-02 23:14:34 -07:00
Translation updater bot c002db819f Localisation updates from https://translatewiki.net.
Change-Id: I7403992f2054fdf1973f9ccd33b08c37cdf2d494
2015-06-26 21:58:13 +02:00
Ed Sanders b403b58682 Add VisualEditor support
Most functionality is provided by MWExtensionNode & MWLiveExtensionInspector.

Bug: T45126
Bug: T60388
Bug: T69515
Change-Id: If502a8bd2199b6ceb824e02fdfd13c81c39b53b4
2015-06-24 22:43:42 +01:00
Ori Livneh c134686c4f Follow-up for I07446ec98: update i18n messages for Pygments switch
Change-Id: Idb7e03aeeb3e428f6767c58b92c10b1b7ea58524
2015-06-24 17:13:12 +00:00
James D. Forrester 0f8b00c709 build: Use npm for repo testing (jshint, jsonlint, jscs, banana)
Add three qqq messages to make it pass.

Change-Id: I77166ad79d8ad1497032ca7e571258bfc1850037
2015-05-29 17:21:59 +00:00
Translation updater bot dcf27813a4 Localisation updates from https://translatewiki.net.
Change-Id: Iea83790f77e580a5f9481872e29e2a73b0db5b3b
2015-05-18 22:22:39 +02:00
Translation updater bot ffc64ed2b0 Localisation updates from https://translatewiki.net.
Change-Id: Icdde6fbd22c9b6e59f7a38ecf040049e15fe491a
2015-03-24 22:34:50 +01:00
Translation updater bot eac73fbee5 Localisation updates from https://translatewiki.net.
Change-Id: I68868c5c74f833d2f3b7d5419e1cb572f06fa19e
2014-10-29 22:07:46 +01:00
Translation updater bot 5c3eb066b8 Localisation updates from https://translatewiki.net.
Change-Id: I2f504948ec2352005c7a473d107f0a61526b1425
2014-04-16 15:54:08 +00:00
Siebrand Mazeland 5835d5f052 Migrate to JSON i18n
Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: I28967ff1b8fc990bb5bcc88cd49a73c681dcfc91
2014-03-28 22:39:14 +01:00