Phabricator project: #WikiTextLoggedInOut
Extension:WikiTextLoggedInOut
From MediaWiki.org
|
WikiTextLoggedInOut Release status: stable |
|
|---|---|
| Implementation | Tag |
| Description | Two new parser hooks, <loggedin> and <loggedout> to show different text depending on the users' login state |
| Author(s) | Aaron Wright David Pean Jack Phoenix |
| Latest version | 1.5.0 (2015-11-20) |
| MediaWiki | 1.28+ |
| License | GNU General Public License 2.0 or later |
| Download | |
| Example | Halopedia main page (displays random avatars for anonymous users and a welcome message for registered users, achieved with the usage of <loggedin> and <loggedout> tags) |
|
Translate the WikiTextLoggedInOut extension if it is available at translatewiki.net |
|
| Check usage and version matrix. | |
| Open tasks · Report a bug | |
WikiTextLoggedInOut extension adds two new parser hooks, <loggedin> and <loggedout>. The tags will show different text depending on the users' login state.
Installation[edit]
- Download and place the file(s) in a directory called
WikiTextLoggedInOutin yourextensions/folder. - Add the following code at the bottom of your LocalSettings.php:
wfLoadExtension( 'WikiTextLoggedInOut' );
Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
| Social tools | |
|---|---|
| SocialProfile | Overview • Developer info • Screenshots • History |
| Other social extensions | Automatic Board Welcome • BlogPage • Challenge • FanBoxes • MiniInvite • NewUsersList • PictureGame • PollNY • QuizGame • RandomFeaturedUser • RandomGameUnit • RandomUsersWithAvatars • SiteMetrics • SiteScout • SportsTeams • UserStatus • UserWelcome |
| Other related extensions (which do not depend on SocialProfile) |
Answers • AJAXPoll • Comments • ImageRating • LinkFilter • MediaWikiChat • NewSignupPage • Video • VoteNY • WikiForum • WikiTextLoggedInOut |