EBernhardson has uploaded a new change for review.

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


Change subject: Remove the thank link
......................................................................

Remove the thank link

Removing the thank link since it wont be implemented in time for
the mvp.

Change-Id: Ia84756c65826fca4582192e9c69b13e57d4fa90b
---
M includes/View/Post.php
M templates/post.html.php
2 files changed, 1 insertion(+), 7 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow 
refs/changes/63/96063/1

diff --git a/includes/View/Post.php b/includes/View/Post.php
index 173a1df..bc67df6 100644
--- a/includes/View/Post.php
+++ b/includes/View/Post.php
@@ -36,10 +36,6 @@
                return wfMessage( 'flow-reply-link', $this->creatorUserText 
)->escaped();
        }
 
-       public function thankLink() {
-               return wfMessage( 'flow-thank-link', 
$this->creatorUserText)->escaped();
-       }
-
        public function moderatedTalkLink() {
                $user = User::newFromId( $this->post->getModeratedByUserId() );
                $title = $user->getTalkPage();
@@ -72,6 +68,7 @@
                        $this->post->getCreatorName( $this->user )
                );
        }
+
        public function editPostButton( $buttonClass ) {
                if ( !$this->actions->isAllowed( 'edit-post' ) ) {
                        return '';
diff --git a/templates/post.html.php b/templates/post.html.php
index a93d53a..43712dd 100644
--- a/templates/post.html.php
+++ b/templates/post.html.php
@@ -106,9 +106,6 @@
                                        <?php if ( 
$postView->actions()->isAllowed( 'reply' ) ): ?>
                                                <a class="flow-reply-link 
mw-ui-button" href="#"><span><?php echo $postView->replyLink(); ?></span></a>
                                        <?php endif ?>
-                                       <a class="flow-thank-link mw-ui-button" 
href="#" onclick="return mw.flow.notImplemented()">
-                                               <span><?php echo 
$postView->thankLink(); ?></span>
-                                       </a>
                                <?php else: ?>
                                        <?php list( $talkUrl, $talkLink ) = 
$postView->moderatedTalkLink(); ?>
                                        <a class="flow-talk-link mw-ui-button" 
href="<?php echo $talkUrl; ?>">

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia84756c65826fca4582192e9c69b13e57d4fa90b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: EBernhardson <[email protected]>

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

Reply via email to