wikipedia>Zyxw
If parameter 1 or "class" not specified, default "class" is based on "id" (mn=artist, mw=album, mt=song, mc=composition). If not using "pure_url" and "id" not specified, either use Wikidata property or display error message. Update handling of empty parameters. Trim leading and trailing spaces where needed. All first tested with /sandbox and /testcases. See talk page for full details.