User:Habatchii/Books/Extension: Accolade
|
This user book is a user-generated collection of MediaWiki articles that can be easily saved, rendered electronically, and ordered as a printed book. If you are the creator of this book and need help, see Help:Books (general tips) and WikiProject Wikipedia-Books (questions and assistance). | ||||||||
[ Open in Book Creator ] [ Order Printed Book ] | |||||||||
[ About ] [ FAQ ] [ Feedback ] [ Help ] [ WikiProject ] [ Recent Changes ] |
Extension: Accolade
[edit]Source files and variables to build Accolade 1.0
[edit]- Introduction to the Accolade Criterion Collection Library
This is a introductory overview of a work in progress known in its public form as Extension:Accolade; defined in usage as a informational tool suite for exemplary article recognition.
In its most basic state, it uses a library of images (i.e.- Accolades) to prepend, affix and or embed into existing and or new article titles. In its more advanced state, it performs higher functions of parser movement such as namespace grouping, permissions and awards, etcetera.
Extension Framework and Convention
[edit]{{TNT|Extension |name=Accolade |status=beta |type=tag |author=[[User:Habatchii|Habatchii]] |image= |license=GPL |version=1.0 |mediawiki=1.19.1 |update=2012-04-08 |description=Creates a text level bookmarker (accolade), which serves as a icon style image for reader recognition. |download=[[Extension:Accolade/Accolade.php|Accolade.php]] }}
Introduction
[edit]Accolade is an extension to MediaWiki that creates icon style accolades for outstanding articles in specific namespaces.
It is based on the deprecated Icon extension.
Note: This extension is in development and may include more features in future releases than its initial version.
Features
[edit]- Accolades may be created for featured article links per namespace.
- Bookmarking of existing links
- Can be used inline or through transclusion.
- Direct linking may be disabled for security.
Installation
[edit]- Download Accolade.php and save it in the extensions directory of your wiki.
- Insert this line in the LocalSettings.php file:
include_once('extensions/Accolade/Accolade.php');
Configuration
[edit]There are several default variables for Accolade and various additional settings.
$wgSpecialAccolade['base'] = '*'; // default pattern for regular affix to listed pages
$wgSpecialAccolade['require'] = 'á'; // used to make required exceptions
$wgSpecialAccolade['adduse'] = '$'; // used to include bookmarks/cite
$wgSpecialAccolade['ns_'] = '!'; // used to limit specific namespaces
$wgSpecialAccolade['disable'] = none; // disabled links to article pages
$wgSpecialAccolade['opt'] = none; // used to 'option' in specific groups
$wgSpecialAccolade['nobut'] = none; // used to only show page link to selected articles
These vars can be tailored on individual basis in each call to the tag function, or the parser function, named accordingly.
Usage
[edit]Use this extension by creating a page entitled "Special:Accolade on the main site of usage. Then create a list of output pages (existing or empty pages of which the accolades are to link to.) using the aforementioned delimiters to narrow linkage types. If namespaces are to be used, make the namespace partitions by separating each with header designators (====).
After the special page has been created, upload your images, add existing ones or use the default accolades included with the extension. Create a gallery for each header on the special page with all selected images. Images will automatically:
- resize to 20px
- justify and center with vertical/horizontal align.
- prepend to all existing links to pages in the special page directory.
- bookmark pages with text matches to special pages directory.
- create new special page for results report of all namespaces listed.
Inline
[edit]Through transclusion
[edit]Extras
[edit]Alternatives
[edit]Feedback
[edit]Use the discussion page for feedback, questions, feature requests and bug reports.
@@@@@@@@@@@@@@@@@@
- Namespace Variables
- Manual:$wgContentNamespaces
- Manual:$wgArticlePath
- Manual:$wgRestrictionLevels
- Manual:$wgNamespaceRobotPolicies
- Manual:$wgNamespaceProtection
- Manual:$wgArticleCountMethod
- Manual:$wgAutopromote
- Manual:$wgRestrictionTypes
- Manual:$wgReadOnly
- Manual:$wgAllowSpecialInclusion
- Manual:$wgLogRestrictions
- Manual:$wgAutoConfirmCount
- Manual:$wgGroupsAddToSelf
- Manual:$wgGroupsRemoveFromSelf
- Manual:$wgAvailableRights
- Manual:$wgRevokePermissions
- Image Variables
- Manual:$wgMediaHandlers
- Manual:$wgUseImageResize
- Manual:$wgScriptPath
- Manual:$wgFileExtensions
- Manual:$wgStrictFileExtensions
- Manual:$wgStylePath
- Manual:$wgUseFileCache
- Manual:$wgMaxImageArea
- Manual:$wgReadOnlyFile
- Manual:Linked images
- Link Variables
- Extension:LinkSuggest
- Extension:LinkHint
- Extension:HttpImage
- Extension:FaviconLink
- Extension:ImageLink
- Extension:Icon
- Embedded Text/Find Variables
- Manual:$wgExtensionFunctions
- Build and Settings Tables Variables
- Manual:$wgAutoloadClasses
- Manual:Configuration settings
- Manual:$wgResourceModules
- Manual:$wgDBname
- Manual:$wgRightsPage
- Manual:$wgRightsText
- Manual:$wgUseCopyrightUpload
- Manual:$wgFeed
- Manual:$wgCustomConvertCommand
- Manual:$wgMaintenanceScripts
- Manual:$wgUpgradeKey
- Extension:Validator