Index: trunk/extensions/SemanticFormsInputs/SemanticFormsInputs.php |
— | — | @@ -2,11 +2,19 @@ |
3 | 3 | /** |
4 | 4 | * Additional input types for [http://www.mediawiki.org/wiki/Extension:SemanticForms Semantic Forms]. |
5 | 5 | * |
| 6 | + * @defgroup SFI Semantic Forms Inputs |
6 | 7 | * @author Stephan Gambke |
7 | 8 | * @author Sanyam Goyal |
8 | | - * @version 0.4.1 |
| 9 | + * @version 0.4.2 alpha |
9 | 10 | */ |
10 | 11 | |
| 12 | +/** |
| 13 | + * The main file of the Semantic Forms Inputs extension |
| 14 | + * |
| 15 | + * @file |
| 16 | + * @ingroup SFI |
| 17 | + */ |
| 18 | + |
11 | 19 | if ( !defined( 'MEDIAWIKI' ) ) { |
12 | 20 | die( 'This file is a MediaWiki extension, it is not a valid entry point.' ); |
13 | 21 | } |
— | — | @@ -67,7 +75,7 @@ |
68 | 76 | * Registers the input types with Semantic Forms. |
69 | 77 | */ |
70 | 78 | function wfSFISetup() { |
71 | | - global $sfgFormPrinter; |
| 79 | + global $sfgFormPrinter, $wgVersion; |
72 | 80 | |
73 | 81 | $sfgFormPrinter->setInputTypeHook( 'regexp', array( 'SFIInputs', 'regexpHTML' ), array() ); |
74 | 82 | $sfgFormPrinter->setInputTypeHook( 'datepicker', array( 'SFIInputs', 'jqDatePickerHTML' ), array() ); |