User:Irukaza/js/patrolPlus.js:修订间差异

大小无更改 、​ 2021年2月10日 (星期三)
无编辑摘要
imported>=海豚=
(创建页面,内容为“"use strict"; $(() => { if (!["Recentchanges", "Watchlist"].includes(mw.config.get("wgCanonicalSpecialPageName"))) { return; } const api = new m…”)
 
imported>=海豚=
无编辑摘要
第44行: 第44行:
      }
      }
      const container = $('<a href="#" class="patrolLink"></a>');
      const container = $('<a href="#" class="patrolLink"></a>');
      self.after(container).appendTo(container).before("[").after("]");
      self.after(container).appendTo(container).before("-").after("-");
      self = container;
      self = container;
      const link = self.closest("li,tr").find('a[href*="diff"]:not([href*="diff=0"])').first();
      const link = self.closest("li,tr").find('a[href*="diff"]:not([href*="diff=0"])').first();
匿名用户