mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-24 23:05:31 +00:00
In trace mode, wrap transform to output trace info
- Added extra debug_name parameter to addTransform which is used in addTransform to output useful trace info. Change-Id: I160ba0c45f681149375e32ab19f97baa439b09a8
This commit is contained in:
parent
0a4f1d435b
commit
c0ab29779c
|
@ -19,7 +19,7 @@ function Cite ( manager, isInclude ) {
|
||||||
'ref'
|
'ref'
|
||||||
);
|
);
|
||||||
// And register for references tags
|
// And register for references tags
|
||||||
manager.addTransform( this.onReferences.bind(this),
|
manager.addTransform( this.onReferences.bind(this), "Cite:onReferences",
|
||||||
this.referencesRank, 'tag', 'references' );
|
this.referencesRank, 'tag', 'references' );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue