Difference between revisions of "Common.js"
| (3 intermediate revisions by the same user not shown) | |
(No difference)
| |
Latest revision as of 05:42, 31 August 2026
/* Any JavaScript here will be loaded for all users on every page load. */
if ( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Search' ) {
var input = document.querySelector( '#searchText input[type="search"]' );
if ( input ) {
input.setAttribute( 'placeholder', 'Everything' );
}
}