امتداد:واجهة تضارب التعديلات المعتمدة على الفقرات
![]() حالة الإصدار نسخة تجريبية |
|
---|---|
![]() |
|
تنفيذ | واجهة مستخدم |
بيان | تقدم طريقة عرض بديلة مقسمة إلى عمودين اثنين في صفحة فض تضارب التعديلات |
المؤلف/المؤلفون | ويكيميديا ألمانيا (WMDE) |
آخر إصدار | تحديثات مستمرة |
سياسة التوافق | تصدر اللقطات البرمجية مع ميدياويكي. الإصدار الرئيسي لا يتوافق مع الإصدارات السابقة. |
MediaWiki | 1.27+ |
ترخيص | رخصة جنو العمومية 2.0 أو ما بعدها |
التنزيل | |
|
|
تنزيلات ربع سنوية | 40 (Ranked 130th) |
استخدام مواقع الويكي العمومية | 1,159 (Ranked 215th) |
ترجم الامتداد Paragraph-based Edit Conflict Interface | |
المسائل | المهام المفتوحة · الإبلاغ عن عطل تقني |
إن واجهة تضارب التعديلات المعتمدة على الفقرات (الاسم الكودي: TwoColConflict) هي واجهة بديلة تستخدم في نموذج فض تضارب التعديلات. تعرض هذه الواجهة الفقرات النصية المتعارضة في زوجين اثنين جوار بعضهما البعض، مما ييسر دمج نصك مع ذلك الموجود على الإنترنت في الوقت الراهن.
التنصيب
- نزّل الملف/الملفات وضعها في دليل يحمل اسم
TwoColConflict
داخل مجلد extensions/
لديك. - أضف الكود التالي في الجزء الأسفل من ملف
LocalSettings.php
:wfLoadExtension( 'TwoColConflict' );
- تم التنفيذ – اذهب إلى Special:Version على موقع الويكي لديك كي تتحقق من أن الامتداد قد ثبت بنجاح.
الاستخدام
تشغيل طريقة العرض الجديدة: كي تمكّن طريقة العرض الجديدة لأغراض فض تضارب التعديلات، يتعين عليك أولا أن تكون مسجل الدخول ووضع علامة في خانة سمة Paragraph-based Edit Conflict Interface الموجودة في صفحة تفضيلات السمات التجريبية على موقعك الويكي. لو كنت قد فعلّت من قبل السمة التجريبية الأولى، سوف تحصل على طريقة العرض الجديدة تلقائيا.
1. Get oriented.
In order to help you solve the edit conflict, the interface breaks down the differences between the two revisions like this:
- Text passages that differ are displayed in pairs next to each other: The current version of the page is shown in yellow and your version in blue. Inside, text that was changed is highlighted.
- Text passages that are identical in both versions are displayed as a grey bar, spanning the whole width.
A tutorial guides you through the interface the first time you encounter an edit conflict. You can open it again by clicking on the help icon (?).
- If you want to copy your version (the entire article text with your edits) of the article page, click on the 'copy full text' link next to the blue marked 'Your revision' headline on the top of the interface.
2. Build a new version by merging your text with the one that’s currently online.
- Select the passages you want to keep by clicking on the radio buttons next to them. By default, all texts from the other person are selected, so if you publish immediately, none of your text changes are saved.
- Edit passages, if needed.
- Click on the black pencil to open the editing mode for a text passage. If the pencil is grey, it means you need to select the text passage first. Otherwise, this version won’t be saved when you click publish.
- You can also edit text passages that are identical in both versions.
- The highlights that indicate the differences between the versions disappear when you edit a text passage.
- You can integrate parts from other text passages by copy and paste, either with the copy and paste function on your keyboard or with a right click.
- Click on the check mark to apply changes to a text box and to close its editing mode.
- If you want to discard your changes and reset the contents of the text box to what it was when the edit conflict occurred, click on the back arrow. This also restores the highlighting.
3. Publish a new page version. When you’re done selecting and editing all of the passages, click “Publish changes”. This composes all of the text passages you selected and the grey boxes into a new page revision. As on all wiki pages, you can preview the changes first via the Preview button. On clicking Cancel, you return to the current version of the page.
Non-JS version
If you’re not using JavaScript, the look or behavior of the feature will be as follows:
- All text passages are shown in editor boxes.
- There are no buttons within the editor boxes.
- Text passages that are identical in both versions are always expanded.
الإعداد
$wgTwoColConflictBetaFeature
- (بوليان، true بصفة افتراضية) قم بتنشيط هذا الامتداد في صفة سمة تجريبية عند تفعيل Extension:BetaFeatures.$wgTwoColConflictUseInline
- (بوليان، false بصفة افتراضية) استخدم طريقة العرض القديمة التي يظهر فيها النص المتعارض في عمود بينما يظهر النص الآخر في صورة نص ويكي في العمود الآخر؛ طريقة العرض الافتراضية هي إظهار الفروق مثل تلك المستخدمة في صفحات ميدياويكي، ولكن هناك أزرار في كل سطر متعارض لاختيار أحد النصين.
وصلات
- صفحة المساعدة و صفحة التعليقات "التغذية الراجعة" على mw.org
- الصفحة الرئيسية للمشروع على الميتا.
هذا الامتداد يستخدم على واحد من مشاريع ويكيميديا أو أكثر من واحد. يعني هذا الأمر أن الامتداد مستقر ويعمل/تعمل جيدا بما فيه الكفاية ليستخدم/لتستخدم في مواقع تتمتع بمستوى زيارات مرتفع مثل هذه. ابحث عن اسم هذا الامتداد في ملفات الضبط CommonSettings.php وكذلك InitialiseSettings.php كي ترى أين تنصب. توجد قائمة كاملة بالامتدادات المنصبة على موقع ويكي بعينه على صفحة Special:Version الخاصة بموقع الويكي. |
هذا الامتداد مشمول في الحزم أو مزارع الويكي التالية أو كليهما: هذه ليست قائمة كاملة. بعض مزارع الويكي أو مستضيفين الويكي قد تحتوي على extension حتى لو كانت غير مدرجة في هذه القائمة. راجع دائمًا مزارع الويكي أو مستضيفين الويكي أو حزمتك كي تتأكد من الأمر. |