Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a402634c4e3090c0

Jump to content

Template talk:Script/Arabic

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 15 days ago by Theknightwho in topic Blocks of text

Size customization issues

[edit]

@Great Brightstar: Is it possible to rephrase that in order for users with a customized CSS to use their customized sizes instead?

Problem
by specifying a size there, it is not possible to change it in custom CSS unless the phrase !important is used, but this creates another problem when the template has an additional specified text size, e.g. {{script/Arabic|size=200%|فَتْحَةٌ}}, it will remain with the customized !important value, not the further enlarged one, e.g. to display a certain text with certain hard to see diacritics. --Mahmudmasri (talk) 19:43, 24 January 2022 (UTC)Reply

 You are invited to join the discussion at Template talk:Lang § langar vs. Script/Arabic in "Native name" parameters, and other cases. waddie96 ★ (talk) 08:43, 20 February 2025 (UTC)Reply

Purpose of template?

[edit]

Hi! Is this template meant for non-Arabic text only (ie. Pashto, Uyghur) or is it also meant to be used with Arabic titles? The Sorter (talk) 13:48, 6 May 2025 (UTC)Reply

Blocks of text

[edit]

@Zinnober9 I was originally unable to find a scenario where the <bdi> tag got stripped, which is why I originally reverted you, because the <bdi> block gets moved into the <p> block if one needs to be generated. However, if there are multiple <p> blocks, the <bdi> block doesn't get copied to all the other <p> blocks after the first. That could, theoretically, be an issue in some HTML environments.

... however, none of it matters for us, because the <bdi> block is only needed if there is abutting in-line text which needs to be insulated from interfering with the Arabic text or vice-versa, which there never will be, since no text from outside of the template could ever end up in any of this template's <p> blocks. Theknightwho (talk) 14:44, 26 August 2026 (UTC)Reply

On a related note, I'm curious why |lang= was removed from this template. Was there a discussion? It is in use at Aljamiado, among other places. – Jonesey95 (talk) 22:52, 26 August 2026 (UTC)Reply
@Jonesey95 You're right - I've reinstated it. I had intended to redo it to make it less cumbersome and then got sidetracked, which is my fault, but in all honesty these script templates need to be merged with {{lang}}, which can already handle script-only inputs for situations where a language-code isn't appropriate anyway. Theknightwho (talk) 17:24, 8 September 2026 (UTC)Reply