From: Aaron Schulz Date: Tue, 1 Jul 2008 15:35:21 +0000 (+0000) Subject: Replace underscores in target X-Git-Tag: 1.31.0-rc.0~46826 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=4c1545e6c098fa0b11c021d80026aeee8d28eae8;p=lhc%2Fweb%2Fwiklou.git Replace underscores in target --- diff --git a/includes/specials/SpecialRecentchangeslinked.php b/includes/specials/SpecialRecentchangeslinked.php index 2b00ef3f8f..3f9ad06ef1 100644 --- a/includes/specials/SpecialRecentchangeslinked.php +++ b/includes/specials/SpecialRecentchangeslinked.php @@ -108,7 +108,7 @@ class SpecialRecentchangeslinked extends SpecialRecentchanges { $extraOpts = array(); $extraOpts['namespace'] = $this->namespaceFilterForm( $opts ); $extraOpts['target'] = array( wfMsg( 'recentchangeslinked-page' ), - Xml::input( 'target', 40, $opts['target'] ) . + Xml::input( 'target', 40, str_replace('_',' ',$opts['target']) ) . Xml::check( 'showlinkedto', $opts['showlinkedto'], array('id' => 'showlinkedto') ) . ' ' . Xml::label( wfMsg("recentchangeslinked-to"), 'showlinkedto' ) ); $extraOpts['submit'] = Xml::submitbutton( wfMsg('allpagessubmit') );