1 | <?php |
||
14 | class Hooks { |
||
15 | |||
16 | /** |
||
17 | * @since 1.0 |
||
18 | */ |
||
19 | public function register() { |
||
41 | |||
42 | /** |
||
43 | * @see https://www.semantic-mediawiki.org/wiki/Hooks#SMW::Schema::RegisterSchemaTypes |
||
44 | * |
||
45 | * @since 1.0 |
||
46 | * |
||
47 | * @param SchemaTypes $schemaTypes |
||
48 | */ |
||
49 | public static function onRegisterSchemaTypes( SchemaTypes $schemaTypes ) { |
||
61 | |||
62 | /** |
||
63 | * Hook: Called before producing the HTML created by a wiki image insertion |
||
64 | * |
||
65 | * @see https://www.mediawiki.org/wiki/Manual:Hooks/ImageBeforeProduceHTML |
||
66 | * |
||
67 | * @param DummyLinker &$linker |
||
68 | * @param Title &$title |
||
69 | * @param &$file |
||
70 | * @param array &$frameParams |
||
71 | * @param array &$handlerParams |
||
72 | * @param &$time |
||
73 | * @param &$res |
||
74 | * @param Parser $parser |
||
75 | * @param string &$query |
||
76 | * @param &$widthOption |
||
77 | * |
||
78 | * @return bool |
||
79 | */ |
||
80 | public static function onImageBeforeProduceHTML( &$dummy, &$title, &$file, &$frameParams, &$handlerParams, &$time, &$res, $parser, &$query, &$widthOption ) { |
||
102 | |||
103 | } |
||
104 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.