Content added Content deleted
(Replaced content with "window.FastDeleteNoConfirm = true; mw.loader.load( '/w/index.php?title=MediaWiki:LastEdited.js&action=raw&ctype=text/javascript' ); mw.loader.load( '/w/index.php?title=Med...") |
(Update/normalise URLs) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
⚫ | |||
window.FastDeleteNoConfirm = true; |
|||
⚫ | |||
⚫ | |||
⚫ | |||
var waitForPageTools = function(selector, callback) { |
|||
if ($(selector).length) { |
|||
callback(); |
|||
} else { |
|||
⚫ | |||
waitForPageTools(selector, callback); |
|||
⚫ | |||
} |
|||
⚫ | |||
if ( $( '#mw-content .hgroup' ).length > 0 === true ) { |
|||
waitForPageTools('#cosmos-actionsList-list', function() { |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
}, function () { |
|||
$( '#profile-top, #mw-content #cosmos-articleHeader-actions' ).hover( function () { |
|||
⚫ | |||
}); |
|||
⚫ | |||
}); |
|||
⚫ | |||
⚫ | |||
} |
} |
Latest revision as of 20:54, 17 May 2023
mw.loader.load( '/MediaWiki:LastEdited.js?action=raw&ctype=text/javascript' );
if ( $( '#mw-content .hgroup' ).length > 0 === true ) {
mw.loader.load( '/MediaWiki:TagRightsManagement.js?action=raw&ctype=text/javascript' );
}
if ( $( '#mw-content a[href*="/Special:UpdateProfile"]' ).length > 0 === true ) {
$( '#profile-top, #mw-content #cosmos-articleHeader-actions' ).hover( function () {
$( '#mw-content #cosmos-articleHeader-actions' ).css( 'visibility', 'visible' );
}, function () {
$( '#mw-content #cosmos-articleHeader-actions' ).css( 'visibility', 'hidden' );
});
}