MediaWiki sample filter gives error warning

iantresman - July 17, 2008 - 00:17
Project:Custom filter
Version:5.x-1.2
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

On enabling the sample filter "MediaWiki" in either Full HTML or PHP input formats, when I create a new node containing the text "Hello", displaying the Submitted note fails, and I get the error message:

warning: preg_replace_callback(): No ending delimiter ']' found in /home/752/knowhow/www.odd-sex.com/public_html/sites/all/modules/customfilter/customfilter.module on line 931

Any suggestions?

#1

iantresman - July 17, 2008 - 15:43

This appears to be due to some errors in the examples provided in customfilter_sample.xml, in both the Footnotes and MediaWiki custom filters, in particular, the Unordered List, and Links examples, and I suspect the Ordered list (and TOC). The Link filter seemed to be causing the error.

#2

kiamlaluno - July 1, 2009 - 15:11
Category:bug report» support request
Status:active» fixed

The filters that can be imported from customfilter_sample.xml are given as example of possible filters one can create with this module. They are thought to be used as bases to create custom filters, and not as perfectly working filters.

#3

kiamlaluno - July 1, 2009 - 15:11
Title:MediaWiki sample filter gives Error warning» MediaWiki sample filter gives error warning

#4

System Message - July 15, 2009 - 15:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.