respect mediawiki-style image tags like [[Image:File.jpg|Text]]

suit4 - April 9, 2009 - 08:04
Project:freelinking
Version:6.x-3.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

As seen here http://meta.wikimedia.org/wiki/Cheatsheet, mediawiki syntax allows the usage of tags like [[Image:File.jpg|Text]] to integrate images.
I think, other wiki types use similar tags for images.

I set up a filter witth flexifilter to take care of these type of tags, but freelinking lists these tags under 'create this content'.

It would be nice to have an input field on the freelinking admin page to put in tags to ignore.

Hint: This is a different approach than using ![[File.jpg]]

#1

Grayside - October 31, 2009 - 16:33
Version:6.x-2.x-dev» 6.x-3.x-dev
Status:active» postponed

Sorting input filters to avoid that kind of syntax clobbering is part of core. Set your flexifilter to a lower weight than Freelinking, and it should produce the HTML syntax before Freelinking can get it's hands on it. This half of your query is Fixed.

This kind of feature will not be added to the 2.x line without a patch.
FL3 will have a file handling plugin.

#2

Grayside - December 1, 2009 - 19:23
Status:postponed» active

Currently working on [[file:filename.txt]] and [[image:imagename.jpg]]. Any modules worth mining for file data, please post here! I intend to look at getID3() and anything EXIF related once I have the basics put together.

 
 

Drupal is a registered trademark of Dries Buytaert.