Extension:NotesLink

From Linux Web Expert

MediaWiki extensions manual
NotesLink
Release status: unmaintained
Implementation Parser extension
Description Adds the <NDL></NDL> tag, that enables rendering "Notes Data Link" (NDL) code as a web accessible link
Author(s)
  • Unknown
  • Patric Wirth
Maintainer(s) Hallo Welt! GmbH
Latest version 2 (2018-09-18)
Compatibility policy Master maintains backward compatibility.
MediaWiki 1.27+
PHP 5.5+
Database changes Yes
Composer mediawiki/notes-link
License GNU General Public License 2.0 or later
Download
$noteslinkDocumentHost
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Translate the NotesLink extension if it is available at translatewiki.net

Adds the <NDL></NDL> tag, that enables rendering "Notes Data Link" (NDL) code as a web accessible link.

Usage

  • Edit any page and add an NDL tag according to this scheme:
<NDL>
<REPLICA 85B365A7:0251A0C7>
<VIEW OFAAC7D56C:A8FC874B-ON852563BE:00619639>
<NOTE OF6B6E35F1:C0F257AC-ONC1258288:002433CE>
<HINT>CN=MyHost.com</HINT>
<REM>sampleDB</REM>
</NDL>
  • This will create a link with the name "sampleDB" which directs to "notes://MyHost.com/85B365A7:0251A0C7/85B365A7:0251A0C7/OF6B6E35F1:C0F257AC-ONC1258288:002433CE".

Installation

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/NotesLink</tvar>|Download]] and move the extracted <tvar name=name>NotesLink</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/NotesLink
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'NotesLink' );
    
  • <translate> Run the [[<tvar name=update>Special:MyLanguage/Manual:Update.php</tvar>|update script]] which will automatically create the necessary database tables that this extension needs.</translate>
  • Configure as required.
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

Run the update script which will automatically create the necessary database tables that this extension needs.

Configuration

  • $noteslinkDocumentHost
If the host isn't parsed from the HINT field automatically (i.e. no "CN=..."), it can be forced by using Use this parameter to add the keywords that should be available globally.
$noteslinkDocumentHost = 'MyHost.com';