diff options
author | Greg Rundlett <greg@freephile.com> | 2015-02-05 17:03:20 -0500 |
---|---|---|
committer | Greg Rundlett <greg@freephile.com> | 2015-02-05 17:03:20 -0500 |
commit | 13c4757057cc7298a8e7ed29d3ec618314e97277 (patch) | |
tree | 37114903237d650e71206190d5cdccc3f3db258d | |
parent | fb7a03dcda6872e5f41c16783dc66244805ac44a (diff) | |
download | pandoc-13c4757057cc7298a8e7ed29d3ec618314e97277.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.
-rw-r--r-- | tests/writer.mediawiki | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/writer.mediawiki b/tests/writer.mediawiki index efd43cb04..6e1f3fc91 100644 --- a/tests/writer.mediawiki +++ b/tests/writer.mediawiki @@ -623,9 +623,9 @@ Auto-links should not occur here: <code><http://example.com/></code> From “Voyage dans la Lune” by Georges Melies (1902): -[[Image:lalune.jpg|frame|none|alt=Voyage dans la Lune|caption lalune]] +[[File:lalune.jpg|frame|none|alt=Voyage dans la Lune|caption lalune]] -Here is a movie [[Image:movie.jpg|movie]] icon. +Here is a movie [[File:movie.jpg|movie]] icon. ----- |