Module talk:European and national party data/Archive 3
Appearance
Roadmap: third time's a charm
[edit]| Task | Completion | Comments |
|---|---|---|
| Leftover: for national parties, when EP is called, change house_size from the total seats of the European Parliament to the size of the national delegation | ✅ | |
| Rename existing functions | ✅ | |
| Create a function to give out party data | ✅ | |
| Review module functions for seats | ✅ | |
| Review module functions for seat shares | ✅ | |
| Review module functions for composition bars | ✅ | |
Create {{EUPP data}} template calling relevant functions
|
✅ | |
Create {{Political party data}} template calling relevant functions
|
✅ | |
| Create documentation for templates above | ✅ | |
| Review documentation for the module | ✅ | |
| Review test cases for the module | ✅ | |
Replace {{EUPP seats}} and {{EUPP composition bar}} with {{EUPP data}} on EUPP/EUPA pages
|
✅ | |
| Check/update module comments | ✅ | |
Replace {{EUPP national party}} with {{Political party data}} on national party
|
✅ | |
| Request deletion of three old templates | ✅ | |
| Deploy sandbox to module with documentation and test cases (following deletion of old templates) | ✅ | |
| Update templates to point to the module instead of the sandbox | ✅ | |
| Rename module and make necessary name changes in config, templates, documentation, and test cases | ✅ | |
| Deploy Template:Political party data to other national parties | ✅ | Moved to next roadmap |
The goal of this new roadmap is to rationalise and expand the functioning of the module and its templates.
The planned outcome is as follows:
- one module called
European and national party datacomprising all functions- functions for all political parties will start with
allpp; - functions for national political parties will start with
npp; and - functions for European political parties will start with
eupp.
- functions for all political parties will start with
- three templates based on the type of party for which information is needed:
{{EUPP data}}: will provide data on European political parties;{{Political party data}}will provide data on national political parties; and{{EU institution seats}}will return the number of seats of a European institution.
Reference files:
- Module
- Module sandbox
- Templates
- Other
- Table mapping national parties to their European party of membership (also used to link a party or member state to its lower and upper houses)
- Module config file