MediaWiki extensions manual
RevisionCommentSupplement
Release status: unstable
Implementation Page action
Description Allows to show supplementary comment at each revision line in History page
Author(s) (Burthscehtalk)
Latest version 0.2.2 (2012-09-16)
MediaWiki 1.19
Database changes Yes
License GNU General Public License 2.0 or later
Download
Example commons: Category: RevisionCommentSupplement
Parameters
  • $wgRevisionCommentSupplementSettings
Added rights
supplementcomment supplementcomment-restricted
Hooks used
  • PageHistoryLineEnding
  • LoadExtensionSchemaUpdates
Quarterly downloads 1 (Ranked 169th)
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.

Installation

  • Download and place the file(s) in a directory called RevisionCommentSupplement in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    require_once "$IP/extensions/RevisionCommentSupplement/RevisionCommentSupplement.php";
    
  • Run the update script which will automatically create the necessary database tables that this extension needs.
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

User rights

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 comment

Supplementary comments are changed in Special:RevisionCommentSupplement. supplementcomment right needs when showing Special:RevisionCommentSupplement.

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.

Example

There are page Instance that has revision 8.

history of page Instance that has revision 8.

Inputing 8 into Revision ID text input box, and pushing Show button in Special:RevisionCommentSupplement.

show data of revision 8.

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.

show preview of a supplementary comment and a summary.

Special Page puts the preview and the like of one of revision lines in History page.

Then, pushing Save botton.

save the supplementary comment and the summary.

Special Page writes the supplementary comment, adds a log entry and puts a message and data of the supplementary comment.

Pushing Show button.

show the supplementary comment and the summary.

Special Page puts data of the supplementary comment.

Viewing History page of Instance page.

history of page Instance that has revision 8 after setting the supplementary comment.

The supplementary comment is added in the last of the line of revision 8.

Viewing the linked page of 'the Supplementary Comment change log.'

log of the supplementary comment and the summary.

A escaped text of the supplementary comment is shown.

This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.