Topic on Extension talk:CharInsert

<charinsert> attributes

3
Fuse809 (talkcontribs)

Hi,

I would like it if <charinsert> tags could have an attribute called, for example, content = . The purpose would be so that while what is between the charinsert tags would be what is displayed in Edittools what is called by this attribute will be what is inserted (unless it is left blank where it will revert back to what is between the <charinsert> tags. e.g., adding

<charinsert content = "{{Information|Description=|Source=|Author=|Permission=|Date=}}">{{Information}}</charinsert>

to MediaWiki:Edittools would produce a button {{Information}} in edittools that when clicked would add:

{{Information|Description=|Source=|Author=|Permission=|Date=}}

to the page. Is there any way to add this functionality to this extension.

Thanks for your time,

Brenton

He7d3r (talkcontribs)
Fuse809 (talkcontribs)
Reply to "<charinsert> attributes"