Extension:ArticleIndex
This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored. If you are interested in taking on the task of developing and maintaining this extension, you can request repository ownership. As a courtesy, you may want to contact the author. You should also remove this template and list yourself as maintaining the extension in the page's {{Extension }} infobox. |
ArticleIndex Release status: unmaintained |
|
---|---|
Implementation | Tag |
Description | Extension appends clickable index of tagged words in an article. |
Author(s) | Josef Martiňák (Jossmarttalk) |
Latest version | 0.5.0 (2018-01-15) |
MediaWiki | 1.25+ |
Database changes | No |
License | GNU General Public License 3.0 only |
Download | |
Example | Here |
|
|
Quarterly downloads | 3 (Ranked 137th) |
Translate the ArticleIndex extension if it is available at translatewiki.net | |
The ArticleIndex Extension appends clickable index of tagged words in an article.
Usage
[edit]- Put the words you want to index to
<aindex>...</aindex>
tag. - Words in these tags are displayed instead of tag
<articleindex />
in alphabet order. - Index is grouped by first letters.
- Clicking the word highlights his occurrences and moves page to the first one.
- Navigation buttons appears on mouseover on tagged words.
- It's case insensitive.
Download
[edit]The extension can be retrieved directly from Git [?]:
- Browse code
- Some extensions have tags for stable releases.
- Browse tags
- Select the tag
- Click "snapshot"
- Each branch is associated with a past MediaWiki release. There is also a "master" branch containing the latest alpha version (might require an alpha version of MediaWiki).
- Browse branches
- Select a branch name
- Click "Continue"
Extract the snapshot and place it in the extensions/ArticleIndex/ directory of your MediaWiki installation.
If you are familiar with Git and have shell access to your server, you can also obtain the extension as follows:
cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ArticleIndex.git
Installation
[edit]- Download and move the extracted
ArticleIndex
folder to yourextensions/
directory.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ArticleIndex - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'ArticleIndex' );
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Release notes
[edit]- Changes in version 0.5.0
- Converted to extension registration.
- Changes in version 0.4.0
- Migrated I18n from php-files to json-files
- Changes in version 0.3.0
- Added files ArticleIndex.i18n.php and ext.ArticleIndex.css.
- Indexed words are now case insensitive, they are shown in index in lowercase with first letter capitalized
- New style of highlighted words
- New feature - navigation buttons shows on mouseover (previous, next, index)
- Changes in version 0.2.0
- Code - spacey style
- New function - clicking the word in index moves page to first occurrence of the word