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:
e16ae62
)
Merge "Parse limitation warnings as 'text' and in user language"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Wed, 4 Sep 2013 08:59:06 +0000
(08:59 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Wed, 4 Sep 2013 08:59:06 +0000
(08:59 +0000)
includes/parser/Parser.php
patch
|
blob
|
history
diff --git
a/includes/parser/Parser.php
b/includes/parser/Parser.php
index
1ab29eb
..
170148c
100644
(file)
--- a/
includes/parser/Parser.php
+++ b/
includes/parser/Parser.php
@@
-3180,7
+3180,7
@@
class Parser {
function limitationWarn( $limitationType, $current = '', $max = '' ) {
# does no harm if $current and $max are present but are unnecessary for the message
$warning = wfMessage( "$limitationType-warning" )->numParams( $current, $max )
- ->in
ContentLanguage()->escaped
();
+ ->in
Language( $this->mOptions->getUserLangObj() )->text
();
$this->mOutput->addWarning( $warning );
$this->addTrackingCategory( "$limitationType-category" );
}