User:Daask/MultiResolver

{{Infobox Wikipedia user script

|name = MultiResolver

|logo =

|logosize =

|logoupright =

|logoalt =

|logo-caption =

|screenshot = 300px

|screenshotsize =

|screenshotupright =

|screenshotalt =

|screenshot-caption = MultiResolver modal dialog generated from {{Q|P1297}} on the page Academy of Model Aeronautics

|desc =

|author = User:Daask

|maintainer =

|status = Stable

|released = {{date and age|2024|12|20}}

|version =

|updated = {{date and age|2024|12|21}}

|browsers =

|skins =

|source = User:Daask/MultiResolver/en.wikipedia.js

|github =

}}

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 {{slink|d:Wikidata:Project chat/Archive/2024/01#Landing page for multiple formatter URL values}}. It can be used for any Wikidata property.

Contribute

  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

);

  1. Edit the CSS to improve usability and appearance.
  2. Write a SPARQL query to retrieve qualifiers for formatter URLs from Wikidata.
  3. 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().)