(You may want to view this message in a monospaced font, such as Courier.)
It can also be relevant for Hebrew poetry, such as the medieval [[Piyyut]]. Some Biblical passages are also written this way. For example, the [[Song do Deborah]] (Judges 3) is printed in Hebrew Bibles thus:
On that day Deborah and Barak son of Abinoam sang this song: When the princes in Israel take the lead, when the people offer themselves praise the LORD! "Hear this, you kings! Listen, you rulers! I will sing to the LORD, I will sing; I will make music to the LORD, the God of Israel.
And the famous passage in Ecclesiastes 3 is printed in Hebrew Bibles thus:
To every thing there is a season, and a time to every purpose under the heaven: A time to be born, and a time to die; a time to plant, and a time to pluck up that which is planted; A time to kill, and a time to heal; a time to break down, and a time to build up;
etc.
In those Hebrew passages one needs to mark exactly where the longer space should be added and it cannot be defined for all the lines. But except that the positioning can be automatic, more or less like a center-aligned or right-aligned tab in common word-processing software.
Currently the same display effect can be achieved using HTML tables, but it would be better to have something more semantic.
On Sun, Oct 4, 2009 at 07:56, Nikola Smolenski smolensk@eunet.rs wrote:
I thought that not all attachment types are removed...
---------- Прослеђена порука ----------
Тема: A new functionality Датум: субота 3. октобар 2009. Од: yoosef pooranvary yoosefp@gmail.com За: smolensk@eunet.yu
Dear Mr. Nikola Smolenski I am sending you this letter in order to ask you to add a new functionality to the Poem extension which you created for Mediawiki application. I tried to add this functionality on my own but according to my unfamiliarity with Mediawiki API, I couldn’t go any step further. So, I’ll write down the specefics of this functionality:
Poems in Persian, Arabic and some other languages have rime and two lines are written in one line. Note that I am from Persia (Iran) and I speak Persian, but I try to suggest a general rule for this functionality.
There are many types of poems in Persian language which are mentioned below, together with their rime patterns (They have identical counterparts in Arabic):
Ghazal: A A B A C A D A E A
Ghete: A B C B D B E B
Masnavi: A A B B C C D D E E
Mostazad: _________A ___A _________A ___A _________B ___B _________A ___A _________C ___C _________A ___A _________D ___D _________A ___A
Robaee: A A B A
Dobeyti: A A B A
Or
A A A A
Cheharpareh: A B C B
Tarjiband: A A B A C A D A E E F F G F H F I J K K
Tarkibband: A A B A C A D A E E F F G F H F I J E E
Mosammat: A A A A B C C C C D
Probably it is not important for you to understand the exact type of these poems and as you may have found out that lots of them are like each other.
Code Specification
I ask you to add a “Bilinear” parameter to the Poem extension so if a user wants to type a Persian or Arabic poem, he just types <poem bilinear> above his poem and ends it with </poem> tag. The user will write his poem one line in a line but your code should display two lines in one. (I call this, Pairing Operation!)
Another issue which remains unresolved is that some lines should be one in a line and above each other (you may have noticed them in the above patterns). I suppose that you add an operator like vertical line (|) to your code. If a user puts this character before a line, that line should be displayed in the middle without its pair line. The user should add another vertical line to the next pair line so that line becomes in the middle and exactly under its pair line. Pairing operation should restart from the next line again.
Another request is that you add another parameter with the name of “Gap” so one may use it to choose the size of the blank spaces between pair lines in a line. For example if a user types <poem Bilinear gap=10> your code should put 10 “ ” between all of the pair lines. Of course this parameter should have a default value and I suggest it to be 10.
The user should also be able to choose the place of his poem in the page. He should be able to choose from “Right”, “Center” and “Left”. But the default should be “Center”.
Therefore the final pattern of the poem tag should look like this: <tag-name, bilinear, gap-space, place></tag-name>
Example:
<poem bilinear gap=’15’ center> (The poem text) </poem>
Using gap and center should be optional.
An important thing to remember is that in each pair the right one should be aligned to the right and the left one should be aligned to the left.
Please inform me whether you will work on this project or not. Also I have a Mediawiki installed on my computer and I will be happy to test your code at any stage.
Please consider adding my Wikipedia username (Yoosef Pooranvary) in your code if you want. I am waiting to receive your response ASAP.
Truly Yours, Yoosef Pooranvary Wikipedia Contributor yoosefp@gmail.com
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l