Difference between revisions 40314 and 40315 on zhwikivoyage//<nowiki> // vim: set noet sts=0 sw=8: (function($){ /* (contracted; show full) statusdiv.style.padding = '15px'; // just so it doesn't look broken Window.setContent(statusdiv); Morebits.status.init(statusdiv); Window.display(); var statelem = new Morebits.status("抓取页面列表"); var wikipedia_api = new Morebits.wiki.api( '载入中…', query, function( apiobj ) { var xml Doc = apiobj.responseXML; var $pages = $(xml).find('page').filter(':not([missing])'); var list = []; $pages.each(function(index, page) { var $page = $(page); var title = $page.attr('title'); var isRedir = $page.attr('redirect') === ""; var $editprot = $page.find('pr[type="edit"][level="sysop"]'); (contracted; show full) pageobj.setCreateOption('nocreate'); pageobj.save(params.onsuccess); } }; })(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=40315.
![]() ![]() 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.
|