Home » Text » Text_Wiki » Bug #9271
Create a media descriptor
Details
| Request #9271 | Create a media descriptor |
|---|---|
| Submitted | 2006-11-08 14:28 UTC |
| From | mariogzuk at technikz dot de |
| Status | Open |
| Package | Text_Wiki |
| PHP Version | Irrelevant |
| OS | irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2006-11-08 14:28 UTC] mariogzuk at technikz dot de
Description:
------------
Hi,
It would be nice to have a [media] tag like in wikipedia to define a link to any file. It would also be nice to have an automatical mimetype detection in it to place a mimetype image after the link.
Thank you.
Test script:
---------------
[media data/test.pdf Describe me]
[media data/nothing.bin Binary]
Expected result:
----------------
<a href="data/test.pdf">Describe me <img src="path/to/mimetypes/pdf.gif"></a>
<a href="data/nothing.bin">Binary <img src="path/to/mimetypes/bin.gif"></a>
Actual result:
--------------
none
[2006-11-08 14:30 UTC] mariogzuk at technikz dot de
Sorry I mean mediawiki (mediawiki.org) not wikipedia.....