r63980 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r63979
|
r63980
|
r63981
>
Date:
16:39, 20 March 2010
Author:
ialex
Status:
ok
Tags:
Comment:
Per Platonides, follow-up
r63912
: readd the removed line and remove the other one, since it's only used there
Modified paths:
/trunk/extensions/ParserFunctions/ParserFunctions_body.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/ParserFunctions/ParserFunctions_body.php
—
—
@@ -206,11 +206,11 @@
207
207
if ( $index === '' ) {
208
208
# Found "="
209
209
$lastItemHadNoEquals = false;
210
- $test = trim( $frame->expand( $nameNode ) );
211
210
if ( $found ) {
212
211
# Multiple input match
213
212
return trim( $frame->expand( $valueNode ) );
214
213
} else {
214
+ $test = trim( $frame->expand( $nameNode ) );
215
215
if ( $test == $primary ) {
216
216
# Found a match, return now
217
217
return trim( $frame->expand( $valueNode ) );
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r63912
* (
bug 12901
) #switch no longer expands node twice
ialex
16:25, 18 March 2010
Status & tagging log
01:12, 5 December 2010
😂
(
talk
|
contribs
)
changed the
status
of r63980
[
removed:
new
added:
ok]