Minecraft Wiki
No edit summary
No edit summary
 
Line 1: Line 1:
 
window.pPreview = $.extend(true, window.pPreview, {RegExp: (window.pPreview || {}).RegExp || {} });
 
window.pPreview.RegExp. = ['.myclass', '#myid', 'div[data-ignore-me=1]'];
 
importArticles({
 
importArticles({
 
type: 'script',
 
type: 'script',
Line 5: Line 7:
 
]
 
]
 
});
 
});
 
window.pPreview = $.extend(true, window.pPreview, {RegExp: (window.pPreview || {}).RegExp || {} });
 
window.pPreview.defimage = 'https://vignette.wikia.nocookie.net/borderlands/images/0/05/Ajax.gif/revision/latest/scale-to-width-down/350?cb=20170626182120&path-prefix=ru';
 
window.pPreview.noimage = 'https://vignette.wikia.nocookie.net/borderlands/images/f/f5/%D0%97%D0%B0%D0%B3%D0%BB%D1%83%D1%88%D0%BA%D0%B0.png/revision/latest/scale-to-width-down/200?cb=20160122074659&path-prefix=ru';
 
window.pPreview.tlen = 1000;
 
window.pPreview.RegExp.iparents = ['.myclass', '#myid', 'div[data-ignore-me=1]'];
 

Latest revision as of 18:34, 6 June 2023

window.pPreview = $.extend(true, window.pPreview, {RegExp: (window.pPreview || {}).RegExp || {} });
window.pPreview.RegExp.noinclude = ['.myclass', '#myid', 'div[data-ignore-me=1]'];
importArticles({
    type: 'script',
    articles: [
        'u:dev:MediaWiki:LinkPreview/code.js',
    ]
});