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

无编辑摘要
imported>=海豚=
无编辑摘要
imported>=海豚=
无编辑摘要
第12行: 第12行:
    const upperFirstCase = (s) => /^[a-z]/.test(s) ? s.substring(0, 1).toUpperCase() + s.substring(1) : s;
    const upperFirstCase = (s) => /^[a-z]/.test(s) ? s.substring(0, 1).toUpperCase() + s.substring(1) : s;
    const api = new mw.Api();
    const api = new mw.Api();
    const p = $('<fieldset><legend>链入情况</legend><p id="queryWhatlinkshere"> 加载中……</p></fieldset>').insertAfter("#mw-content-text > form").find("#queryWhatlinkshere");
    const p = $('<fieldset><legend>链入情况</legend><p id="queryWhatlinkshere"></p></fieldset>').insertAfter("#mw-content-text > form").find("#queryWhatlinkshere");
    const list = await (async () => {
    const list = await (async () => {
      const result = [];
      const result = [];
匿名用户