D66f — A site is sectioned as its pack says, each section speaking of its own government¶
- Status: Accepted — extends D64 and D66
- Date: 2026-11-05
- Origin: a reader who found three nations' sites harder to use than one
- Area: surfaces
Decision¶
- A pack says how a site speaks of each place. A pack's
site: places:names, for each place: - its appeals body;
- what a direction, an appeal, a recovered appeal, a call-in and a recall are called there;
- and, for a place no planning record follows, where the values come from
(
records).
The datacenter pack holds England, Scotland, Wales and the US, moved word for
word from the table site.py used to hold (D64, D66). kg itself names no place.
A scope whose packs describe no place gets the plain words ("the national
appeals bodies").
- A scope over several of a pack's places is one site in sections. A scope
is sectioned when:
- it names no single place (no region=, or a country= the pack does not
describe);
- and every member's section_by value (the datacenter pack's is region)
is one of the pack's places.
The sections follow the order the pack lists its places, and a place with no
sites is left out. section_label heads the map's extra column ("Nation").
- Each section speaks of its own government. The words are chosen for each
site from its own place, and an application takes its site's place. An English
or Welsh site's page still never says "Scottish" (D64).
- The front page:
- totals and jump links;
- then, for each section: its site count and appeals body, the applications
open for representations, those awaiting a decision, and its sites.
- Its cost is its sections' cost. The methods page counts the runs recorded
on the scopes of the same type whose where is this scope's plus one
<section_by>=<place>.
- The place scopes stay the working scopes. Sweeps, channels and research run
on them (D64). A sectioned scope, uk-data-centres here, only publishes.
Why¶
Three sites meant three front pages, three maps and three sets of downloads for one country's data centres. One site with a section per nation is easier to read and to share.
kg is a general tool, and its UK data centres are one use of it. The places, their
order and their governments' words belong with the domain, in the pack, as
places: and postcodes: already do (D59). Another pack can then publish sites
sectioned by its own places with no change to kg.
Still in kg, for later¶
Some UK wording is still in kg's own code:
- the labels for each kind of application, some of them Scottish ("Appeal to
Scottish Ministers"), and for statuses (
KINDandSTATUS_SAIDinsite.py); - the representatives page's Holyrood record (
representatives.py, D62), which is chosen when a site has a Scotland section; - the rule that a US scope has no councillors or company register.
Each could move into its pack in the same way.
Alternatives¶
- The sections in kg's code. Rejected: kg would then name England, Scotland and Wales, and every other domain would need a code change.
- An index page linking the three sites. Rejected: it would still be three maps and three sets of downloads.