Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function efIPI_ipi($_parser, $_title, $_arguments = array()) {
- global $wgOut, $wgTitle, $wgUser;
- global $eIPI_path;
- global $eIPI_scripts;
- ...
- $Skin = $wgUser->getSkin();
- ...
- $Title = Title::newFromText($_title);
- $result = $Skin->link($Title, (array_key_exists('altname', $_arguments) && !strlen($_arguments['size']) ? $_arguments['altname'] : null), array(
- 'class' => 'ipi'. ($_arguments['iconic'] ? ' iconic' : ''),
- 'rel' => $Title->mTextform,
- ));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement