function formatRow( $row ) {
wfProfileIn( __METHOD__ );
+ $page = Title::makeTitle( $row->ar_namespace, $row->ar_title );
+
$rev = new Revision( array(
+ 'title' => $page,
'id' => $row->ar_rev_id,
'comment' => $row->ar_comment,
'user' => $row->ar_user,
'deleted' => $row->ar_deleted,
) );
- $page = Title::makeTitle( $row->ar_namespace, $row->ar_title );
-
$undelete = SpecialPage::getTitleFor( 'Undelete' );
$logs = SpecialPage::getTitleFor( 'Log' );
$link = Linker::linkKnown(
$undelete,
$date,
- array(),
+ array( 'class' => 'mw-changeslist-date' ),
array(
'target' => $page->getPrefixedText(),
'timestamp' => $rev->getTimestamp()
$link = '<span class="history-deleted">' . $link . '</span>';
}
- $pagelink = Linker::link( $page );
+ $pagelink = Linker::link(
+ $page,
+ null,
+ array( 'class' => 'mw-changeslist-title' )
+ );
if( $rev->isMinor() ) {
$mflag = ChangesList::flag( 'minor' );
array( $last, $dellog, $reviewlink ) ) )->escaped()
);
- $ret = "{$del}{$link} {$tools} . . {$mflag} {$pagelink} {$comment}";
+ $separator = '<span class="mw-changeslist-separator">. .</span>';
+ $ret = "{$del}{$link} {$tools} {$separator} {$mflag} {$pagelink} {$comment}";
# Denote if username is redacted for this edit
if( $rev->isDeleted( Revision::DELETED_USER ) ) {
* Special page "deleted user contributions".
* Shows a list of the deleted contributions of a user.
*
- * @param $par String: (optional) user name of the user for which to show the contributions
+ * @param $par String: (optional) user name of the user for which to show the contributions
*/
function execute( $par ) {
global $wgQueryPageDefaultLimit;