https://bugzilla.wikimedia.org/show_bug.cgi?id=38829
--- Comment #1 from Michael M. <[email protected]> 2012-09-24 08:36:42 UTC --- Created attachment 11138 --> https://bugzilla.wikimedia.org/attachment.cgi?id=11138 JavaScript snippet The attached file contains a function that takes a string as argument and returns either false if it wasn't able to parse it, or an object with the following members: pre - whitespace before the image post - whitespace after fileName - normalized name of the file (without namespace) caption - caption (if present) fileSize - size without px (if present) fileFloat - English keyword for the float parameter (if present) fileFormat - English keyword for the format parameter (if present) Whoever is going to fix this bug "only" has to integrate this function into the code, i.e. call it when the dialog is opened with the selected text and set the <input>s and <select>s to the returned values. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
