Index: trunk/extensions/RecordAdmin/RecordAdmin_body.php |
— | — | @@ -839,8 +839,8 @@ |
840 | 840 | $count = false; |
841 | 841 | $export = false; |
842 | 842 | foreach ( func_get_args() as $arg ) if ( !is_object( $arg ) ) { |
843 | | - if ( preg_match( "|^(.+?)\s*=\s*(.+)$|i", $arg, $match ) ) { |
844 | | - list( , $k, $v ) = $match; |
| 843 | + if ( preg_match( "|^(.+?)\s*([<>!=]+)\s*(.+)$|i", $arg, $match ) ) { |
| 844 | + list( , $k, $op, $v ) = $match; |
845 | 845 | if ( $k == 'title' ) $title = $v; |
846 | 846 | elseif ( $k == 'name' ) $name = $v; |
847 | 847 | elseif ( $k == 'invert' ) $invert = $v; |
Index: trunk/extensions/RecordAdmin/RecordAdmin.php |
— | — | @@ -11,7 +11,7 @@ |
12 | 12 | * @licence GNU General Public Licence 2.0 or later |
13 | 13 | */ |
14 | 14 | |
15 | | -define( 'RECORDADMIN_VERSION', '0.9.1, 2009-12-02' ); |
| 15 | +define( 'RECORDADMIN_VERSION', '0.9.2, 2009-12-09' ); |
16 | 16 | |
17 | 17 | $wgRecordAdminUseNamespaces = false; # Whether record articles should be in a namespace of the same name as their type |
18 | 18 | $wgRecordAdminCategory = 'Records'; # Category containing record types |