You can use CSS is make a chunk of html only appear on some pages.  
Check the class attribute of the body tag to see what I mean.
Eg <body  class="mediawiki science-it-public ns-0 ltr page-Sandbox">

Here you have classes for namespace, language direction, page name etc.

So if you add some HTML to your skin or the site notice for example  
with the ID foo.
<div id='foo'>Some content</div>

Then add some css into the MediaWiki.Common.css:

#foo { display: none; }
.page-ThisPage #foo, .page-MyPage #foo, .page-YourPage#foo { display:  
inline; }

The CSS rule will only display 'Some content' on pages with the  
specified names.

Rob

On 22/03/2009, at 5:08 PM, Philip Beach wrote:

> How can I add actual html to a couple specific pages in the meta  
> space?
> Specifically, I need to use the embed, img, and a tags. I suppose it  
> could
> be in the wiki markup if it must, but I would rather it be behind the
> scenes.
>
> Thanks
> _______________________________________________
> MediaWiki-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to