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

Jump to content

Module talk:Regional articles

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 4 months ago by Your Friendly Neighborhood Sociologist in topic Possible enhancements

Possible enhancements

[edit]

Looks great! Here are some thoughts:

Title/Region History of ... History of
the Jews in ...
Austria Austria unprotected Austria unprotected
Belgium Belgium unprotected Belgium unprotected
Bulgaria Bulgaria unprotected Bulgaria unprotected
Croatia Croatia unprotected Croatia unprotected
Cyprus Cyprus unprotected Cyprus unprotected
Czechia Czechia[a] Czechia[b]
Denmark Denmark unprotected Denmark unprotected
Estonia Estonia semi-protected Estonia unprotected
Finland Finland unprotected Finland unprotected
France France unprotected France unprotected
Germany Germany unprotected Germany unprotected
Greece Greece unprotected Greece unprotected
Hungary Hungary unprotected Hungary unprotected
Ireland Ireland unprotected Ireland unprotected
Italy Italy unprotected Italy unprotected
Latvia Latvia unprotected Latvia unprotected
Lithuania Lithuania unprotected Lithuania unprotected
Luxembourg Luxembourg unprotected Luxembourg unprotected
Malta Malta unprotected Malta unprotected
The Netherlands the Netherlands unprotected the Netherlands unprotected
Poland Poland extended protection Poland extended protection
Portugal Portugal unprotected Portugal unprotected
Romania Romania unprotected Romania unprotected
Slovakia Slovakia unprotected Slovakia unprotected
Slovenia Slovenia unprotected Slovenia unprotected
Spain Spain unprotected Spain unprotected
Sweden Sweden unprotected Sweden unprotected
  1. param convenience: allow lower- or mixed-case region codes: AT = At = at
  2. align red link display text: for red links, add left-margin to replace missing assesment icon
  3. spin off redirects to expl. notes (or handle some other way that preserves narrow table columns)
  4. option to drop col 1: the title/region col is redundant; could be dropped with no loss of clarity. Keeping it could serve one purpose: linking it to the region article. However, WikiProjects know that country/region articles are mature, and they generally would have no reason to have the country link in a WikiProject progress-tracking table; eliminating it would save valuable horizontal space. Or add param |label=yes where 'yes' means you get a title/region column linked to the region, 'no' you don't get the column. Not sure what the default should be, but I'd say probably |label=no.
  5. option to reduce column widths: add param |short=yes or |brief=y to truncate cell text to only the variable part. This means the display text in adjacent cols would be just the region, and identical, but that's fine, especially with sticky table headers. With narrower display text you could add more columns.
  6. consider adding a |max-height= param. This would be very handy for project planners who want to predict how much vertical space they want to use, especially if there are numerous sections on the page all containing tables. Example: WP:WCU and its styles.css page. See table in context at WP:WT, which was the model for this example.
  7. option for article length: generate a unobtrusive linear gradient background with first width proportional to relative article size, similar to how {{Albar}} does it to generate a proportional article length bar (but using very subtle color diff). This would take up zero additional horizontal (or vertical) space, while providing very useful additional data. (not shown)

Some of these are illustrated here. The example shows linked country article in c1 but I think it's not needed. Mathglot (talk) 08:46, 11 March 2026 (UTC)Reply

The suggestions were amazing, thank you! I implemented most of them, and a few more to boot lol. Figured out a batch lookup method that makes the tables able to handle a lot more! Also made Template:regional articles as a wrapper with nicer syntax.
Do you have any ideas on how/where to roll this out? I think it's ready to start giving wikiprojects to build with, but wanna put it on a testing noticeboard of some kind if we've got one first. Your Friendly Neighborhood Sociologist ⚧ Ⓐ (talk) 18:31, 13 March 2026 (UTC)Reply

Notes

[edit]