Extension:TopLink/pl

From Linux Web Expert

Podręcznik rozszerzeń MediaWiki
TopLink
Status wydania: stabilne
Opis Adds link at bottom of MediaWiki skin to return to the top of a page.
Autor(zy) Jeffrey Wang for MyWikis LLC
Opiekun(owie) MyWikis LLC
Ostatnia wersja 1.0
Polityka zgodności Master maintains backward compatibility.
MediaWiki 1.27+
Zmiany w bazie danych Nie
Licencja GNU General Public License 2.0 only
Pobieranie
Przykład 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.

Instalacja

  • <translate> <tvar name=1>Pobieranie</tvar> and place the file(s) in a directory called <tvar name=name>TopLink/pl</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/pl' );
    
  • 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.