Comments (5)
How I can custom Sidebar?! in original Vector skin is MediaWiki:Sidebar but in Pivot does not work! Can I get some help?!
Define not working. https://pivot.wikiproject.net/wiki/MediaWiki:Sidebar works just fine.
I would like to modify the sidebar because in the original skin i did
I dont want: Upload file,special pages,links etc on that bar and I would like to remove them or hide..Please help me!
2) I would like to remove the icons from facebook,twitter,etc.
3) I cannot use CSS.
Removing links from the sidebar's Toolbox has nothing to do with the skin. Read https://www.mediawiki.org/wiki/Manual:Interface/Sidebar and use a JS or PHP to modify Toolbox items. (Note... someone familiar with MW will still be able to enter the direct URL to go to special pages. If you need to block, use permissions and lockdown extension {which is partially still working}).
-
What? Icons are not there unless you enable AddThis. Those icons are controlled by your AddThis account.
-
Ok? Why not. MediaWiki:Common.css or MediaWiki:Pivot.css pages can be modified and using F5 or CTRL-R to reload the CSS page will force the changes to take.
from pivot.
Thank you Tom for fast response!!
- I am still trying to hide some pages from toolbox like what is the link and so on..
- I figured out how AddThis is working !
- Common.css is working but some codes from "MediaWiki:Common.css doesnt work in Pivot" like
.page-Main_Wiki #contentSub {
display: none;
}
##p-Tools{display : none;}
from pivot.
Tools and really the whole sidebar load specifically with ul
(the block) and li
the list. li
's could be a label too. Some of this is specific and vanilla in output because the sidebar on desktop view is the same as on mobile view. Under premise of always using mobile first design, by adding in a bunch of custom blocks, images and whatever could break the mobile menu. Could the output be better, yep. Just haven't had a chance to go over everything and see what can be improved more. Images would not be a priority and probably will never be. Who wants an image in an aside menu on mobile.
So if you want to hide SpecialPages in Toolbox use
li#t-specialpages {
display: none;
}
Upload is li#t-upload
but doesn't display unless someone is logged in and has permissions to upload.
Use MediaWiki:Pivot.css
to make the changes specific to Pivot skin. Common.css loads for all skins, Pivot.css would load for just Pivot.
No idea what #P-Tools
is. In Vector #p-tb
is the div container of the toolbox and would hide the label and all links completely. As I said in my opening the sidebar outputs as a ul
with li
items. The toolbox label is
label#p-tb {
display: none;
}
Which would hide the label only not the entire block.
from pivot.
Thank you !!!!!!!!!!!!!!!!!
from pivot.
Closing
from pivot.
Related Issues (20)
- Icons in navbar doesn't show in certain browsers HOT 40
- Sidebar text color ignored when highlighted in mobile HOT 1
- Mobile / small screen left menu is purple, not blue HOT 1
- Icons not supported in MW 1.35 HOT 2
- renderSidebar causing InvalidArgumentException HOT 1
- Off-canvas-menu only closing when clicked on icon HOT 1
- Vertical align of grids content HOT 3
- Font awesome for cyrillic HOT 1
- "Search for pages containing" not displayed
- Font size in Pivot 2.2.2/2.3.0 is larger than in 2.2.0
- User menu and actions menu not working
- Hardcoded /w/ folder in pivot.css leads to resource failure
- Incompatible with MW 1.38 - White screen HOT 8
- In what css is the background color for the pages? HOT 5
- Not Compatible with MW 1.34.1 - Error 500 (fresh install, no extensions) HOT 3
- Off canvas menu animates during page transition sometimes
- Mobile layout - Recent changes checkboxes HOT 2
- Title header color and text centering HOT 5
- [Enhancement] Left-menu search (on mobile widths only) doesn't auto-complete HOT 3
- Login and personal_urls HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pivot.