mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Poem
synced 2024-11-15 19:09:37 +00:00
(bug 7738) Add credits for Poem and ProofreadPage extensions.
This commit is contained in:
parent
71c6e7ab9c
commit
eae035c8e3
6
Poem.php
6
Poem.php
|
@ -19,6 +19,12 @@
|
||||||
# http://meta.wikimedia.org/wiki/Poem_Extension
|
# http://meta.wikimedia.org/wiki/Poem_Extension
|
||||||
|
|
||||||
$wgExtensionFunctions[]="wfPoemExtension";
|
$wgExtensionFunctions[]="wfPoemExtension";
|
||||||
|
$wgExtensionCredits['parserhook'][] = array(
|
||||||
|
'name' => 'Cite',
|
||||||
|
'author' => 'Nikola Smolenski',
|
||||||
|
'description' => 'adds <nowiki><poem></nowiki> tag for poem formatting',
|
||||||
|
'url' => 'http://meta.wikimedia.org/wiki/Poem_Extension'
|
||||||
|
);
|
||||||
|
|
||||||
function wfPoemExtension() {
|
function wfPoemExtension() {
|
||||||
$GLOBALS['wgParser']->setHook("poem","PoemExtension");
|
$GLOBALS['wgParser']->setHook("poem","PoemExtension");
|
||||||
|
|
Loading…
Reference in a new issue