https://bugzilla.wikimedia.org/show_bug.cgi?id=2700

--- Comment #77 from Nikola Kovacs <nx.devn...@gmail.com> 2012-04-21 22:19:53 
UTC ---
(In reply to comment #76)
> Actually David's wrong. This bug is seven not six years old. If its not fixed
> soon we'll have to figure out who's going to pay for it to go to college...
> 
> What would be wrong with running the all the contents of a <gallery> through
> preSaveTransform? I realise it's not wikitext but then preSaveTransform isn't
> the full parser? What particular pre-save transforms would corrupt the gallery
> syntax?

I don't know off the top of my head what characters are allowed in filenames
(in particular, is [, { or ~ allowed), but in theory:

<gallery>
File:Oh noez [[This is not a link.png|]] yeah, I know, this is a contrived
example
</gallery>

There's also replacing tildes, substing and the reverse pipe trick. Replacing
tildes would be the most realistic problem (if ~ is allowed in filenames)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to