Wikidata:Property proposal/Norgeshistorie ID
Norgeshistorie.no ID edit
Originally proposed at Wikidata:Property proposal/Authority control
Description | Identifier for an item on Norgeshistorie.no |
---|---|
Represents | Norgeshistorie.no (Q27135852) |
Data type | External identifier |
Domain | history (Q309) |
Allowed values | ([\w\-]+/)?[\w\-]+ |
Example 1 | Operation Weserübung (Q150939) → andre-verdenskrig/1712-overfallet |
Example 2 | Arbeidernes Idrettsforbund (Q4581477) → forste-verdenskrig-og-mellomkrigstiden/K1643-arbeidernes-idrettsforbund |
Example 3 | Convention of Moss (Q33773) → grunnlov-og-ny-union/1333-mossekonvensjonen |
Example 4 | Svanviken work and housing institution (Q28123464) → forste-verdenskrig-og-mellomkrigstiden/1629-svanviken-arbeidskoloni |
Source | https://www.norgeshistorie.no/ |
Planned use | To be used in Template:Authority control |
Number of IDs in source | 600 articles and 300 sources |
Expected completeness | always incomplete (Q21873886) |
Formatter URL | https://www.norgeshistorie.no/$1.html |
Robot and gadget jobs | Mix n' Match |
Applicable "stated in"-value | Norgeshistorie.no (Q27135852) |
Distinct-values constraint | yes |
Wikidata project | WikiProject Norway (Q11034018) |
Motivering/begrunnelse edit
ID for items on the history of Norway Pmt (talk) 18:49, 4 November 2021 (UTC)
Discussion edit
- @Pmt: I don't understand your examples, what specific string do you propose for the ID? ArthurPSmith (talk) 16:56, 5 November 2021 (UTC)
- {{ping|ArthurPSmith]] Strings for the examples added Pmt (talk) 17:26, 5 November 2021 (UTC)
- @Pmt, ArthurPSmith: effective notification —Eihel (talk) 19:42, 10 November 2021 (UTC)
- @Pmt: I'm still confused. The value for this property for Convention of Moss (Q33773) is "Mossekonvensjonen"? Or "1333-mossekonvensjonen"? Neither of those match the URL you provide where (going by the formatter URL) the ID seems like it would have to be "grunnlov-og-ny-union/1333-mossekonvensjonen.html" (but presumably not all that is necessary in the ID?) Please look at how other external id property proposals have handled their examples! ArthurPSmith (talk) 00:24, 11 November 2021 (UTC)
- @ArthurPSmith: Values orrected.
- @Pmt: I'm still confused. The value for this property for Convention of Moss (Q33773) is "Mossekonvensjonen"? Or "1333-mossekonvensjonen"? Neither of those match the URL you provide where (going by the formatter URL) the ID seems like it would have to be "grunnlov-og-ny-union/1333-mossekonvensjonen.html" (but presumably not all that is necessary in the ID?) Please look at how other external id property proposals have handled their examples! ArthurPSmith (talk) 00:24, 11 November 2021 (UTC)
- @Pmt, ArthurPSmith: effective notification —Eihel (talk) 19:42, 10 November 2021 (UTC)
- Ok, but they don't agree with the formatter URL. https://www.norgeshistorie.no/1712-overfallet gives a 404, and I also tried https://www.norgeshistorie.no/_/1712-overfallet.html but that also gives a 404. Can you fix the formatter URL so these will actually work? ArthurPSmith (talk) 18:38, 12 November 2021 (UTC)
- @ArthurPSmith: I shall try, butI shall admit that formatters is not my force... Pmt (talk) 21:49, 12 November 2021 (UTC)
- Unfortunately, it doesn't look like it's possible to make the identifiers any shorter. While investigating it looks like the software might use alphanumeric identifiers for both category pages and article pages, but I couldn't find any API or other method to access the articles by number. One could search for the numeric ID, but that will give ambiguous results. --Infrastruktur (T | C) 23:01, 13 November 2021 (UTC)
- Support Looks like this identifier will be quite useful. --Infrastruktur (T | C) 09:34, 13 December 2021 (UTC)
- Comment I tried to fix the samples to make the format closer to those of other proposal [1]. --- Jura 16:27, 13 December 2021 (UTC)