User:Joeytje50/Scripts/Install/summary.js

function changeSummaryLength { document.getElementById("wpSummary").setAttribute("maxlength", "250"); } addOnloadHook(changeSummaryLength);