On Mon, May 12, 2014 at 4:22 PM, Gnangarra <gnangarra(a)gmail.com> wrote:
just reading through and one issue that stands out
with (e.g.:
[[file:foo.png|thumb|no-viewer|…]]). format is that many of the small image
files are embedded within infoboxes, templates and tables would it be more
efficient to restrict media viewer to only images that use the syntax
[[File:foo.jpg|thumb|....]] within an article body ignoring images embedded
with in {{.....}} and encourage editors to shift flags, small icons, maps
etc into templates.
MediaViewer uses the HTML code of the page to make decisions. Using the
wikitext directly would create way more problems than it would solve.
Alternatively just use the [[file:Foo.jpg|*thumb*
|....]] as the key for
media viewer to display otherwise it just ignores the file
There are images that do not use that syntax but we want to display them,
for example infobox main images, gallery templates, images on the main
page...