User:Codename Noreste/common.js: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
That other piece did not work. |
Removed that block highlighter script but updated the Selective Rollback options. |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
// Selective Rollback ([[User:Dragoniez/Selective Rollback.js]]) |
// Selective Rollback ([[User:Dragoniez/Selective Rollback.js]]) |
||
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User%3ADragoniez%2FSelective%20Rollback.js&action=raw&ctype=text/javascript'); |
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User%3ADragoniez%2FSelective%20Rollback.js&action=raw&ctype=text/javascript'); |
||
window.selectiveRollbackConfig = { |
window.selectiveRollbackConfig = { |
||
markBot: false, |
|||
selectiveRollbackConfig.markBot = false; |
|||
watchPage: false, |
|||
selectiveRollbackConfig.confirm = 'always'; |
|||
watchExpiry: 'indefinite', |
|||
confirm: 'always', |
|||
mobileConfirm: 'always', |
|||
checkboxLabelColor: 'orange' |
|||
}; |
|||
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3AAnimum%2Fmassdelete.js&action=raw&ctype=text/javascript'); |
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3AAnimum%2Fmassdelete.js&action=raw&ctype=text/javascript'); |
||
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3AIngenuity%2FAbuseFilterContribs.js&action=raw&ctype=text/javascript'); |
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3AIngenuity%2FAbuseFilterContribs.js&action=raw&ctype=text/javascript'); |
||
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ASuffusion_of_Yellow%2Fbatchtest-plus.js&action=raw&ctype=text/javascript'); |
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ASuffusion_of_Yellow%2Fbatchtest-plus.js&action=raw&ctype=text/javascript'); |
||
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ASuffusion_of_Yellow%2FfilterDiff.js&action=raw&ctype=text/javascript'); |
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ASuffusion_of_Yellow%2FfilterDiff.js&action=raw&ctype=text/javascript'); |
||
⚫ | |||
⚫ | |||
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ASuffusion%20of%20Yellow%2Ffilter-highlighter.js&action=raw&ctype=text/javascript'); |
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ASuffusion%20of%20Yellow%2Ffilter-highlighter.js&action=raw&ctype=text/javascript'); |
||
⚫ | |||
⚫ | |||
⚫ | |||
window.filterHighlighterConfig = { |
window.filterHighlighterConfig = { |
||
// If you find the default highlighting ugly, you can substitute your own stylesheet here |
// If you find the default highlighting ugly, you can substitute your own stylesheet here |
||
// If you prefer no highlighting at all, use the empty string ("") |
// If you prefer no highlighting at all, use the empty string ("") |
||
style : " |
style : "", |
||
// Change this to true to highlight the entire [[Special:AbuseFilter/nnn]] page. |
// Change this to true to highlight the entire [[Special:AbuseFilter/nnn]] page. |
||
// Mostly intended for EFMs, as this will make it impossible to forget that |
// Mostly intended for EFMs, as this will make it impossible to forget that |
||
// you're editing a filter that's set to disallow. |
// you're editing a filter that's set to disallow. |
||
style_editor : |
style_editor : false, |
||
// Show title text (tooltip). Set to false for the default "Special:AbuseFilter/123" |
// Show title text (tooltip). Set to false for the default "Special:AbuseFilter/123" |
||
Line 29: | Line 35: | ||
cache_seconds : 30 * 60 |
cache_seconds : 30 * 60 |
||
}; |
}; |
||
importScript('User:Kiteretsu/AjaxBlock.js'); // Backlink: [[User:Kiteretsu/AjaxBlock.js]] |
|||
importScript('User:Kiteretsu/DiscussionCloser.js'); // Backlink: [[User:Kiteretsu/DiscussionCloser.js]] |
|||
⚫ |
Latest revision as of 18:11, 24 November 2024
// Selective Rollback ([[User:Dragoniez/Selective Rollback.js]])
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User%3ADragoniez%2FSelective%20Rollback.js&action=raw&ctype=text/javascript');
window.selectiveRollbackConfig = {
markBot: false,
watchPage: false,
watchExpiry: 'indefinite',
confirm: 'always',
mobileConfirm: 'always',
checkboxLabelColor: 'orange'
};
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3AAnimum%2Fmassdelete.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3AIngenuity%2FAbuseFilterContribs.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ASuffusion_of_Yellow%2Fbatchtest-plus.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ASuffusion_of_Yellow%2FfilterDiff.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ASuffusion%20of%20Yellow%2Ffilter-highlighter.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ASuffusion of Yellow%2FfilterNotes.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ASuffusion_of_Yellow%2FfilterTest.js&action=raw&ctype=text/javascript');
mw.util.addPortletLink('p-Navigation', '/wiki/Special:AbuseLog', 'Abuse log');
window.filterHighlighterConfig = {
// If you find the default highlighting ugly, you can substitute your own stylesheet here
// If you prefer no highlighting at all, use the empty string ("")
style : "",
// Change this to true to highlight the entire [[Special:AbuseFilter/nnn]] page.
// Mostly intended for EFMs, as this will make it impossible to forget that
// you're editing a filter that's set to disallow.
style_editor : false,
// Show title text (tooltip). Set to false for the default "Special:AbuseFilter/123"
show_title: true,
// Allow filter information to be up to this many seconds old.
// Set to a much larger value for slow connections. Set to 0 if you don't mind
// downloading an extra 140K every time you visit a page that mentions filters
cache_seconds : 30 * 60
};