[Mediawiki-l] Skinning footer question

Daniel Barrett danb at VistaPrint.com
Tue Sep 21 17:39:13 UTC 2010


Rather than modify core code (Monobook.php, etc.), you can add the icon using JavaScript in MediaWiki:Monobook.js or MediaWiki:Common.js.  Create an "img" element, fill in the desired "src" value, and append it right after the MediaWiki icon, using DOM operations.

DanB




More information about the MediaWiki-l mailing list