Index: trunk/extensions/Translate/tag/SpecialPageTranslation.php |
— | — | @@ -71,8 +71,6 @@ |
72 | 72 | return; |
73 | 73 | } |
74 | 74 | |
75 | | - $wgOut->addModules( 'ext.translate.special.pagetranslation' ); |
76 | | - |
77 | 75 | if ( $action === 'discourage' || $action === 'encourage' ) { |
78 | 76 | $id = TranslatablePage::getMessageGroupIdFromTitle( $title ); |
79 | 77 | $dbw = wfGetDB( DB_MASTER ); |
— | — | @@ -88,7 +86,7 @@ |
89 | 87 | |
90 | 88 | if ( $action === 'encourage' ) { |
91 | 89 | $dbw->delete( $table, $row, __METHOD__ ); |
92 | | - // @todo Check if page is currently actually discouraged to prevent duplicate log entries. |
| 90 | + // @todo Check if page is currently actually encourageed to prevent duplicate log entries. |
93 | 91 | $logger->addEntry( 'encourage', $title, null, array( serialize( $params ) ) ); |
94 | 92 | } else { |
95 | 93 | $index = array( 'tgr_group', 'tgr_lang' ); |