MarkTraceur has uploaded a new change for review. Change subject: Set text if revision has changed ......................................................................
Set text if revision has changed This patch adds in long-missing functionality--if a page has been edited since the pad was created, and nobody is currently editing the pad, we should set the text of the pad to be the current base revision of the page. The only thing missing is some way to handle this: A user is editing the pad, an edit occurs, and then another user comes to the pad based on the brand new revision. Without that, this is an incomplete feature, since some people will simply come to the pad and be confused as to the changes. My best guess for how to do this currently is similar to the "fork" functionality, but it may not be the best way. Essentially, when a new pad needs to be created because of an intersecting edit, we should fork the pad and give the new editor a PadID that is not the same as the default. Patch on the way, but this should go in now. Change-Id: I12ae725c394af2df45b41eaf6a57c06032c378c9 --- M EtherEditorHooks.php M api/ForkEtherPad.php M includes/EtherEditorPad.php M includes/EtherpadLiteClient.php A sql/AddBaseRevision.patch.sql M sql/EtherEditor.sql 6 files changed, 131 insertions(+), 25 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/EtherEditor refs/changes/94/13894/1 -- To view, visit https://gerrit.wikimedia.org/r/13894 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I12ae725c394af2df45b41eaf6a57c06032c378c9 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/EtherEditor Gerrit-Branch: master Gerrit-Owner: MarkTraceur <mtrac...@member.fsf.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits