https://bugzilla.wikimedia.org/show_bug.cgi?id=45132
Krinkle <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|VisualEditor: When saving a |VisualEditor: Warn user |page, check for use of |when saving page with |<ref>s but not <references |<ref>s but not <references |/> tag |/> --- Comment #1 from Krinkle <[email protected]> --- Currently this would require scanning for the exact html it outputs as the <span style="color:red;">...</a> tag. Which can be tricky to do reliably. Though the Cite extension could perhaps be the first to give their elements some kind of standard attribute for parse errors, it should probably do more like the TemplateData extension: Refuse to save without it and show a warning there instead. Then the API will return to VE with a nice { error: .. } block containing a error code which we can use to fetch a localised message. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
