Last modified: 2014-07-13 05:00:56 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T69576, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67576 - Annotations are not preserved between edits
Annotations are not preserved between edits
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Annotator (Other open bugs)
master
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-07 01:30 UTC by Daniel Robbins
Modified: 2014-07-13 05:00 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel Robbins 2014-07-07 01:30:01 UTC
Currently, any edits to a page will create a new page with no annotations, which makes this extension very difficult to use. You must look at the page history, and look at each revision for potential annotations that people may have added, and there is no icon or other indication that a revision actually *has* annotations. So they are likely to be lost or ignored.

Ideally, annotations would be preserved through wiki edits and apply to newer revisions of pages. This would likely require updates to the editor.

I realize that this may be technically challenging to implement. However, the preservations of annotations across edits does seem to be essential for really ensuring that this extension is useful (In fact, I wouldn't consider this annotation feature actually fully implemented until this is supported.)

The true ideal implementation would be to display annotations in the editor, and like a true word processor, track changes to the underlying text to ensure that the annotation still existed even if the underlying text was modified in some way, as is how annotations work in word processors. This would have the added benefit of allowing editors to view annotations in real-time as they are editing a document, which would be extremely handy as many annotations deal with changes to the document that need to be made (or at least, should be addressed in some way during an edit cycle.

Proposed design:

[ editor window top ]


[ Highlighted yellow: Editing this line in the editor.... ]


[ editor window bottom ]

[ Annotation: Display annotation(s) related to cursor position here. ]
[ Button: add comment ] <-- editor would use this to add comment to existing annotation, related to any edits.

I don't know if that is helpful for conveying how annotations could work in the editor, or not. I think this should be added to the default editor, and VisualEditor can add its own support. I don't think this feature should be VE-only.

A possible work-around to make things a bit more bearable in the mean-time would be to add some kind of icon in the page history to indicate revisions that have annotations, so that the maintainer of the page can go through the page's history and look for annotations from people.
Comment 1 Matthew Flaschen 2014-07-13 05:00:56 UTC
This is a valid report.  However, as you say it is technically challenging, and we did not intend the initial version to have this support.

(In reply to Daniel Robbins from comment #0)
> A possible work-around to make things a bit more bearable in the mean-time
> would be to add some kind of icon in the page history to indicate revisions
> that have annotations, so that the maintainer of the page can go through the
> page's history and look for annotations from people.

That's a good idea.  Filed as bug 67939.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links