r108576 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108575‎ | r108576 | r108577 >
Date:00:30, 11 January 2012
Author:rmoen
Status:ok
Tags:
Comment:
replaced escape() with text() as LogPage->addEntry handles escape. follow up r108563
Modified paths:
  • /trunk/extensions/MoodBar/ApiMoodBar.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MoodBar/ApiMoodBar.php
@@ -36,7 +36,7 @@
3737
3838 public function logFeedback( $params, $itemId ) {
3939 $title = SpecialPage::getTitleFor( 'FeedbackDashboard', $itemId );
40 - $reason = wfMessage( 'moodbar-log-reason' )->params( $params['type'], $params['comment'] )->escaped();
 40+ $reason = wfMessage( 'moodbar-log-reason' )->params( $params['type'], $params['comment'] )->text();
4141 $log = new LogPage( 'moodbar' );
4242 $log->addEntry( 'feedback', $title, $reason );
4343 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r108563make user contrib log reason translatable, add/document reason in language fi...rmoen23:37, 10 January 2012

Status & tagging log