http://www.mediawiki.org/wiki/Special:Code/MediaWiki/60806
Revision: 60806 Author: yaron Date: 2010-01-07 20:17:32 +0000 (Thu, 07 Jan 2010) Log Message: ----------- Fixed "wrong form" check for forms that only contain multiple-instance templates Modified Paths: -------------- trunk/extensions/SemanticForms/includes/SF_FormPrinter.inc Modified: trunk/extensions/SemanticForms/includes/SF_FormPrinter.inc =================================================================== --- trunk/extensions/SemanticForms/includes/SF_FormPrinter.inc 2010-01-07 20:14:02 UTC (rev 60805) +++ trunk/extensions/SemanticForms/includes/SF_FormPrinter.inc 2010-01-07 20:17:32 UTC (rev 60806) @@ -419,9 +419,13 @@ // send the user a warning // (multiple-instance templates have a greater chance of // getting repeated from one form to the next) - if (! $allow_multiple) { + // - on second thought, allow even the presence of multiple- + // instance templates to validate that this is the correct + // form: the problem is that some forms contain *only* mutliple- + // instance templates + //if (! $allow_multiple) { $source_page_matches_this_form = true; - } + //} } } // if the input is from the form (meaning the user has hit one _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs