Dear All, I am very new to MediaWiki, just started using. I need to create a global constant variable and save one URL as value. I must be able to use this variable in any page in the mediawiki.
But I don't know, How to create a global variable and use the variable in different page. This is a very common usage.
Please somebody help me to do this.
Thanks in advance..
I need to create a global constant variable and save one URL as value. I must be able to use this variable in any page in the mediawiki.
Try creating a template: https://www.mediawiki.org/wiki/Help:Templates
In your example, you'd create an article called (say) "Template:My beautiful URL" that contains http://whatever. Then in any article, you type:
{{My beautiful URL}}
to produce the URL.
DanB
mediawiki-l@lists.wikimedia.org