Census ReqUpdate.php
James Cobban edited this page Jun 14, 2020
·
2 revisions
This script is used to organize requests for a specific page of a specific census which is to be edited for a country and enumeration year. For federal states the page provides links to individual states or provinces within the nation.
Parameters (passed by method=get):
Name | Description |
---|---|
Census | 2 character country code plus 4 digit year. Default 'CA1881'. |
lang | user interface locale identifier (BCP 47). Default 'en' |
The template file is selected in such a way as to support country-specific layouts. The general format is "CensusReqUpdate$cc$lang.html" where $cc is the ISO country code in upper-case and $lang is the BCP 47 locale identifier. If there is no country-specific template then the country code is replaced by "__". Examples include:
Template Name | Interpretation |
---|---|
CensusReqUpdateCAen.html | Censuses of Canada in English |
CensusReqUpdate__en.html | Censuses of another country in English |
CensusReqUpdateCAfr.html | Censuses of Canada in French |
CensusReqUpdate__fr.html | Censuses of another country in French |
Next: CensusForm.js