From 4405d20fa0dae7178df7cf5dfc75d5536bc0ffee Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Thu, 28 Apr 2005 20:38:10 +0000 Subject: [PATCH] * Documented --- includes/SpecialMycontributions.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/includes/SpecialMycontributions.php b/includes/SpecialMycontributions.php index 7d83d6d03e..29262a5e86 100644 --- a/includes/SpecialMycontributions.php +++ b/includes/SpecialMycontributions.php @@ -5,11 +5,15 @@ * @subpackage SpecialPage */ -/** @todo document */ +/** + * Redirects a user to hir personal page, used by buildPersonalUrls() in + * SkinTemplate.php. + */ + function wfSpecialMycontributions() { global $wgUser, $wgOut; $t = Title::makeTitle( NS_SPECIAL, 'Contributions' ); $url = $t->getFullURL( 'target=' . urlencode( $wgUser->getName() ) ); $wgOut->redirect( $url ); } -?> \ No newline at end of file +?> -- 2.20.1