Jump to content

Extension:WikiHiero

From mediawiki.org
MediaWiki extensions manual
WikiHiero
Release status:stable
Implementation Tag
Description Enables the use of hieroglyphs with additional syntaxes
Author(s) Guillaume Blanchard,Max Semenikand others
Latest version continuous updates
Compatibility policy Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki >= 1.43
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 extensionif it is available at translatewiki.net
Issues Open tasks·Report a bug

TheWikiHieroextension allows the addition of Ancient Egyptianhieroglyphsfrom text written in accordance with theHieroglyph coding manualsyntax.

Usage

[edit]

See theHieroglyph coding manualfor 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.

TheHieroglyph coding manualallows the use of the more common phonemes as well as unique code.

For details, seeWikiHiero's syntax.

Installation

[edit]
  • Downloadand move the extractedwikihierofolder to yourextensions/directory.
    Developers and code contributors should install the extensionfrom Gitinstead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/wikihiero
  • Add the following code at the bottom of yourLocalSettings.phpfile:
    wfLoadExtension('wikihiero');
    
  • YesDone– Navigate toSpecial:Versionon your wiki to verify that the extension is successfully installed.


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]