Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
/*jshint scripturl:true*/mw.util.addPortletLink('p-tb','javascript:importScript("MediaWiki:VisualFileChange.js");','Perform batch task','t-AjaxQuickDeleteOnDemand');/*jshint scripturl:false*//* Přidání funkce Glamorous, která by mi měla říct, kde všude se moje fotografie používají *//** * Add a link to the toolbox * to https://tools.wmflabs.org/glamtools/glamorous.php * glamorous - global checkusage tool for files in a category or of one user **//*global mw:false, jQuery:false*/if(mw.config.get('wgNamespaceNumber')===14){jQuery(document).ready(function(){'use strict';mw.util.addPortletLink('p-tb',"//tools.wmflabs.org/glamtools/glamorous.php?mode=category&doit=1&category="+encodeURIComponent(mw.config.get('wgTitle').split(" ").join("_")),"GLAMorous",'tb-glamorous','Check usage of files in this category');});}