mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-14 10:34:53 +00:00
Merge "Use __CLASS__ instead of repeating the class name"
This commit is contained in:
commit
47e642fa27
|
@ -8,8 +8,8 @@ class CiteParserTagHooks {
|
|||
* @param Parser $parser
|
||||
*/
|
||||
public static function initialize( Parser $parser ) {
|
||||
$parser->setHook( 'ref', 'CiteParserTagHooks::ref' );
|
||||
$parser->setHook( 'references', 'CiteParserTagHooks::references' );
|
||||
$parser->setHook( 'ref', __CLASS__ . '::ref' );
|
||||
$parser->setHook( 'references', __CLASS__ . '::references' );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue