From d44c5ba4f6856ed94b672c928d6203450908276c Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 21 Feb 2005 04:11:45 +0000 Subject: [PATCH] Extra check as temporary hack to avoid crashing on certain dubious titles --- includes/Skin.php | 1 + 1 file changed, 1 insertion(+) 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 ); -- 2.20.1