#2713 Move to mediawiki_api module for FWN and other users
Closed: Fixed None Opened 10 years ago by pfrields.

= problem =
The Flexifilter module we currently use is, if not fragile, then at least annoying. Filter customization is painstaking and complex. Any new markup must be handled with more work on the filter.

= analysis =
The [http://drupal.org/project/mediawiki_api mediawiki_api module] relies instead on the MediaWiki API to provide conversions. This means our Drupal deployment can present nearly any markup the wiki already parses, at zero cost. Since it uses the API it is non-fragile and will inherit any enhancements from the wiki.

= enhancement recommendation =
* Package mediawiki_api and install
* Set up an input format that uses filters in this order:
* MediaWiki API filter
* HTML corrector
* URL filter
* Line break converter
* HTML filter (with additional tags added as needed -- at least h2, h3, h4, h5, pre, table, th, tr, td)


What remains to be seen is whether the combined view would work if we move from using flexifilter to using mediawiki_api. Just need to test this to see what happens.

I will test it on my local instance.If there's any news then I will write it.

We are using Drupal 7, there is an alpha version from mediawiki_api. We will use that.

Login to comment on this ticket.

Metadata