On May 12, 2014 7:29 PM, "Gergo Tisza" <gtisza@wikimedia.org> wrote:
>
> On Mon, May 12, 2014 at 2:54 PM, bawolff <bawolff+wn@gmail.com> wrote:
>>
>> Probably much harder to implement... but it might be more consistent to have it as part of the file embedding syntax. E.g. [[file:foo.png|thumb|no-viewer|...]]
>
>
> This would make our file inclusion syntax, which is an atrocity that should not have been allowed to exist, even more complex. There is no way to tell whether a string is a parameter or the description unless you know what exactly the valid parameters are, so changes to them would force changes to every tool that tries to parse wikicode in a non-MediaWiki context.

Already the valid patameters vary by language (which can change arbitrarily via translatewiki), extensions installed (e.g. PagedTiffHandler adds some), and file type. So such tools are already pretty screwed.

File syntax is complex and icky, but it does have the benefit of keeping image display options consistently together. Having some image options triggered by one mechanism and some by another adds complexity too.

>[various suggestions about having some sort of system picked out by users]

Imho - wiki syntax is already varrying a ton between different wikis. I would prefer avoiding further diversification (other than i18n) of wiki syntax unless there is a need for such per wiki customization. I dont see a need here.

--bawolff