Extension:LastModified/pl

This page is a translated version of the page Extension:LastModified and the translation is 4% complete.
Podręcznik rozszerzeń MediaWiki
LastModified
Status wydania: stabilne
LastModified in English
Realizacja Strona specjalna
Opis Provides a Last modified date for wiki articles
Autor(zy) Jeremy Postlethwaite (Jpostlethwaitedyskusja)
Ostatnia wersja continuous updates
MediaWiki >= 1.29.0
Zmiany w bazie danych Nie
Licencja GNU General Public License 2.0 or later
Pobieranie
$wgLastModifiedRange
Quarterly downloads 14 (Ranked 135th)
Przetłumacz rozszerzenie LastModified jeżeli jest dostępne na translatewiki.net
Problemy Otwarte zadania · Zgłoś błąd

The LastModified extension displays text on the page showing the last modified page time. Zobacz też Timestamp position modification . This extension was created during Tech Days 2011 at the San Francisco Wikimedia office.

Customization

Using the $wgLastModifiedRange configuration parameter, you can change the display range (or timelimit) used by the extension. For example, if you only want to display the message for articles that were updated less than 30 days ago, set this value to 2. This will display a message like: "Last updated 20 days ago." You will not see this message for articles that were modified more than 30 days ago. The parameter only accepts an integer value. Here are the options available:

Value Display
years months days hours minutes seconds
0 years Tak Tak Tak Tak Tak Tak
1 months Nie Tak Tak Tak Tak Tak
2 days Nie Nie Tak Tak Tak Tak
3 hours Nie Nie Nie Tak Tak Tak
4 minutes Nie Nie Nie Nie Tak Tak
5 seconds Nie Nie Nie Nie Nie Tak

The default used by the extension is "0".

Installation

  • Pobierz i umieść plik(i) w katalogu o nazwie LastModified w folderze extensions/.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/LastModified
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'LastModified' );
    
  • Yes Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

See also