Index: trunk/extensions/Translate/TranslatePage.php |
— | — | @@ -405,7 +405,11 @@ |
406 | 406 | $id = $block->getId(); |
407 | 407 | |
408 | 408 | $title = $this->getTitle(); |
409 | | - $edit = $wgUser->getSkin()->makeKnownLinkObj( $title, wfMsgHtml( self::MSG . 'edit' ), "group=$id" ); |
| 409 | + |
| 410 | + $code = $this->options['language']; |
| 411 | + $extra = "group=$id&language=$code" ; |
| 412 | + |
| 413 | + $edit = $wgUser->getSkin()->makeKnownLinkObj( $title, wfMsgHtml( self::MSG . 'edit' ), $extra ); |
410 | 414 | $label = htmlspecialchars( $block->getLabel() ) . " ($edit)"; |
411 | 415 | $desc = $this->getGroupDescription( $block ); |
412 | 416 | $hasSubblocks = is_array( $blocks ) && count( $blocks ); |