(Also removing unused variable in protectedtitles.)
global $wgLang;
$dirmark = ( $oppositedm ? $wgLang->getDirMark( true ) : '' ) .
$wgLang->getDirMark();
- $details = $details ? ' ' . $dirmark . "($details)" : '';
+ $details = $details ? $dirmark . " ($details)" : '';
return $page . $details;
}
$description_items[] = $protType;
- $stxt = '';
-
if ( $row->pt_expiry != 'infinity' && strlen($row->pt_expiry) ) {
$expiry = $wgLang->formatExpiry( $row->pt_expiry );
wfProfileOut( __METHOD__ );
- return '<li>' . wfSpecialList( $link . $stxt, implode( $description_items, ', ' ) ) . "</li>\n";
+ return '<li>' . wfSpecialList( $link, implode( $description_items, ', ' ) ) . "</li>\n";
}
/**