r73897 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73896‎ | r73897 | r73898 >
Date:15:21, 28 September 2010
Author:jimbojw
Status:deferred
Tags:
Comment:
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) (history)

Diff [purge]

Index: trunk/extensions/ArticleComments/ArticleComments.php
@@ -363,8 +363,8 @@
364364
365365 # Check whether the article or its talk page contains a <comments /> flag
366366 if (!$skipCheck &&
367 - preg_match('/<comments( +[^>]*)?/>/', $articleContent)===0 &&
368 - preg_match('/<comments( +[^>]*)?/>/', $talkContent)===0
 367+ preg_match('/<comments( +[^>]*)?\\/>/', $articleContent)===0 &&
 368+ preg_match('/<comments( +[^>]*)?\\/>/', $talkContent)===0
369369 ) {
370370 $wgOut->setPageTitle(wfMsgForContent($ac.'submission-failed'));
371371 $wgOut->addWikiText(

Status & tagging log