Widget:TalkToc:修订间差异

跳到导航 跳到搜索
删除1字节 、​ 2021年3月26日 (星期五)
无编辑摘要
imported>=海豚=
无编辑摘要
imported>=海豚=
无编辑摘要
第299行: 第299行:
          }).trigger('hashchange');
          }).trigger('hashchange');
          const g = ["sysop", "patroller"];
          const g = ["sysop", "patroller"];
          if (mw.config.get("wgUserGroups").filter(n => g.includes(n)).length === 0 && mw.config.get("wgPageName").startsWith("H萌娘讨论:")) {
          if (mw.config.get("wgUserGroups").filter(n => g.includes(n)).length === 0 && mw.config.get("wgPageName").startsWith("H萌娘讨论")) {
            $("#right-navigation").addClass("no-need-to-edit-whole-page").find("#p-views > ul").append('<li id="ca-no-need-to-edit-whole-page-notice" class="collapsible"><span><a href="javascript:void(0);">请勿编辑全文</a></span></li>').find("#collapsible istalk").on("click", function() {
            $("#right-navigation").addClass("no-need-to-edit-whole-page").find("#p-views > ul").append('<li id="ca-no-need-to-edit-whole-page-notice" class="collapsible"><span><a href="javascript:void(0);">请勿编辑全文</a></span></li>').find("#collapsible istalk").on("click", function() {
              var messageDialog = new OO.ui.MessageDialog();
              var messageDialog = new OO.ui.MessageDialog();
匿名用户

导航菜单