From ffb9afb2af32b6e8aae7fb5f750b2b2fb4a9bd81 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sat, 22 Mar 2008 14:55:29 +0000 Subject: [PATCH] Some tweaks: * Remove ending ?> tag in NamespaceCompat.php * Fix hook name in docs/hooks.txt --- docs/hooks.txt | 2 +- includes/ImageGallery.php | 2 +- includes/NamespaceCompat.php | 11 +++++------ 3 files changed, 7 insertions(+), 8 deletions(-) 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 -- 2.20.1