مساعدة:بوابة قيود الخواص/رابط كومنز
This is the documentation page for a particular constraint type. See Help:Property constraints portal for a general overview of property constraints. |
يحدد Commons link constraint (Q21510852) أن قيم خاصية يجب أن تكون أسماء صفحات موجودة في ويكيميديا كومنز داخل نطاق محدد.
على سبيل المثال، يجب أن تكون image (P18) صفحة صالحة في نطاق "الملف"، ويجب أن تكون Commons category (P373) صفحة صالحة في نطاق "التصنيف".
إذا لم يتم تحديد constraint scope (P4680)، يتم فحص هذا القيد في كل مكان.
الإجراءات الممكنة
هناك عدة طرق ممكنة لمعالجة انتهاك هذا القيد:
- من الممكن أن تتم إعادة تسمية الصفحة في كومنز، ويجب تحديث البيان وفقا لذلك.
- من الممكن حذف الصفحة في كومنز، وتجب إزالة البيانة أو استبداله بصفحة مختلفة.
- من الممكن أن يكون هذا البند استثناء نادرا لكن شرعيا للقيود، ولا يجب فعل أي شيء.
الوسائط
لهذا القيد وسيط اختياري واحد
- Wikimedia Commons namespace (P2307)
- يحتوي على النطاق المتوقع في كومنز (بدون نقطتين رأسيتين، مثل "File")، إذا كان موجودا، يجب أن يحتوي على قيمة واحدة بالضبط (لا يُسمَح بـno value Help أو unknown value Help)، إذا لم يكن موجودا، يتم استخدام النطاق الافتراضي، وهو مناسب فقط لـCommons gallery (P935).
Examples
Example 1
Setting for “File” namespace.
property constraint |
| ||||||||||||||
add value |
Example 2
Setting for “Category” namespace.
property constraint |
| ||||||||||||||
add value |
Template
When the constraint is set to the property, the following template is automatically displayed in the property talk page. The template is created by Module:Constraints using Template:Constraint, invoked from Template:Property documentation. Translations are defined at Module:i18n/constraints.
Lists
Lists of properties which are set Commons link constraint.
- Category:Properties with Commons link constraints
- SPARQL query - click the execute button at the linked page to see the query result.