r99079 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99078‎ | r99079 | r99080 >
Date:08:47, 6 October 2011
Author:ialex
Status:ok
Tags:
Comment:
And I forgot to commit this in r99038: make "unhide" parameter work in Special:ComparePages, now that the links points to the correct place
Modified paths:
  • /trunk/phase3/includes/specials/SpecialComparePages.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialComparePages.php
@@ -91,6 +91,10 @@
9292 'type' => 'hidden',
9393 'name' => 'diffonly',
9494 ),
 95+ 'Unhide' => array(
 96+ 'type' => 'hidden',
 97+ 'name' => 'unhide',
 98+ ),
9599 ), $this->getContext(), 'compare' );
96100 $form->setSubmitText( wfMsg( 'compare-submit' ) );
97101 $form->suppressReset();
@@ -111,8 +115,9 @@
112116 $rev1,
113117 $rev2,
114118 null, // rcid
115 - ( $data["Action"] == 'purge' ),
116 - false );
 119+ ( $data['Action'] == 'purge' ),
 120+ ( $data['Unhide'] == '1' )
 121+ );
117122 $de->showDiffPage( true );
118123 }
119124 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r99038Big cleanup to DifferenceEngine:...ialex19:55, 5 October 2011

Status & tagging log