When Sanitizer::stripAllTags was converted to use Remex in ddb4913f53624c8ee0a2a91bd44bf750e378569d we started decoding "semicolon-less" entities, which historically have not been allowed in wikitext. This caused a regression (T209236) when stripAllTags was invoked in link text. The regression was fixed by disabling semicolon-less entities in the specific case of alt/link option stripping, but we should probably disable these entities for every caller of Sanitizer::stripAllTags.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Uniformly use "wikitext entities" not "HTML5 entities" | mediawiki/services/parsoid | master | +73 -28 |
Related Objects
Related Objects
- Mentioned In
- T204477: Create punjabi.wikimedia.org for Punjabi Wikimedians User Group
T205546: Create Wiktionary Cantonese
T205710: Create Wikinews Limburgish
T206777: Create Wikipedia Shan
T207286: Time profiling: Replace millisecond granularity timers with microsecond granularity timers
T208470: Parsoid should nowiki-escape '}' in a table cell or insert a whitespace character, as appropriate
T187142: Deduplicate template styles in Parsoid
T184755: Consider not removing multiple blank lines/white space between paragraphs
T209236: "¶ms" URL parameter (used in a link parameter in [[File]] markup) incorrectly parsed as "¶ms" (%C2%B6ms) - Mentioned Here
- rGPAR18a98afcd12c: Don't normalize mw-empty-elt empty paragraphs that come from source
T184755: Consider not removing multiple blank lines/white space between paragraphs
T187142: Deduplicate template styles in Parsoid
T204477: Create punjabi.wikimedia.org for Punjabi Wikimedians User Group
T205546: Create Wiktionary Cantonese
T205710: Create Wikinews Limburgish
T206777: Create Wikipedia Shan
T207286: Time profiling: Replace millisecond granularity timers with microsecond granularity timers
T208470: Parsoid should nowiki-escape '}' in a table cell or insert a whitespace character, as appropriate
rMWddb4913f5362: Use Remex in Sanitizer::stripAllTags()
T209236: "¶ms" URL parameter (used in a link parameter in [[File]] markup) incorrectly parsed as "¶ms" (%C2%B6ms)
Event Timeline
Comment Actions
Change 475821 had a related patch set uploaded (by C. Scott Ananian; owner: C. Scott Ananian):
[mediawiki/services/parsoid@master] Uniformly use "wikitext entities" not "HTML5 entities"
Comment Actions
Change 475821 merged by jenkins-bot:
[mediawiki/services/parsoid@master] Uniformly use "wikitext entities" not "HTML5 entities"