Property talk:P9173

Latest comment: 3 years ago by Solidest in topic Use of spaces in identifiers

Rate Your Music genre ID
identifier for a music genre or style in Rate Your Music
Associated itemRate Your Music (Q1145963)
Applicable "stated in" valueRate Your Music (Q1145963)
Data typeExternal identifier
Domainmusic genre (Q188451), musical style (Q11921029) or audio content genre (Q108676140)
Allowed values[a-z0-9\ư\-\_]+
Exampleprogressive metal (Q484344)progressive-metal
dub techno (Q1262781)dub-techno
visual kei (Q131425)visual-kei
new age music (Q213121)new-age
psychedelic music (Q846119)psychedelia
electronic dance music (Q851213)electronic-dance-music
Sourcehttps://rateyourmusic.com/genres/
Formatter URLhttps://rateyourmusic.com/genre/$1
See alsoMusicBrainz genre ID (P8052), Yandex Music genre ID (P6537), Library of Congress Genre/Form Terms ID (P4953), AllMusic genre/style ID (P9185), Discogs style ID (P9219), Discogs genre ID (P9218), Every Noise at Once ID (P9881), Rate Your Music artist ID (P5404), Rate Your Music label ID (P7313), Rate Your Music release ID (P8392), Rate Your Music film genre ID (P11588), Rate Your Music film ID (P11598), Rate Your Music venue ID (P11600), Rate Your Music concert ID (P11622)
Lists
Proposal discussionProposal discussion
Current uses
Total2,426
Main statement2,411 out of 1,971 (122% complete)99.4% of uses
Qualifier60.2% of uses
Reference90.4% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Single value: this property generally contains a single value. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P9173#Single value, SPARQL
Distinct values: this property likely contains a value that is different from all other items. (Help)
List of violations of this constraint: Database reports/Constraint violations/P9173#Unique value, hourly updated report, SPARQL (every item), SPARQL (by value)
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P9173#Entity types
Scope is as main value (Q54828448), as reference (Q54828450): the property must be used by specified way only (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P9173#Scope, SPARQL
Format “[a-z0-9ư_-]+: value must be formatted using this pattern (PCRE syntax). (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P9173#Format, SPARQL

Use of spaces in identifiers

edit

At the moment there is a bug that identifiers only work with spaces. Neither pluses nor HTML can be used - such links will not work. However, this is slightly at odds with what was stated in the examples of proposal (it's working this way as wikitext, but it's not working as property value). The original submitter @Shisma few months ago replaced all such values with spaces by pluses, created a ticket on Phabricator to report the bug: https://phabricator.wikimedia.org/T280174, and said that it should stay this way until the ticket is resolved. Because of this replacement, all IDs are broken and cannot be opened at the moment (https://www.wikidata.org/w/index.php?title=Q213121&type=revision&diff=1401634344&oldid=1401631345). This also caused discrepancies with the mix-n-match catalogue: https://mix-n-match.toolforge.org/#/sync/4370 - 250+ of them are broken, and at the same time it interferes with the finding of existing errors. I was hoping it would be fixed within a couple of months, but the ticket has not received any attention at all during that time. So I propose to return all values to spaces to make the links work again and at the same time make Mix'n'match function properly. And then make further changes when the ticket will be resolved. Solidest (talk) 15:00, 10 July 2021 (UTC)Reply

Or we fix the mix'n'match catalog and the only thing that remains wrong is what wikibase makes of it Shisma (talk) 16:01, 10 July 2021 (UTC)Reply

This may not be fixed for years - and none of such links will be working all that time. Some people may perceive it as a mistake and delete them. So I still prefer to use links as they are working on WD. Solidest (talk) 16:30, 10 July 2021 (UTC)Reply
Anyway, if there are no substantiated objections I will return all identifiers to working form later today. Solidest (talk) 05:48, 13 July 2021 (UTC)Reply
RYM recently updated the genre pages and changed the identifiers. Now they are without spaces, but variations with spaces also work and redirect to the right place, as well as recently changed identifiers now also do not give 404 but redirect to the new name. It's probably worth changing everything to the new look and completely replacing the MNM directory. Solidest (talk) 13:47, 2 September 2021 (UTC)Reply
Return to "P9173" page.
  NODES
see 1
Story 2