http://www.mediawiki.org/wiki/Special:Code/MediaWiki/73897
Revision: 73897 Author: platonides Date: 2010-09-28 15:21:37 +0000 (Tue, 28 Sep 2010) Log Message: ----------- Import of ArticleComments v0.2.2 by Jim R. Wilson from http://jimbojw.com/wiki/index.php?title=ArticleComments&oldid=1634 Modified Paths: -------------- trunk/extensions/ArticleComments/ArticleComments.php Modified: trunk/extensions/ArticleComments/ArticleComments.php =================================================================== --- trunk/extensions/ArticleComments/ArticleComments.php 2010-09-28 15:21:05 UTC (rev 73896) +++ trunk/extensions/ArticleComments/ArticleComments.php 2010-09-28 15:21:37 UTC (rev 73897) @@ -363,8 +363,8 @@ # Check whether the article or its talk page contains a <comments /> flag if (!$skipCheck && - preg_match('/<comments( +[^>]*)?/>/', $articleContent)===0 && - preg_match('/<comments( +[^>]*)?/>/', $talkContent)===0 + preg_match('/<comments( +[^>]*)?\\/>/', $articleContent)===0 && + preg_match('/<comments( +[^>]*)?\\/>/', $talkContent)===0 ) { $wgOut->setPageTitle(wfMsgForContent($ac.'submission-failed')); $wgOut->addWikiText( _______________________________________________ MediaWiki-CVS mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
