Index: trunk/extensions/Babel/Babel.class.php |
— | — | @@ -6,12 +6,16 @@ |
7 | 7 | * @ingroup Extensions |
8 | 8 | */ |
9 | 9 | class Babel { |
| 10 | + |
| 11 | + /** |
| 12 | + * @var Title |
| 13 | + */ |
10 | 14 | static $title; |
11 | 15 | |
12 | 16 | /** |
13 | 17 | * Render the Babel tower. |
14 | 18 | * |
15 | | - * @param $parser Object: Parser. |
| 19 | + * @param $parser Parser. |
16 | 20 | * @return string: Babel tower. |
17 | 21 | */ |
18 | 22 | public static function Render( $parser ) { |
Index: trunk/extensions/Babel/BabelStatic.class.php |
— | — | @@ -8,6 +8,9 @@ |
9 | 9 | class BabelStatic { |
10 | 10 | /** |
11 | 11 | * Registers the parser function hook. |
| 12 | + * |
| 13 | + * @param $parser Parser |
| 14 | + * |
12 | 15 | * @return Boolean: True. |
13 | 16 | */ |
14 | 17 | public static function Setup( $parser ) { |
Index: trunk/extensions/Babel/BabelAutoCreate.class.php |
— | — | @@ -5,6 +5,10 @@ |
6 | 6 | * @ingroup Extensions |
7 | 7 | */ |
8 | 8 | class BabelAutoCreate { |
| 9 | + |
| 10 | + /** |
| 11 | + * @var User |
| 12 | + */ |
9 | 13 | static $user = false; |
10 | 14 | |
11 | 15 | /** |
— | — | @@ -12,7 +16,7 @@ |
13 | 17 | */ |
14 | 18 | public static function RegisterAbort( User $user, &$message ) { |
15 | 19 | $message = wfMsg( 'babel-autocreate-abort', wfMsg( 'babel-url' ) ); |
16 | | - return !( $user->getName() === wfMsgForContent( 'babel-autocreate-user' ) ); |
| 20 | + return $user->getName() !== wfMsgForContent( 'babel-autocreate-user' ); |
17 | 21 | } |
18 | 22 | |
19 | 23 | /** |