dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
9299bab
)
Merge "Convert -{}- markups in title="" and alt=""."
author
Siebrand
<siebrand@wikimedia.org>
Wed, 10 Oct 2012 07:46:26 +0000
(07:46 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Wed, 10 Oct 2012 07:46:26 +0000
(07:46 +0000)
languages/LanguageConverter.php
patch
|
blob
|
history
diff --git
a/languages/LanguageConverter.php
b/languages/LanguageConverter.php
index
bf5c217
..
09e850e
100644
(file)
--- a/
languages/LanguageConverter.php
+++ b/
languages/LanguageConverter.php
@@
-410,7
+410,7
@@
class LanguageConverter {
$attr = $attrs[$attrName];
// Don't convert URLs
if ( !strpos( $attr, '://' ) ) {
- $attr = $this->
translate
( $attr, $toVariant );
+ $attr = $this->
convertTo
( $attr, $toVariant );
}
// Remove HTML tags to avoid disrupting the layout