Extension:UploadBlacklist/pl

From Linux Web Expert

Revision as of 08:54, 21 February 2024 by imported>FuzzyBot (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Podręcznik rozszerzeń MediaWiki
UploadBlacklist
Status wydania: niewspierane
Realizacja Aktywność użytkownika
Opis Allows configuration of an array with sha1 hashes which can then no longer be uploaded
Autor(zy) Brooke Vibbertalk
MediaWiki 1.25+
Licencja Nie określono
Pobieranie
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').
Przetłumacz rozszerzenie UploadBlacklist jeżeli jest dostępne na translatewiki.net
Problemy Otwarte zadania · Zgłoś błąd

Pobieranie

<translate> The extension can be retrieved directly from Git</translate> [?]:

  • <translate> Browse code</translate>
  • <translate> Some extensions have tags for stable releases.</translate>
  • <translate> Each branch is associated with a past MediaWiki release.</translate> <translate> There is also a "master" branch containing the latest alpha version (might require an alpha version of MediaWiki).</translate>

<translate> Extract the snapshot and place it in the <tvar name=name>extensions/UploadBlacklist/</tvar> directory of your MediaWiki installation.

If you are familiar with Git and have shell access to your server, you can also obtain the extension as follows: </translate>

cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/UploadBlacklist.git

Instalacja

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/UploadBlacklist/pl</tvar>|Download]] and move the extracted <tvar name=name>UploadBlacklist/pl</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/UploadBlacklist%2Fpl
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'UploadBlacklist/pl' );
    $ubUploadBlacklist = array ('hash1', 'hash2', ...)
    
  • 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>