Template:Constraint:Commons link
Jump to navigation
Jump to search
Link to Commons namespace “{{{namespace}}}”: this property should contain a well-formed link to an existing page on Wikimedia Commons.
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/Constraint:Commons link#Commons link
This template is obsolete. Please use property constraint (P2302) with value Commons link constraint instead. For further information, see Help:Property constraints portal. |
a "well-formed link" means a link
- with no underscores instead of spaces
- with no unprintable characters at the beginning of the link
- with no leading or trailing spaces
- with no "%20" instead of spaces
- with no "Jump to: navigation, search" that sometimes gets pasted along
- that does not include the namespace (e. g. "File:", "Category:" and etc.)
- that does not include the full path from Commons (sample: "http://upload.wikimedia.org/wikipedia/commons/1/16/")
- ..
MediaWiki normalizes some of these automatically when images are used in articles and pages, but it makes maintenance of WikiData more complex if the non-normalized versions are stored here.
"a file available on Wikimedia Commons" means:
- not a file available only in a local Wikipedia (sample: a fair-use image on English Wikipedia)
This template categorizes into Category:Properties with Commons link constraints
Usage[edit]
{{Constraint:Commons link|namespace=File}}
Bot jobs[edit]
Normalize filenames listed on the reports.
Image credit for icon[edit]
See File:Commons Autoconfirmed-2000px.png
See also[edit]
The above documentation is transcluded from Template:Constraint:Commons link/doc (edit | history). Editors can experiment in this template's sandbox (create | mirror) and testcases (create) page. Please add categories to the /doc subpage. Subpages of this template. |