Extension:NotesLink

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
Crystal Clear action run.svg
NotesLink
Release status: beta
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
MediaWiki 1.27+
PHP 5.5+
Database changes Yes
License GNU General Public License 2.0 or later
Download
Parameters
$noteslinkDocumentHost
Translate the NotesLink extension if it is available at translatewiki.net
Check usage and version matrix.

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 place the file(s) in a directory called NotesLink in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    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';