مساعدة:بوابة قيود الخواص/مؤهلات

This page is a translated version of the page Help:Property constraints portal/Qualifiers and the translation is 50% complete.

يحدد allowed qualifiers constraint (Q21510851) أنه يمكن استخدام مجموعة معينة من المؤهلات فقط مع خاصية ما، لتحديد مؤهلات مطلوبة مطلوبة; استخدم قيد التصفيات الإلزامية.

على سبيل المثال، المؤهلات الوحيدة الصالحة لـmusical conductor (P3300) هي start time (P580) وend time (P582).

لا يمكن التحقق من هذا القيد إلا على القيمة الرئيسية للبيان، إذا تم تحديد أي constraint scope (P4680) آخر، يتم الإبلاغ عن خطأ.

If such a constraint is defined on a property, its values are also used as suggestions when someone adds a new statement with that property. For example, someone adding a new musical conductor (P3300) statement will see the allowed qualifiers, start time (P580), end time (P582) and object named as (P1932), as suggestions when adding a qualifier. (Other properties can still be added by searching for them or pasting their property IDs.)

الإجراءات الممكنة

هناك عدة طرق ممكنة لمعالجة انتهاك هذا القيد:

  • من الممكن ألا يكون المؤهل هو المصطلح المناسب لاستخدامه في البيان، ويجب استخدام خاصية مشابهة ولكن مختلفة بدلا من ذلك، تحقق من قائمة المؤهلات المسموح بها لخاصية قابلة للتطبيق.
  • It’s possible that the statement should not have the qualifier at all, and that the qualifier should be removed.

من المحتمل ألا يحتوي البيان على المؤهل مطلقا، وأنه تجب إزالة المؤهل.

  • من الممكن أن يكون هذا البيان استثناءً نادرا لكن شرعيا للقيود، ولا يجب فعل أي شيء.

الوسائط

لهذا القيد وسيط إلزامي واحد:

property (P2306)
يحتوي على التصفيات المسموح بها، يجب أن يحتوي على خاصية واحدة أو أكثر، أو على no value Help واحد لتحديد أن بيانات هذه الخاصية لا يجب أن تحتوي على أية مؤهلات. (unknown value Help غير مسموح بها.)

Examples

Example 1

For example, valid qualifier for students count (P2196) is point in time.

property constraint
  allowed qualifiers constraint
property point in time
0 reference
add reference


add value

Example 2 - no qualifiers allowed

Setting for no qualifiers allowed. no value specify that statements for this property should not have any qualifiers. "no value" is added to statements by clicking on the icon beside the value field that looks like this  .

property constraint
  allowed qualifiers constraint
property no value
0 reference
add reference


add value

Universally allowed qualifiers

Certain properties are expected to be allowed as qualifiers on almost any statement: notably reason for deprecated rank (P2241), reason for preferred rank (P7452), and mapping relation type (P4390). WikibaseQualityConstraints knows nothing of these special properties; consequently, it’s expected that they are included in most allowed qualifiers constraint (Q21510851) constraints. (See T242797 for discussion.)

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 for some constraint messages are defined at Module:i18n/constraints; others, such as the message for allowed qualifiers constraint (Q21510851), are located on TranslateWiki.

Lists

Lists of properties which are set allowed qualifiers constraint.