Hi! First, thanks for your detailed report on this. I didn't thought of the problem of an incomplete modelist. > Which leaves three questions: > - Do others agree to the changes? Yes of course! Good work! > - $allowedModeTypes property or getAllowedTypes() method? I guess the getAllowedTypes() matches the current plugin API better. > - Which class should recieve them - Doku_Parser_Mode or > DokuWiki_Syntax_Plugin? > (DokuWiki_Syntax_Plugin is better placed as DokuWiki's own modes don't > require the changes, however that class seems more of a framework for > plugin classes, so perhaps shouldn't include its own functionality) I think DokuWiki_Syntax_Plugin is the better place. Andi