$nav_urls['contributions'] = array(
'href' => $this->makeSpecialUrl('Contributions/' . $this->mTitle->getText() )
);
+ if ( $wgUser->isAllowed( 'protect' ) )
+ $nav_urls['blockip'] = array(
+ 'href' => $this->makeSpecialUrl( 'Blockip/' . $this->mTitle->getText() )
+ );
} else {
$nav_urls['contributions'] = false;
}
?><span id="feed-<?php echo htmlspecialchars($key) ?>"><a href="<?php
echo htmlspecialchars($feed['href']) ?>"><?php echo htmlspecialchars($feed['text'])?></a> </span>
<?php } ?></li><?php } ?>
- <?php foreach( array('contributions', 'emailuser', 'upload', 'specialpages') as $special ) { ?>
+ <?php foreach( array('contributions', 'blockip', 'emailuser', 'upload', 'specialpages') as $special ) { ?>
<?php if($this->data['nav_urls'][$special]) {?><li id="t-<?php echo $special ?>"><a href="<?php
echo htmlspecialchars($this->data['nav_urls'][$special]['href'])
?>"><?php $this->msg($special) ?></a></li><?php } ?>