Changes

Jump to navigation Jump to search
867 bytes removed ,  03:59, 16 January 2020
no edit summary
Line 212: Line 212:  
         }
 
         }
 
         if (subpages.find("a")[0]) { $("#contentSub").prepend(subpages); }
 
         if (subpages.find("a")[0]) { $("#contentSub").prepend(subpages); }
    }
  −
    //重复文件列表函数
  −
    function duplicatedFileList() {
  −
        if (window.location.href.indexOf("title") === -1) { window.location.replace("http://zh.moegirl.org/index.php?title=Special:ListDuplicatedFiles&limit=500&offset=0"); }
  −
        $("#mw-content-text .mw-spcontent ol").attr("id",
  −
            "picOl");
  −
        $("#picOl").before('<p id="picOlTitle">图片列表:</p>').after('<p id="MP3OlTitle">MP3列表:</p><ol start="1" id="MP3Ol"></ol>');
  −
        $("#picOlTitle, #MP3OlTitle").hide();
  −
        $("#picOl").find("[href$='.mp3'], [href$='.ogg']").parent().appendTo("#MP3Ol");
  −
        if ($("#picOl").find("li").length) { $("#picOlTitle").show(); }
  −
        if ($("#MP3Ol").find("li").length) { $("#MP3OlTitle").show(); }
  −
        $(".mw-spcontent > p:nth-child(1), .mw-spcontent > p:nth-child(2), .mw-spcontent > p:nth-child(7)").hide();
   
     }
 
     }
 
     /* 函数执行体 */
 
     /* 函数执行体 */

Navigation menu