From: Antoine Musso Date: Mon, 1 May 2006 16:06:14 +0000 (+0000) Subject: return fragment even when we have no iw X-Git-Tag: 1.31.0-rc.0~57287 X-Git-Url: http://git.cyclocoop.org/data/%7BGarradin/WEBSITE%7D?a=commitdiff_plain;h=134bd7f92747f31dd4ce597fb342b6b641b5b466;p=lhc%2Fweb%2Fwiklou.git return fragment even when we have no iw --- diff --git a/includes/Title.php b/includes/Title.php index 5c05477ebe..5d295a086a 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -771,10 +771,13 @@ class Title { } $url .= $query; } - if ( '' != $this->mFragment ) { - $url .= '#' . $this->mFragment; - } } + + # Finally, add the fragment. + if ( '' != $this->mFragment ) { + $url .= '#' . $this->mFragment; + } + wfRunHooks( 'GetFullURL', array( &$this, &$url, $query ) ); return $url; }