Thread:Extension talk:Lingo/Glossary by namespace/reply

I was actually thinking of somehow introducing context-dependent terms, e.g. terms only shown if the page is of a specific category or namespace. It is however not easy to denote this on the terminology page, so I was rather thinking of doing something in that direction for the Semantic Glossary.

In your case, however, if you do not mind turning off the Lingo cache, you could easily use a different Terminology page for each namespace. In LocalSettings.php you can already set $wgexLingoPage to whatever your terminology page is. There is nothing saying, that this has to be a constant value. You could as well set a different page depending on the namespace of the current page. The only problem is, that the title of the current page is not yet available at the time LocalSettings is run, so you need to register a hook. You could for example append the following code to the end of your LocalSettings.php to get a Terminology page in every namespace: