http://www.mediawiki.org/wiki/Special:Code/MediaWiki/66816
Revision: 66816 Author: nikerabbit Date: 2010-05-24 08:10:48 +0000 (Mon, 24 May 2010) Log Message: ----------- Better fix for my previous commit Modified Paths: -------------- trunk/extensions/Translate/tag/PageTranslationHooks.php Modified: trunk/extensions/Translate/tag/PageTranslationHooks.php =================================================================== --- trunk/extensions/Translate/tag/PageTranslationHooks.php 2010-05-24 07:48:15 UTC (rev 66815) +++ trunk/extensions/Translate/tag/PageTranslationHooks.php 2010-05-24 08:10:48 UTC (rev 66816) @@ -217,7 +217,7 @@ if ( $parser->getTitle()->getText() === $_title->getText() ) { $languages[] = "$label"; } else { - $languages[] = $sk->link( $_title, $label, array(), array(), array( 'known' ) ); + $languages[] = $sk->linkKnown( $_title, $label ); } } @@ -455,7 +455,7 @@ $href = SpecialPage::getTitleFor( 'Export' )->getLocalUrl( $params ); $linkText = wfMsgHtml( 'tpt-download-page' ); - print "<li id=\"t-download-as-pdf\"><a href=\"$href\" rel=\"nofollow\">$linkText</a></li>"; + print "<li id=\"t-export-translationpages\"><a href=\"$href\" rel=\"nofollow\">$linkText</a></li>"; return true; } _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs