Commit graph

8 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
mareikeheuer 1eb405eb54 Convert Cite extention to ES6
Bug: T343220
Change-Id: I769f0bfaa5af14d6ea4861ea738b44c98feb6193
2023-08-23 12:39:29 +00:00
WMDE-Fisch 6dda36a1e7 Improve a11y support on backlinks
This changes the a11y support on the main backlinks by introducing the usage
of title and aria-labels. The support for these elements increased a lot since
the topic was first tackled and seems the appropriate way to go.

A new message was introduced for the link that will be set when directly
coming from a clicked refrence to emphasize that the can jump back to where
he came from.

Bug: T206323
Change-Id: Ifa56d41bcdb8100e19f29619796b62bb3c886d2f
2018-11-26 11:36:26 +01:00
Ed Sanders a589dbe636 Remove obsolete aliases from closures
Bug: T208951
Change-Id: Idd6bc36b116af81827b4440b4c8ec3da94e1486f
2018-11-13 14:43:45 -08:00
Ed Sanders 3a2b025e07 Convert bugzilla numbers to phab task numbers
Change-Id: I30e8c8d9eaff47185a61a093787cdfd25b3889d8
2018-09-12 16:48:17 +00:00
Paladox 6564ed9fb7 Update packages
Update grunt-banana-checker to 0.4.0

Update grunt-jsonlint to 1.0.6

Update grunt-jscs to 2.5.0

Also support looking into sub folders for jshint and jscs.

Also fix some js code so

Replace

} ) ( mw, jQuery );

with

}( mediaWiki, jQuery ) );

Also remove a blank message that should not be there in gu.json

Also remove two blank messages in tl.json.

Change-Id: Ib8390de6fd6adfc4a9ad22c48c7872aac332d4ae
2015-12-19 09:52:30 +00:00
James D. Forrester 549e95ee5f build: Test JS code with jshint and jscs via npm
Change-Id: I4d20af87b900d10c20f1a2c3fff09dc3425d2e55
2015-11-18 16:54:55 -08:00
Derk-Jan Hartman 05cb5cc1a0 Cleanup style RL modules for Cite
Move the JS which is purely for accessibility purposes into a separate
JS RL module named ext.cite.a11y. Move all pure CSS, which is not dependant
on accompanying JS into a separate ext.cite.styles module

Bug: T101559
Change-Id: I58adcfbcf9af2bb3b6d5dabb6c38c42af78e0416
2015-06-06 15:43:27 +02:00
Renamed from modules/ext.cite.js (Browse further)