Some tweaks:
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 22 Mar 2008 14:55:29 +0000 (14:55 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 22 Mar 2008 14:55:29 +0000 (14:55 +0000)
* Remove ending ?> tag in NamespaceCompat.php
* Fix hook name in docs/hooks.txt

docs/hooks.txt
includes/ImageGallery.php
includes/NamespaceCompat.php

index 136e054..8ff3678 100644 (file)
@@ -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
index 46ecd16..29a5451 100644 (file)
@@ -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 ) {
index d9cbf88..c171111 100644 (file)
@@ -1,10 +1,9 @@
 <?php
 
-// For compatibility with extensions...
-// Will still die on PHP 5.3, of course. :P
-
+/**
+ * For compatibility with extensions...
+ * Will still die on PHP 5.3, of course. :P
+ */
 class Namespace extends MWNamespace {
        // ..
-}
-
-?>
\ No newline at end of file
+}
\ No newline at end of file