Extension:SmartComments

Category:Extensions without an imageCategory:Extensions with invalid or missing typeCategory:GPL licensed extensions
MediaWiki extensions manual
SmartComments
Release status: betaCategory:Beta status extensions
Author(s)
Maintainer(s) ArchiXL
Latest version 2.0.5 ()
Compatibility policy Master maintains backward compatibility.Category:Extensions with master compatibility policy
MediaWiki 1.39Category:Extensions with manual MediaWiki version
PHP 7.4
Database changes Yes
Tables sic_anchor
sic_data
sic_diff_table
License GNU General Public License 2.0 or later
Download Category:Extensions in GitHub version control
Category:All extensionsCategory:Extensions not in ExtensionJson

The SmartComments extension enables wiki users to post inline comments attached to text fragments on wiki pages, comparable to posting review comments in Microsoft Word and other word processors.

Installation

  • Download and place the file(s) in a directory called SmartComments in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'SmartComments' );
    
  • Run the MediaWiki update.php maintenance script to add the database tables
  • Manage user permissions if needed (see below)
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

You can also clone via git

git clone https://github.com/ArchiXL/SmartComments.git

Updating to v2.0.0

If you had SmartComments previously installed, and now migrating to 2.0.0, follow the steps described here.

Usage

Usage is fairly straightforward. Users can post comments by selecting a text fragment on any wiki page and entering comment text in the popup window. Commented text on a wiki page is highlighted in light yellow. Upon clicking such a text fragment, the posted comment is displayed on the right edge of the page. Users can reply to posted comments.

In addition to posting and viewing comments, users with the "manage-inlinecomments" permission can delete other users' comments and toggle comments' status between "open" and "completed". Comments can be managed from the page on which they have been posted or from the "Special:SmartComments" special page.

SemanticMediaWiki

If SemanticMediaWiki has been installed, comments are (additionally) available as subobjects on the page where they have been posted and can be queried accordingly.

Version history

  • 2.0.5 - - Compatibility improvements for MediaWiki 1.43 and SemanticMediaWiki 5.0.0
  • 2.0.4 - - Bug fixes with annotations containing and pipe char
  • 2.0.3 - - Renamed .container to .sic-container
  • 2.0.2 - - Several bug fixes and performance improvements
  • 2.0.1 - - Skin compatability changes
  • 2.0.0 - - Several improvements, see release page for more information
  • 1.5.5 - - Fixed bug where you could select everything in the page (now only limited to the #mw-content-text div)
  • 1.5.4 - - (SpecialPage)
    • Removed the use of SMW\HtmlTabs and created custom tabs
  • 1.5.3 - - Removed hard requirement of SemanticMediaWiki in extension.json
  • 1.5.2 - - Several improvements on the admin page (Special:SmartComments)
  • 1.5.1 - - Fixed missing i18n-strings and replaced deprecated SMW hooks
  • 1.5.0 - - Allow comments to be made on HTML selections
  • 1.4.4 - - Initial version (beta release)

See also

Category:Semantic MediaWiki extensions Category:Extensions by ArchiXL Category:Annotation extensions
Category:All extensions Category:Annotation extensions Category:ArticleDeleteAfterSuccess extensions Category:BeforePageDisplay extensions Category:Beta status extensions Category:Extensions by ArchiXL Category:Extensions in GitHub version control Category:Extensions not in ExtensionJson Category:Extensions which add rights Category:Extensions with invalid or missing type Category:Extensions with manual MediaWiki version Category:Extensions with master compatibility policy Category:Extensions without an image Category:GPL licensed extensions Category:LoadExtensionSchemaUpdates extensions Category:MediaWikiServices extensions Category:ParserCacheSaveComplete extensions Category:ResourceLoaderGetConfigVars extensions Category:ResourceLoaderRegisterModules extensions Category:SMW::Property::initProperties extensions Category:SMW::Store::BeforeDataUpdateComplete extensions Category:SMWStore::updateDataBefore extensions Category:Semantic MediaWiki extensions Category:SkinTemplateNavigation::Universal extensions