Extension:Paragraph-based Edit Conflict Interface
リリースの状態: 安定 |
|
|---|---|
| 実装 | ユーザー インターフェイス |
| 説明 | 競合解決の編集ページに2列の代替ビューを提供する |
| 作者 | ウィキメディア・ドイツ(WMDE) |
| 最新バージョン | 継続的な更新 |
| 互換性の方針 | スナップショットが MediaWiki とともにリリースされます。 master には後方互換性がありません。 |
| データベースの変更 | いいえ |
|
|
| ライセンス | GNU 一般公衆利用許諾書 2.0 以降 |
| ダウンロード | |
| ヘルプ | Help:段落単位で編集の競合を2列に表示 |
| Paragraph-based Edit Conflict Interface 拡張機能の翻訳にご協力ください | |
| 問題点 | 未解決のタスク · バグを報告 |
段落ベースの編集競合インターフェイス(コードネーム: TwoColConflict)は、編集競合を解決するフォームの新しいインターフェイスです。 競合している箇所を並べて表示するため、先行して保存された版と自分の編集を簡単に結合させることができます。
インストール
- ダウンロードして、ファイルを
extensions/フォルダー内のTwoColConflictという名前のディレクトリ内に配置します。
開発者とコード寄稿者は、上記の代わりに以下を使用してGitからインストールします:cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/TwoColConflict
- 以下のコードを LocalSettings.php ファイルの末尾に追加します:
wfLoadExtension( 'TwoColConflict' );
- 必要に応じて設定します。
完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。
使用法
新しい表示の有効化: 編集の競合解消のための新しい表示を有効にするには、ウィキにログインして個人設定ページからベータ版機能タブを開き、段落ベースの競合編集インターフェイス機能にチェックを入れる必要があります。 すべてのベータ版機能を有効にする設定にしていた場合は、自動的に新しい表示が適用されます。

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
すべての文をコピーlink next to the blue markedあなたが修正した版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
X. This also restores the highlighting.
- 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
3. Publish a new page version.
When you're done selecting and editing all of the passages, click 変更を公開.
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.
If you are 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
|
Extension:BetaFeatures が有効なとき、この拡張機能をベータ版機能として有効にします。 | 真偽値 | true
|
$wgTwoColConflictSuggestResolution
|
Suggest an easy resolution for edit conflicts on talk pages when two users replied at the same time. | 真偽値 | true
|
リンク
- Help page and central feedback page on MediaWiki.org
- Main project page on Meta
| この拡張機能は 1 つ以上のウィキメディアのプロジェクトで使用されています。 これはおそらく、この拡張機能が安定していて高いトラフィックのウェブサイトでも十分に動作することを意味します。 この拡張機能がインストールされている場所を確認するには、ウィキメディアの設定ファイル CommonSettings.php および InitialiseSettings.php 内で、この拡張機能の名前を探してください。 特定のウィキにインストールされている拡張機能の完全な一覧は、そのウィキの Special:Version ページにあります。 |
| この拡張機能は以下のウィキ ファーム/ウィキ ホスト/パッケージに含まれています: |
- Stable extensions/ja
- User interface extensions/ja
- AlternateEdit extensions/ja
- EditPage::importFormData extensions/ja
- EditPage::showEditForm:fields extensions/ja
- EditPageBeforeEditButtons extensions/ja
- GetBetaFeaturePreferences extensions/ja
- GetPreferences extensions/ja
- LoadUserOptions extensions/ja
- GPL licensed extensions/ja
- Extensions in Wikimedia version control/ja
- All extensions/ja
- Extensions used on Wikimedia/ja
- Extensions included in BlueSpice/ja
- Extensions included in Canasta/ja
- Extensions included in Miraheze/ja
- Extensions included in MyWikis/ja
- Extensions included in wiki.gg/ja
