r5295 MediaWiki - Code Review archive

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

Diff [purge]

Index: trunk/phase3/includes/Parser.php
@@ -1695,6 +1695,7 @@
16961696 # Add a new element to the templace recursion path
16971697 $this->mTemplatePath[$part1] = 1;
16981698
 1699+ $text = $this->strip( $text, $this->mStripState );
16991700 $text = $this->removeHTMLtags( $text );
17001701 $text = $this->replaceVariables( $text, $assocArgs );
17011702
@@ -1722,7 +1723,8 @@
17231724 $inputArgs = end( $this->mArgStack );
17241725
17251726 if ( array_key_exists( $arg, $inputArgs ) ) {
1726 - $text = $this->removeHTMLtags( $inputArgs[$arg] );
 1727+ $text = $this->strip( $inputArgs[$arg], $this->mStripState );
 1728+ $text = $this->removeHTMLtags( $text );
17271729 $text = $this->replaceVariables( $text, array() );
17281730 }
17291731

Follow-up revisions

RevisionCommit summaryAuthorDate
r5296BUG#93 Fix handling of <nowiki> in templates. From HEADjeluf23:17, 18 September 2004
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

Status & tagging log