Extension:SmartComments
![]() リリースの状態: ベータ |
|
---|---|
作者 | |
メンテナー | ArchiXL |
最新バージョン | 2.0.5 () |
互換性の方針 | master は後方互換性を維持しています。 |
MediaWiki | 1.39 |
PHP | 7.4 |
データベースの変更 | はい |
テーブル | sic_anchor sic_data sic_diff_table |
ライセンス | GNU 一般公衆利用許諾書 2.0 以降 |
ダウンロード | |
|
|
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.
インストール
- Downloadして、ファイルを
extensions/
フォルダー内のSmartComments
という名前のディレクトリ内に配置します。 - 以下のコードを LocalSettings.php ファイルの末尾に追加します:
wfLoadExtension( 'SmartComments' );
- Run the MediaWiki
update.php
maintenance script to add the database tables - Manage user permissions if needed (see below)
- 完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。
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 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.
バージョン履歴
- 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)