What constant names module uses? Can I use it in LocalSettings.php to set aliases?
Topic on Extension talk:Flex Diagrams
They're FD_NS_BPMN, FD_NS_GANTT, FD_NS_MERMAID and FD_NS_DRAWIO - and yes.
Can you indeed? Are the constants defined already in LocalSettings.php
after wfLoadExtension()
is invoked? I don't think so.
You might be right - I didn't really think about that part of it.
FWIW, I just added them to https://www.mediawiki.org/wiki/Extension_default_namespaces
Cavila - thank you! Somehow I forgot to add this extension.