r32330 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r32329‎ | r32330 | r32331 >
Date:14:55, 22 March 2008
Author:ialex
Status:old
Tags:
Comment:
Some tweaks:
* Remove ending ?> tag in NamespaceCompat.php
* Fix hook name in docs/hooks.txt
Modified paths:
  • /trunk/phase3/docs/hooks.txt (modified) (history)
  • /trunk/phase3/includes/ImageGallery.php (modified) (history)
  • /trunk/phase3/includes/NamespaceCompat.php (modified) (history)

Diff [purge]

Index: trunk/phase3/docs/hooks.txt
@@ -1036,7 +1036,7 @@
10371037 $titleMatches: empty or SearchResultSet object
10381038 $textMatches: empty or SearchResultSet object
10391039
1040 -'SpecialSearchResults': called before search result display when there are no matches
 1040+'SpecialSearchNoResults': called before search result display when there are no matches
10411041 $term: string of search term
10421042
10431043 'SpecialVersionExtensionTypes': called when generating the extensions credits, use this to change the tables headers
Index: trunk/phase3/includes/NamespaceCompat.php
@@ -1,10 +1,9 @@
22 <?php
33
4 -// For compatibility with extensions...
5 -// Will still die on PHP 5.3, of course. :P
6 -
 4+/**
 5+ * For compatibility with extensions...
 6+ * Will still die on PHP 5.3, of course. :P
 7+ */
78 class Namespace extends MWNamespace {
89 // ..
9 -}
10 -
11 -?>
\ No newline at end of file
 10+}
\ No newline at end of file
Index: trunk/phase3/includes/ImageGallery.php
@@ -277,7 +277,7 @@
278278 }
279279
280280 //TODO
281 - //$ul = $sk->makeLink( $wgContLang->getNsText( Namespace::getUser() ) . ":{$ut}", $ut );
 281+ //$ul = $sk->makeLink( $wgContLang->getNsText( MWNamespace::getUser() ) . ":{$ut}", $ut );
282282
283283 if( $this->mShowBytes ) {
284284 if( $img ) {

Status & tagging log