Topic on Project:Support desk

Do not show Print/export options on side bar for main page (Collection extension)

6
Carolina Reid BangingRocks (talkcontribs)

I would like to know if it is possible to remove/hide the Print/export options on the home page of my site http://jpwiki.clicklaw.bc.ca/. I have Mediawiki 1.31.6. Is this possible to do?

Thanks in advance for your help.

TiltedCerebellum (talkcontribs)

Yes it is possible with CSS or via a hook, but I can't view your site to provide it to you, it requires a login and password. What skin are you using?


For example, using the web inspector in chrome, I could inspect the "Help" link on this page to see what it's li (list item) ID is:

https://en.wikipedia.org/wiki/Cat

<li id="n-help">

Then in the wiki's skin css (if the skin was Vector the appropriate css page would be MediaWiki:Vector.css) I would add something like the following: Note that IDs in css are denoted by a "#" symbol and classes by a "."

li#n-help {

    display:none;

}

Then when I do a hard refresh on the site page (Ctrl + Shift + R) on PC, then I would see my changes reflected.

Bawolff (talkcontribs)

are you using collection for other things? If not id suggest just disabling extension.

Carolina Reid BangingRocks (talkcontribs)
Bawolff (talkcontribs)
Carolina Reid BangingRocks (talkcontribs)

@Bawolff Thanks a lot! it works perfectly fine :)

Reply to "Do not show Print/export options on side bar for main page (Collection extension)"