Property talk:P948

From Wikidata
Jump to navigation Jump to search

Documentation

page banner
image at top of an article about the topic, mainly used by Wikivoyage and Women in Red
DescriptionWikivoyage banner
Representsproject:banners (Q22920576)
Data typeCommons media file
Domainplace (note: this should be moved to the property statements)
Allowed values(?i).+\.(jpg|jpeg|png|tif|tiff)
ExamplePrague (Q1085)Prague WV banner.jpg
SourceWikivoyage articles (note: this information should be moved to a property statement; use property source website for the property (P1896))
Formatter URLhttps://commons.wikimedia.org/wiki/File:$1
Embed URLhttps://commons.wikimedia.org/wiki/File:$1
Robot and gadget jobsBots could extract file names from Wikivoyage articles.
Tracking: differencesCategory:Has local banner different from Wikidata (Q15139159)
Tracking: local yes, WD noCategory:Banner missing from Wikidata (Q15062447)
See alsopanoramic view (P4291)
Lists
Proposal discussionProposal discussion
Current uses
Total30,939
Main statement30,934>99.9% of uses
Qualifier2<0.1% of uses
Reference3<0.1% of uses
[create Create a translatable help page (preferably in English) for this property to be included here]
Format “(?i).+\.(jpg|jpeg|png|tif|tiff): 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/P948#Format, SPARQL
Link to Commons namespace “File”: this property should contain a well-formed link to an existing page on Wikimedia Commons. (Help)
List of violations of this constraint: Database reports/Constraint violations/P948#Commons link, hourly updated report
Scope is as main value (Q54828448): the property must be used by specified way only (Help)
List of violations of this constraint: Database reports/Constraint violations/P948#Scope, hourly updated report, SPARQL
Format “(?i).+\.(jpg|jpeg|png|svg|tif|tiff|gif|xcf): value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P948#Format, hourly updated report, 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/P948#Entity types
This property is being used by:

Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.)

A broader domain[edit]

After having seen this thread on Commons, it looks to me that we can broaden the purpose of this Property. -- Lavallen (talk) 18:04, 14 October 2013 (UTC)[reply]

constraint report relating to Wikimedia disambiguation page (Q4167410)[edit]

If instance of (P31) is a Wikimedia disambiguation page (Q4167410) the presence of page banner (P948) is prohibited

see: Wikimedia disambiguation page (Q4167410) with Wikivoyage banner (P948) . Usualy there might be more possibilities:
a) Please identify the non - ambiguation page (WD item) where the property Wikivoyage banner should be moved;
"normally" no other statements should be left at the disambiguation page.
It can happen that a set of properties should be moved to another (a second) WD item, another set to a third WD item etc.
b) (recomended method:) Verify which language is a disambiguation page and separate it from the rest. Please use Gadget-labelLister.js can be activated at preferences#gadgets to remove all faulty (disambiguation) descriptions after the disambiguation page is separated: Verify the descriptions for the following languages: de, en, fr, es, pt, pt-br, ru, sv which where added by bots long time ago and take a short look at the other language descriptions.
c) If method b) can not be used because all linked WMF-project language pages are (local) disambiguation pages please create a new WD item and add a proper description in your native language and in English.

Thanks in advance! gangLeri לערי ריינהארט (talk) 13:05, 27 May 2014 (UTC)[reply]

Ping! Is something happening here? Kashmir (Q225816) still an issue. לערי ריינהארט (talk) 19:51, 15 June 2014 (UTC)[reply]

Format constraint[edit]

@Zhuyifei1999: {{Constraint:Format|pattern=<nowiki>.+\.(jpg|jpeg|JPG|png|tif|tiff)}}</nowiki> is needed to filter inappropriate formats like OGV (video), FLAC (audio) or SVG (vector graphic, usually is not used as banners). — Ivan A. Krestinin (talk) 18:33, 26 November 2014 (UTC)[reply]

Thanks for explaining --Zhuyifei1999 (talk) 10:26, 27 November 2014 (UTC)[reply]

@Ivan A. Krestinin: Is it okay to add .gif files? --Pasleim (talk) 13:07, 27 February 2015 (UTC)[reply]

GIF is not recommended format, but acceptable. — Ivan A. Krestinin (talk) 19:11, 27 February 2015 (UTC)[reply]

Unicity[edit]

Each item can have several different banners (because various communities have different stylistic choices). Currently, an item can have the same banner twice, which I believe is not useful and should be prohibited as it usually is a script or human errors to re-add an existing banner. Could someone please implement this? Thanks! Syced (talk) 06:05, 1 September 2015 (UTC)[reply]

For most properties, KrBot throws out duplicate statements on properties. It just takes 1 or 2 days. --- Jura 06:15, 1 September 2015 (UTC)[reply]

Rename[edit]

It seems strange having "Wikivoyage" in the title for a site which is all about structured reusable data. Other pages that are not locations and other projects (my own pet project for instance) would benefit from being able to use this field to represent a banner / panorama image for the topic in question. Can I suggest a rename so that it is simply called "banner" ?  – The preceding unsigned comment was added by 2601:646:4001:b860:7dca:d6aa:d92:2275 (talk • contribs).

@2601:646:4001:b860:7dca:d6aa:d92:2275: It may be valuable to leave a note at WD:PC as well. --Izno (talk) 21:30, 27 March 2016 (UTC)[reply]
The only potential problem with this is that Wikivoyage layout does depend on these banners being a consistent aspect ratio (specifically, 7:1). LtPowers (talk) 15:27, 15 May 2017 (UTC)[reply]
OK for renaming as long as we keep using the stylistic rules described at https://en.wikivoyage.org/wiki/Wikivoyage:Banner_Expedition In particular, please keep in mind that a banner should show the item in a positive light. Even for a polluted industrial city famous for its crime rate, we will try to find something that represents the city in a positive light, for instance an artistic picture of chimneys. For items that are not places on Earth, feel free to disregard this rule as Wikivoyage uses banners mostly for places (plus a few travel topics). Cheers! Syced (talk) 05:27, 11 October 2017 (UTC)[reply]

Women in Red[edit]

The Women in Red WikiProject uses banners too. I find it odd that this property is unique to WikiVoyage and it is defined as 7:1 as it suits that project. Surely a banner is a banner (and caveat emptor should apply). So we have c.400 banners for women that we use on Twitter. Is it possible to store these on Wikidata I see that at the mo this banner is constrained to be for a place. We would need it to be for a person. Victuallers (talk) 13:41, 10 September 2018 (UTC)[reply]

Single value constraint[edit]

Since each Wikivoyage language version can choose which is the more appropriate banner according to the local decision, I've removed the single-value constraint (Q19474404).

When two or more Wikivoyage language versions will upload their own chosen banner, that banner can be referenced for example by imported from Wikimedia project (P143). Before changing the logic of the various pagebanner template, please share any better idea for qualifier or reference.

Thanks, --Andyrom75 (talk) 12:21, 24 December 2020 (UTC)[reply]