);
}
- if( $this->mTitle->getNamespace() == NS_CATEGORY || $this->mTitle->getNamespace() == NS_CATEGORY_TALK ) {
- $nav_urls['randomincategory'] = array(
- 'text' => wfMsg( 'randomincategory-toolbox' ),
- 'href' => self::makeSpecialUrlSubpage( 'Randomincategory', $this->mTitle->getText() ),
- );
- }
-
if( $this->mTitle->getNamespace() == NS_USER || $this->mTitle->getNamespace() == NS_USER_TALK ) {
$id = User::idFromName($this->mTitle->getText());
$ip = User::isIP($this->mTitle->getText());
}
+