Nothing Special   »   [go: up one dir, main page]

Property talk:P7299

Latest comment: 3 years ago by 1Veertje in topic “Allowed values” outdated?

Associated itemMUBI (Q693730)
Applicable "stated in" valueMUBI (Q693730)
Data typeExternal identifier
Domainfilm (Q11424), television series (Q5398426) or web series (Q526877)
Allowed values[1-9]\d*
Usage notesThe numerical identifier can be found in the source of the film's page after https://images.mubicdn.net/images/film/
The numerical identifier can be found in the source of the film's page after {"films":{"
ExampleOldboy (Q475693)114
Belle de Jour (Q470375)2076
Cave of Forgotten Dreams (Q582979)31926
Halt and Catch Fire (Q15072819)184752
Sourcehttps://mubi.com/
Formatter URLhttps://mubi.com/films/$1
See alsoTCM Movie Database film ID (P2631), MUBI person ID (P7300)
Lists
Proposal discussionProposal discussion
Current uses
Total13,307
Main statement13,03898% of uses
Qualifier4<0.1% of uses
Reference2652% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Type “film (Q11424), television series (Q5398426), web series (Q526877): item must contain property “instance of (P31)” with classes “film (Q11424), television series (Q5398426), web series (Q526877)” or their subclasses (defined using subclass of (P279)). (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/P7299#Type Q11424, Q5398426, Q526877, SPARQL
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/P7299#Single value, SPARQL
Distinct values: this property likely contains a value that is different from all other items. (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/P7299#Unique value, SPARQL (every item), SPARQL (by value)
Format “[1-9]\d*: 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/P7299#Format, SPARQL
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/P7299#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/P7299#Scope, SPARQL

MUBI ID userscript

edit

MUBI ID userscript that adds the id to the interface. learn more about installing userscripts. --1Veertje (talk) 15:02, 18 February 2020 (UTC)Reply

Bookmarklet

edit

I've written a script that sends the ID to your clipboard (Ctrl+C), you can use creating a bookmarklet with the following address:

javascript:(function(){var d=document,s=d.createElement('script');s.src='//wikidata.org/w/index.php?title=User:1Veertje/mubi.js&action=raw&ctype=text/javascript&smaxage=43200&maxage=86400';d.body.appendChild(s);})();

--1Veertje (talk) 11:35, 25 February 2020 (UTC)Reply

“Allowed values” outdated?

edit

It seems that the format for the URLs has changed. The current regex only allows digits but now the URLs look like this: https://mubi.com/films/2001-a-space-odyssey, so the regex may need to be relaxed. I see no immediate method of obtaining purely numeric IDs from the current version of the website. -- EpsilonNought (talk) 00:34, 25 July 2021 (UTC)Reply

@EpsilonNought:} no it hasn't. MUBI hides its identifier under the hood. The identifier can be found either by looking at the image location of the film poster, example: film 288491 poster. As per this property's Wikidata usage instructions (P2559) you can look at the page's source code. Alternatively you can use the bookmarklet that is described in the section above this one. 1Veertje (talk) 23:49, 23 November 2021 (UTC)Reply
Return to "P7299" page.