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 |
Jump to:
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
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
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
#4
Automatically closed -- issue fixed for 2 weeks with no activity.