Extension talk:WikiHiero

About this board


The "surrounding div to make the hieroglyph inline" trick doesn't work on mobile. See wp:Deshret#Phonogram, where it's used but the n hieroglyph still appears in its own apparent paragraph. Hairy Dude (talk) 19:29, 9 May 2018 (UTC)

أحمد (talkcontribs)

Ancient Egyptian hieroglyphs could be written from left-to-right as well as from right-to-left.

Currently, WikiHiero supports only producing LTR hieroglyphs.

Having it able to produce RTL hieroglyphs would make them more suitable for inclusion in wikis in languages written from right to left, such as Arabic, Farsi, etc, where they will have the same reading direction as the main body text.

There exist a ticket for this in Phabricator.

Phil Boswell (talkcontribs)

I'm not sure that they should be the "same reading direction as the main body text", but it should be possible for them to have direction independent of the main body text, so that the same group of hieroglyphs looks the same whichever language you are describing them with.

أحمد (talkcontribs)

It's not obligatory, of course. But it should be made possible in my opinion. It's more natural for the hieroglyphs to be in the reading direction of the text describing them.

There are two distinct cases here: specific instances of hieroglyphs being studied and described, i.e verbatim copies of inscriptions on walls or papyrus, statues, etc. In this case it should be possible to duplicate the original direction of the text for it to be verbatim and to match accompanying photographs, for instance. Which leads to: It would be great to be able to have vertical hieroglyphs too.

The other case is hieroglyphic compositions made up to be used as exemplary of the language or where their archaeological context is not relevant, in which case the directionality is arbitrary.

However, in the second case there is no reason the directionality must match that of text in another language -- language-Wikipedias are independent -- and in general why should the unified directionality be left-to-right? I mean other than this being the capability of the software currently.

Lumacomete (talkcontribs)

Nice feature.

PerfektesChaos (talkcontribs)

I learnt that the extension will mirror asymmetric glyphs if suffixed by \ backslash:

  • <hiero>G11</hiero>
  • <hiero>G11\</hiero>

However, en:Help:WikiHiero syntax is lacking this information.

Fun fact: Mirroring works in Project:Sandbox of this wiki and on regular pages, but not in this discussion environment.

Source: German Wikipedia

Reply to "RTL Hieroglyphs"
Jberkel (talkcontribs)

Are there any plans to render hieroglyph images as SVG? The generated bitmaps are very low-res and look pixelated.

TheDJ (talkcontribs)

There are no plans. The current set is from 2004 and made by S. Rosmorduc, G. Watson, J. Hirst who licensed it as GFDL. If someone has a newer set of SVGs that is properly licensed, they can probably be replaced quite easily.

Jberkel (talkcontribs)

There is a set from JSesh which has a GPL compatible license, maybe this could be used?

TheDJ (talkcontribs)
Jberkel (talkcontribs)


Sławobóg (talkcontribs)

So, can we update it to SVG?

TheDJ (talkcontribs)

Doesn't seem like it. There are no good vectored versions of the original hieroglyphs and the available font designs out there don't really seem to map well to the hieroglyph definitions we have currently, so it's a huge effort to deploy that without breaking lots of content.

Sławobóg (talkcontribs)
TheDJ (talkcontribs)

"don't really seem to map well to the hieroglyph definitions we have currently, so it's a huge effort to deploy that without breaking lots of content."

Sławobóg (talkcontribs)

Was it even tested? How can it break anything? It is just replacing .png image with .svg image with same size. If that breaks anything then better .png can be used. I compared current WikiHiero with Noto Sans font here:https://i.imgur.com/dVW83Sb.png - looks fine to me.

TheDJ (talkcontribs)
ElioPrrl (talkcontribs)

SVG support would be the best solution in my opinion, but at least replacing these old rough images by clean .png, for example by rasterising a free font like Noto Sans, would be clear progress. Where are the current images stored?

Reply to "SVG support?"

How was this extention made?

5 (talkcontribs)

I would like to make another extension like this for a different script. Is there a walk through or something else I could follow? Vapblack (talk) 04:45, 26 October 2020 (UTC)

Arlo Barnes (talkcontribs)

Which script? And what programming languages are you familiar with? @Vapblack:

Vapblack (talkcontribs)

Its a script that was invented by a dude in the Caribbean in the 90's. There's very little information about it on the internet, but I like it and would like to implement it into my wiki. I'm not really familiar with any programming languages.

Arlo Barnes (talkcontribs)

Interesting, I'd love to hear more. I like conscripts. Anyway, I was just asking to see if the script had similar combining rules as ancient Egyptian, and how comfortable you would be tweaking the extension code (mirrored at https://github.com/wikimedia/mediawiki-extensions-wikihiero). I'm afraid I don't have a guide for you, but it might be the sort of thing that could be accomplished through swapping out source images, and figuring out how to deal with any essential differences as they are encountered, one at a time.

Vapblack (talkcontribs)

Swapping out the images 🤔🤔🤔 so easy, a cave man could do it. I think I might give it a go. There's a couple obscure scripts that I would like to implement.

Reply to "How was this extention made?"

Hieroglyph used like word in paragraph (no break)?

Sadi-Carnot 3 (talkcontribs)

How to I insert hieroglyphs, using the WikiHiero markup, so that I can write paragraphs, like Budge does here, with the glyph employed like a word in the paragraph (no line break)?

Reply to "Hieroglyph used like word in paragraph (no break)?"

How use a expandable code instead a text between <hiero> tag's ?

Amadalvarez (talkcontribs)

I'm tring to handle the text of hiero as a variable that send to a template or to have in Wikidata as a information.

  • If I hold the info in WD with hiero tag's, when get I receive all the content as a text and the hiero tags doesn't act.
  • If I hold just the text and, after get it, I put it between the hiero tag, it acts before expand the variable. So, the final result is something like <hiero>{{{1|}}}</hiero> or <hiero>{{#invoke:Wikidata| .....}}</hiero>

I tried to have a template just with a <hiero> to avoid write the tag before variable and allow the expansion, like: {{hiero}}{{{1|}}}</hiero>. In this case the result is: <hiero>i-mn:n:U6-G40:D37-W1</hiero> without execute the hiero tag.

How should I manage it ?

Jdforrester (WMF) (talkcontribs)

You can't pass content into a tag extension like that (except for very rare examples like Cite), sorry.

Amadalvarez (talkcontribs)

Thanks. Does somebody is thinking in hold this information (in another format, perhaps) in wikidata ?. thanks a lot

Jdforrester (WMF) (talkcontribs)
Amadalvarez (talkcontribs)

OK. I'll study this way.

Reply to "How use a expandable code instead a text between <hiero> tag's ?"

Stopgap for the lack of rotation

Furius (talkcontribs)

Great fan of this! I've been using it with great enthusiasm on wiktionary.

I'm very much looking forward to the implementation of rotation, however, because right now it is impossible to depict the determinative


rotated 90degrees anticlockwise, which is probably its most common orientation.

As Y1 is among the most common determinatives (It's used to indicate abstract concepts), this is a bit of an issue. I was wondering whether it might be possible to insert a pre-rotated version of Y1 into the code (as Y99, say), at least until rotation is up and running?
Once again, my esteem for this system is enormously high - Egyptian would be impossible on wiktionary without it.
Furius (talk) 10:08, 4 October 2012 (UTC)

2602:306:3266:6130:CCC6:667F:3A8D:34D9 (talkcontribs)

Y1 rotated by 90 degrees is available as Y1V.

Reply to "Stopgap for the lack of rotation"
P858snake (talkcontribs)

With the Mayan hieroglyphs script and Aztec Pictographs being proposed to Unicode (00014000-00015FFF Other large scripts) could WikiHiero be duplicated into WikiHieroMaya and/or also WikiHeiroAztec ?

  • IMHO The Mayan font proposal is farther along but has missed the Unicode 6.1(draft);

This post was posted by Peachey88, but signed as Chief Mike.

Reply to "Wishlist"

MW 1.24 -WikiHiero Fatal Error

2 (talkcontribs)


I've just upgraded to MW1.24 and am now getting the error:
Fatal error: Class 'MWInit' not found in .../extensions/wikihiero/wikihiero.php on line 71
That line reads; $wgCompiledFiles[] = MWInit::extCompiledPath( 'wikihiero/data/tables.php' );

I'm not versed in php, could someone enlighten me as to how to repair this please?
Thankyou (talkcontribs)

All set. While the version page showed Wikihiero 1.0 was installed, the correct version is 1.0alpha2.

Reply to "MW 1.24 -WikiHiero Fatal Error" (talkcontribs)

Is it possible for this to be expanded to cover input using simple unicode strings from the Unicode Egyptian Hieroglyphic Code Block? -- 08:25, 1 February 2014 (UTC)

Reply to "Unicode input?"
Lublu.literaturu (talkcontribs)

Can we create WikiHearo2 for Bliss?

Reply to "== Blissymbols =="
Return to "WikiHiero" page.