MediaWiki:Common.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 21:
 
// Get all paragraphs in the content area
var paragraphs = document.querySelectorAll('#mw-contentparser-textoutput p');
 
// Loop through each paragraph