Commit graph

6 commits

Author SHA1 Message Date
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