From c0cc946434185ed2b995a603cca6807267640a56 Mon Sep 17 00:00:00 2001
From: Brion Vibber
"; + $ptext=$wgTitle->getPrefixedText(); + if(preg_match("/\//",$ptext)) { + $sub.="
";
$links=explode("/",$ptext);
$c=0;
$growinglink="";
foreach($links as $link) {
$c++;
- if ($c {$sub}\n";
+ $s = " {$sub}\n";
return $s;
}
@@ -1196,6 +1196,7 @@ class Skin {
if ($nt) {
$result = $this->makeLinkObj( Title::newFromText( $title ), $text, $query, $trail );
} else {
+ wfDebug( "Invalid title passed to Skin::makeLink(): \"$title\"\n" );
$result = $text == "" ? $title : $text;
}
@@ -1208,6 +1209,7 @@ class Skin {
if ($nt) {
return $this->makeKnownLinkObj( Title::newFromText( $title ), $text, $query, $trail );
} else {
+ wfDebug( "Invalid title passed to Skin::makeKnownLink(): \"$title\"\n" );
return $text == "" ? $title : $text;
}
}
@@ -1217,6 +1219,7 @@ class Skin {
if ($nt) {
return $this->makeBrokenLinkObj( Title::newFromText( $title ), $text, $query, $trail );
} else {
+ wfDebug( "Invalid title passed to Skin::makeBrokenLink(): \"$title\"\n" );
return $text == "" ? $title : $text;
}
}
@@ -1226,6 +1229,7 @@ class Skin {
if ($nt) {
return $this->makeStubLinkObj( Title::newFromText( $title ), $text, $query, $trail );
} else {
+ wfDebug( "Invalid title passed to Skin::makeStubLink(): \"$title\"\n" );
return $text == "" ? $title : $text;
}
}
--
2.20.1