Ed Sanders
e3659d4846
Prefer arrow callbacks
...
Change-Id: Ia05b27f7c71c33580ffd0718e3bbc673dd8b3d63
2024-05-01 14:11:54 +01:00
Ed Sanders
d42a0772bb
Move verbose copyright message to AUTHORS.txt
...
Avoids having to update the date in every file every year,
which we stopped doing.
Change-Id: I7bf7aa0937eef911e00772470091753a7b06fd3d
2023-12-01 16:07:39 +00:00
Ed Sanders
2a1076e295
Fix ContextItem documentation
...
* Be more specific about the type of context which a
context item belongs to.
* Make grammar clearer.
Change-Id: Ic480411cead80a1651c61ce9841dfbdc24a7b915
2023-07-10 14:32:12 +01:00
thiemowmde
c57e86d325
Mark config parameter as optional where it is
...
This goes along with I3f239e0 in Cite.
Change-Id: Ife88431ef810f978f5c4466ee82405fd4c791032
2023-02-02 10:47:32 +01:00
Ed Sanders
1b5550f485
Move var declarations inline
...
Mostly ve-mw/ui and a few left overs.
Change-Id: Idea0c94d974e661c49af8ad4545cd8fd98179ca8
2022-03-01 17:50:24 +00:00
Ed Sanders
2098292318
Use no-jquery/no-html to warn against writing HTML strings to the DOM
...
This forces us to comment when we are doing this deliberately.
Change-Id: Ide1bcb64f6c6076b48e88f1f27045bd93392f8a0
2021-12-16 01:28:42 +00:00
Ed Sanders
4d13a4f4ed
eslint: Enable no-jquery/no-append-html
...
Prevents accidentally treating plain text or user input
as HTML, which could be an XSS vulnerability.
Change-Id: Id4af48447a0907962a57340cb60aca08df9cc505
2021-12-16 02:04:11 +01:00
James D. Forrester
2c77e88d2c
doc: Bump copyright year for 2020
...
Change-Id: I30539877543dc2a57bd1428a00d10ac46d8fc294
2020-01-08 09:13:24 -08:00
Ed Sanders
2d4234fac8
Remove jQuery from ve.dm.MWLanguageVariantNode
...
Change-Id: I849cb6756171aa7bba43dc390cbd390b323328d2
2019-11-02 16:28:32 +00:00
Ed Sanders
ffa3742ce1
build: Update linters
...
Change-Id: I03d1a8e63b730ad98ec07ad5f630ba82698de5be
2019-11-01 16:20:22 +00:00
James D. Forrester
3c293ea00c
doc: Bump copyright year for 2019
...
Change-Id: I8991b97c980d4149f53eb5601036220ef3c0c440
2019-01-01 13:24:23 +00:00
Ed Sanders
f2a9ccd5bd
Avoid HTML string parsing
...
Identified using https://github.com/wikimedia/eslint-plugin-jquery/pull/12
Change-Id: I138e018fdc037d688e055eacddfdc5bfc2cc5abe
2018-11-21 18:47:19 +00:00
James D. Forrester
0a7a845a42
doc: Bump copyright year
...
Change-Id: I0b299c840ede1a1b8552cecfc70c5760ab036181
2018-01-03 17:45:07 +00:00
C. Scott Ananian
853ec0bc9c
Inspectors for editing LanguageConverter markup
...
Basic inspectors for editing. Changing from block to inline, or
adding "hidden" or "describe" flags not supported.
The UI layout for two-way and one-way rules could certainly be improved.
Bug: T49411
Change-Id: I5ce29e4bf47abf509afde0a57f64b5d1189f5185
2017-09-15 09:24:33 -07:00
C. Scott Ananian
26df4dca33
Doc update: use the full class name so JSDuck hyperlinks it correctly
...
Change-Id: I2c6f6a6c5b497767d7f7731c86cc145ed60b1deb
2017-09-14 11:07:07 -04:00
Bartosz Dziewoński
92cea19890
Use .length instead of .size() for jQuery objects
...
.size() is deprecated.
Change-Id: Ib28b7fede117de474efea705adf5dc2cdf8cb101
2017-09-06 14:52:40 +02:00
Bartosz Dziewoński
bff16fb352
ve.ui.MWLanguageVariantNodeContextItem: Fix condition for empty table
...
For magical HTML reasons, a `<tbody>` node is automatically inserted
inside the `<table>` node. Therefore the table always had exactly one
direct child, this check always failed and table was never shown.
Instead, count the rows.
Change-Id: Ia8a5387c3f605689ab1053c923952ec955b83253
2017-08-29 21:57:48 +02:00
C. Scott Ananian
c89a3059f8
Context item for LanguageConverter markup
...
Add a context item giving more information on language converter markup.
Bug: T49411
Change-Id: I3c91db84793a9a965dcb760253b24edee5d7bd23
2017-08-10 11:02:41 -04:00