if (mwCustomEditButtons) {[mwCustomEditButtons.length]}