r25156 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25155‎ | r25156 | r25157 >
Date:12:22, 26 August 2007
Author:nikerabbit
Status:old
Tags:
Comment:
* Double url encoding of title broke Special:Newpages for some languages
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/SpecialNewpages.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialNewpages.php
@@ -141,7 +141,7 @@
142142 global $wgScript;
143143 $self = SpecialPage::getTitleFor( $this->getName() );
144144 $form = Xml::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript ) );
145 - $form .= Xml::hidden( 'title', $self->getPrefixedUrl() );
 145+ $form .= Xml::hidden( 'title', $self->getPrefixedDBkey() );
146146 # Namespace selector
147147 $form .= '<table><tr><td align="right">' . Xml::label( wfMsg( 'namespace' ), 'namespace' ) . '</td>';
148148 $form .= '<td>' . Xml::namespaceSelector( $this->namespace, 'all' ) . '</td></tr>';
Index: trunk/phase3/RELEASE-NOTES
@@ -416,8 +416,8 @@
417417 * (bug 11065) Fix regression in handling of wiki-formatted EXIF metadata
418418 * (bug 10347) Add subtitle message to indicate that the page being viewed is
419419 protected.
 420+* Double encoding broke Special:Newpages for some languages
420421
421 -
422422 == API changes since 1.10 ==
423423
424424 Full API documentation is available at http://www.mediawiki.org/wiki/API

Follow-up revisions

RevisionCommit summaryAuthorDate
r25223Merged revisions 25126-25214 via svnmerge from...david07:39, 28 August 2007

Status & tagging log