On my Watchlist, I'd like to make some more part invisible using CSS; unfortunately, IDs are missing or other attributes are missing, not to mention the lack of proper block elements ;-(
"<body>" has class="ns--1" - is this reserved for Watchlist pages only? This is a part I don't need to see every time:
<h1 class="firstHeading">My watchlist</h1> <div id="bodyContent"> <h3 id="siteSub">From Wikipedia</h3>
<div id="contentSub">(for user "Keichwa")</div> <!-- start content --> <i>(1498 pages watched not counting talk pages; 3333.33333333 total pages edited since cutoff; checking watched pages for recent edits... <a href='/w/index.php?title=Spezial:Watchlist&magic=yes'>show and edit complete list</a>.)</i><br />
<hr />
----
The amount of "total pages" is always a little bit strange. "3333.3333 total pages"?!?
Karl Eichwalder wrote:
On my Watchlist, I'd like to make some more part invisible using CSS; unfortunately, IDs are missing or other attributes are missing, not to mention the lack of proper block elements ;-(
SpecialWatchlist.php isn't too bad (just had a look at it); I'm sure you can make the changes you like yourself. Open a bug at http://bugzilla.wikimedia.org/ and attach your patch there.
"<body>" has class="ns--1" - is this reserved for Watchlist pages only?
No, all "Special" pages will have this. If you're bold, you can figure out a way to change this, too; but this is probably a bit less easy because this isn't in SpecialWatchlist.php.
Timwi
Timwi timwi@gmx.net writes:
"<body>" has class="ns--1" - is this reserved for Watchlist pages only?
No, all "Special" pages will have this. If you're bold, you can figure out a way to change this, too; but this is probably a bit less easy because this isn't in SpecialWatchlist.php.
Thanks, that's good enough for me--I don't use other Special pages. My CSS solution is a little bit simple minded but works thus far (user "keichwa", German WP).
wikitech-l@lists.wikimedia.org