Page MenuHomePhabricator

Add unicode support to wikitext preview
Closed, ResolvedPublic

Description

Currently, the preview text shown in the Special:SmiteSpam page uses substr, which can cause issues with half of unicode characters appearing. This should be changed to mb_substr.

Event Timeline

polybuildr raised the priority of this task from to Needs Triage.
polybuildr updated the task description. (Show Details)
polybuildr subscribed.

Seeing broken unicode characters in the preview could possibly confuse admins, leading to unexpected consequences. @Abhinand, are you working on this?

Change 232723 had a related patch set uploaded (by Abhinand):
Add unicode support for wikitext

https://gerrit.wikimedia.org/r/232723

Change 232723 merged by jenkins-bot:
Add unicode support for wikitext preview in Special:SmiteSpam

https://gerrit.wikimedia.org/r/232723

Abhinand mentioned this in Unknown Object (Diffusion Commit).Aug 21 2015, 1:03 PM