Property talk:P935
Documentation
name of the Wikimedia Commons gallery page(s) related to this item (is suitable to allow multiple links to more gallery pages)
Description | name of the Wikimedia Commons gallery page(s) related to this item (is suitable to allow multiple link to more gallery pages) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Represents | Commons gallery (Q21167233) | ||||||||||||
Has quality | MediaWiki page title (Q83336425) | ||||||||||||
Data type | String | ||||||||||||
Corresponding template | Template:Commons (Q5462387) | ||||||||||||
Template parameter | "Commons" template and "Commons" parameters which link to non-category page | ||||||||||||
Domain | all items (note: this should be moved to the property statements) | ||||||||||||
Allowed values | According to this template:
title of a Commons gallery
According to statements in the property:
When possible, data should only be stored as statements(?!https?://|File:|Image:|Category:|Data:).* | ||||||||||||
Example | Charles Square (Q1514053) → Karlovo náměstí (Prague) Basshunter (Q383541) → Basshunter Sicily (Q1460) → Sicilia | ||||||||||||
Source | templates Commons, Sisterlinks etc. (note: this information should be moved to a property statement; use property source website for the property (P1896)) | ||||||||||||
Formatter URL | https://commons.wikimedia.org/wiki/$1 | ||||||||||||
Robot and gadget jobs | DeltaBot does the following jobs: should be treated similarly as Commons category (P373) | ||||||||||||
Tracking: same | no label (Q29415465) | ||||||||||||
Tracking: differences | Category:Commons template link different from Wikidata (Q15228984) | ||||||||||||
Tracking: usage | Category:Pages using P935 property (Q26250089) | ||||||||||||
Tracking: local yes, WD no | Category:Value of Template:Commons not on Wikidata (Q15220674) | ||||||||||||
See also | Commons category (P373), Commons Creator page (P1472), Commons Institution page (P1612) | ||||||||||||
Lists |
| ||||||||||||
Proposal discussion | Proposal discussion | ||||||||||||
Current uses |
| ||||||||||||
Search for values |
List of violations of this constraint: Database reports/Constraint violations/P935#Commons link
(?!https?://|File:|Image:|Category:|Data:).*
”: value must be formatted using this pattern (PCRE syntax). (Help)List of violations of this constraint: Database reports/Constraint violations/P935#Entity types
List of violations of this constraint: Database reports/Constraint violations/P935#Scope, SPARQL
Items with sitelinks linking to a different gallery than the property (Help)
Violations query:
SELECT DISTINCT ?item { ?item wdt:P935 ?gallery; ^schema:about [ schema:isPartOf/^wdt:P856 wd:Q565; schema:name ?name ] . FILTER ( !STRSTARTS( STR( ?name ), 'Category:' ) ) . FILTER ( STR( ?name ) != ?gallery ) . }
List of this constraint violations: Database reports/Complex constraint violations/P935#Commons sitelinks different from P935 property
Items with a statement Commons gallery, but not statement Commons category (Help)
Violations query:
SELECT DISTINCT ?item { ?item wdt:P935 ?gallery . MINUS {?item wdt:P373 ?commonscat} . }
List of this constraint violations: Database reports/Complex constraint violations/P935#No Commons category statement
Property for deletion
[edit]- Kept! -- Lavallen (talk) 12:18, 14 March 2014 (UTC)
Scope change
[edit]I propose to change the scope of this property from "Commons gallery" to "additional Commons galleries". We already have sitelinks from Commons, but the deletion request for it has been rejected, because several Commons galleries can exist about the same topic. --Ricordisamoa 16:11, 11 August 2014 (UTC)
- Probably this should be item?--GZWDer (talk) 04:45, 12 August 2014 (UTC)
Attack vector
[edit]This property can't be a good idea. I've just created a librsvg gallery, and added it to Q286024. Nobody will ever check this, it's just an open door for pointy / spammy / evil cruft. Never underestimate spammers. –Be..anyone (talk) 12:08, 3 March 2015 (UTC)
- Aren't there anti spam/vandalism efforts on Commons, like there are on the Wikipedias? Bever (talk) 05:43, 23 May 2015 (UTC)
- Not in the gallery namespace, I was the sole (almost) "owner" of c:Wikimedia Foundation for six months. It's the least important namespace there. –Be..anyone (talk) 01:42, 17 July 2015 (UTC)
Additionally it can cause redundant links, e.g., the commons gallery for Freeciv is also listed in other sites. Redundancy is fine as long as it stays redundant, but something (a bot) should check this limitation. I'm tempted to fix Freeciv manually, iff P935 is only for additional galleries it cannot be used for the gallery. OTOH this would be another bot-job required globally for P935. –89.204.138.33 23:29, 6 October 2017 (UTC)
- Actually remove works without login, it throws an unclear error message for the first "save", but another "save" killed the redundant "other sites:commons gallery" link on Freeciv. –2.247.246.154 06:50, 17 October 2017 (UTC)
Uniqueness?
[edit]Both an object and its commons category have the same gallery, so the value cannot be unique. What am I missing? --SCIdude (talk) 15:37, 24 July 2019 (UTC)
- Probably category should not correspond to unique gallery, so it shouldn't have this property. --Infovarius (talk) 08:53, 26 July 2019 (UTC)
- I have removed the distinct values constraint. It seemed unreasonable e.g. for the case described above, Thing and Category:Thing would have the same gallery page. GKFX (talk) 17:39, 29 December 2019 (UTC)