Difference between revisions 40366 and 40367 on zhwikivoyage//<nowiki> (function($){ /* * vim: set noet sts=0 sw=8: **************************************** *** twinkleimage.js: Image CSD module **************************************** * Mode of invocation: Tab ("DI") * Active on: File pages with a corresponding file which is local (not on Commons) * Config directives in: TwinkleConfig */ Twinkle.image = function twinkleimage() { if (mw.config.get('wgNamespaceNumber') === 6 && !document.getElementById("mw-sharedupload") && document.getElementById("mw-imagepage-section-filehistory")) { ⏎ ⏎ Twinkle.addPortletLink(Twinkle.image.callback, "图权", "tw-di", "提交文件快速删除"); } }; Twinkle.image.callback = function twinkleimageCallback() { var Window = new Morebits.simpleWindow( 600, 300 ); Window.setTitle( "文件快速删除候选" ); Window.setScriptName( "Twinkle" ); (contracted; show full) pageobj.save(); } }; })(jQuery); //</nowiki> All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://zh.wikivoyage.org/w/index.php?diff=prev&oldid=40367.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|