Extension:TopLink

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
MediaWiki extensions manual
TopLink
Release status: stable
Description Adds link at bottom of MediaWiki skin to return to the top of a page.
Author(s) Jeffrey Wang for MyWikis LLC
Maintainer(s) MyWikis LLC
Latest version 1.0
Compatibility policy Master maintains backward compatibility.
MediaWiki 1.27+
Database changes No
License GNU General Public License 2.0 only
Download
Example MyWikis Testing
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').

The TopLink extension adds a "Return to top" link at the bottom of each page to jump back to the top of the page.

Installation

  • <translate> <tvar name=1>Download</tvar> and place the file(s) in a directory called <tvar name=name>TopLink</tvar> in your <tvar name=ext>extensions/</tvar> folder.</translate>
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'TopLink' );
    
  • 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>

Note

A link like this can be created with internal links syntax, i.e. [[#top|Return to top]] which however needs to be added manually to a page, e.g. via a template.