Mobile app version of vmapp.org
Login or Join
Megan663

: Customize print footer on MediaWiki When a page of my company internal wiki is printed I would like to add a brief confidentiality text on every page footer and a larger one at the end of

@Megan663

Posted in: #Footer #Mediawiki #Print

When a page of my company internal wiki is printed I would like to add a brief confidentiality text on every page footer and a larger one at the end of the article.

There are 3 links at the end of each screen page: Privacy policy, About and Disclaimers. Neither the links nor their content appears on printed pages.

Is it a feature provided by the standard MediaWiki software?

If not, can I do it with some simple customization?

EDIT

I picked the answer that addresses only half of my problem because the other half cannot be addressed with Chrome/webkit because of this very old bug.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Megan663

2 Comments

Sorted by latest first Latest Oldest Best

 

@Cugini213

You could edit a template (or more ideally copy, rename and then modify) in MediaWiki to achieve this. Templates are in the skins subfolder of your MediaWiki installation.

For example, you could edit the VectorTemplate->execute() function in skinsVectorVectorTemplate.php to include the HTML for your footer text if you were using the Vector template.

10% popularity Vote Up Vote Down


 

@Pierce454

The documentation seems a bit inconsistent and is hard to answer without knowing what version you are using, but you should be able to a print only message to the Footer template example here

Depending on what the message is you may be able to edit or add a System Message for printing. There is also a coding option

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme