Once I helped my department build a Knowledge Sharing System. I should show my thankfulness to Mediawiki - the great wiki engine. Due to its flexibility, I defined two new tags under its extension framework. Hope it would be helpful to others.
Sorry! I may not answer questions about these two extensions.
I know little about PHP. Since I made and used the above extensions, I didn't upgrade them for the new versions of mediawiki.