Extension:WikiHiero

From mediawiki.org
(Redirected from WikiHiero)
MediaWiki extensions manual
WikiHiero
Release status: stable
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 Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki >= 1.35.0
Database changes No
License GNU General Public License 2.0 or later
Download
README
Example
A2B4C6D8
‎<hiero>
Public wikis using 1,500 (Ranked 196th)
Translate the WikiHiero extension if it is available at translatewiki.net
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. [need link]

In brief:

- - separator
: - subdivision
* - juxtaposition
! - end of line
\ - reverse an asymmetric character
V - rotate character [only a few are supported, e.g. Y1, Y1V]

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

License[edit]

See also[edit]