r106918 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106917‎ | r106918 | r106919 >
Date:01:31, 21 December 2011
Author:bsitu
Status:ok
Tags:
Comment:
Adding "mark as helpful" identifer for moodbar feedback response
Modified paths:
  • /trunk/extensions/MoodBar/ApiFeedbackDashboardResponse.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MoodBar/ApiFeedbackDashboardResponse.php
@@ -52,7 +52,8 @@
5353 'appendtext' => ( $talkPage->exists() ? "\n\n" : '' ) .
5454 $feedback_link . "\n" .
5555 '<span id="feedback-dashboard-response-' . $item->getProperty('id') . '"></span>' . "\n\n" .
56 - $response . "\n\n~~~~",
 56+ $response . "\n\n~~~~\n\n" .
 57+ '<span class="markashelpful-mbresponse-' . $item->getProperty('id') . '"></span>',
5758 'token' => $params['token'],
5859 'summary' => $summary,
5960 'notminor' => true,

Status & tagging log