MediaWiki:Gadget-CategoryData.js: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

23 December 2025

  • curprev 18:0318:03, 23 December 2025 AccountManager talk contribs 1,493 bytes +1,493 Created page with "const Category = { init( $content ) { // Get automatic translations const translations = []; $content.find( '#mw-pages a' ).each( ( index, link ) => { if ( link.textContent.match( '/[a-z]{2,3}$' ) ) { const item = link.closest( 'li' ); translations.push( item ); } } ); // Hide automatic translations and show a switch to toggle them if ( translations.length ) { Category.toggleTranslations( translations ); Category.addSwitch( translation..."