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

--- Comment #1 from Brion Vibber <[email protected]> 2011-05-10 23:08:01 UTC 
---
I don't think any new message parsing modes would help here.

These aren't necessarily good 1:1 matches for message parsing; a general HTML
chunk might include explanatory links etc that would look horribly broken when
flattened to plaintext.

Bug 14107 sounds like a specific case where what's desired is:
* load a message that lists deletion reasons and split it into sections and
substrings based on app-specific rules that as already done

for each section's substring:
* pass it through comment formatter to produce HTML fragment
* run through Sanitizer::stripAllTags() to get a plaintext version of the HTML
fragment
* put the plaintext copy into the dropdown list

-- 
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

Reply via email to