dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Fix ParserOutput::getText 'unwrap' flag for end-of-doc comment"
[lhc/web/wiklou.git]
/
includes
/
skins
/
MediaWikiI18N.php
diff --git
a/includes/skins/MediaWikiI18N.php
b/includes/skins/MediaWikiI18N.php
index
eeedaad
..
970290a
100644
(file)
--- a/
includes/skins/MediaWikiI18N.php
+++ b/
includes/skins/MediaWikiI18N.php
@@
-37,7
+37,11
@@
class MediaWikiI18N {
$this->context[$varName] = $value;
}
$this->context[$varName] = $value;
}
+ /**
+ * @deprecate since 1.31 Use BaseTemplate::msg(), Skin::msg(), or wfMessage() instead.
+ */
function translate( $value ) {
function translate( $value ) {
+ wfDeprecated( __METHOD__, '1.31' );
// Hack for i18n:attributes in PHPTAL 1.0.0 dev version as of 2004-10-23
$value = preg_replace( '/^string:/', '', $value );
// Hack for i18n:attributes in PHPTAL 1.0.0 dev version as of 2004-10-23
$value = preg_replace( '/^string:/', '', $value );