Uploaded image for project: 'MediaWiki tools'
  1. MediaWiki tools
  2. MEDIAWIKI-37

File:file.pdf produce image element

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.7.5
    • 1.7.3
    • Syntax
    • None

    Description

      Right now it produce an image event because Bliki produce an image event for any

      [[File:<something>]]

      syntax (which is also what is documented in https://www.mediawiki.org/wiki/Help:Images).

      It practice it looks like

      [[File:<file>]]

      syntax is more an universal extensible viewer than an image. Problem is that we don't really have an equivalent in rendering events.

      Not sure what is the best here, the simplest would probably be to have some list of known image extensions and if it's not one of them then produce an attachment event instead. Ideally with would need something like a view macro.

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: