Release status: stable
|Description||Allows to show supplementary comment at each revision line in History page|
|Latest version||0.2.2 (2012-09-16)|
|License||GNU General Public License|
|Example||commons: Category: RevisionCommentSupplement|
|Translate the RevisionCommentSupplement extension if it is available at translatewiki.net|
|Issues||Open tasks · Report a bug|
RevisionCommentSupplement extension allows to show supplementary comment at each revision line in History page.
- Download and place the file(s) in a directory called
- Add the following code at the bottom of your LocalSettings.php:
- Run the update script which will automatically create the necessary database tables that this extension needs.
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
supplementcomment allows to operate at Special:RevisionCommentSupplement. supplementcomment-restricted allows to operate at Special:RevisionCommentSupplement with restricted actions.
RevisionCommentSupplement adds supplementcomment right to sysop group. RevisionCommentSupplement creates supplement group, and adds supplementcomment and supplementcomment-restricted to the group.
Setting supplementary commentEdit
Supplementary comments are changed in Special:RevisionCommentSupplement. supplementcomment right needs when showing Special:RevisionCommentSupplement.
- Revision ID text input box
- a revision ID of a supplementary comment that you want to save, preview or show.
- Supplementary Comment text input box
- a supplementary comment that you want to save or preview. The maximum length of a supplementary comment is 255 bytes.
- Summary text input box
- a summary and/or a reason that you want to save or preview. This is shown a comment in Special:Log. The maximum length of a summary and/or a reason is 255 bytes.
- Save botton
- save a supplementary comment.
- Preview botton
- preview a supplementary comment and a summary.
- Show botton
- show data of a supplementary comment.
There are page Instance that has revision 8.
Inputing 8 into Revision ID text input box, and pushing Show button in Special:RevisionCommentSupplement.
A supplement comment of revision 8 isn't set. Special Page puts a message and the like of one of revision lines in History page.
Filling both a supplementary commment and a summary with 255 characters of 'i', and pushing Preview botton.
Special Page puts the preview and the like of one of revision lines in History page.
Then, pushing Save botton.
Special Page writes the supplementary comment, adds a log entry and puts a message and data of the supplementary comment.
Pushing Show button.
Special Page puts data of the supplementary comment.
Viewing History page of Instance page.
The supplementary comment is added in the last of the line of revision 8.
Viewing the linked page of 'the Supplementary Comment change log.'
A escaped text of the supplementary comment is shown.