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 @@
92
92
'type' => 'hidden',
93
93
'name' => 'diffonly',
94
94
),
95
+ 'Unhide' => array(
96
+ 'type' => 'hidden',
97
+ 'name' => 'unhide',
98
+ ),
95
99
), $this->getContext(), 'compare' );
96
100
$form->setSubmitText( wfMsg( 'compare-submit' ) );
97
101
$form->suppressReset();
—
—
@@ -111,8 +115,9 @@
112
116
$rev1,
113
117
$rev2,
114
118
null, // rcid
115
- ( $data["Action"] == 'purge' ),
116
- false );
119
+ ( $data['Action'] == 'purge' ),
120
+ ( $data['Unhide'] == '1' )
121
+ );
117
122
$de->showDiffPage( true );
118
123
}
119
124
}
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r99038
Big cleanup to DifferenceEngine:...
ialex
19:55, 5 October 2011
Status & tagging log
21:39, 14 November 2011
Aaron Schulz
(
talk
|
contribs
)
changed the
status
of r99079
[
removed:
new
added:
ok]