dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c540f66
)
Minor followup to r61609
author
Sam Reed
<reedy@users.mediawiki.org>
Thu, 28 Jan 2010 07:15:49 +0000
(07:15 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Thu, 28 Jan 2010 07:15:49 +0000
(07:15 +0000)
If we're checking the key is *, no point reusing it, as we know what it is. Simplfy bug link/reference
includes/api/ApiFormatYaml_spyc.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiFormatYaml_spyc.php
b/includes/api/ApiFormatYaml_spyc.php
index
240a3e1
..
30f860d
100644
(file)
--- a/
includes/api/ApiFormatYaml_spyc.php
+++ b/
includes/api/ApiFormatYaml_spyc.php
@@
-185,8
+185,8
@@
class Spyc {
else
$string = $spaces . "-\n";
} else {
- if ($key == '*') //
https://bugzilla.wikimedia.org/show_bug.cgi?id=
21922 - Quote asterix used as keys
- $key = "'
{$key}
'";
+ if ($key == '*') //
bug
21922 - Quote asterix used as keys
+ $key = "'
*
'";
// It's mapped
if ( $value !== '' && !is_null( $value ) )