r107444 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r107443‎ | r107444 | r107445 >
Date:22:14, 27 December 2011
Author:rmoen
Status:ok
Tags:
Comment:
revised hook for MarkAsHelpful in response api, data now in data attributes, standardized class name for mah items
Modified paths:
  • /trunk/extensions/MoodBar/ApiFeedbackDashboardResponse.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MoodBar/ApiFeedbackDashboardResponse.php
@@ -53,7 +53,7 @@
5454 $feedback_link . "\n" .
5555 '<span id="feedback-dashboard-response-' . $item->getProperty('id') . '"></span>' . "\n\n" .
5656 $response . "\n\n~~~~\n\n" .
57 - '<span class="markashelpful-mbresponse-' . $item->getProperty('id') . '"></span>',
 57+ '<span class="markashelpful-item" data-markashelpful-item="' . $item->getProperty('id') . '" data-markashelpful-type="mbresponse"></span>',
5858 'token' => $params['token'],
5959 'summary' => $summary,
6060 'notminor' => true,

Status & tagging log