https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112887
Revision: 112887
Author: santhosh
Date: 2012-03-02 13:18:24 +0000 (Fri, 02 Mar 2012)
Log Message:
-----------
Fix a copy-paste mistake in r112882
Remove a duplicate addModules call. It is already called in showPage method.
Modified Paths:
--------------
trunk/extensions/Translate/tag/SpecialPageTranslation.php
Modified: trunk/extensions/Translate/tag/SpecialPageTranslation.php
===================================================================
--- trunk/extensions/Translate/tag/SpecialPageTranslation.php 2012-03-02
13:16:18 UTC (rev 112886)
+++ trunk/extensions/Translate/tag/SpecialPageTranslation.php 2012-03-02
13:18:24 UTC (rev 112887)
@@ -71,8 +71,6 @@
return;
}
- $wgOut->addModules( 'ext.translate.special.pagetranslation' );
-
if ( $action === 'discourage' || $action === 'encourage' ) {
$id = TranslatablePage::getMessageGroupIdFromTitle(
$title );
$dbw = wfGetDB( DB_MASTER );
@@ -88,7 +86,7 @@
if ( $action === 'encourage' ) {
$dbw->delete( $table, $row, __METHOD__ );
- // @todo Check if page is currently actually
discouraged to prevent duplicate log entries.
+ // @todo Check if page is currently actually
encourageed to prevent duplicate log entries.
$logger->addEntry( 'encourage', $title, null,
array( serialize( $params ) ) );
} else {
$index = array( 'tgr_group', 'tgr_lang' );
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs