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
CacheHelper: facilitate caching handling on a page
[lhc/web/wiklou.git]
/
includes
/
Licenses.php
diff --git
a/includes/Licenses.php
b/includes/Licenses.php
index
09fa8db
..
8a06c6f
100644
(file)
--- a/
includes/Licenses.php
+++ b/
includes/Licenses.php
@@
-134,6
+134,10
@@
class Licenses extends HTMLFormField {
return str_repeat( "\t", $depth ) . Xml::element( 'option', $attribs, $val ) . "\n";
}
+ /**
+ * @param $str string
+ * @return String
+ */
protected function msg( $str ) {
$msg = wfMessage( $str );
return $msg->exists() ? $msg->text() : $str;