Extension:WikiHiero

From MediaWiki.org
(Redirected from Hiero)
Jump to navigation Jump to search
MediaWiki extensions manual
Crystal Clear action run.svg
WikiHiero
Release status: stable
Wikihiero.png
Implementation Tag
Description Enables the use of hieroglyphs with additional syntaxes
Author(s) Guillaume Blanchard, Max Semenik and others
Latest version continuous updates
Compatibility policy release branches
Database changes No
License GNU General Public License 2.0 or later
Download
README
Example
A2B4C6D8
Tags
<hiero>
Hooks used
ParserFirstCallInit
BeforePageDisplay
Translate the WikiHiero extension if it is available at translatewiki.net
Check usage and version matrix.
Issues Open tasks · Report a bug

The WikiHiero extension allows the addition of Ancient Egyptian hieroglyphs from text written in accordance with the Hieroglyph coding manual syntax.

Usage[edit]

See the Hieroglyph coding manual for details.

In brief:

- separator
: subdivision
* juxtaposition
! end of line

Each hieroglyph is given a unique code:

  • A letter [A-Z + Aa] that represents the hieroglyph category (human, god, bird, etc.)
  • A number that represents the rank in this category [1-...]

This unique code is an extension of Gardiner's list of hieroglyphs.
The Hieroglyph coding manual allows the use of the more common phonemes as well as unique code.

For details, see WikiHiero's syntax.

Installation[edit]

  • Download and place the file(s) in a directory called wikihiero in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'wikihiero' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

To users running MediaWiki 1.26 or earlier:

The instructions above describe the new way of installing this extension using wfLoadExtension() If you need to install this extension on these earlier versions (MediaWiki 1.26 and earlier), instead of wfLoadExtension( 'wikihiero' );, you need to use:

require_once "$IP/extensions/wikihiero/wikihiero.php";

Testing[edit]

Test with some example wiki text.

The following code:

<hiero>A1</hiero>

should produce the following output:

A1

Licence[edit]

See also[edit]