From: Brion Vibber Date: Mon, 21 Feb 2005 04:11:45 +0000 (+0000) Subject: Extra check as temporary hack to avoid crashing on certain dubious titles X-Git-Tag: 1.5.0alpha1~710 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=d44c5ba4f6856ed94b672c928d6203450908276c;p=lhc%2Fweb%2Fwiklou.git Extra check as temporary hack to avoid crashing on certain dubious titles --- diff --git a/includes/Skin.php b/includes/Skin.php index 276cddb2de..bcd204859d 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -1273,6 +1273,7 @@ class Skin extends Linker { } /*static*/ function makeArticleUrl ( $name, $urlaction='' ) { $title = Title::newFromText( $name ); + $this->checkTitle($title, $name); $title= $title->getSubjectPage(); $this->checkTitle($title, $name); return $title->getLocalURL( $urlaction );