* contrast to normal "old revision" display style.
*/
function showFirstRevision() {
- global $wgOut, $wgUser, $wgLang;
+ global $wgOut, $wgUser;
$fname = 'DifferenceEngine::showFirstRevision';
wfProfileIn( $fname );
/** @todo document */
function getExternalLinkAttributes( $link, $text, $class='' ) {
- global $wgContLang;
-
$link = htmlspecialchars( $link );
$r = ($class != '') ? " class='$class'" : " class='external'";
/** @todo document */
function revLink( $rev ) {
- global $wgUser, $wgLang;
+ global $wgLang;
$date = $wgLang->timeanddate( wfTimestamp(TS_MW, $rev->getTimestamp()), true );
if( $rev->userCan( MW_REV_DELETED_TEXT ) ) {
$link = $this->mSkin->makeKnownLinkObj(
/** @todo document */
function curLink( $rev, $latest ) {
- global $wgUser;
$cur = wfMsgHtml( 'cur' );
if( $latest || !$rev->userCan( MW_REV_DELETED_TEXT ) ) {
return $cur;
/** @todo document */
function lastLink( $rev, $next, $counter ) {
- global $wgUser;
$last = htmlspecialchars( wfMsg( 'last' ) );
if( is_null( $next ) ) {
if( $rev->getTimestamp() == $this->getEarliestOffset() ) {
/** @todo document */
function diffButtons( $rev, $firstInList, $counter ) {
- global $wgUser;
if( $this->linesonpage > 1) {
$radio = array(
'type' => 'radio',
*/
function wfSpecialRevisiondelete( $par = null ) {
- global $wgOut, $wgRequest, $wgUser, $wgContLang;
+ global $wgOut, $wgRequest, $wgUser;
$target = $wgRequest->getVal( 'target' );
$oldid = $wgRequest->getInt( 'oldid' );