aboutsummaryrefslogtreecommitdiffstats
path: root/includes/SpecialPage.php
diff options
context:
space:
mode:
authorAntoine Musso <hashar@users.mediawiki.org>2005-01-26 09:34:28 +0000
committerAntoine Musso <hashar@users.mediawiki.org>2005-01-26 09:34:28 +0000
commita5fff41a25f1b0f40ebafc406717573f3c7a26b2 (patch)
treef0244527279557f1e9ac8e01d039f0e961f20533 /includes/SpecialPage.php
parent0eaca3d675152e0dd98d786723384cc166dec23c (diff)
downloadmediawikicore-a5fff41a25f1b0f40ebafc406717573f3c7a26b2.tar.gz
mediawikicore-a5fff41a25f1b0f40ebafc406717573f3c7a26b2.zip
Get ride of the username in links when user is logged in.
Instead use special pages just like the already existent [[Special:Watchlist]]. That's one more step to get pages rendered for logged users cached.
Notes
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7263
Diffstat (limited to 'includes/SpecialPage.php')
-rw-r--r--includes/SpecialPage.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/includes/SpecialPage.php b/includes/SpecialPage.php
index c7f1f64d2534..27bf4b1193e9 100644
--- a/includes/SpecialPage.php
+++ b/includes/SpecialPage.php
@@ -31,6 +31,11 @@ $wgSpecialPages = array(
'Userlogout' => new UnlistedSpecialPage( 'Userlogout' ),
'Preferences' => new SpecialPage( 'Preferences' ),
'Watchlist' => new SpecialPage( 'Watchlist' ),
+
+ 'Mytalk' => new UnlistedSpecialPage( 'Mytalk'),
+ 'Mycontributions' => new UnlistedSpecialPage( 'Mycontributions'),
+ 'Mypage' => new UnlistedSpecialPage( 'Mypage'),
+
'Recentchanges' => new SpecialPage( 'Recentchanges' ),
'Upload' => new SpecialPage( 'Upload' ),
'Imagelist' => new SpecialPage( 'Imagelist' ),