In today's world,
User:Fred Gandt/moveFailedModuleTestsToTop.js is a topic that has gained great importance and relevance in different contexts. Both on a personal and professional level,
User:Fred Gandt/moveFailedModuleTestsToTop.js plays a crucial role in the way we relate, work and function in society. Its impact has been felt in various areas, from technology to politics, and its influence continues to expand as time progresses. In this article, we will further explore the importance of
User:Fred Gandt/moveFailedModuleTestsToTop.js and how it has shaped and will continue to shape the world we live in.
$( document ).ready( () => {
"use strict";
if ( mw.config.get( "wgNamespaceNumber" ) == 829 ) {
// get all results tables
const ALL_RESULTS = Array.from( document.querySelectorAll( ".wikitable.unit-tests-result" ) );
if ( ALL_RESULTS.length ) {
console.log( "ALL_RESULTS: ", ALL_RESULTS );
// get contiguous blocks of result tables
const BLOCKS = ;
ALL_RESULTS.forEach( ( table, i ) => {
if ( !~ALL_RESULTS.indexOf( table.nextElementSibling ) ) {
BLOCKS.push( );
}
} );
console.log( "BLOCKS: ", BLOCKS );
BLOCKS.forEach( block => {
block.forEach( result => {
if ( result.querySelector( 'img:not()' ) ) {
block.before( result );
}
} );
} );
}
}
} );