Uwe Baumbach wrote:
Hi,
I need some advice for adding HTML text to every page. MW 1.13.2
In MediaWiki:Common.css we already prepared style so only remains to add some static <div> ... </div> text to the skin.
We want to avoid changing skin code itself.
Where ist the best place to do this ? MediaWiki:Common:js ?
When there: is somewhere a template or pattern how to do this the correct way with JavaScript?
If you need to apply a CSS to all the pages you don't need a div for that. You need to make a better CSS selector.
Our first goal is to add HTML text (a horizontal menu bar on top) to all pages CSS is already added (formatting with another selector may be better, of course, but that isnŽt my problem - at this moment ;-) )
We are lookiong for the best way to add that text without changing skin itself.
Once more: Is JavaScript at MediaWiki:Common.js an accepted way and if yes, how to output not confusing rendering of "the rest" ?
Uwe (Baumbach) U.Baumbach@web.de
____________________________________________________________________ Psssst! Schon vom neuen WEB.DE MultiMessenger gehört? Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123
Le Tue, 09 Dec 2008 13:39:36 +0100, Uwe Baumbach U.Baumbach@web.de a écrit:
Uwe Baumbach wrote:
Hi,
I need some advice for adding HTML text to every page. MW 1.13.2
In MediaWiki:Common.css we already prepared style so only remains to add some static <div> ... </div> text to the skin.
We want to avoid changing skin code itself.
Where ist the best place to do this ? MediaWiki:Common:js ?
When there: is somewhere a template or pattern how to do this the correct way with JavaScript?
If you need to apply a CSS to all the pages you don't need a div for that. You need to make a better CSS selector.
Our first goal is to add HTML text (a horizontal menu bar on top) to all pages CSS is already added (formatting with another selector may be better, of course, but that isnŽt my problem - at this moment ;-) )
We are lookiong for the best way to add that text without changing skin itself.
Once more: Is JavaScript at MediaWiki:Common.js an accepted way and if yes, how to output not confusing rendering of "the rest" ?
may be headerfooter is what you need : http://www.mediawiki.org/wiki/Extension:HeaderFooter
Uwe (Baumbach) U.Baumbach@web.de
Psssst! Schon vom neuen WEB.DE MultiMessenger gehört? Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org