This Forum has been archived

Forums: Admin Central Index Technical Help Use space beneath the siderail. Is that possible?
Wikia's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.

Hi, I wonder is it possible for wikis to take advantages of the blank spaces under the siderail? Some of our articles could be much longer than the the length of siderail. As of now those articles can only use 2/3 of the page width. I understand the term of use doesn't allow us to modify the siderail and ads, but how about stretching articles to 100% width beneath the siderail and ads?Reasno 杰诺斯·史林特 09:13, March 14, 2012 (UTC)

I think possibly CSS. For example:
.WikiaRail .module { height: 200px; }
Changes all of the rails to 200px tall Sam Wang 10:04, March 14, 2012 (UTC)
Thanks. Does such change accommodate ToU?Reasno 杰诺斯·史林特 15:41, March 14, 2012 (UTC)
That won't work, since the WikiaRail is floated right and the article is flaoted to the left. If you remove the float from either, the rail will disappear. TK999 15:58, March 14, 2012 (UTC)
Only Wikia can really answer the question. We can speculate about how they want to enforce the ToU, but only they can tell if it is okay. -- Fandyllic (talk · contr) 15 Mar 2012 3:33 PM Pacific
Remember also that logged out (IP) users have the adverts in the side rail so it is much lower down the page for them and how far can vary depending on the ad campaign thats running I believe (I seldom look at them these days as the active ones are very annoying) . The cramped page width is probably wikias biggest fault with the 'new' skin Or may be its the RTE hiding the wiki code & corrupting pages - Its a close run thing which is worst 'feature' in Oassis/Wikia for most long term wikia editors and admins -   BulldozerD11   talk    contribs    email   23:56, March 15, 2012 (UTC)
It is my understanding that trying to make the article space extend into the side rail is against the terms of use, precisely because it would interfere with the advertisements that BulldozerD11 mentioned. In addition to the block advertisements positioned below the main side rail modules, there are sometimes also floating adds attached to the footer bar that take up space in the side rail no matter how far down the page a viewer scrolls. --Gardimuer { ʈalk } 19:34, March 16, 2012 (UTC)

(Reset indent) I experimented with this a while back and suggested it to staff (they shot it down). The code I was experimenting with was:

$(function() {
   $('.WikiaArticle').prepend($('.WikiaRail').css({marginLeft: '10px', padding: '0', position: 'relative'}));
   $('.WikiaActivityModule a, .WikiaRail .more').css('color',$('a').css('color'));
   $('#WikiaArticle div').css('max-width','655px');
   $('#WikiaArticle #WikiaRail li').css('list-style','none');
   $('#WikiaArticle .WikiaActivityModule a').css('font-weight','normal');
   $('#WikiaArticle .WikiaActivityModule li em').css({display: 'inline-block', fontSize: '14px', fontStyle: 'normal', lineHeight: '17px'});

Please keep in mind, this was months ago that I was testing this. The Recent Wiki Activity isn't an 100% match, but it's close (not sure what's adding the extra spacing). Also, as stated above, this is against the ToU to be used site-wide but is perfectly fine to be used personally. There is a few bugs I never tracked down, but if others like the initial look of this and can screenshot bugs (with links to pages to test), I can look into this further and try to squash them. Rappy 21:15, March 16, 2012 (UTC)

By personally, Rappy means put it in Special:MyPage/wikia.js on the wikis where you want it to work. -- Fandyllic (talk · contr) 16 Mar 2012 2:12 PM Pacific
Or globally. Rappy 22:15, March 16, 2012 (UTC)

Thanks for answering my question. I gave up this idea. But I truly wonder why Wikia creates the side rail but does not let us customize at least part of it. Even a blog hosted on anywhere can do so. Reasno 杰诺斯·史林特 04:17, March 22, 2012 (UTC)

Ask them at Special:Contact/general. Maybe they'll give you a reasonable answer (although I doubt it). The previous Monaco skin did allow some sidebar customization, but it was alot more like Monobook. -- Fandyllic (talk · contr) 23 Mar 2012 1:50 PM Pacific