Advertisement
Guest User

Untitled

a guest
Aug 2nd, 2017
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.47 KB | None | 0 0
  1. function efIPI_ipi($_parser, $_title, $_arguments = array()) {
  2.     global $wgOut, $wgTitle, $wgUser;
  3.     global $eIPI_path;
  4.  
  5.     global $eIPI_scripts;
  6.  
  7. ...
  8.  
  9. $Skin = $wgUser->getSkin();
  10.  
  11. ...
  12.  
  13.     $Title = Title::newFromText($_title);
  14.     $result = $Skin->link($Title, (array_key_exists('altname', $_arguments) && !strlen($_arguments['size']) ? $_arguments['altname'] : null), array(
  15.         'class' => 'ipi'. ($_arguments['iconic'] ? ' iconic' : ''),
  16.         'rel' => $Title->mTextform,
  17.     ));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement