User talk:Lilyu/QuickDelete2.js

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

code to add to vector.js :

importScript('User:Lilyu/QuickDelete2.js');

//personal parameters :
//To watch user talk pages, to which you add tags
var AQD2WatchUserTalk = true;
//To watch file pages, to which you add tags
var AQD2WatchFile = true;
//Enable other buttons like "no source" etc
var AQD2Enhanced = true;
//Enable tracklist and specify page name;
var AQD2EnableTracklist = true;
var AQD2Tracklist = 'User:Lilyu/Tracklist';


addOnloadHook(function () { if ( wgNamespaceNumber == 6 ) install_Gadgets(); });


There is an error at line 101 an "," is left:, so unfortunately the script has never worked. -- πϵρήλιο 10:44, 25 October 2011 (UTC)[reply]

Legacy JavaScript[edit]

Template:JS migration Hello! This script has been detected as using deprecated parameters that need to be replaced with the updated version. Examples include addOnloadHook() needs to be replaced with $(); all wgGlobalVariables need to be properly gotten with mw.config.get( 'wgGlobalVariable' ); and addPortletLink needs to be called with mw.util.addPortletLink. Please see MW:ResourceLoader/Legacy JavaScript for details. Thank you. — {{U|Technical 13}} (etc) 22:10, 18 January 2015 (UTC)[reply]