r46749 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r46748‎ | r46749 | r46750 >
Date:00:15, 3 February 2009
Author:werdna
Status:deferred
Tags:
Comment:
Fix double-prefixing.
Modified paths:
  • /trunk/extensions/AbuseFilter/AbuseFilter.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/AbuseFilter/AbuseFilter.class.php
@@ -834,7 +834,7 @@
835835 $title = Title::makeTitle( $row->rc_namespace, $row->rc_title );
836836
837837 $vars = array_merge( $vars, self::generateUserVars( User::newFromId( $row->rc_user ) ) );
838 - $vars = array_merge( $vars, self::generateTitleVars( $title, 'ARTICLE_' ) );
 838+ $vars = array_merge( $vars, self::generateTitleVars( $title, 'ARTICLE' ) );
839839 $vars['ACTION'] = 'edit';
840840 $vars['SUMMARY'] = $row->rc_comment;
841841

Status & tagging log