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

Jump to content

Template talk:Zero width space

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia

Template-protected edit request on 21 November 2024

[edit]

Add code copied from Template:Shy to allow, in addition to the existing zero-parameter form, a form which accepts parameters which will be separated by zero-width spaces. For example, {{zwsp|1,|520,|698,|109,|714,|272,|166,|094,|258,|063}} to allow wrapping a very large number after any comma. The adaptation is pretty trivial, but here's what should go in <noinclude>...</noinclude>:

{{#if:{{{1|}}}|{{#invoke:Separated entries|main|separator=&#8203;}}|&#8203;}}

You may copy the {{safesubst:<noinclude/> trickery from {{shy}}as well, if you like. That just makes {{subst:zwsp|...}} work recursively.

A more ambitious edit would extend this to some other Category:Inline spacing templates, but zwsp is what I miss right now. Thank you! 97.102.205.224 (talk) 18:01, 21 November 2024 (UTC)Reply

 Not done: please make your requested changes to the template's sandbox first; see WP:TESTCASES.Jonesey95 (talk) 20:26, 21 November 2024 (UTC)Reply
@Jonesey95: Thank you! Tested in sandbox and reactivated with a typo fix. (Getting {{ to show up in rendered wikitext requires an ugly hack.) See test cases at Template:Zero width space/testcases. (Should they be copied, or transcluded, here? Not sure what the convention is.) 97.102.205.224 (talk) 04:02, 22 November 2024 (UTC)Reply
 Done * Pppery * it has begun... 04:18, 22 November 2024 (UTC)Reply