Fix parameter name: $displayText does not exist, but $altUserName does.
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Wed, 4 Jul 2012 09:38:56 +0000 (11:38 +0200)
committerAntoine Musso <hashar@free.fr>
Thu, 5 Jul 2012 18:01:10 +0000 (20:01 +0200)
Change-Id: Ic901d6a74701eb8c1802ac7a28c479b253353a14

includes/Linker.php

index 9fcac65..674eee7 100644 (file)
@@ -978,7 +978,7 @@ class Linker {
         * @param $userName String: user name in database.
         * @param $altUserName String: text to display instead of the user name (optional)
         * @return String: HTML fragment
-        * @since 1.19 Method exists for a long time. $displayText was added in 1.19.
+        * @since 1.19 Method exists for a long time. $altUserName was added in 1.19.
         */
        public static function userLink( $userId, $userName, $altUserName = false ) {
                if ( $userId == 0 ) {