r60220 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60219‎ | r60220 | r60221 >
Date:23:34, 18 December 2009
Author:nad
Status:deferred
Tags:
Comment:
must specify '=' operator in special page getRecords call
Modified paths:
  • /trunk/extensions/RecordAdmin/RecordAdmin.php (modified) (history)
  • /trunk/extensions/RecordAdmin/RecordAdmin_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/RecordAdmin/RecordAdmin_body.php
@@ -224,7 +224,7 @@
225225 # Process Find submission (select and render records)
226226 if ( count( $posted ) && $wgRequest->getText( 'wpFind' ) ) {
227227 $wgOut->addWikiText( "== " . wfMsg( 'recordadmin-searchresult' ) . " ==\n" );
228 - $records = $this->getRecords( $type, $posted, $wpTitle, $invert );
 228+ $records = $this->getRecords( $type, $posted, '=', $wpTitle, $invert );
229229 $wgOut->addHTML( $this->renderRecords( $records ) );
230230 }
231231
Index: trunk/extensions/RecordAdmin/RecordAdmin.php
@@ -11,7 +11,7 @@
1212 * @licence GNU General Public Licence 2.0 or later
1313 */
1414
15 -define( 'RECORDADMIN_VERSION', '0.9.5, 2009-12-10' );
 15+define( 'RECORDADMIN_VERSION', '0.9.6, 2009-12-19' );
1616
1717 $wgRecordAdminUseNamespaces = false; # Whether record articles should be in a namespace of the same name as their type
1818 $wgRecordAdminCategory = 'Records'; # Category containing record types

Status & tagging log