Property talk:P7668
Jump to navigation
Jump to search
Documentation
file page
property to indicate a page number of a pdf file or similar. The page number is sometimes different from the numbering of the text reproduced in the document. Should allow to link the page when combined with the file URL
property to indicate a page number of a pdf file or similar. The page number is sometimes different from the numbering of the text reproduced in the document. Should allow to link the page when combined with the file URL
Data type | Quantity | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Allowed values | 1 ≤ 𝓧 ≤ 1,000,000 | ||||||||||||
Allowed units | not applicable | ||||||||||||
Example | According to this template:
According to statements in the property:
When possible, data should only be stored as statementsI never lost as much but twice (Q75803176) → 160 Aplin, John George (NBD) (Q23989679) → 32 | ||||||||||||
See also | page(s) (P304), title page number (P4714), Wikisource index page URL (P1957) | ||||||||||||
Lists | |||||||||||||
Proposal discussion | Proposal discussion | ||||||||||||
Current uses |
|
[create Create a translatable help page (preferably in English) for this property to be included here]
Integer: values should be integers (ie. they shouldn't have a fractional part) (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/P7668#integer, SPARQL
Range from “1” to “1000000”: values should be in the range from “1” to “1000000”. (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/P7668#Range
Units: “novalue”: value unit must be one of listed. (Help)
List of violations of this constraint: Database reports/Constraint violations/P7668#Units, hourly updated reportAllowed entity types are Wikibase item (Q29934200), Wikibase MediaInfo (Q59712033), Wikibase lexeme (Q51885771), Wikibase sense (Q54285715), Wikibase form (Q54285143): 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/P7668#Entity types
Conflicts with “instance of (P31): Wikimedia disambiguation page (Q4167410), Wikimedia category (Q4167836), Wikimedia template (Q11266439), Wikimedia list article (Q13406463)”: this property must not be used with the listed properties and values. (Help)
List of violations of this constraint: Database reports/Constraint violations/P7668#Conflicts with P31, hourly updated report, SPARQLScope is as qualifier (Q54828449), 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/P7668#Scope, SPARQL
Files should be pdf or djvu
change to page(s) (P304) or remove (Help)
Violations query:
List of this constraint violations: Database reports/Complex constraint violations/P7668#Files should be pdf or djvu
change to page(s) (P304) or remove (Help)
Violations query:
SELECT ?item ?itemLabel ?value ?fp { ?item p:P996 [ ps:P996 ?value ; pq:P7668 ?fp ] FILTER ( !strends( str(?value), ".djvu") ) FILTER ( !strends( str(?value), ".pdf") ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }
List of this constraint violations: Database reports/Complex constraint violations/P7668#Files should be pdf or djvu
jpg sample
[edit]How would multipage jpgs work? I removed the sample for now. --- Jura 22:30, 5 December 2019 (UTC)
Display thumbnail based on file page (P7668) or title page number (P4714)
[edit]Please see Wikidata:Contact the development_team/Archive/2019/12#Page for thumbnail.
Eventually a new request should be made as suggested there by Lea. --- Jura 13:51, 3 April 2020 (UTC)
- Done at phab:T288734 --- Jura 13:05, 12 August 2021 (UTC)
Categories:
- All Properties
- Properties with quantity-datatype
- Properties used on 10000+ items
- Properties with integer constraints
- Properties with range constraints
- Properties with units constraints
- Properties with entity type constraints
- Properties with conflicts with constraints
- Properties with scope constraints
- Properties with complex constraints