r23155 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23154‎ | r23155 | r23156 >
Date:11:41, 21 June 2007
Author:robchurch
Status:old
Tags:
Comment:
(bug 10325) Fix regression in form action on Special:Listusers
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/SpecialListusers.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialListusers.php
@@ -115,14 +115,17 @@
116116 }
117117
118118 function getPageHeader( ) {
119 - global $wgRequest;
 119+ global $wgScript, $wgRequest;
120120 $self = $this->getTitle();
121121
122122 # Form tag
123 - $out = Xml::openElement( 'form', array( 'method' => 'get', 'action' => $self->getLocalUrl() ) ) .
 123+ $out = Xml::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript ) ) .
124124 '<fieldset>' .
125125 Xml::element( 'legend', array(), wfMsg( 'listusers' ) );
126126
 127+ # Title
 128+ $out .= Xml::hidden( 'title', $self->getPrefixedUrl() );
 129+
127130 # Username field
128131 $out .= Xml::label( wfMsg( 'listusersfrom' ), 'offset' ) . ' ' .
129132 Xml::input( 'username', 20, $this->requestedUser, array( 'id' => 'offset' ) ) . ' ';
Index: trunk/phase3/RELEASE-NOTES
@@ -188,6 +188,7 @@
189189 * Avoid PHP notice errors when doing HTTP proxy purges for an empty list
190190 * As intended, *skip* the HTTP proxy purges when doing HTCP purges
191191 * (bug 9696) Fix handling of brace transformations in "pagemovedtext"
 192+* (bug 10325) Fix regression in form action on Special:Listusers
192193
193194 == API changes since 1.10 ==
194195

Follow-up revisions

RevisionCommit summaryAuthorDate
r23203Merged revisions 23120-23202 via svnmerge from...david09:07, 22 June 2007

Status & tagging log