Last modified: 2014-11-17 10:36:28 UTC
As the title says, the displayed text for CharInsert should be splitted from the inserted code. E.g.: "includeonly" inserts <includeonly></includeonly> It would also be awesome if multirow text could be inserted like templates and tables.
Created attachment 7510 [details] add custom label on charinsert
Feel free to review this patch for inclusion in CharInsert extensions, it allows to customized the link label by passing a "label" argument to charinsert tag, example: <charinsert label="foo">bar</charinsert>
Please tell me if it needs additional work.
Created attachment 7511 [details] add custom label on charinsert test case Here is a test case that validated submitted patch behaviour.
Sorry, had not time back then and now remembered this. The patch works fine (without the test case). Cheers!
*Bulk BZ Change: +Patch to open bugs with patches attached that are missing the keyword*
How can I add line breaks using your patch? E.g. to insert == Healine == Text. == Another Headline ==
Unassigning default assignments. http://article.gmane.org/gmane.science.linguistics.wikipedia.technical/54734
Johan, I'm sorry for the wait. I'm marking this bug with "need-review" to signal to developers that there's code here awaiting review. Thank you for your patch and test case.
Johan, does your patch still apply? I recommend that you get a developer access account https://www.mediawiki.org/wiki/Developer_access so that you can commit your patches directly into the source control system in the future -- in fact, you could update and submit this patch, and get it reviewed faster. I'm sorry for the delay.