Module talk:WikidataIB/Archive 7: Difference between revisions

Content deleted Content added
Archiving 1 discussion(s) from Module talk:WikidataIB) (bot
 
m Archiving 1 discussion(s) from Module talk:WikidataIB) (bot
Line 36:
:* <syntaxhighlight lang="lua">local disp, _ = addr:gsub("%.", "<wbr>."):gsub("/", "<wbr>/")</syntaxhighlight>
: would seem to me to achieve the desired result. Similarly, fragments could be accommodated, but I don't see the use-case for that in infoboxes. --[[User:RexxS|RexxS]] ([[User talk:RexxS|talk]]) 20:10, 15 July 2020 (UTC)
 
== Infoboxes still using Module:Wikidata directly ==
 
And here are 97 more that are using Module:Wikidata directly:
{{collapse top}}
*[[Template:Infobox AFL biography]] (14,000 transclusions)
*[[Template:Infobox CFL biography]] (6,000 transclusions)
*[[Template:Infobox GAA manager]]
*[[Template:Infobox Hindu temple]] (2,000 transclusions)
*[[Template:Infobox NCAA athlete]]
*[[Template:Infobox National Hockey League coach]]
*<s>[[Template:Infobox Tibetan Buddhist monastery]]</s> (wrapper of Infobox religious building)
*[[Template:Infobox alpine ski racer]]
*[[Template:Infobox amateur wrestler]]
*[[Template:Infobox anatomy]] (4,000 transclusions)
*[[Template:Infobox ancient site]] (4,000 transclusions)
*[[Template:Infobox archives]]
*[[Template:Infobox artery]]
*[[Template:Infobox artwork/wikidata]]
*[[Template:Infobox astronomical event]]
*[[Template:Infobox astronomical object]]
*[[Template:Infobox astronomical survey]]
*[[Template:Infobox badminton player]] (3,000 transclusions)
*[[Template:Infobox bandy biography]]
*[[Template:Infobox bandy team]]
*[[Template:Infobox bone]]
*[[Template:Infobox book]] (45,000 transclusions)
*[[Template:Infobox book/wikidata]]
*[[Template:Infobox brain]]
*[[Template:Infobox cell]]
*[[Template:Infobox central bank]]
*[[Template:Infobox checkers biography]]
*[[Template:Infobox cheese]]
*[[Template:Infobox chemical/identifiers]]
*[[Template:Infobox chess biography]] (3,000 transclusions)
*[[Template:Infobox college coach]] (10,000 transclusions)
*[[Template:Infobox college football player]]
*[[Template:Infobox crater]]
*[[Template:Infobox cricketer]] (27,000 transclusions)
*[[Template:Infobox curler]] (2,000 transclusions)
*[[Template:Infobox curler/Wikidata]]
*[[Template:Infobox cyclist]] (14,000 transclusions)
*[[Template:Infobox darts player]]
*[[Template:Infobox deity/Wikidata]]
*[[Template:Infobox disc golfer]]
*[[Template:Infobox drug class]]
*[[Template:Infobox drug mechanism]]
*[[Template:Infobox embryology]]
*[[Template:Infobox fencer]]
*[[Template:Infobox field hockey player]]
*[[Template:Infobox figure skater]] (4,000 transclusions)
*[[Template:Infobox film/Wikidata]]
*[[Template:Infobox football official]]
*[[Template:Infobox golfer]] (4,000 transclusions)
*[[Template:Infobox gymnast]] (3,000 transclusions)
*[[Template:Infobox handball biography]] (4,000 transclusions)
*[[Template:Infobox historic site/Wikidata]]
*[[Template:Infobox horse person]]
*[[Template:Infobox horseracing personality]]
*[[Template:Infobox lacrosse player]]
*[[Template:Infobox library classification]]
*[[Template:Infobox ligament]]
*[[Template:Infobox lighthouse]] (3,000 transclusions)
*[[Template:Infobox lunar crater or mare]]
*[[Template:Infobox lymph]]
*[[Template:Infobox martial artist]] (5,000 transclusions)
*[[Template:Infobox medical condition (old)/Wikidata]]
*[[Template:Infobox medical equipment]]
*[[Template:Infobox medical intervention]]
*[[Template:Infobox meteorite]]
*[[Template:Infobox microanatomy]]
*[[Template:Infobox motorcycle]]
*[[Template:Infobox mountaineer]]
*[[Template:Infobox muscle]]
*[[Template:Infobox museum/wikidata]]
*[[Template:Infobox nerve]]
*[[Template:Infobox netball biography]]
*[[Template:Infobox neuron]]
*[[Template:Infobox observatory]]
*[[Template:Infobox officeholder/Wikidata]]
*[[Template:Infobox organization/Wikidata]]
*[[Template:Infobox player of English billiards]]
*[[Template:Infobox pool player]]
*[[Template:Infobox professional wrestling team]]
*[[Template:Infobox project]]
*[[Template:Infobox recurring event/Wikidata]]
*[[Template:Infobox religious biography/Wikidata]]
*[[Template:Infobox religious building]] (10,000 transclusions)
*[[Template:Infobox religious building/Wikidata]]
*[[Template:Infobox skier]] (2,000 transclusions)
*[[Template:Infobox snooker player]]
*[[Template:Infobox snooker player season]]
*[[Template:Infobox squash player]]
*[[Template:Infobox sumo wrestler]]
*[[Template:Infobox surfer]]
*[[Template:Infobox telescope]]
*[[Template:Infobox tennis biography]] (8,000 transclusions)
*[[Template:Infobox tennis player season]]
*[[Template:Infobox tract]]
*[[Template:Infobox vein]]
*[[Template:Infobox volleyball biography]] (5,000 transclusions)
*[[Template:Infobox water polo biography]]
{{collapse bottom}}
I have noted infoboxes with 2,000 or more transclusions; I may have missed a couple, made an error or two, or both. All of the above need to be checked manually to see if they really do transclude Module:Wikidata and if they are convertible to WikidataIB; I didn't do any checking myself.
 
Any editor here is welcome to annotate, strike out, or otherwise fix or update either of the lists above. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 19:43, 2 July 2020 (UTC)
:I am not sure if all of those are directly transcluded invocations or not. I would start with a source search like {{sl|insource:/FETCH_WIKIDATA/|searching template source for "FETCH_WIKIDATA"|ns10|limit=500}} ([[Module:Wikidata]] seems to be the only thing that uses the "FETCH_WIKIDATA" sentinel value; after we get rid of those we can look harder for every transcluded invocation) instead of [[Special:WhatLinksHere/Module:Wikidata]]. There is also some more useful information at [[Module talk:Wikidata#Porting Guide]]. —[[User:Uzume|Uzume]] ([[User talk:Uzume|talk]]) 15:31, 13 September 2020 (UTC)
::I am not sure either, hence my disclaimers above, but they are easy to check by looking at the template code. Infobox AFL biography, for example, contains "invoke:Wikidata|claim|P18" in its template code. The search result linked above contains 100 infobox templates (excluding sandboxes) and overlaps pretty well with the list I made above. If you want to add to the list above, please do so. If you find that a template in the list above does not need modification, feel free to strike it out, as I have done with Infobox Tibetan Buddhist monastery. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 15:46, 13 September 2020 (UTC)