Dear all,
I would like to develope a simple extension: add a tag named MyTag, it should be like this: <MyTag> Contents... </MyTag>
For the contents use inputs, I want to use the system default parser to parse the text, E.g. a table, a title and so on... For MyTag tag, I only want to add a div container.
For example: User input:
<MyTag> {| |Orange |Apple |- |Bread |Pie |- |Butter |Ice cream |} </MyTag>
Then system display article like this (div is a html element, can not display on the screen) <div> OrangeApple BreadPie ButterIce cream
</div>
can anyone help me? thanks in advanced!
2010-05-16
muiz
See http://www.mediawiki.org/wiki/Manual:Tag_extensions#How_do_I_render_wikitext...
Maybe mediawiki-l should be used.
On 5/16/10, muiz muiz@163.com wrote:
Dear all,
I would like to develope a simple extension: add a tag named MyTag, it
should be like this: <MyTag> Contents... </MyTag>
For the contents use inputs, I want to use the system default parser
to parse the text, E.g. a table, a title and so on... For MyTag tag, I only want to add a div container.
For example:
User input:
<MyTag> {| |Orange |Apple |- |Bread |Pie |- |Butter |Ice cream |} </MyTag>
Then system display article like this (div is a html element, can not display on the screen)
<div> OrangeApple BreadPie ButterIce cream
</div>
can anyone help me? thanks in advanced!
2010-05-16
muiz _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
wikitech-l@lists.wikimedia.org