* (bug 5594) Id translation up to # Login and logout pages section
* (bug 5536) Use content language for editing help link
* (bug 5605) Improve German localisation files
+* (bug 5570) Problems using <special page>/parameter link form for long titles
== Compatibility ==
);
}
if ( $this->mTitle->userCanMove()) {
+ $moveTitle = Title::makeTitle( NS_SPECIAL, 'Movepage' );
$content_actions['move'] = array(
'class' => ($this->mTitle->getDbKey() == 'Movepage' and $this->mTitle->getNamespace == NS_SPECIAL) ? 'selected' : false,
'text' => wfMsg('move'),
- 'href' => $this->makeSpecialUrl("Movepage/$this->thispage" )
+ 'href' => $moveTitle->getLocalUrl( 'target=' . $this->thispage )
);
}
} else {
wfRunHooks( 'SkinTemplateBuildNavUrlsNav_urlsAfterPermalink', array( &$this, &$nav_urls, &$oldid, &$revid ) );
}
- if( $this->mTitle->getNamespace() != NS_SPECIAL) {
+ if( $this->mTitle->getNamespace() != NS_SPECIAL ) {
+ $wlhTitle = Title::makeTitle( NS_SPECIAL, 'Whatlinkshere' );
$nav_urls['whatlinkshere'] = array(
- 'href' => $this->makeSpecialUrl("Whatlinkshere/$this->thispage")
+ 'href' => $wlhTitle->getLocalUrl( 'target=' . $this->thispage )
);
if( $this->mTitle->getArticleId() ) {
+ $rclTitle = Title::makeTitle( NS_SPECIAL, 'Recentchangeslinked' );
$nav_urls['recentchangeslinked'] = array(
- 'href' => $this->makeSpecialUrl("Recentchangeslinked/$this->thispage")
+ 'href' => $rclTitle->getLocalUrl( 'target=' . $this->thispage )
+ #'href' => $this->makeSpecialUrl("Recentchangeslinked/$this->thispage")
);
}
if ($wgUseTrackbacks)