r5296 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r5295‎ | r5296 | r5297 >
Date:23:17, 18 September 2004
Author:jeluf
Status:old
Tags:
Comment:
BUG#93 Fix handling of <nowiki> in templates. From HEAD
Modified paths:
  • /branches/REL1_3/phase3/includes/Parser.php (modified) (history)

Diff [purge]

Index: branches/REL1_3/phase3/includes/Parser.php
@@ -1821,6 +1821,7 @@
18221822 }
18231823
18241824 # Run full parser on the included text
 1825+ $text = $this->strip( $text, $this->mStripState );
18251826 $text = $this->removeHTMLtags( $text );
18261827 $text = $this->replaceVariables( $text, $assocArgs );
18271828
@@ -1845,7 +1846,8 @@
18461847 $inputArgs = end( $this->mArgStack );
18471848
18481849 if ( array_key_exists( $arg, $inputArgs ) ) {
1849 - $text = $this->removeHTMLtags( $inputArgs[$arg] );
 1850+ $text = $this->strip( $inputArgs[$arg], $this->mStripState );
 1851+ $text = $this->removeHTMLtags( $text );
18501852 $text = $this->replaceVariables( $text, array() );
18511853 }
18521854

Follow-up revisions

RevisionCommit summaryAuthorDate
r13917(bug 93) <nowiki> tags and tildes in templatesrobchurch02:20, 29 April 2006
r88997fix for Bug #93 “tilde signatures inside nowiki tags sometimes get expanded...mah20:55, 27 May 2011
r89308Revert r88997: fix for bug 93 caused some additional problems....brion00:32, 2 June 2011
r89648Another try at fixing bug 93 "tilde signatures inside nowiki tags sometimes g...pcopp15:12, 7 June 2011
r89662Provisional revert of r89648: "Another try at fixing bug 93 "tilde signatures...brion17:34, 7 June 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r5295BUG#93 Fix handling of <nowiki> in templatesjeluf23:14, 18 September 2004

Status & tagging log