Extension:LinkFilter/pl
Appearance
LinkFilter Status wydania: stabilne |
|
---|---|
Realizacja | Strona specjalna |
Opis | Adds some new special pages and a parser hook for link submitting/approval/reject |
Autor(zy) |
|
Ostatnia wersja | 3.5.0 (2017-07-11) |
MediaWiki | 1.39+ |
Zmiany w bazie danych | Tak |
Tabele | link |
Licencja | Licencja GNU General Public License 2.0 lub nowsza |
Pobieranie | |
|
|
|
|
Quarterly downloads | 2 (Ranked 128th) |
Przetłumacz rozszerzenie LinkFilter jeżeli jest dostępne na translatewiki.net | |
Problemy | Otwarte zadania · Zgłoś błąd |
LinkFilter is an extension to allow users to submit news (etc.) links and wiki admins/other privileged users to approve them.
In addition to the new special pages, LinkFilter also provides <linkfilter>
parser hook tag.
New special pages
- Special:LinkSubmit
- Special:LinkApprove (available to users with linkadmin right)
- Special:LinkEdit (redirects to LinkSubmit form, allowing to edit the link details, target etc.)
- Special:LinksHome
- Special:LinkRedirect
Instalacja
- Pobierz i umieść plik(i) w katalogu o nazwie
LinkFilter
w folderzeextensions/
.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/LinkFilter - Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
wfLoadExtension( 'LinkFilter' );
- Uruchom skrypt aktualizujący, który automatycznie stworzy potrzebne tabele dla tego rozszerzenia.
- If a pre-r90829 version of SocialProfile extension is installed on the wiki, you'll need to patch the existing
user_stats
table by runningpatch-columns_for_user_stats.sql
against it (tryphp maintenance/sql.php extensions/LinkFilter/patch-columns_for_user_stats.sql
from command line)
- If a pre-r90829 version of SocialProfile extension is installed on the wiki, you'll need to patch the existing
- Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.
Konfiguracja
$wgLinkFilterTypes
— an array of link types that will be available in the dropdown menu on Special:LinkSubmit. If this is not defined, LinkFilter will use the defaults in Link::$link_types. The defaults are the same as Link::$link_types currently:
$wgLinkFilterTypes = array(
1 => 'Arrest Report',
2 => 'Awesome',
3 => 'Cool',
4 => 'Funny',
6 => 'Interesting',
7 => 'Obvious',
8 => 'OMG WTF?!?',
9 => 'Rumor',
10 => 'Scary',
11 => 'Stupid',
);
$wgLinkPageDisplay
— not really a configuration variable per se. Used to display different stuff on LinkFilter pages. For example, setting$wgLinkPageDisplay['in_the_news'] = true;
will display "In the News" section on Special:LinksHome.
Customization
You can edit the general instructions displayed to everyone on Special:LinkSubmit by editing MediaWiki:Linkfilter-instructions.
Admins instructions can be edited through MediaWiki:Linkfilter-admin-instructions.
User rights
The extension adds one new user right, linkadmin. Users with this right are able to use LinkFilter's administrative functions, such as approve/reject links. By default, linkadmin, staff and sysop groups have this right.
Categories:
- Stable extensions/pl
- Special page extensions/pl
- GPL licensed extensions/pl
- Extensions in Wikimedia version control/pl
- APIGetAllowedParams extensions/pl
- ArticleDelete extensions/pl
- ArticleFromTitle extensions/pl
- Comment::add extensions/pl
- Comment::delete extensions/pl
- LoadExtensionSchemaUpdates extensions/pl
- PageMoveComplete extensions/pl
- ParserFirstCallInit extensions/pl
- All extensions/pl
- Social tools/pl