مساعدة:بوابة قيود الخواص/رابط كومنز

This page is a translated version of the page Help:Property constraints portal/Commons link and the translation is 57% complete.

يحدد 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
  Commons link constraint
Wikimedia Commons namespace File
constraint status mandatory constraint
0 reference
add reference


add value

Example 2

Setting for “Category” namespace.

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.

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/P18#Commons link, hourly updated report

Lists

Lists of properties which are set Commons link constraint.