Jump to content

Extension:TopLink

From mediawiki.org
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

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

  • Download and place the file(s) in a directory called TopLink in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'TopLink' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

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.