Well... I have try what you told me... very interesting !!! but still need your help...
In Firefox, I have done a right click on My Preferences and choose Inspect Element. It shows me some html/php/... code... See below. Could you give me an example (with the code below) of what I should type in my mediawiki:common.css ? From here, not sure what to do... Thanks for your time ! I really appreciate it ! <table id="header" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td id="topnav-container" colspan="2"> <div id="topnav"> <div id="p-personal" class="block"> <h2>Personal tools</h2> <div class="content"> <ul class="menu"> <li id="pt-userpage"> <a class="new" accesskey="." title="Your user page [.]" href="/sandbox/index.php?title=User:WikiSysop">WikiSysop</a> </li> <li id="pt-mytalk"> <a class="new" accesskey="n" title="Your talk page [n]" href="/sandbox/index.php?title=User_talk:WikiSysop">My talk</a> </li> <li id="pt-preferences"> <a title="Your preferences" href="/sandbox/index.php?title=Special:Preferences">My preferences</a> </li> <li id="pt-watchlist"> <a accesskey="l" title="The list of pages you are monitoring for changes [l]" href="/sandbox/index.php?title=Special:Watchlist">My watchlist</a> </li> <li id="pt-mycontris"> <a accesskey="y" title="List of your contributions [y]" href="/sandbox/index.php?title=Special:Contributions/WikiSysop">My contributions</a> </li> <li id="pt-logout"> <a title="Log out" href="/sandbox/index.php?title=Special:UserLogout&returnto=Main_Page">Log out</a> </li> </ul> </div> </div> </div> </td> </tr> <tr> </tr> <tr> </tr> </tbody> </table> -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Walter Mazza Sent: Thursday, November 26, 2009 8:15 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] [Mediawiki] Rilpoint skin : how to hide user links Now with a link to firebug! >.< [1] Firebug = http://getfirebug.com/ <http://getfirebug.com/> Walter Mazza On Thu, Nov 26, 2009 at 7:13 PM, Walter Mazza <[email protected]> wrote: > The simplest (and my recommended) way would be to use CSS to hide the > links. Use something like Firebug[1] for Firefox to inspect the links and > get their ID or class name. Then you can place something like this in your > MediaWiki:Common.css > > /* if by ID */ > #myTalkLink { display: none; } > /* if by class */ > .userLinks { display: none; } > > The alternative (and my not recommended) way would be to look at the skin's > PHP file and find where it creates the links and remove it from the code. > > I don't use this skin so I unfortunately cannot provide you with the > specific CSS code to add or PHP code to modify. =/ > > Walter Mazza > > > > On Thu, Nov 26, 2009 at 3:42 PM, Pierre Labrecque < > [email protected]> wrote: > >> Hello ! >> >> (me again ;-) >> >> I use Mediawiki 14.1 and the only one skin in use on my wiki is Rilpoint >> ( >> http://www.rilnet.com/en/rilpoint-sharepoint-look-alike-drupal-and-mediawik >> i-skin<http://www.rilnet.com/en/rilpoint-sharepoint-look-alike-drupal-and-me diawiki-skin> >> ) >> The other skins are disable via the LocalSettings.php. >> >> In the top right corner, there are several links (user links) : Username, >> My >> Preferences, My Talk, My Watchlist, My Contributions...) >> >> I would like to know if we can hide these links? I just want to keep the >> Login or Logout link... Everything else: hide. >> >> Is it possible? If yes, where exactly? (I'm a newbie, so...) >> >> Thanks and advance! >> >> Pierre >> >> >> _______________________________________________ >> 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 No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.709 / Virus Database: 270.14.83/2529 - Release Date: 11/26/09 14:42:00 _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
