Extension:WikiHiero
|
WikiHiero Release status: stable |
||||||
|---|---|---|---|---|---|---|
| Implementation | Tag | |||||
| Description | Enables the use of hieroglyphs with additional syntaxes | |||||
| Author(s) | Guillaume Blanchard and others | |||||
| Last version | 0.2.15 | |||||
| MediaWiki | svn version works ok with 1.14alpha r42593 | |||||
| License | GNU Public License | |||||
| Download | ||||||
| Example |
|
|||||
|
||||||
|
||||||
| Check usage and version matrix; stats | ||||||
| Bugs: list open list all report | ||||||
WikiHiero is a PHP script to be able to render hieroglyphs from a text written according to the Hieroglyph coding manual syntax.
Contents |
Syntax[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.
Licence[edit]
- Sources are copyrighted G. Blanchard and released under GNU Public License.
- Hieroglyph pictures are copyrighted S. Rosmorduc, G. Watson and J. Hirst and released under GNU Free Documentation License.
- Interface translation by Mats Halldin, Erik Zachte, Tomos, Samuel, ArnoLagrange, Llull, Hajor, N-true and Gregg (DCLXVI).
Version history[edit]
| Version number | Details |
|---|---|
| 0.2.0 | New parser |
| 0.2.1: | Fix link to hieroglyph tables |
| 0.2.2 |
|
| 0.2.3 | Add Swedish interface |
| 0.2.4 | Add Japanese and Dutch interface |
| 0.2.5 |
|
| 0.2.6 | * Add source annotation.
|
| 0.2.7 |
|
| 0.2.8 |
|
| 0.2.9 | This version is running at http://test.wikipedia.org/
|
| 0.2.10 |
|
| 0.2.11 | XHTML 1.0 validation |
| 0.2.12 | |
| 0.2.15 | incoming...
|
Todo list[edit]
- Add number converter
Add space as a separator (like '-')- Add bracket support
- Fix cartouche rendering (90%)
- Optimize parser (avoid buffer reallocation)
Comment the source- Add individual glyph scale
- Create CSS only rendering version (30%)
- Add support for shading (need CSS)
- Add individual glyph rotation (for image rendering)
- Add support for comment and annotation code
- Create image rendering (for far future)
- Add red font
Translation[edit]
The WikiHiero homepage interface in available in many language including French, English, Esperanto, Interlingua, Portuguese, Swedish, Dutch, Japanese and Chinese. Thanks to all translators!
See the Interface translation page or Manual to add new languages.
Download[edit]
You can download the extension directly from the MediaWiki source code repository (browse code). You can get:
- One of the extensions tags
Not all extensions have tags. Some extensions have tags for each release, in which case those tags have the same stability as the release. To download a tag
- Go to the tags list
- Click the name of the tag you want to download
- Click "snapshot"
- The latest version of one of the extensions branches
Each extension has a master branch containing the latest code (might be unstable). Extensions can have further branches as well.
- Go to the branches list
- Click the branch name
- Click "snapshot"
- A snapshot made during the release of a MediaWiki version.
This might be unstable and is not guaranteed to work with the associated MediaWiki version.
After you've got the code, save it into the extensions/wikihiero directory of your wiki.
If you are familiar with git and have shell access to your server, you can obtain the extension, with all its tags and branches, as follows:
cd extensions
git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/wikihiero.git
How to Install on MediaWiki[edit]
- Add the following to LocalSettings.php:
require_once("extensions/wikihiero/wikihiero.php");
- Installation can now be verified through Special:Version of your wiki.
Then try with some example wiki text like this:
<hiero>A1</hiero> which should produce the following output:
|
See also[edit]
- Egyptopedia, the international Egyptology project
- WikiHiero's syntax
- WikiHiero test text
External links[edit]
| This extension is being used on one or more Wikimedia projects. This probably means that the extension is stable and works well enough to be used by such high-traffic websites. Look for this extension's name in Wikimedia's CommonSettings.php and InitialiseSettings.php configuration files to see where it's installed. A full list of the extensions installed on a particular wiki can be seen on the wiki's Special:Version page. |




