Page MenuHomePhabricator

DISPLAYTITLE should allow Arabic and Persian harakats
Closed, DeclinedPublic

Description

In Arabic and Persian languages, some vowels are not regularly written, unless there is a need to clarify the pronunciation of a word. An example of such a need is when the title of a page is a loanword. Some wikis (e.g. Persian Wikipedia) prefer to keep those vowels out of the page title (to increase the chances of page being located through web searches) but still would like the page title to have the harakats. A typical solution will be to allow this to be used with DISPLAYTITLE.

The mostly used harakats (which are common in the two languages) are: ِ ُ َ


Version: unspecified
Severity: enhancement

Details

Reference
bz16899

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 10:23 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz16899.
bzimport added a subscriber: Unknown Object (MLST).

ahmad.m.sherif wrote:

proposed patch

This a patch that enables displaying these harakats "ِ ُ َ".

attachment harakat.patch ignored as obsolete

Good start; however, as I can see it, the range you've specified is too large. Also, other chars like "tashdid" ّ should be taken care of.ٔ

ahmad.m.sherif wrote:

shadda-included patch

(In reply to comment #2)

Good start; however, as I can see it, the range you've specified is too large.

You're right, I've must replaced 06 with D9 as a test then I forgot to revert it back.

Also, other chars like "tashdid" ّ should be taken care of.ٔ

Done. Should we consider another character(s)?

attachment harakat2.patch ignored as obsolete

These should be supported: ٔ ٍ ً ْ ّ ِ ُ َ
That is, harakats, tanwins, shadda and sokun (saken?).

ahmad.m.sherif wrote:

other-chars included

(In reply to comment #4)

These should be supported: ٔ ٍ ً ْ ّ ِ ُ َ
That is, harakats, tanwins, shadda and sokun (saken?).

Done.

Attached:

Thank you Ahmad. Your patch is applied with r47755.

This patch doesn't add anything to displaytitle, but rather strips things from actual titles which are currently permitted in them. Reverted in r48805

ahmad.m.sherif wrote:

WONTFIX per the discussion in r47755.