r58351 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r58350‎ | r58351 | r58352 >
Date:02:14, 30 October 2009
Author:aaron
Status:ok (Comments)
Tags:
Comment:
* bug 21267 change "show/hide" to "show", if user cannot submit Special:Revisiondelete
* Added revDeleteLinkDisabled() function
Modified paths:
  • /trunk/phase3/includes/Article.php (modified) (history)
  • /trunk/phase3/includes/HistoryPage.php (modified) (history)
  • /trunk/phase3/includes/ImagePage.php (modified) (history)
  • /trunk/phase3/includes/Linker.php (modified) (history)
  • /trunk/phase3/includes/LogEventsList.php (modified) (history)
  • /trunk/phase3/includes/diff/DifferenceInterface.php (modified) (history)
  • /trunk/phase3/includes/specials/SpecialContributions.php (modified) (history)
  • /trunk/phase3/includes/specials/SpecialDeletedContributions.php (modified) (history)
  • /trunk/phase3/includes/specials/SpecialUndelete.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)
  • /trunk/phase3/maintenance/language/messages.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialContributions.php
@@ -622,20 +622,20 @@
623623 }
624624
625625 // Don't show useless link to people who cannot hide revisions
626 - if( $wgUser->isAllowed('deleterevision') || ($rev->getVisibility() && $wgUser->isAllowed('deletedhistory')) ) {
627 - // If revision was hidden from sysops
 626+ $canHide = $wgUser->isAllowed( 'deleterevision' );
 627+ if( $canHide || ($rev->getVisibility() && $wgUser->isAllowed('deletedhistory')) ) {
628628 if( !$rev->userCan( Revision::DELETED_RESTRICTED ) ) {
629 - $del = Xml::tags( 'span', array( 'class'=>'mw-revdelundel-link' ),
630 - wfMsg( 'parentheses', $this->messages['rev-delundel'] ) ) . ' ';
631 - // Otherwise, show the link...
 629+ $del = $this->mSkin->revDeleteLinkDisabled( $canHide ); // revision was hidden from sysops
632630 } else {
633631 $query = array(
634 - 'type' => 'revision',
 632+ 'type' => 'revision',
635633 'target' => $page->getPrefixedDbkey(),
636 - 'ids' => $rev->getId() );
 634+ 'ids' => $rev->getId()
 635+ );
637636 $del = $this->mSkin->revDeleteLink( $query,
638 - $rev->isDeleted( Revision::DELETED_RESTRICTED ) ) . ' ';
 637+ $rev->isDeleted( Revision::DELETED_RESTRICTED ), $canHide );
639638 }
 639+ $del .= ' ';
640640 } else {
641641 $del = '';
642642 }
Index: trunk/phase3/includes/specials/SpecialDeletedContributions.php
@@ -190,20 +190,18 @@
191191 $mflag = '';
192192 }
193193
194 - // Don't show useless link to people who cannot hide revisions
195 - if( $wgUser->isAllowed('deleterevision') || ($rev->getVisibility() && $wgUser->isAllowed('deletedhistory')) ) {
196 - // If revision was hidden from sysops
 194+ // Revision delete link
 195+ $canHide = $wgUser->isAllowed( 'deleterevision' );
 196+ if( $canHide || ($rev->getVisibility() && $wgUser->isAllowed('deletedhistory')) ) {
197197 if( !$rev->userCan( Revision::DELETED_RESTRICTED ) ) {
198 - $del = Xml::tags( 'span', array( 'class'=>'mw-revdelundel-link' ),
199 - '(' . $this->message['rev-delundel'] . ')' ) . ' ';
200 - // Otherwise, show the link...
 198+ $del = $this->mSkin->revDeleteLinkDisabled( $canHide ); // revision was hidden from sysops
201199 } else {
202200 $query = array(
203201 'type' => 'archive',
204202 'target' => $page->getPrefixedDbkey(),
205203 'ids' => $rev->getTimestamp() );
206204 $del = $this->mSkin->revDeleteLink( $query,
207 - $rev->isDeleted( Revision::DELETED_RESTRICTED ) ) . ' ';
 205+ $rev->isDeleted( Revision::DELETED_RESTRICTED ), $canHide ) . ' ';
208206 }
209207 } else {
210208 $del = '';
Index: trunk/phase3/includes/specials/SpecialUndelete.php
@@ -783,25 +783,25 @@
784784 } else {
785785 $openDiv = '<div id="mw-undelete-revision">';
786786 }
787 -
788 - $revdlink = '';
789 - // Diffs already have revision delete links
790 - if( !$this->mDiff && $wgUser->isAllowed( 'deletedhistory' ) ) {
791 - // Don't show useless link to people who cannot hide revisions
792 - if( !$rev->getVisibility() && !$wgUser->isAllowed( 'deleterevision' ) ) {
793 - $revdlink = '';
794 - // If revision was hidden from sysops
795 - } else if( !$rev->userCan(Revision::DELETED_RESTRICTED ) ) {
796 - $revdlink = Xml::tags( 'span', array( 'class'=>'mw-revdelundel-link' ),
797 - '('.wfMsgHtml('rev-delundel').')' );
 787+
 788+ // Revision delete links
 789+ $canHide = $wgUser->isAllowed( 'deleterevision' );
 790+ if( $this->mDiff ) {
 791+ $revdlink = ''; // diffs already have revision delete links
 792+ } else if( $canHide || ($rev->getVisibility() && $wgUser->isAllowed('deletedhistory')) ) {
 793+ if( !$rev->userCan(Revision::DELETED_RESTRICTED ) ) {
 794+ $revdlink = $skin->revDeleteLinkDisabled( $canHide ); // revision was hidden from sysops
798795 } else {
799796 $query = array(
800797 'type' => 'archive',
801798 'target' => $this->mTargetObj->getPrefixedDBkey(),
802799 'ids' => $rev->getTimestamp()
803800 );
804 - $revdlink = $skin->revDeleteLink( $query, $rev->isDeleted( File::DELETED_RESTRICTED ) );
 801+ $revdlink = $skin->revDeleteLink( $query,
 802+ $rev->isDeleted( File::DELETED_RESTRICTED ), $canHide );
805803 }
 804+ } else {
 805+ $revdlink = '';
806806 }
807807
808808 $wgOut->addHTML( $openDiv . $revdlink . wfMsgWikiHtml( 'undelete-revision', $link, $time, $user, $d, $t ) . '</div>' );
@@ -899,20 +899,20 @@
900900 $targetPage = $rev->getTitle();
901901 $targetQuery = array( 'oldid' => $rev->getId() );
902902 }
903 - // Add show/hide link if available. Don't show useless link to people who cannot hide revisions.
904 - if( $wgUser->isAllowed('deleterevision') || ($rev->getVisibility() && $wgUser->isAllowed('deletedhistory')) ) {
905 - // If revision was hidden from sysops
 903+ // Add show/hide deletion links if available
 904+ $canHide = $wgUser->isAllowed( 'deleterevision' );
 905+ if( $canHide || ($rev->getVisibility() && $wgUser->isAllowed('deletedhistory')) ) {
 906+ $del = ' ';
906907 if( !$rev->userCan( Revision::DELETED_RESTRICTED ) ) {
907 - $del = ' ' . Xml::tags( 'span', array( 'class'=>'mw-revdelundel-link' ),
908 - '(' . wfMsgHtml('rev-delundel') . ')' );
909 - // Otherwise, show the link...
 908+ $del .= $sk->revDeleteLinkDisabled( $canHide ); // revision was hidden from sysops
910909 } else {
911910 $query = array(
912 - 'type' => 'archive',
 911+ 'type' => 'archive',
913912 'target' => $this->mTargetObj->getPrefixedDbkey(),
914 - 'ids' => $rev->getTimestamp() );
915 - $del = ' ' . $sk->revDeleteLink( $query,
916 - $rev->isDeleted( Revision::DELETED_RESTRICTED ) );
 913+ 'ids' => $rev->getTimestamp()
 914+ );
 915+ $del .= $sk->revDeleteLink( $query,
 916+ $rev->isDeleted( Revision::DELETED_RESTRICTED ), $canHide );
917917 }
918918 } else {
919919 $del = '';
@@ -1200,19 +1200,19 @@
12011201 }
12021202 // Edit summary
12031203 $comment = $sk->revComment( $rev );
1204 - // Show/hide link. // Don't show useless link to people who cannot hide revisions.
1205 - if( $wgUser->isAllowed('deleterevision') || ($rev->getVisibility() && $wgUser->isAllowed('deletedhistory')) ) {
 1204+ // Revision delete links
 1205+ $canHide = $wgUser->isAllowed( 'deleterevision' );
 1206+ if( $canHide || ($rev->getVisibility() && $wgUser->isAllowed('deletedhistory')) ) {
12061207 if( !$rev->userCan( Revision::DELETED_RESTRICTED ) ) {
1207 - // If revision was hidden from sysops
1208 - $revdlink = Xml::tags( 'span', array( 'class'=>'mw-revdelundel-link' ),
1209 - '('.wfMsgHtml('rev-delundel').')' );
 1208+ $revdlink = $sk->revDeleteLinkDisabled( $canHide ); // revision was hidden from sysops
12101209 } else {
12111210 $query = array(
1212 - 'type' => 'archive',
 1211+ 'type' => 'archive',
12131212 'target' => $this->mTargetObj->getPrefixedDBkey(),
1214 - 'ids' => $ts
 1213+ 'ids' => $ts
12151214 );
1216 - $revdlink = $sk->revDeleteLink( $query, $rev->isDeleted( Revision::DELETED_RESTRICTED ) );
 1215+ $revdlink = $sk->revDeleteLink( $query,
 1216+ $rev->isDeleted( Revision::DELETED_RESTRICTED ), $canHide );
12171217 }
12181218 } else {
12191219 $revdlink = '';
@@ -1246,20 +1246,22 @@
12471247 ')';
12481248 $data = htmlspecialchars( $data );
12491249 $comment = $this->getFileComment( $file, $sk );
1250 - $revdlink = '';
1251 - // Add show/hide link if available. Don't show useless link to people who cannot hide revisions.
1252 - if( $wgUser->isAllowed('deleterevision') || ($file->getVisibility() && $wgUser->isAllowed('deletedhistory')) ) {
 1250+ // Add show/hide deletion links if available
 1251+ $canHide = $wgUser->isAllowed( 'deleterevision' );
 1252+ if( $canHide || ($file->getVisibility() && $wgUser->isAllowed('deletedhistory')) ) {
12531253 if( !$file->userCan(File::DELETED_RESTRICTED ) ) {
1254 - // If revision was hidden from sysops
1255 - $revdlink = Xml::tags( 'span', array( 'class'=>'mw-revdelundel-link' ), '('.wfMsgHtml('rev-delundel').')' );
 1254+ $revdlink = $sk->revDeleteLinkDisabled( $canHide ); // revision was hidden from sysops
12561255 } else {
12571256 $query = array(
12581257 'type' => 'filearchive',
12591258 'target' => $this->mTargetObj->getPrefixedDBkey(),
12601259 'ids' => $row->fa_id
12611260 );
1262 - $revdlink = $sk->revDeleteLink( $query, $file->isDeleted( File::DELETED_RESTRICTED ) );
 1261+ $revdlink = $sk->revDeleteLink( $query,
 1262+ $file->isDeleted( File::DELETED_RESTRICTED ), $canHide );
12631263 }
 1264+ } else {
 1265+ $revdlink = '';
12641266 }
12651267 return "<li>$checkBox $revdlink $pageLink . . $userLink $data $comment</li>\n";
12661268 }
Index: trunk/phase3/includes/HistoryPage.php
@@ -50,7 +50,7 @@
5151 function preCacheMessages() {
5252 // Precache various messages
5353 if( !isset( $this->message ) ) {
54 - $msgs = array( 'cur', 'last', 'rev-delundel', 'pipe-separator' );
 54+ $msgs = array( 'cur', 'last', 'pipe-separator' );
5555 foreach( $msgs as $msg ) {
5656 $this->message[$msg] = wfMsgExt( $msg, array( 'escapenoentities') );
5757 }
@@ -472,6 +472,7 @@
473473 $classes = array();
474474
475475 $del = '';
 476+ // User can delete revisions...
476477 if( $wgUser->isAllowed( 'deleterevision' ) ) {
477478 // If revision was hidden from sysops, disable the checkbox
478479 if( !$rev->userCan( Revision::DELETED_RESTRICTED ) ) {
@@ -484,13 +485,13 @@
485486 } else if( $rev->getVisibility() && $wgUser->isAllowed( 'deletedhistory' ) ) {
486487 // If revision was hidden from sysops, disable the link
487488 if( !$rev->userCan( Revision::DELETED_RESTRICTED ) ) {
488 - $del = Xml::tags( 'span', array( 'class'=>'mw-revdelundel-link' ),
489 - '(' . $this->historyPage->message['rev-delundel'] . ')' );
 489+ $cdel = $this->getSkin()->revDeleteLinkDisabled( false );
490490 // Otherwise, show the link...
491491 } else {
492492 $query = array( 'type' => 'revision',
493493 'target' => $this->title->getPrefixedDbkey(), 'ids' => $rev->getId() );
494 - $del .= $this->getSkin()->revDeleteLink( $query, $rev->isDeleted( Revision::DELETED_RESTRICTED ) );
 494+ $del .= $this->getSkin()->revDeleteLink( $query,
 495+ $rev->isDeleted( Revision::DELETED_RESTRICTED ), false );
495496 }
496497 }
497498 if( $del ) $s .= " $del ";
Index: trunk/phase3/includes/Article.php
@@ -3369,6 +3369,8 @@
33703370 return;
33713371 }
33723372
 3373+ $unhide = $wgRequest->getInt('unhide') == 1 &&
 3374+ $wgUser->matchEditToken( $wgRequest->getVal('token'), $oldid );
33733375 # Cascade unhide param in links for easy deletion browsing
33743376 $extraParams = array();
33753377 if( $wgRequest->getVal('unhide') ) {
@@ -3452,23 +3454,24 @@
34533455 array( 'known', 'noclasses' )
34543456 );
34553457
3456 - $cdel='';
3457 - // Don't show useless link to people who cannot hide revisions
3458 - if( $wgUser->isAllowed('deleterevision') || ($revision->getVisibility() && $wgUser->isAllowed('deletedhistory')) ) {
 3458+ $cdel = '';
 3459+ // User can delete revisions or view deleted revisions...
 3460+ $canHide = $wgUser->isAllowed('deleterevision');
 3461+ if( $canHide || ($revision->getVisibility() && $wgUser->isAllowed('deletedhistory')) ) {
 3462+ // Is this hidden from Sysops?
34593463 if( !$revision->userCan( Revision::DELETED_RESTRICTED ) ) {
3460 - // If revision was hidden from sysops
3461 - $cdel = wfMsgHtml( 'rev-delundel' );
 3464+ $cdel = $sk->revDeleteLinkDisabled( $canHide );
34623465 } else {
34633466 $query = array(
34643467 'type' => 'revision',
34653468 'target' => urlencode( $this->mTitle->getPrefixedDbkey() ),
34663469 'ids' => urlencode( $oldid )
34673470 );
3468 - $cdel = $sk->revDeleteLink( $query, $revision->isDeleted(File::DELETED_RESTRICTED) );
 3471+ $cdel = $sk->revDeleteLink( $query, $revision->isDeleted(File::DELETED_RESTRICTED), $canHide );
34693472 }
34703473 $cdel .= ' ';
34713474 }
3472 - $unhide = $wgRequest->getInt('unhide') == 1 && $wgUser->matchEditToken( $wgRequest->getVal('token'), $oldid );
 3475+
34733476 # Show user links if allowed to see them. If hidden, then show them only if requested...
34743477 $userlinks = $sk->revUserTools( $revision, !$unhide );
34753478
Index: trunk/phase3/includes/LogEventsList.php
@@ -39,7 +39,7 @@
4040 // Precache various messages
4141 if( !isset( $this->message ) ) {
4242 $messages = array( 'revertmerge', 'protect_change', 'unblocklink', 'change-blocklink',
43 - 'revertmove', 'undeletelink', 'undeleteviewlink', 'revdel-restore', 'rev-delundel', 'hist', 'diff',
 43+ 'revertmove', 'undeletelink', 'undeleteviewlink', 'revdel-restore', 'hist', 'diff',
4444 'pipe-separator' );
4545 foreach( $messages as $msg ) {
4646 $this->message[$msg] = wfMsgExt( $msg, array( 'escapenoentities' ) );
@@ -507,22 +507,24 @@
508508 * @return string
509509 */
510510 private function getShowHideLinks( $row ) {
 511+ global $wgUser;
 512+ if( $row->log_type == 'suppress' ) {
 513+ return ''; // No one can hide items from the oversight log
 514+ }
 515+ $canHide = $wgUser->isAllowed( 'deleterevision' );
511516 // If event was hidden from sysops
512517 if( !self::userCan( $row, LogPage::DELETED_RESTRICTED ) ) {
513 - $del = Xml::tags( 'span', array( 'class'=>'mw-revdelundel-link' ),
514 - '(' . $this->message['rev-delundel'] . ')' );
515 - } else if( $row->log_type == 'suppress' ) {
516 - $del = ''; // No one should be hiding from the oversight log
 518+ $del = $this->skin->revDeleteLinkDisabled( $canHide );
517519 } else {
518520 $target = SpecialPage::getTitleFor( 'Log', $row->log_type );
519521 $page = Title::makeTitle( $row->log_namespace, $row->log_title );
520522 $query = array(
521523 'target' => $target->getPrefixedDBkey(),
522 - 'type' => 'logging',
523 - 'ids' => $row->log_id,
 524+ 'type' => 'logging',
 525+ 'ids' => $row->log_id,
524526 );
525527 $del = $this->skin->revDeleteLink( $query,
526 - self::isDeleted( $row, LogPage::DELETED_RESTRICTED ) );
 528+ self::isDeleted( $row, LogPage::DELETED_RESTRICTED ), $canHide );
527529 }
528530 return $del;
529531 }
Index: trunk/phase3/includes/ImagePage.php
@@ -861,21 +861,23 @@
862862 );
863863 }
864864 # Link to hide content. Don't show useless link to people who cannot hide revisions.
865 - if( $wgUser->isAllowed('deleterevision') || ($wgUser->isAllowed('deletedhistory') && $file->getVisibility()) ) {
 865+ $canHide = $wgUser->isAllowed( 'deleterevision' );
 866+ if( $canHide || ($wgUser->isAllowed('deletedhistory') && $file->getVisibility()) ) {
866867 if( $wgUser->isAllowed('delete') ) {
867868 $row .= '<br/>';
868869 }
869870 // If file is top revision or locked from this user, don't link
870871 if( $iscur || !$file->userCan(File::DELETED_RESTRICTED) ) {
871 - $del = wfMsgHtml( 'rev-delundel' );
 872+ $del = $this->skin->revDeleteLinkDisabled( $canHide );
872873 } else {
873874 list( $ts, $name ) = explode( '!', $img, 2 );
874875 $query = array(
875 - 'type' => 'oldimage',
 876+ 'type' => 'oldimage',
876877 'target' => $wgTitle->getPrefixedText(),
877 - 'ids' => $ts,
 878+ 'ids' => $ts,
878879 );
879 - $del = $this->skin->revDeleteLink( $query, $file->isDeleted(File::DELETED_RESTRICTED) );
 880+ $del = $this->skin->revDeleteLink( $query,
 881+ $file->isDeleted(File::DELETED_RESTRICTED), $canHide );
880882 }
881883 $row .= $del;
882884 }
Index: trunk/phase3/includes/Linker.php
@@ -1636,17 +1636,31 @@
16371637 *
16381638 * @param array $query Query parameters to be passed to link()
16391639 * @param bool $restricted Set to true to use a <strong> instead of a <span>
 1640+ * @param bool $delete Set to true to use (show/hide) rather than (show)
16401641 *
16411642 * @return string HTML <a> link to Special:Revisiondelete, wrapped in a
16421643 * span to allow for customization of appearance with CSS
16431644 */
1644 - public function revDeleteLink( $query = array(), $restricted = false ) {
 1645+ public function revDeleteLink( $query = array(), $restricted = false, $delete = true ) {
16451646 $sp = SpecialPage::getTitleFor( 'Revisiondelete' );
1646 - $text = wfMsgHtml( 'rev-delundel' );
 1647+ $text = $delete ? wfMsgHtml( 'rev-delundel' ) : wfMsgHtml( 'rev-showdeleted' );
16471648 $tag = $restricted ? 'strong' : 'span';
16481649 $link = $this->link( $sp, $text, array(), $query, array( 'known', 'noclasses' ) );
16491650 return Xml::tags( $tag, array( 'class' => 'mw-revdelundel-link' ), "($link)" );
16501651 }
 1652+
 1653+ /**
 1654+ * Creates a dead (show/hide) link for deleting revisions/log entries
 1655+ *
 1656+ * @param bool $delete Set to true to use (show/hide) rather than (show)
 1657+ *
 1658+ * @return string HTML text wrapped in a span to allow for customization
 1659+ * of appearance with CSS
 1660+ */
 1661+ public function revDeleteLinkDisabled( $delete = true ) {
 1662+ $text = $delete ? wfMsgHtml( 'rev-delundel' ) : wfMsgHtml( 'rev-showdeleted' );
 1663+ return Xml::tags( 'span', array( 'class' => 'mw-revdelundel-link' ), "($text)" );
 1664+ }
16511665
16521666 /* Deprecated methods */
16531667
Index: trunk/phase3/includes/diff/DifferenceInterface.php
@@ -315,34 +315,34 @@
316316 $rdel = ''; $ldel = '';
317317 # Handle RevisionDelete links...
318318 if( $wgUser->isAllowed( 'deletedhistory' ) ) {
 319+ $canHide = $wgUser->isAllowed( 'deleterevision' );
319320 // Don't show useless link to people who cannot hide revisions
320 - if( $this->mOldRev->getVisibility() || $wgUser->isAllowed( 'deleterevision' ) ) {
 321+ if( $canHide || $this->mOldRev->getVisibility() ) {
321322 if( !$this->mOldRev->userCan( Revision::DELETED_RESTRICTED ) ) {
322 - // If revision was hidden from sysops
323 - $ldel = Xml::tags( 'span', array( 'class' => 'mw-revdelundel-link' ),
324 - '(' . wfMsgHtml( 'rev-delundel' ) . ')' );
 323+ $ldel = $sk->revDeleteLinkDisabled( $canHide ); // revision was hidden from sysops
325324 } else {
326325 $query = array(
327326 'type' => 'revision',
328327 'target' => $this->mOldRev->mTitle->getPrefixedDbkey(),
329328 'ids' => $this->mOldRev->getId()
330329 );
331 - $ldel = $sk->revDeleteLink( $query, $this->mOldRev->isDeleted( Revision::DELETED_RESTRICTED ) );
 330+ $ldel = $sk->revDeleteLink( $query,
 331+ $this->mOldRev->isDeleted( Revision::DELETED_RESTRICTED ), $canHide );
332332 }
333333 $ldel = "&nbsp;&nbsp;&nbsp;$ldel ";
334334 }
335335 // Don't show useless link to people who cannot hide revisions
336336 if( $this->mNewRev->getVisibility() || $wgUser->isAllowed( 'deleterevision' ) ) {
337337 if( !$this->mNewRev->userCan( Revision::DELETED_RESTRICTED ) ) {
338 - // If revision was hidden from sysops
339 - $rdel = Xml::tags( 'span', array( 'class'=>'mw-revdelundel-link' ), '('.wfMsgHtml( 'rev-delundel' ).')' );
 338+ $rdel = $sk->revDeleteLinkDisabled( $canHide ); // revision was hidden from sysops
340339 } else {
341340 $query = array(
342341 'type' => 'revision',
343342 'target' => $this->mNewRev->mTitle->getPrefixedDbkey(),
344343 'ids' => $this->mNewRev->getId()
345344 );
346 - $rdel = $sk->revDeleteLink( $query, $this->mNewRev->isDeleted( Revision::DELETED_RESTRICTED ) );
 345+ $rdel = $sk->revDeleteLink( $query,
 346+ $this->mNewRev->isDeleted( Revision::DELETED_RESTRICTED ), $canHide );
347347 }
348348 $rdel = "&nbsp;&nbsp;&nbsp;$rdel ";
349349 }
Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -1450,6 +1450,7 @@
14511451 'rev-suppressed-diff-view' => "One of the revisions of this diff has been '''suppressed'''.
14521452 As an administrator you can view this diff; there may be details in the [{{fullurl:{{#Special:Log}}/suppress|page={{FULLPAGENAMEE}}}} suppression log].",
14531453 'rev-delundel' => 'show/hide',
 1454+'rev-showdeleted' => 'show',
14541455 'revisiondelete' => 'Delete/undelete revisions',
14551456 'revdelete-nooldid-title' => 'Invalid target revision',
14561457 'revdelete-nooldid-text' => 'You have either not specified a target revision(s) to perform this
Index: trunk/phase3/maintenance/language/messages.inc
@@ -669,6 +669,7 @@
670670 'rev-deleted-diff-view',
671671 'rev-suppressed-diff-view',
672672 'rev-delundel',
 673+ 'rev-showdeleted',
673674 'revisiondelete',
674675 'revdelete-nooldid-title',
675676 'revdelete-nooldid-text',

Follow-up revisions

RevisionCommit summaryAuthorDate
r58352A few cleanups for r58351aaron02:23, 30 October 2009

Comments

#Comment by Siebrand (talk | contribs)   06:47, 8 October 2012

Status & tagging log