Extension:LinkFilter
|
LinkFilter Release status: stable |
|||
|---|---|---|---|
| Implementation | Special page | ||
| Description | Adds some new special pages and a parser hook for link submitting/approval/reject | ||
| Author(s) | Aaron Wright David Pean Jack Phoenix |
||
| Last version | 2.1 | ||
| MediaWiki | 1.18+ | ||
| Database changes | yes | ||
| License | GNU General Public License 2.0 or later | ||
| Download | |||
|
|||
|
|||
|
|||
| Check usage and version matrix; stats | |||
| Bugs: list open list all report | |||
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.
Contents |
New special pages[edit]
- 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
Installation[edit]
- Get the source code
- Create the new, required database table by re-running the MediaWiki updater script, update.php
- If a pre-r90829 version of the SocialProfile extension is installed on the wiki, you'll need to patch the existing user_stats table by running patch-columns_for_user_stats.sql against it
- Add the following into the wiki's LocalSettings.php:
require_once("$IP/extensions/LinkFilter/Link.php");
- Installation can now be verified through the wiki's Special:Version
Configuration[edit]
- $wgLinkFilterDirectory — path to LinkFilter's files. Defaults to $IP/extensions/LinkFilter.
- $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[edit]
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[edit]
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.
| Social tools | |
|---|---|
| SocialProfile | Overview • UserStatus (GSoC 2011 project) • Roadmap • Developer info • Screenshots • History |
| Other social extensions | Automatic Board Welcome • BlogPage • FanBoxes • NewUsersList • PictureGame • PollNY • QuizGame • RandomFeaturedUser • RandomGameUnit • RandomUsersWithAvatars • SiteMetrics • UserWelcome |
| Semanticness | Semantic Social Profile |
| Other related extensions (which do not depend on SocialProfile) |
Comments • LinkFilter • NewSignupPage • RandomImageByCategory • Video • VoteNY • WikiTextLoggedInOut |
- Stable extensions
- Special page extensions
- Extensions in Wikimedia version control
- Extensions which add rights
- TitleMoveComplete extensions
- ArticleDelete extensions
- ArticleFromTitle extensions
- ParserFirstCallInit extensions
- LoadExtensionSchemaUpdates extensions
- CanonicalNamespaces extensions
- RenameUserSQL extensions
- All extensions
- Social tools