Index: trunk/extensions/RecordAdmin/RecordAdmin_body.php |
— | — | @@ -495,11 +495,15 @@ |
496 | 496 | $td = "<td colspan=\"$ncol\">"; |
497 | 497 | $tmp = array(); |
498 | 498 | foreach( $records as $k1 => $v1 ) { |
499 | | - if ( empty( $k1 ) ) $k1 = wfMsg( 'recordadmin-notset', $groupby[0] ); |
| 499 | + if ( empty( $k1 ) ) { |
| 500 | + $k1 = wfMsg( 'recordadmin-notset', $groupby[0] ); |
| 501 | + } |
500 | 502 | $tmp[] = "$td<h2>$k1</h2></td>\n"; |
501 | 503 | foreach( $v1 as $k2 => $v2 ) { |
502 | 504 | if ( isset( $groupby[1] ) ) { |
503 | | - if ( empty( $k2 ) ) $k2 = wfMsg( 'recordadmin-notset', $groupby[1] ); |
| 505 | + if ( empty( $k2 ) ) { |
| 506 | + $k2 = wfMsg( 'recordadmin-notset', $groupby[1] ); |
| 507 | + } |
504 | 508 | $tmp[] = "$td<h3>$k2</h3></td>\n"; |
505 | 509 | foreach( $v2 as $v3 ) $tmp[] = $v3; |
506 | 510 | } else $tmp[] = $v2; |
Index: trunk/extensions/RecordAdmin/RecordAdmin.i18n.php |
— | — | @@ -57,7 +57,7 @@ |
58 | 58 | 'right-recordadmin' => 'Find and edit record pages', |
59 | 59 | 'recordadmin-export-csv' => 'CSV', |
60 | 60 | 'recordadmin-export-pdf' => 'PDF', |
61 | | - 'recordadmin-notset' => 'No $1', |
| 61 | + 'recordadmin-notset' => 'No "$1"', |
62 | 62 | ); |
63 | 63 | |
64 | 64 | /** Message documentation (Message documentation) |
— | — | @@ -87,6 +87,8 @@ |
88 | 88 | 'right-recordadmin' => '{{doc-right|recordadmin}}', |
89 | 89 | 'recordadmin-export-csv' => '{{Optional}}', |
90 | 90 | 'recordadmin-export-pdf' => '{{Optional}}', |
| 91 | + 'recordadmin-notset' => 'Parameters: |
| 92 | +* $1 is string of one or more comma separated field names.', |
91 | 93 | ); |
92 | 94 | |
93 | 95 | /** Afrikaans (Afrikaans) |