summaryrefslogtreecommitdiff
path: root/includes/Licenses.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/Licenses.php')
-rw-r--r--includes/Licenses.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/Licenses.php b/includes/Licenses.php
index 09fa8db3..8a06c6fc 100644
--- 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;