[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Summary view] [Print] [Text view]
1 <?php 2 # MediaWiki Poem extension v1.1 3 # 4 # Based on example code from 5 # http://www.mediawiki.org/wiki/Manual:Extending_wiki_markup 6 # 7 # Other code is © 2005 Nikola Smolenski <[email protected]> 8 # and © 2011 Zaran <[email protected]> 9 # 10 # Anyone is allowed to use this code for any purpose. 11 # 12 # To install, copy the extension to your extensions directory and add line 13 # require_once( "$IP/extensions/Poem/Poem.php" ); 14 # to the bottom of your LocalSettings.php 15 # 16 # To use, put some text between <poem></poem> tags 17 # 18 # For more information see its page at 19 # http://www.mediawiki.org/wiki/Extension:Poem 20 21 $wgExtensionCredits['parserhook'][] = array( 22 'path' => __FILE__, 23 'name' => 'Poem', 24 'author' => array( 'Nikola Smolenski', 'Brion Vibber', 'Steve Sanbeg' ), 25 'url' => 'https://www.mediawiki.org/wiki/Extension:Poem', 26 'descriptionmsg' => 'poem-desc', 27 ); 28 29 $dir = __DIR__ . '/'; 30 $wgParserTestFiles[] = $dir . 'poemParserTests.txt'; 31 $wgAutoloadClasses['Poem'] = $dir . 'Poem.class.php'; 32 $wgMessagesDirs['Poem'] = __DIR__ . '/i18n'; 33 $wgExtensionMessagesFiles['Poem'] = $dir . 'Poem.i18n.php'; 34 $wgHooks['ParserFirstCallInit'][] = 'Poem::init';
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |