diff options
Diffstat (limited to 'includes/Licenses.php')
-rw-r--r-- | includes/Licenses.php | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/includes/Licenses.php b/includes/Licenses.php index dd1308b4..f4586ae5 100644 --- a/includes/Licenses.php +++ b/includes/Licenses.php @@ -1,9 +1,8 @@ <?php /** * A License class for use on Special:Upload - * - * @package MediaWiki - * @subpackage SpecialPage + * + * @addtogroup SpecialPage * * @author Ævar Arnfjörð Bjarmason <avarab@gmail.com> * @copyright Copyright © 2005, Ævar Arnfjörð Bjarmason @@ -31,12 +30,12 @@ class Licenses { /**#@-*/ /** - * Constrictor + * Constructor * * @param $str String: the string to build the licenses member from, will use * wfMsgForContent( 'licenses' ) if null (default: null) */ - function Licenses( $str = null ) { + function __construct( $str = null ) { // PHP sucks, this should be possible in the constructor $this->msg = is_null( $str ) ? wfMsgForContent( 'licenses' ) : $str; $this->html = ''; @@ -147,6 +146,9 @@ class Licenses { function getHtml() { return $this->html; } } +/** + * A License class for use on Special:Upload (represents a single type of license). + */ class License { /** * @var string |