Commit graph

11 commits

Author SHA1 Message Date
Ed Sanders ed1501c577 JSDoc: Update jsdoc-wmf-theme to 1.0.1
Change-Id: I8237dd3aa9ad73dce59e9a9bf001d6af5de8e185
2024-06-10 16:15:48 +01:00
Ed Sanders 5a2154de38 ESLint: Enforce prefer-arrow-callback
Change-Id: I8d96b69e8c15bc8ad84cfb0c511396e5b3e7ac20
2024-06-03 12:31:33 +01:00
mareikeheuer ce2f65c555 Add 'Extends' section to Wikitext toolbar Help menu in Beta Cluster
Implemented addition of 'extends' feature information to WikiEditor Help menu, under the extends feature flag

Bug: T361088
Change-Id: Ide15286527227f61a48386384b96ac965c5dec42
2024-04-09 18:27:52 +02:00
Adam Wight ba137fba88 Clean up top-level docs
* Include the README in generated JS docs.
* Tweak stray top-level files to explain their role.  Note that the
wmf template forces these files to appear on the docs home page...

Bug: T358641
Change-Id: If421414340903991f50a06a76551bd7cd2904c5e
2024-03-12 12:23:18 +01:00
Fomafix 184fc92c3f Use 'html' instead of 'text' on headings in WikiEditor toolbar config
WikiEditor also uses 'html' instead of 'text' on headings. At the
moment both keys have the same behavior, but the original intended idea
is to have 'html' as already valid HTML (like on .parse()) and 'text'
on plain text which has to be escaped.

Change-Id: I1b4035a86ed56bfeb12d33b463d67099f7ae40e3
2023-12-22 13:29:39 +00:00
Fomafix 38b208b1cc Remove closure in JavaScript files
In this JavaScript files the closure is not needed to prevent
declarations of functions and variables in the global scope.

Change-Id: I169a74c69a5e00b86fbcc9f56886a3c4157ebd0f
2023-10-10 09:00:00 +00:00
Fomafix 87beb87ea5 Remove unnecessary $() callback
The hook 'wikiEditor.toolbarReady' gets fired after DOM ready.

Change-Id: Ic503c3dffcaa4301b3a3b2ab95fd3a5b4f8e7e88
2023-10-10 05:25:31 +00:00
mareikeheuer 1eb405eb54 Convert Cite extention to ES6
Bug: T343220
Change-Id: I769f0bfaa5af14d6ea4861ea738b44c98feb6193
2023-08-23 12:39:29 +00:00
Jon Harald Søby 99370a77dd Fix message parsing
Some of the methods used for mw.message were incorrect, which could
potentially lead to double escaping.

This follows up I4bc60570012bcd8eab5ad32c5004d06b3af42798

Change-Id: Iceb819c8fa6c46c234fc79d1c81bd3252440269c
2023-07-05 01:40:58 +02:00
Jon Harald Søby 2ae345ca4b Remove use of autoMsg in favour of using mw.message directly
Bug: T154891
Change-Id: I4bc60570012bcd8eab5ad32c5004d06b3af42798
2023-06-30 01:33:25 +02:00
Jon Harald Søby c66371b3d9 Move Cite-specific settings from WikiEditor
The WikiEditor extension has a button and some help text that
is only applicable if the Cite extension is enabled. Move
that (with some modifications) to the Cite extension instead.

Bug: T339973
Depends-On: I8256660f9c6886d6764b45735284e00308fc56e5
Change-Id: Ib3fdc897dd3330f69c5832003d4c3cb1e6dba2f3
2023-06-28 20:22:14 +02:00