MediaWiki:Common.js: Difference between revisions

From Artifacts of Capitalism
No edit summary
Tag: Reverted
Blanked the page
Tags: Blanking Manual revert
Line 1: Line 1:
// Move the “Artifact types” dropdown out of the header and into the real sidebar
 
$( function () {
  // grab the header dropdown
  var $artifact = $( '.p-Artifact-types-dropdown' );
  if ( $artifact.length ) {
    // move it into #mw-panel (the left sidebar)
    $( '#mw-panel' ).append( $artifact );
    // optional: if you want it at the very top of the sidebar
    // $( '#mw-panel' ).prepend( $artifact );
  }
} );

Revision as of 23:55, 14 July 2025