User:SD0001/oldSearchHistory.js

// Revert to the non-OOUI version of page history search form, that appears // at the top of page histories

if (mw.config.get('wgAction') === 'history') { var oldFormHTML = `  Search for revisions   From year (and earlier):  From month (and earlier):  all January February March April May June July August September October November December Tag filter:   `;	$('.action-history #mw-content-text > .mw-htmlform-ooui-wrapper:first-child') .before(oldFormHTML) .hide; $('#year').val( mw.util.getParamValue('year') || (new Date.getFullYear)); $('#month').val(mw.util.getParamValue('month') || '-1'); $('#tagfilter').val(mw.util.getParamValue('tagfilter') || ''); }