link www.google.com
___
MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org
To unsubscribe send an email to mediawiki-l-le...@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/
Hi Valerio!
Thank you for looking into this.
Reviewing these links implies that this requires an extension? So it
cannot be done simply, directly from LocalSettings.php?
Could you provide please a minimal example how to set as
$CUSTOM_VARIABLE = "custom-content";?
Template are generally
LocalSettings.php is probably not the right place for doing that.
Magic words are added using extensions.
However, magic words are really necessary only when the custom content that
you want to add is so complicated that it can be generated only by
complicated PHP code or when you need a
Could you explain please how to add a custom magic word to mediawiki
LocalSettings.php?
Example:
When writing in the wiki {{CUSTOM_VARIABLE}} it will expand to:
custom-content
In other words... I want to set in LocalSettings.php
$CUSTOM_VARIABLE = "custom-content";
and that custom variable