「User:Irukaza/js/patrolPlus.js」:修訂間差異

無編輯摘要
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();
匿名使用者