Index: trunk/extensions/Validator/RELEASE-NOTES |
— | — | @@ -5,7 +5,7 @@ |
6 | 6 | |
7 | 7 | |
8 | 8 | === Validator 0.4.3 === |
9 | | -(201x-xx-xx) |
| 9 | +(2011-01-xx) |
10 | 10 | |
11 | 11 | * Added describe parser hook that enables automatic documentation generation of parser hooks defined via Validator. |
12 | 12 | |
Index: trunk/extensions/Validator/includes/parserHooks/Validator_Describe.php |
— | — | @@ -60,6 +60,7 @@ |
61 | 61 | $params['hooks'] = new ListParameter( 'hooks' ); |
62 | 62 | $params['hooks']->setDefault( array_keys( ParserHook::getRegisteredParserHooks() ) ); |
63 | 63 | $params['hooks']->setDescription( wfMsg( 'validator-describe-par-hooks' ) ); |
| 64 | + $params['hooks']->addAliases( 'hook' ); |
64 | 65 | |
65 | 66 | $params['pre'] = new Parameter( 'pre', Parameter::TYPE_BOOLEAN ); |
66 | 67 | $params['pre']->setDefault( 'off' ); |