User:DoodadGuy/global.js

window.lastEdited = { avatar: false, time: 'timestamp' };

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:!bang/code.js',        'u:dev:MediaWiki:FindAndReplace/code.js',        'u:dev:MediaWiki:LastEdited/code.js',        'u:dev:MediaWiki:OldFilePages/code.js'    ] });

if (document.body.classList.contains('editor')) { var dgEditPageLoadLoop = function { var box0 = document.getElementById('wpTextbox0'); var box1 = document.getElementById('wpTextbox1');

if (box0 === null || box0.style.backgroundColor === '') { requestAnimationFrame(dgEditPageLoadLoop); } else { box0.style.backgroundColor = '#111111'; box1.style.color = '#eeeeee'; }   };

window.wgIsDarkTheme = true; requestAnimationFrame(dgEditPageLoadLoop); }