Description
This json publishes/persists with no errors:
{
"Z1K1": "Z2",
"Z2K1": {
"Z1K1": "Z6",
"Z6K1": "Z10003"
},
"Z2K2": {
"Z1K1": "Z8",
"Z8K1": [
"Z17",
{
"Z1K1": "Z17",
"Z17K1": "Z99",
"Z17K2": "Z10003K1",
"Z17K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11"
]
}
}
],
"Z8K2": "Z2",
"Z8K3": [
"Z20"
],
"Z8K4": [
"Z14",
"Z928"
],
"Z8K5": "Z10003"
},
"Z2K3": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "example function name"
}
]
},
"Z2K4": {
"Z1K1": "Z32",
"Z32K1": [
"Z31"
]
},
"Z2K5": {
"Z1K1": "Z12",
"Z12K1": [
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "an english description"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "another english description"
}
]
}
}Desired behavior/Acceptance criteria
- Multilingual strings have a set of unique-language Monolingual strings
- The front-end provides a component system that avoids repeated languages
- The PHP layer provides a system to pin down such occurrences and returns an error (or removes the repeated item? which one is kept? the first? the last?)
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Front-end_Task/Bug_Completion_Checklist

