- // Because of caching, we can't link directly to the anonymous
- // user page (for example [[User:127.0.0.1]]), talk page, and
- // contributions pages. Instead we use the special page
- // shortcuts (which work correctly regardless of caching). This
- // means we can't determine whether these links are active or
- // not, but since major skins (MonoBook, Vector) don't use this
- // information, it's not a huge loss.
-
- // Only show (red) link to anon user page if anon users are
- // allowed to create that page
- if ( User::groupHasPermission( '*', 'createpage' ) ) {
- $personal_urls[ 'anonuserpage' ] = [
- 'text' => $this->msg( 'anonuserpage' )->text(),
- 'href' => self::makeSpecialUrlSubpage( 'Mypage', false ),
- 'active' => false
- ];
- }
-
+ // Because of caching, we can't link directly to the IP talk and
+ // contributions pages. Instead we use the special page shortcuts
+ // (which work correctly regardless of caching). This means we can't
+ // determine whether these links are active or not, but since major
+ // skins (MonoBook, Vector) don't use this information, it's not a
+ // huge loss.