User talk:Pigsonthewing

From Wikispecies
Jump to navigation Jump to search[edit]

Please block the IP for edit the own User talk--WikiBayer (talk) 20:18, 4 September 2019 (UTC)

Vernacular names[edit]

I've imported a load of modules into Wikispecies that might get some folks annoyed. Anyway I've now got all the tools I need to work here in future.

This is the VN template used on Commons imported here:

  • {{VN/sandboxWD}}

To use it with a different qid, use this parameter:

  • {{VN/sandboxWD |useWikidata=Q25317}} - to display names for Q25317
  • {{VN/sandboxWD |useWikidata=Q159570}} - to display names for Q159570
  • {{VN/sandboxWD |useWikidata=Q15568891}} - to display names for Q15568891

Unfortunately, the code doesn't work outside of mainspace. I suppose I could nobble that restriction, but it seems useful.

The language parameters don't yet work, but I'll go work on that. --RexxS (talk) 14:48, 19 October 2019 (UTC)

───────────────────────── @RexxS: The version with a QID works; see [1]. The version without [2], does not. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 19:55, 20 October 2019 (UTC)

Right. That's an artefact of the Commons code, which doesn't fetch Wikidata by default (i.e. it's opt-in). Until I can find the time to change that behaviour cleanly, perhaps you can carry on testing using the formulation {{VN/sandboxWD |useWikidata=true}}, which will work without having to supply a QID. Cheers --RexxS (talk) 20:50, 20 October 2019 (UTC)

Finding and fixing syntax errors in templates[edit]

Hi Andy! Thanks for your recent reference template fixes, such as for example this one. May I ask how you hunt them down? Are you simply searching for the {{BASEPAGENAMEE}} magic word (note the ending double-E) within template namespace, or you do have a more refined method up your sleeve that I'm not yet aware of? :-) The reason for my question is of course that I frequently take on similar maintenance-related chores myself, and any help finding pages with errors is welcome. All the best, Tommy Kronkvist (talk), 22:06, 29 October 2019 (UTC).

@Tommy Kronkvist: See Wikispecies:Village Pump#Internal links formatted as external ones. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 23:21, 29 October 2019 (UTC)
Ah okay. I've of course seen that VP post earlier, just haven't got around to actually clicking the link in it until now... Thanks! Tommy Kronkvist (talk), 23:27, 29 October 2019 (UTC).