r95157 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95156‎ | r95157 | r95158 >
Date:17:19, 21 August 2011
Author:ankitgarg833
Status:deferred
Tags:
Comment:
changing few XML tags.
Modified paths:
  • /trunk/extensions/PageSchemas/specials/PS_EditSchema.php (modified) (history)

Diff [purge]

Index: trunk/extensions/PageSchemas/specials/PS_EditSchema.php
@@ -340,7 +340,7 @@
341341 $text_4 .= '<form id="editPageSchemaForm" action="" method="post">' . "\n";
342342 $text_4 .= '<p>'.$schema_name_label.' <input type="text" name="s_name" value="'.$pageName.'" /> </p> ';
343343 foreach ( $pageXml->children() as $template_xml ) {
344 - if ( ($template_xml->getName() != 'Template') && ($template_xml->getName() != 'Form') ){
 344+ if ( ($template_xml->getName() != 'Template') && ($template_xml->getName() != 'semanticforms_Form') ){
345345 $ps_add_xml .= (string)$template_xml->asXML();
346346 }
347347 }

Status & tagging log