Ekstensi:LinkFilter
Appearance
LinkFilter Status rilis stabil |
|
---|---|
Implementasi | Halaman istimewa |
Deskripsi | Menambahkan beberapa halaman khusus baru dan hook pengurai untuk pengiriman link/persetujuan/penolakan |
Perancang awal |
|
Versi terbaru | 3.5.0 (2017-07-11) |
MediaWiki | 1.39+ |
Perubahan basis data | Ya |
Tabel | link |
Lisensi | Lisensi Publik Umum GNU 2.0 atau lebih baru |
Unduh | |
|
|
|
|
Quarterly downloads | 1 (Ranked 136th) |
Terjemahkan ekstensi LinkFilter jika tersedia di translatewiki.net | |
Masalah | Tugas terbuka · Laporkan kekutu |
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.
Halaman khusus baru
- Special:LinkSubmit
- Special:LinkApprove (tersedia untuk pengguna dengan hak linkadmin.)
- Special:LinkEdit (redirects to LinkSubmit form, allowing to edit the link details, target etc.)
- Special:LinksHome
- Special:LinkRedirect
Install
- Unduh dan letakkan berkas-berkasnya di dalam sebuah direktori yang bernama
LinkFilter
di folderextensions/
Anda.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/LinkFilter - Tambahkan kode berikut di bagian bawah LocalSettings.php Anda:
wfLoadExtension( 'LinkFilter' );
- Jalankan skrip pembaruan yang akan membuat tabel basis data yang diperlukan ekstensi ini secara otomatis.
- 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
- Selesai – Telusuri ke Special:Version di wiki Anda untuk memastikan ekstensinya berhasil dipasang.
Konfigurasi
$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.
Kustomisasi
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.
Hak Pengguna
Ekstensi menambahkan satu hak pengguna baru, linkadmin. Pengguna dengan hak ini dapat menggunakan fungsi administratif LinkFilter, seperti menyetujui/menolak tautan. Secara default, linkadmin, staff dan sysop group memiliki hak ini.
Categories:
- Stable extensions/id
- Special page extensions/id
- GPL licensed extensions/id
- Extensions in Wikimedia version control/id
- APIGetAllowedParams extensions/id
- ArticleDelete extensions/id
- ArticleFromTitle extensions/id
- Comment::add extensions/id
- Comment::delete extensions/id
- LoadExtensionSchemaUpdates extensions/id
- PageMoveComplete extensions/id
- ParserFirstCallInit extensions/id
- All extensions/id
- Social tools/id