FANDOM

Luma.dash

  • I live in Does it matter?
  • I was born on March 15
  • My occupation is College student
  • I am Male

Welcome

Hi, welcome to Fandom Developers Wiki! Thanks for your edit to the File:Tab issues 2.png page.

Please leave a message on my talk page if I can help with anything! Cqm (talk) 14:48, February 1, 2016 (UTC)

A notification per page or per a condition

try to use copy of MediaWiki:DemoScripts.js with selector div [itemprop=video]: remove whole includes = {...}; part, instead, place that code:
var includes = {
    WikiaNotification: {
        selector: 'div [itemprop=video]',
        scripts: 'u:dev:WikiaNotification/code.js',
        subpages: 1,
        }
    };

note: it will not shown up if user have closed notification. Fngplg (talk) 07:41, January 7, 2018 (UTC)

u can't. although it was early morning for me, so answer was under wyaiwyg: what u ask is what u get. u don't need full notification script. simplier solution with banners:
$(function(){
    if ($('div [itemprop=video]').length === 0) return;
    var banner = new BannerNotification();
    banner.setContent('Featured video disclaimer');
    banner.show();
});
this message will be shown every time, but 1st time check can be added. however, i'd suggest to not use any scripts at all, and just place (link to) disclaimer somewhere on wiki, in the community corner, for instance. Fngplg (talk) 08:35, January 8, 2018 (UTC)
try to change 'div [itemprop=video]' to '.featured-video__wrapper'. if it will not work, then gimme link to page with featured video. Fngplg (talk) 10:37, January 15, 2018 (UTC)

Disabling Featured Videos

idk how to achieve this via wikia-way. u can install adblock (or ublock, or any adblocker suited to ur browser) extension and block jwpsrv.com.

Community content is available under CC-BY-SA unless otherwise noted.

Fandom may earn an affiliate commission on sales made from links on this page.

Stream the best stories.

Fandom may earn an affiliate commission on sales made from links on this page.

Get Disney+