Jump to content

Module talk:Authority control/testcases

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by MSGJ (talk | contribs) at 09:50, 6 March 2023 (use staging module). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Test 1: correct

{{authority control}}

{{authority control/staging}}

Error: expandTemplate: template "authority control/staging" does not exist

Test 2: incorrect

{{authority control}}

{{authority control/staging}}

Error: expandTemplate: template "authority control/staging" does not exist

Test 3: with Q5681

{{authority control}}

{{authority control/staging}}

Error: expandTemplate: template "authority control/staging" does not exist

Test 4: with Q8743

Test 5: with Q171504

Test 6: all MusicBrainz

{{authority control}}

{{authority control/staging}}

Error: expandTemplate: template "authority control/staging" does not exist

Test 7: VIAF but no WorldCat

{{authority control}}

{{authority control/staging}}

Error: expandTemplate: template "authority control/staging" does not exist

Test 8: LCCN but no WorldCat

{{authority control}}

{{authority control/staging}}

Error: expandTemplate: template "authority control/staging" does not exist

Test 9: VIAF and LCCN but no WorldCat

{{authority control}}

{{authority control/staging}}

Error: expandTemplate: template "authority control/staging" does not exist

Test 10: Botanist with accented letters

{{authority control}}

{{authority control/staging}}

Error: expandTemplate: template "authority control/staging" does not exist

Test 11: Jane Johnson

Test 12: AbbVie

{{authority control}}

{{authority control/staging}}

Error: expandTemplate: template "authority control/staging" does not exist

Test 13: different local parameter

{{authority control}}

{{authority control/staging}}

Error: expandTemplate: template "authority control/staging" does not exist

Test 14: duplicated local parameter

{{authority control}}

{{authority control/staging}}

Error: expandTemplate: template "authority control/staging" does not exist

Test 16: suppress parameter with identifier acronym

Test 17: suppress parameter with property number

Test 20: Bonnie and Clyde

Test 21: Fort William

{{authority control}}

{{authority control/staging}}

Error: expandTemplate: template "authority control/staging" does not exist

Test 22: suppress WORLDCAT

Test 23: BNF

{{authority control}}

{{authority control/staging}}

Error: expandTemplate: template "authority control/staging" does not exist

Test 24a: additional

Test 24b: additional

{{authority control}}

{{authority control/staging}}

Error: expandTemplate: template "authority control/staging" does not exist

Test 25: two whitelists

Test 26: item without label

{{authority control}}

LAuthority control/testcases

{{authority control/staging}}

Error: expandTemplate: template "authority control/staging" does not exist

Test 27: invalid qid

{{authority control}}

QAuthority control/testcases

{{authority control/staging}}

Error: expandTemplate: template "authority control/staging" does not exist

Test 28: valid but nonexistent qid

{{authority control}}

QAuthority control/testcases

{{authority control/staging}}

Error: expandTemplate: template "authority control/staging" does not exist

Test 29: show one identifier

{{authority control}}

{{authority control/staging}}

Error: expandTemplate: template "authority control/staging" does not exist

Test 30: show two identifiers

{{authority control}}

{{authority control/staging}}

Error: expandTemplate: template "authority control/staging" does not exist

Test 31: blank qid

{{authority control}}


{{authority control/staging}}

Error: expandTemplate: template "authority control/staging" does not exist

Test 32: two BNF IDs

{{authority control}}

{{authority control/staging}}

Error: expandTemplate: template "authority control/staging" does not exist

Test 33: two USCG IDs

{{authority control}}

{{authority control/staging}}

Error: expandTemplate: template "authority control/staging" does not exist

Test 34: two ISIL IDs

{{authority control}}

{{authority control/staging}}

Error: expandTemplate: template "authority control/staging" does not exist