Extension:WikiHiero

From MediaWiki.org
(Redirected from WikiHiero)
Jump to: navigation, search
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png
WikiHiero

Release status:Extension status stable

Wikihiero.png
ImplementationTemplate:Extension#type Tag
DescriptionTemplate:Extension#description Enables the use of hieroglyphs with additional syntaxes
Author(s)Template:Extension#username Guillaume Blanchard, Max Semenik and others
Latest versionTemplate:Extension#version continuous updates
Compatibility policyCompatibility#mediawiki_extensions release branches
Database changesTemplate:Extension#needs-updatephp No
LicenseTemplate:Extension#license GNU General Public License 2.0 or later
Download
README
ExampleTemplate:Extension#example
A2 B4 C6 D8
TagsTemplate:Extension#tags
<hiero>
Hooks usedTemplate:Extension#hook
ParserFirstCallInitManual:Hooks/ParserFirstCallInit
BeforePageDisplayManual:Hooks/BeforePageDisplay

Translate the WikiHiero extension if it is available at translatewiki.net

Check usage and version matrix.

IssuesPhabricator

Open tasks · Report a bug

The WikiHiero extension allows to add Ancient Egyptian hieroglyphs from a text written according to the Hieroglyph coding manual syntax.

Usage[edit]

Look at 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 hieroglyph.
The Hieroglyph coding manual also allows using the more common phonemes as well as unique code.

For details, see WikiHiero's syntax.

Installation[edit]

MW ≤ 1.26[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:
    require_once "$IP/extensions/wikihiero/wikihiero.php";
    
  • YesY Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

MW 1.27+[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' );
    
  • YesY Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Testing[edit]

Then try with some example wiki text like this:

<hiero>A1</hiero> which should produce the following output:

A1

Licence[edit]

See also[edit]