r40632 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r40631
|
r40632
|
r40633
>
Date:
03:55, 9 September 2008
Author:
mrzman
Status:
old
Tags:
Comment:
(
bug 15517
) - Use correct error message if group parameter is allowed (message already existed but was apparently unused).
Modified paths:
/trunk/extensions/Cite/Cite_body.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/Cite/Cite_body.php
—
—
@@ -314,7 +314,9 @@
315
315
316
316
}
317
317
318
- if ( count( $argv ) )
318
+ if ( count( $argv ) && $wgAllowCiteGroups )
319
+ return $this->error( 'cite_error_references_invalid_parameters_group' );
320
+ elseif ( count( $argv ) )
319
321
return $this->error( 'cite_error_references_invalid_parameters' );
320
322
else
321
323
return $this->referencesFormat($group);