r96310 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r96309
|
r96310
|
r96311
>
Date:
23:10, 5 September 2011
Author:
krinkle
Status:
ok (
Comments
)
Tags:
Comment:
mediawiki.html: Attribute values may also be numbers (rather than boolean or string). Just make sure that whatever is passed becomes a string (not using .toString as not everything has a toString method)
* Follows-up
r96307
Modified paths:
/trunk/phase3/resources/mediawiki/mediawiki.js
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/resources/mediawiki/mediawiki.js
—
—
@@ -1247,7 +1247,7 @@
1248
1248
} else if ( v === false ) {
1249
1249
continue;
1250
1250
}
1251
- s += ' ' + attrName + '="' + this.escape( v ) + '"';
1251
+ s += ' ' + attrName + '="' + this.escape( '' + v ) + '"';
1252
1252
}
1253
1253
if ( contents === undefined || contents === null ) {
1254
1254
// Self close tag
Follow-up revisions
Revision
Commit summary
Author
Date
r104753
MFT
r96307
,
r96310
reedy
21:27, 30 November 2011
r104754
1.18wmf1 Merge
r104753
reedy
21:29, 30 November 2011
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r96307
mediawiki.html: mediawiki.html: Add support for numbers and booleans...
krinkle
21:51, 5 September 2011
Comments
#
Comment by
Hashar
(
talk
|
contribs
)
11:15, 5 December 2011
Merged in wmf branch by
r104754
Status & tagging log
11:15, 5 December 2011
Hashar
(
talk
|
contribs
)
changed the
tags
for r96310
[
removed:
1.18,1.18wmf1]
11:15, 5 December 2011
Hashar
(
talk
|
contribs
)
changed the
status
of r96310
[
removed:
new
added:
ok]
21:16, 30 November 2011
Krinkle
(
talk
|
contribs
)
changed the
tags
for r96310
[
added:
1.18,1.18wmf1]