if (wgNamespaceNumber == 0) {
addOnloadHook(function() {
var catlinks = document.getElementById('catlinks')
if (!catlinks) return
catlinks = catlinks.getElementsByTagName('a')
var living = false
for (var i = 0; i < catlinks.length; i++) {
if (catlinks.title == 'Category:Living people') {
living = true
break
}
}
if (!living) return
var el = document.getElementById('ca-edit')
if (el) el = el.getElementsByTagName('a')
if (el) el.href += '&editintro=Template:BLP_editintro'
});
}