r83250 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r83249‎ | r83250 | r83251 >
Date:22:23, 4 March 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
minor fix and added rel notes for 0.3
Modified paths:
  • /trunk/extensions/SubPageList/RELEASE-NOTES (modified) (history)
  • /trunk/extensions/SubPageList/SubPageList.class.php (modified) (history)
  • /trunk/extensions/SubPageList/SubPageList.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SubPageList/RELEASE-NOTES
@@ -5,9 +5,11 @@
66
77
88 === Version 0.3 ===
9 -2011-0x-xx
 9+2011-03-xx
1010
1111 * Fix to display of the first list item.
 12+* Fixed inverted behaviour of the kidsonly parameter.
 13+* Fixed query issue when using PostGres.
1214
1315 === Version 0.2 ===
1416 2011-01-24
Index: trunk/extensions/SubPageList/SubPageList.php
@@ -35,7 +35,7 @@
3636 die( '<b>Error:</b> You need to have <a href="http://www.mediawiki.org/wiki/Extension:Validator">Validator</a> installed in order to use <a href="http://www.mediawiki.org/wiki/Extension:SubPageList">SubPageList</a>.<br />' );
3737 }
3838
39 -define( 'SPL_VERSION', '0.3 alpha' );
 39+define( 'SPL_VERSION', '0.3 rc' );
4040
4141 $wgExtensionCredits['parserhook'][] = array(
4242 'path' => __FILE__,
Index: trunk/extensions/SubPageList/SubPageList.class.php
@@ -206,7 +206,7 @@
207207 $conditions['page_is_redirect'] = 0;
208208
209209 // TODO: this is rather resource heavy
210 - $conditions[] = '`page_title` ' . $dbr->buildLike( $title->getDBkey() . '/', $dbr->anyString() );
 210+ $conditions[] = 'page_title ' . $dbr->buildLike( $title->getDBkey() . '/', $dbr->anyString() );
211211
212212 $fields = array();
213213 $fields[] = 'page_title';

Status & tagging log