Template talk:Creator/wrapper/test
Latest comment: 5 years ago by WiseWoman in topic Errors in the Template
This template is within the scope of WikiProject Structured Data for Commons, a collaborative effort to get the best for Commons out of Wikidata. See especially the project's Template workshop page, or join the discussion on the Template workshop talk page. |
Still to do edit
General edit
Show effectively generated wikitext (in collapse boxes?)Create a small wrapper template {{wrappedItemLink | item | lang | wikitext}}, where lang can be en or switch, and setting wikitext selects a tag:nowiki environment with a langswitch emitted if lang=switch. Later add property.- Some formatting issues -- LangSwitch won't indent;
can't remove the spaces and newlines from Authority Control - 'Property' should be added to the switch case; also options to get WikiSource and WikiQuote
- Some formatting issues -- LangSwitch won't indent;
- Add language choice gadget to page (&lang=xx doesn't work)
- Check what happens to links in smaller languages (in fact, per original template, only the name itself is LangSwitch'd)
- Should languages fallback to Commons gallery, before Wikidata ?
Specific edit
"Authority control" summary needed -- E.S. Curtis summary currently hardcoded, and replicated each time.LCCN needs to be fixed -- insert slashesOught to give more warnings, not fail silentlyISNI needs to be fixed -- remove spaces (use URL?)ISNI now working for Creator, but not for Authority
Nationalities missing- Partially fixed by using 2-letter country codes. But still failing for English, Roman, Ancient Greek, Persian.
Wikisource & wikiquote links missing, (will have language issue that may need addressing?)- @Billinghurst: Now in place, though the code is not the best. Needs better error trapping if neither an en nor a default is specified to fall back to (eg Cezanne)
- "Alternative names" missing
- Work period (all? eg van Gogh)
- Work location (all? eg van Gogh)
- Dual places of death (van Gogh)
- Not coping with choice of images (al-Khwarizmi) [resolved by making one image higher rank]
- Dates (Cicero, al-Khwarizmi, Aeschylus)
- BC not picked up (Commons uses c:Template:Other date)
- Bare year dates not picked up (day of birth given as Jan 1)
- Approximate year dates not picked up
- no link for Eleusis? (Aeschylus)
- picks up where field of work entered as an occupation
- Linkback should fail better when Commons Creator page (P1472) not set
Also edit
- Sortkey field is missing
- A production version should allow local overloading
Errors in the Template edit
- Lua error in Module:Wikidata at line 35
- Script error: The function "conjfromWiki" does not exist.
- The ID "" is unknown to the system. Please use a valid entity ID.
- Date of birth/death yle="white
There may be more. --WiseWoman (talk) 21:15, 16 June 2018 (UTC)