Jump to content

Topic on Extension talk:Mpdf

HTML and PHP to Mpdftags

6
OOZ.MOO (talkcontribs)

Hi,

I have difficulty getting the mpdftags to work in Mediawiki. The example with the header and footer which is given in the Mediawiki entry for the extension, work just fine, but most of the HTML or mpdftags that I write in my wiki pages do not work. Is there any documentation on how to change, integrate or use the codes (that are provided in the documentation of the mpdf extension) for and in Mediawiki? what parameters should I change?

Would be very helpful to understand, and I'd really appreciate your help.


Pastakhov (talkcontribs)
OOZ.MOO (talkcontribs)

Took me long to figure out, since there's no documentation on the translation of the HTML tags to mediawiki.

OOZ.MOO (talkcontribs)

Hi Pastakhov. Thanks for your reply and sorry for my late reply. Actually using the tags is pretty easy, when you know how the tags translate from html to mediawiki to html:

{{#mpdftags: pagebreak}} -> <pagebreak\>


Obliva (talkcontribs)

+1 It would be very useful to have a list of translate tag from html to mediawiki

Obliva (talkcontribs)

For example, i want an orientation landscape for my table, but i can't find the mediawiki mpdftag...

Reply to "HTML and PHP to Mpdftags"