Extension not yet migrated to extension.json format. I'm willing to try.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Convert BiblioPlus to use extension registration | mediawiki/extensions/BiblioPlus | master | +94 -58 |
Status | Subtype | Assigned | Task | |
---|---|---|---|---|
· · · | ||||
Open | Goal | None | T98668 Convert all extensions and skins on gerrit to use extension registration | |
Resolved | MarcoAurelio | T185564 Convert BiblioPlus to use extension registration | ||
· · · |
Event Timeline
Comment Actions
@Mainframe98 I guess that I have to move:
function onBeforePageDisplay(&$out) { $out->addModules('ext.biblioPlus.qtip.config'); return true; } function biblioPlusSetup( Parser $parser ) { $biblio = new BiblioPlus; $parser -> setHook("cite", array($biblio,'biblioRenderCite')); $parser -> setHook("nocite", array($biblio, 'biblioRenderNocite')); $parser -> setHook("biblio", array($biblio, 'biblioRenderBiblio')); return true; }
out of BiblioPlus.php. Not sure where though. One file, two?
Comment Actions
It'd be best to create a separate Hooks class with those two functions in it. Something like BiblioPlus.hooks.php.
Comment Actions
Change 405910 had a related patch set uploaded (by MarcoAurelio; owner: MarcoAurelio):
[mediawiki/extensions/BiblioPlus@master] Convert BiblioPlus to use extension registration
Comment Actions
Change 405910 merged by jenkins-bot:
[mediawiki/extensions/BiblioPlus@master] Convert BiblioPlus to use extension registration