r59480 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59479‎ | r59480 | r59481 >
Date:03:55, 27 November 2009
Author:juliano
Status:deferred
Tags:
Comment:
* Parse 'wikilog-log-cmt-rejdel' message, in order to enable GENDER:.
* Small message fixes.
Modified paths:
  • /trunk/extensions/Wikilog/Wikilog.i18n.php (modified) (history)
  • /trunk/extensions/Wikilog/WikilogCommentsPage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Wikilog/WikilogCommentsPage.php
@@ -594,7 +594,10 @@
595595 $log->addEntry( 'c-approv', $title, '' );
596596 $wgOut->redirect( $this->mTalkTitle->getFullUrl() );
597597 } else if ( $approval == 'reject' ) {
598 - $reason = wfMsgForContent( 'wikilog-log-cmt-rejdel', $comment->mUserText );
 598+ $reason = wfMsgExt( 'wikilog-log-cmt-rejdel',
 599+ array( 'content', 'parsemag' ),
 600+ $comment->mUserText
 601+ );
599602 $id = $title->getArticleID( GAID_FOR_UPDATE );
600603 if ( $this->doDeleteArticle( $reason, false, $id ) ) {
601604 $comment->deleteComment();
Index: trunk/extensions/Wikilog/Wikilog.i18n.php
@@ -24,8 +24,8 @@
2525 # Logs
2626 'wikilog-log-pagename' => 'Wikilog actions log',
2727 'wikilog-log-pagetext' => 'Below is a list of wikilog actions.',
28 - 'wikilog-log-cmt-approve' => 'approved comment [[$1]]',
29 - 'wikilog-log-cmt-reject' => 'rejected comment [[$1]]',
 28+ 'wikilog-log-cmt-approve' => 'approved comment "[[$1]]"',
 29+ 'wikilog-log-cmt-reject' => 'rejected comment "[[$1]]"',
3030 'wikilog-log-cmt-rejdel' => 'Rejected wikilog comment from [[Special:Contributions/$1|$1]]',
3131
3232 # Wikilog tab

Status & tagging log