فحص التحرير (أداة التحقق)/الإعداد
|
Edit check
أداة توفّر للأشخاص ملاحظات حول سياسات ويكيبيديا يمكن أن تتحوّل إلى أفعال قابلة للنشر في أثناء التحرير.
|
فحص التحرير (أداة التحقق) توفّر للأشخاص ملاحظات حول سياسات ويكيبيديا يمكن أن تتحوّل إلى أفعال قابلة للنشر في أثناء التحرير.
تسعى هذه الصفحة إلى تزويد المتطوعين ذوي الخبرة بالمعلومات التي يحتاجون إليها لضمان إعداد فحص التحرير (أداة التحقق) بطريقة تبرز مختلف سياسات وإرشادات كل مشروع.
إعدادات في موقع الويكي
يمكن إعداد فحص التحرير (أداة التحقق) بطريقة ما داخل الويكي من قبل مُديري الواجهة المحليين عن طريق تحرير رسالة الـMediaWiki:Editcheck-config.json.
سيكون في البداية null، مما يعني أنه غير معدّ ويجب أن تنطبق إعدادات فحص النحرير بشكل كامل.
يجب أن تكون رسالة JSON سليمة، وإلا سيتم تجاهلها وتطبيق القيم الافتراضية. سيتم ملء أي قيم غير محددة بالقيم الافتراضية.
A summary of the configuration of Edit Check on a given wiki can be found at Special:EditChecks.
Generic check configuration
This can apply to any check, unless otherwise stated in that check's section. It tends to address the meta level of check functionality: account types, experience level, parts of the document, etc.
كما هو في ٢٠٢٣, القيم التي يمكن إعدادها في التغير. أفضل مرجع حاليًا هو الصف defaultConfig في كود تحميل الإعدادات. [١]
If a parameter is not used in the local configuration, then its default value is used.
| Name | Type | Description | Default |
|---|---|---|---|
account
|
تحديد ماهي مستويات حسابات المستخدمين التي يجب أن تنطبق عليها عملية فحص التحرير. Valid values are "loggedin", "loggedout", false. The default false results in the edit check applying to all users.
|
false
| |
maximumEditcount
|
Specify an upper bound for the number of changes at which Edit Check is activated. الوضع الافتراضي هو 100، مما يعني أن فحص التحرير سيتم عرضه فقط للمستخدمين الذين لديهم ١٠٠ تعديل فما أقل. If this value is not defined, the default value is used. The number of edits is based on user edit count, edits from all namespaces are taken into account.
|
100 | |
minimumEditcount
|
Specify a lower bound for the number of changes at which Edit Check is activated. The default 0 means that the edit check will be shown to all users. The number of edits is based on user edit count, edits from all namespaces are taken into account.
|
0 | |
ignoreSections
|
Array | An array of section titles, which will be compared case-insensitively to headings. If a heading matches an item in this array, all content within that section will be ignored for checks.
Each section title has to be between |
[]
|
ignoreLeadSection (deprecated)
|
Boolean | If true, the content of the lead section will be ignored for checks. A "lead section" is content that precedes the first heading in an article. An article without any headings doesn't have a lead section. | false
|
includeSections
|
Array or Boolean | An array of section titles, which will be compared case-insensitively to headings. If a heading matches an item in this array, all content within that section will be ignored for checks.
Each section title has to be between If this is anything except an array, all sections will be included. An empty array ( |
true
|
ignoreDisambiguationPages
|
Boolean | If true, this check won't run on disambiguation pages. | false
|
ignoreQuotedContent
|
Boolean | If true, this check will try to not run on content that's within quotes, or within a blockquote. It determines this by checking whether the start of a potential match is a quote-character or is within a pair of quote-characters. If you're editing in English it will try to accommodate single-quotes, but trailing possessive apostrophes can confuse it. | false
|
enabled
|
Boolean | If true, the check will be enabled, assuming all other configuration allows it to be shown. If false, the check will not be shown. | true
|
inCategory
|
Array | If present, specifies an array of category-names whose presence or absence in the latest revision will determine whether a given check or suggestion has the potential to activate. This does not reflect the current state of the document in the editor. | undefined
|
hasTemplate
|
Array | If present, specifies an array of templates whose presence or absence in the document model will determine whether a given check or suggestion has the potential to activate. | undefined
|
Reference check configuration
The default configuration values are as follows:
{
"addReference": {
"minimumCharacters": 50,
"beforePunctuation": false,
"account": false,
"maximumEditcount": 100,
"ignoreSections": [],
"ignoreLeadSection": false
}
}
Any of these values can be overwritten on the wiki if required. For example:
{
"addReference": {
"minimumCharacters": 40,
"beforePunctuation": true,
"ignoreSections": [ "External links", "Unsupported claims", "Discussion" ],
"ignoreLeadSection": true
}
}
سيؤدي هذا إلى تغيير الحد الأدنى لعدد الأحرف المطلوبة قبل تشغيل فحص التحرير لـ«إضافة مرجع» إلى 40، وجعله يدرج الاستشهادات الخاصة به قبل علامات الترقيم الطرفية بدلًا من بعدها.
القيم القابلة للتعديل
These are in addition to the generic configurable values listed above.
| Name | Default | Description |
|---|---|---|
beforePunctuation
|
false
|
Specify whether the citation should appear before or after a sentence's terminal punctuation. Before is the style used at the French Wikipedia: "Sentence[1]." After is the style used at the English Wikipedia: "Sentence.[1]". الوضع الافتراضي هو false، مما يؤدي إلى النمط المستخدم في معظم الويكيبيديات، بما في ذلك ويكيبيديا الإنجليزية.
|
minimumCharacters
|
50 (كما هو في ٢٠٢٣)
|
أصغر سلسلة من الأحرف المتتالية [Footnotes 1] التي ستساعد على إضافة اقتباس. يجب أن يكون هذا بشكل عام صغيرًا بما فيه الكفاية لتحفيز معظم إضافات المعلومات الجديدة الهامة، ولكن كبيرًا بما يكفي لعدم التحفيز للتحرير النسخي، في اللغة المحلية. |
Tone check configuration
These are in addition to the generic configurable values listed above.
| Name | Default | Description |
|---|---|---|
predictionThreshold
|
0.8
|
Specify the confidence score required from the model for a Tone Check to be shown, from 0.0 to 1.0.
This isn't quite "catch x% of tone violations", but rather "of the potential tone issues the model identifies, only show Tone Check to people when the model is ≥x% confident about its assessment." The default is |
TextMatch configuration
The TextMatch page has additional details on the textMatch feature, which can be used to create new entirely-local types of checks.
Defaults for all checks
The special * config item can be used to set default values that apply to all other checks.
This example would set all checks to show only for logged in users, with less than 1,000,000 edits, and not in the "External links" and "References" sections. It then overrides that for the reference check, so it only shows for users with less than 10 edits.
{
"*": {
"account": "loggedin",
"maximumEditcount": 1000000,
"ignoreSections": [ "External links", "References" ]
},
"addReference": {
"maximumEditCount": 10
}
}
The final config for any given check is built by combining the defaults for that check, the * values, and the specific values for that check. Later items will override earlier ones. The individual values are not merged, and will completely replace earlier ones.
الإعدادات على المستوى المحلّي
يمكن تعيين هذه القيم من الإعدادات على المستوى المحلّي في LocalSettings.php.
| إعداد | المعنى | افتراضي |
|---|---|---|
| VisualEditorEditCheck | تفعيل المِيزة | false |
| VisualEditorEditCheckTagging | تعليمات التعديلات التي تم إجراؤها بمزايا فحص التحرير. | false |
الحصول على مساعدة
- يمكن لأي إداري واجهة في الويكي الخاصة بكم، إعداد هذا. يمكنكم العثور على قائمة إداريي الواجهة على الويكي الخاص بكم عن طريق البحث في
Special:ListUsers/interface-admin. يمكنك العثور على قائمة الإداريين الآخرين على الويكي الخاصة بكم عن طريق البحث فيSpecial:ListAdmins. - إذا لم يكن في ويكيبيديا لديك أي إداري واجهة، يمكنكم طلب المساعدة على m:Steward requests/Miscellaneous.
- إذا كانت الويكي الخاصة بكم تستضيفها مؤسسة ويكيميديا ولكنها ليست ويكيبيديا، فستحتاجون إلى طلب نشر فحص التحرير (أداة التحقق) فيها. يرجى متابعة العملية في m:Requesting wiki configuration changes. علّموا تذْكِرَة الـفبريكاتور بكلّ التعليمات التالية:
#editcheck,#wikimedia-site-requests.
مراجع
هوامش
- ↑ JavaScript characters, which are UTF-16 code units