Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Wikitech

How to not display title of one page, like Main Page

 

 

Wikipedia wikitech RSS feed   Index | Next | Previous | View Threaded


bigreat at gmail

Feb 22, 2007, 11:57 AM

Post #1 of 5 (511 views)
Permalink
How to not display title of one page, like Main Page

Hi,
I don't want to display the title of the page on main page, like
wikipedia's main page, how can I do that?


Thank!!

--
---BiGreat---
www.Liang-Chen.com

_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
http://lists.wikimedia.org/mailman/listinfo/wikitech-l


bigreat at gmail

Feb 22, 2007, 12:04 PM

Post #2 of 5 (487 views)
Permalink
How to not display title of one page, like Main Page [In reply to]

Hi,
I don't want to display the title of the page on main page, like
wikipedia's main page, how can I do that?


Thank!!

--
---BiGreat---
www.Liang-Chen.com

_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
http://lists.wikimedia.org/mailman/listinfo/wikitech-l


wiki.pill at googlemail

Feb 22, 2007, 12:39 PM

Post #3 of 5 (480 views)
Permalink
Re: How to not display title of one page, like Main Page [In reply to]

Liang Chen wrote:
> Hi,
> I don't want to display the title of the page on main page, like
> wikipedia's main page, how can I do that

Hi, you can either look for that function on
http://en.wikipedia.org/wiki/MediaWiki:Common.js (section: main page
fixes) or on
http://de.wiktionary.org/wiki/MediaWiki:Common.js#.C3.9Cberschrift_der_Hauptseite_verstecken.

Greetings,

Pill (wiki.pill @ gmail.com)
Attachments: signature.asc (0.18 KB)


nospam at vyznev

Feb 24, 2007, 4:36 AM

Post #4 of 5 (466 views)
Permalink
Re: How to not display title of one page, like Main Page [In reply to]

Liang Chen wrote:
> Hi,
> I don't want to display the title of the page on main page, like
> wikipedia's main page, how can I do that?

You can edit [[MediaWiki:Monobook.css]] and add a rule like:

BODY.page-Main_Page H1.firstHeading {
display: none;
}

This should hide the main page title on the (default) Monobook skin.
For other skins, you'll need to add similar rules to their corresponding
style sheets.

Of course, if your main page is named something other than "Main Page",
you'll have to change the "page-Main_Page" part to match the correct
title. You can look in the page source to see what the actual class
name is.

--
Ilmari Karonen

_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
http://lists.wikimedia.org/mailman/listinfo/wikitech-l


bigreat at gmail

Feb 24, 2007, 6:38 AM

Post #5 of 5 (472 views)
Permalink
Re: How to not display title of one page, like Main Page [In reply to]

Thank!
Both works


On 2/24/07, Ilmari Karonen <nospam [at] vyznev> wrote:
> Liang Chen wrote:
> > Hi,
> > I don't want to display the title of the page on main page, like
> > wikipedia's main page, how can I do that?
>
> You can edit [[MediaWiki:Monobook.css]] and add a rule like:
>
> BODY.page-Main_Page H1.firstHeading {
> display: none;
> }
>
> This should hide the main page title on the (default) Monobook skin.
> For other skins, you'll need to add similar rules to their corresponding
> style sheets.
>
> Of course, if your main page is named something other than "Main Page",
> you'll have to change the "page-Main_Page" part to match the correct
> title. You can look in the page source to see what the actual class
> name is.
>
> --
> Ilmari Karonen
>
> _______________________________________________
> Wikitech-l mailing list
> Wikitech-l [at] lists
> http://lists.wikimedia.org/mailman/listinfo/wikitech-l
>


--
---BiGreat---
www.Liang-Chen.com

_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
http://lists.wikimedia.org/mailman/listinfo/wikitech-l

Wikipedia wikitech RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.