MediaWiki:ImageAnnotatorConfig.js

!function{var e={viewingEnabled:function{var e=mw.config.get("wgAction");return 0<=mw.config.get("wgNamespaceNumber")&&!mw.config.get("wgIsMainPage")&&("view"==e||"purge"==e||"submit"==e)},editingEnabled:function{var e=mw.config.get("wgAction"),t=mw.config.get("wgNamespaceNumber");return("view"==e||"purge"==e)&&location.href.search(/[?&](diff|oldid)=/)<0&&(!(2!=t&&3!=t||!mw.config.get("wgUserName")||0!==mw.config.get("wgTitle").replace(/ /g,"_").indexOf(mw.config.get("wgUserName").replace(/ /g,"_")))||0<=(mw.config.get("wgUserGroups").join(" ")+" ").indexOf("confirmed "))},mayDelete:function{return!0},emptyDeletionReasonAllowed:function{var e=" "+mw.config.get("wgUserGroups").join(" ")+" ";return 0<=e.indexOf(" sysop ")||0<=e.indexOf(" rollbacker ")},mayBypassDeletionPrompt:function{return 0<=(" "+mw.config.get("wgUserGroups").join(" ")+" ").indexOf(" sysop ")},thumbsEnabled:function{return!0},generalImagesEnabled:function{return!0},sharedImagesEnabled:function{return!0},inlineImageUsesIndicator:function(e,t,n,o,a,i){return i&&!t||n.width<250&&n.height<250&&(n.width<o.width||n.height<o.height)&&10 object. Your browser does not have this object or does not allow it to be used (in Internet Explorer, it may be in a switched off ActiveX component), and thus you cannot modify annotations. We\'re sorry for the inconvenience. '}}};e.viewingEnabled&&jQuery(function{ImageAnnotator.install(e)})};