aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/MediaBag.hs
diff options
context:
space:
mode:
authorGreg Rundlett <greg@freephile.com>2015-02-05 17:07:50 -0500
committerGreg Rundlett <greg@freephile.com>2015-02-05 17:07:50 -0500
commit218f28af6d1d598386639725196d5d1d4c349738 (patch)
tree0381507f37a8975a7d5a66ff3f35ad7d63d0da0b /src/Text/Pandoc/MediaBag.hs
parent13c4757057cc7298a8e7ed29d3ec618314e97277 (diff)
downloadpandoc-218f28af6d1d598386639725196d5d1d4c349738.tar.gz
update syntax for Images/Media files in MediaWiki
The preferred syntax for Images and other media is [[File:Foo.jpg]] in MediaWiki since v1.14 (2008). [[Image:Foo.jpg]] is deprecated but still works as an alias to the File namespace. I don't think this would break any existing wikis since talk of switching the syntax/namespace for images started back in 2002 (https://phabricator.wikimedia.org/T2044). NS_FILE became the new namespace for Files in v 1.14 in late 2008. (https://www.mediawiki.org/wiki/Release_notes/1.14) There is still a namespace alias so '[[Image:]]' still works today. It's just that MediaWiki supports other media as well, and so the name and syntax used in documentation (see https://www.mediawiki.org/wiki/Help:Images) has long been '[[File:foo.jpg]]'
Diffstat (limited to 'src/Text/Pandoc/MediaBag.hs')
0 files changed, 0 insertions, 0 deletions