issues
search
hoo89
/
Wikitcc2
Wiki clone powered by CakePHP.
MIT License
3
stars
1
forks
source link
編集衝突回避
#39
Open
hoo89
opened
8 years ago
hoo89
commented
8 years ago
編集衝突の検出機能を実装
最も新しい更新日がリクエストの記事と異なる場合、編集者が作成した差分および 他の編集者らが作成した差分(最新版-リクエストの記事と同じ最終更新日時の版)を確認し、diff3にかけ、マージできる場合はマージする。 なおどちらかの差分が0だった場合もここで処理できる。 マージできなかった場合、「編集の衝突」画面に遷移する。
「編集の衝突」画面の作成
両方の差分を並べて表示しつつプレビュー・編集も表示する。