r63132 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r63131‎ | r63132 | r63133 >
Date:20:36, 1 March 2010
Author:yaron
Status:deferred
Tags:
Comment:
Got 'add title=' and 'edit title=' working again - fix for bug in r59373
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_FormPrinter.inc (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_FormPrinter.inc
@@ -1322,7 +1322,7 @@
13231323 global $wgParser;
13241324 $new_text = "";
13251325 if ( !$embedded )
1326 - $wgParser->preprocess(str_replace( "{{!}}", "|", $form_page_title ), $this->mPageTitle, new ParserOptions());
 1326+ $new_text = $wgParser->preprocess(str_replace( "{{!}}", "|", $form_page_title ), $this->mPageTitle, new ParserOptions());
13271327
13281328 return array($form_text, "/*<![CDATA[*/ $javascript_text /*]]>*/",
13291329 $data_text, $new_text, $generated_page_name);

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r59373Fixes for embedded forms. Don't preprocess, and replace the strip state.dantman01:05, 24 November 2009

Status & tagging log