Severin Anatoliy has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/120352

Change subject: Fix render WikiForumList to display 'Posted by' link
......................................................................

Fix render WikiForumList to display 'Posted by' link

Change-Id: Idec26446e5688a144529c504eaedcb369b0bc195
---
M WikiForumHooks.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikiForum 
refs/changes/52/120352/1

diff --git a/WikiForumHooks.php b/WikiForumHooks.php
index fa35666..a9b6e37 100644
--- a/WikiForumHooks.php
+++ b/WikiForumHooks.php
@@ -116,7 +116,7 @@
                                $lastpost = wfMessage(
                                        'wikiforum-by',
                                        $wgLang->timeanddate( 
$thread->wft_last_post_timestamp ),
-                                       WikiForumClass::getUserLinkById( 
$thread->wft_last_post_user ),
+                                       WikiForumClass::getUserLink( 
$thread->wft_last_post_user, $thread->wft_last_post_user_text, 
$thread->wft_last_post_user_ip ),
                                        User::newFromId( 
$thread->wft_last_post_user )->getName(),
                                        $wgLang->date( 
$thread->wft_last_post_timestamp ),
                                        $wgLang->time( 
$thread->wft_last_post_timestamp )
@@ -148,7 +148,7 @@
                                wfMessage(
                                        'wikiforum-posted',
                                        $wgLang->timeanddate( 
$thread->wft_posted_timestamp ),
-                                       WikiForumClass::getUserLink( 
$thread->user_name ),
+                                       WikiForumClass::getUserLink( 
$thread->wft_name, $thread->wft_user_text, $thread->wft_user_ip ),
                                        $thread->user_name,
                                        $wgLang->date( 
$thread->wft_posted_timestamp ),
                                        $wgLang->time( 
$thread->wft_posted_timestamp )

-- 
To view, visit https://gerrit.wikimedia.org/r/120352
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idec26446e5688a144529c504eaedcb369b0bc195
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikiForum
Gerrit-Branch: master
Gerrit-Owner: Severin Anatoliy <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to