Index: trunk/extensions/Interlanguage/InterlanguageExtension.php |
— | — | @@ -307,8 +307,8 @@ |
308 | 308 | if( count( $pagelinks ) ) { |
309 | 309 | $linker = new Linker(); |
310 | 310 | foreach( $pagelinks as $page => $dummy ) { |
311 | | - $title = Title::newFromText( $wgInterlanguageExtensionInterwiki . strtr( $this->translateNamespace( $page ), '_', ' ') ); |
312 | | - $link = $linker->link( $title, $text? $text: $page ); |
| 311 | + $title = Title::newFromText( $wgInterlanguageExtensionInterwiki . $this->translateNamespace( $page ) ); |
| 312 | + $link = $linker->link( $title, $text? $text: $page, array(), array( 'action' => 'edit' ) ); |
313 | 313 | if( strlen( $link ) ) { |
314 | 314 | $pagelinktexts[] = $link; |
315 | 315 | } |