Jump to content

Extension:NotesLink

From mediawiki.org
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
License GNU General Public License 2.0 or later
Download
$noteslinkDocumentHost
Quarterly downloads 1 (Ranked 136th)
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]
  • 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

[edit]
  • Download and move the extracted NotesLink folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/NotesLink
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'NotesLink' );
    
  • Run the update script which will automatically create the necessary database tables that this extension needs.
  • Configure as required.
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

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

Configuration

[edit]
  • $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';