mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-18 08:40:49 +00:00
0fc40f71c5
MobileFrontend extension is currently tracking watched/temp-watch css classes and applying animations to the "watch" event. This patch starts adding temp-watched accordingly now that the expiry is part of the event's data. Note: this patch does not fix the lack of animation when transitioning from half-star to empty-star or on page-load when the page is temporarily watched but it fixes the awkward angle the half-star icon was left in when transitioning from a full-star to a half-star Bug: T262862 Change-Id: I1c8cb9c33cda76b87b6a9f15e408d88edbf61d93
14 lines
523 B
JavaScript
14 lines
523 B
JavaScript
// Since tests.minerva.scripts does
|
|
// not pull in the entire module skins.minerva.scripts
|
|
// we have to stub certain templates to make it appear like its been loaded.
|
|
mw.template.add( 'skins.minerva.scripts', 'IssueNotice.mustache', '' );
|
|
module.exports = [
|
|
require( './downloadPageAction.test.js' ),
|
|
require( './page-issues/parser.test.js' ),
|
|
require( './AB.test.js' ),
|
|
require( './page-issues/index.test.js' ),
|
|
require( './UriUtil.test.js' ),
|
|
require( './TitleUtil.test.js' ),
|
|
require( './watchstar.test.js' )
|
|
];
|