Content deleted Content added
1.2 |
1.5 |
||
Line 1:
/// User:PerfektesChaos/js/pageTeaserHint/r.js
/// 2020-12-27 PerfektesChaos@de.wikipedia
/// Fingerprint:#0#
/// License:CC-by-sa/4.0
///<nowiki>
(function(mw,$){
"use strict";
var Version=1.
{suite:".mw-allpages-nav",search:".mw-allpages-body"
},"category":
{suite:"#mw-pages",search:"#mw-pages"
},"contributions":
{suite:".mw-contributions-list",search:"#mw-content-text"
},"info":
{suite:"#mw-pageinfo-header-restrictions",search:false
Line 111 ⟶ 113:
switch(PTH.scope){
case "allpages":
case "contributions":
case "prefixindex":
case "whatlinkshere":
Line 125 ⟶ 128:
PTH.page.search=PTH.paged[PTH.scope].search;
if(PTH.page.search){
seek="a[href*=\"/wiki/\"]:not(a[href*=\"#\"])";▼
PTH.page.$container=$(PTH.page.search);
▲seek="a[href*=\"/wiki/\"]:not(a[href*=\"#\"])";
$got=PTH.page.$container.find(seek);
if(
$got.
$got.each(fiat);
}else{
finesse();}
Line 157 ⟶ 161:
switch(s){
case "Allpages":
case "Contributions":
case "Prefixindex":
case "Search":
|