Difference between revisions 40318 and 40319 on zhwikivoyage//<nowiki> // vim: set noet sts=0 sw=8: (function($){ /* **************************************** *** twinklebatchundelete.js: Batch undelete module **************************************** * Mode of invocation: Tab ("Und-batch") * Active on: Existing user pages * Config directives in: TwinkleConfig */ Twinkle.batchundelete = function twinklebatchundelete() { if( mw.config.get("wgNamespaceNumber") !== mw.config.get("wgNamespaceIds").user || !mw.config.get("wgArticleId") ) { return; } if( Morebits.userIsInGroup( 'sysop' ) ) { Twinkle.addPortletLink( Twinkle.batchundelete.callback, "批复", "tw-batch-undel", "反删除页面" ); } }; Twinkle.batchundelete.callback = function twinklebatchundeleteCallback() { var Window = new Morebits.simpleWindow( 800, 400 ); Window.setScriptName("Twinkle"); Window.setTitle("批量反删除"); var form = new Morebits.quickForm( Twinkle.batchundelete.callback.evaluate ); form.append( { type: 'textarea', name: 'reason', label: '理由:' } ); (contracted; show full) } } } }; })(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=40319.
![]() ![]() 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.
|