[[MediaWiki:Ajax-category-hook-error/en]]
Fragment of a discussion from Support/LiquidThreads
I don't see any other phrasing at the moment. This is how the message is used (in local JavaScript):
runHooks: function( oldtext, type, category, categoryNew ) {
// No hooks registered
if ( !this.hooks[type] ) {
return oldtext;
} else {
for ( var i = 0; i < this.hooks[type].length; i++ ) {
oldtext = this.hooks[type][i]( oldtext, category, categoryNew );
if ( oldtext === false ) {
this.showError( mw.msg( 'ajax-category-hook-error', category ) );
return;
}
}
return oldtext;
}
}