From: Alexandre Emsenhuber Date: Sat, 22 Mar 2008 14:55:29 +0000 (+0000) Subject: Some tweaks: X-Git-Tag: 1.31.0-rc.0~48876 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=ffb9afb2af32b6e8aae7fb5f750b2b2fb4a9bd81;p=lhc%2Fweb%2Fwiklou.git Some tweaks: * Remove ending ?> tag in NamespaceCompat.php * Fix hook name in docs/hooks.txt --- diff --git a/docs/hooks.txt b/docs/hooks.txt index 136e054409..8ff36783dd 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -1036,7 +1036,7 @@ $term: string of search term $titleMatches: empty or SearchResultSet object $textMatches: empty or SearchResultSet object -'SpecialSearchResults': called before search result display when there are no matches +'SpecialSearchNoResults': called before search result display when there are no matches $term: string of search term 'SpecialVersionExtensionTypes': called when generating the extensions credits, use this to change the tables headers diff --git a/includes/ImageGallery.php b/includes/ImageGallery.php index 46ecd16959..29a54512d3 100644 --- a/includes/ImageGallery.php +++ b/includes/ImageGallery.php @@ -277,7 +277,7 @@ class ImageGallery } //TODO - //$ul = $sk->makeLink( $wgContLang->getNsText( Namespace::getUser() ) . ":{$ut}", $ut ); + //$ul = $sk->makeLink( $wgContLang->getNsText( MWNamespace::getUser() ) . ":{$ut}", $ut ); if( $this->mShowBytes ) { if( $img ) { diff --git a/includes/NamespaceCompat.php b/includes/NamespaceCompat.php index d9cbf8803f..c17111165e 100644 --- a/includes/NamespaceCompat.php +++ b/includes/NamespaceCompat.php @@ -1,10 +1,9 @@ \ No newline at end of file +} \ No newline at end of file