MultiResolver
MultiResolver modal dialog generated from IRS Employer Identification Number (P1297) on the page Academy of Model Aeronautics
Author(s)User:Daask
StatusStable
First releasedDecember 20, 2024; 1 day ago (2024-12-20)
UpdatedDecember 21, 2024; 0 days ago (2024-12-21)
SourceUser:Daask/MultiResolver/en.wikipedia.js

MultiResolver is a tool for displaying links to multiple resolvers for an identifier, using information stored on Wikidata. The original proposal with use cases can be found at d:Wikidata:Project chat/Archive/2024/01 § Landing page for multiple formatter URL values. It can be used for any Wikidata property.

Contribute

edit
  1. Let me know of other identifiers for which this tool would be useful at User talk:Daask/MultiResolver. Or, you can add them yourself with only minimal coding skills! This is all it takes:
    findAndLinkIdentifiersByHref(
      'P1297',                 // Wikidata property
      '\\d+',                  // RegExp for identifier value
      '/wiki/EIN_(identifier)' // How the identifier name is linked on Wikipedia
    );
    
  2. Edit the CSS to improve usability and appearance.
  3. Write a SPARQL query to retrieve qualifiers for formatter URLs from Wikidata.
  4. Help get this hosted on Toolforge as a standalone page, so it can be linked as a page rather than just using a modal dialog. (The code is already written as generateMultiResolverFromURL().)