Index: trunk/extensions/Translate/specials/SpecialLanguageStats.php |
— | — | @@ -210,17 +210,17 @@ |
211 | 211 | * Output something helpful to guide the confused user. |
212 | 212 | */ |
213 | 213 | protected function outputIntroduction() { |
214 | | - global $wgOut, $wgLang; |
| 214 | + global $wgOut, $wgLang, $wgUser; |
215 | 215 | |
216 | 216 | $linker = class_exists( 'DummyLinker' ) ? new DummyLinker : new Linker; |
217 | 217 | $languageName = TranslateUtils::getLanguageName( $this->target, false, $wgLang->getCode() ); |
218 | 218 | $rcInLangLink = $linker->link( |
219 | | - SpecialPage::getTitleFor( 'Recentchanges' ), |
| 219 | + SpecialPage::getTitleFor( 'Translate', '!recent' ), |
220 | 220 | wfMsgHtml( 'languagestats-recenttranslations' ), |
221 | 221 | array(), |
222 | 222 | array( |
223 | | - 'translations' => 'only', |
224 | | - 'trailer' => "/" . $this->target |
| 223 | + 'task' => $wgUser->isAllowed( 'translate-messagereview' ) ? 'acceptqueue' : 'reviewall', |
| 224 | + 'language' => $this->target |
225 | 225 | ) |
226 | 226 | ); |
227 | 227 | |