X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FTitle.php;h=7e7153f8694ecfe3fbb9f316b706297c2fd7bc9c;hb=ed1ab4034e39878442fd389b4c1a22161afd935f;hp=a956ca21760e400ef2a3b96170c438f5222fb00d;hpb=0d076eae58f2f58e708195340784ea65bd96d305;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Title.php b/includes/Title.php index a956ca2176..7e7153f869 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -1770,6 +1770,7 @@ class Title implements LinkTarget, IDBAccessObject { if ( !MediaWikiServices::getInstance()->getNamespaceInfo()-> hasSubpages( $this->mNamespace ) + || strtok( $this->getText(), '/' ) === false ) { return $this->getText(); }