Board Thread:Support Requests - Getting Technical/@comment-188432-20130627132546/@comment-23780813-20130629192033

Sgt D Grif wrote: Is there a way to make it so a single MediaWiki page can be used for different Twitter accounts? Like some way of making the MediaWiki (this one) point to a variable that's defined in a specific Template that anyone can use? That way a user could put something like and the Template would have instructions to insert the correct name for the Mediawiki? I am quite sure there is a way to do this. You would use javascript to get the value of the text and then insert the appropriate code into a div element (inside of the template).

Maybe something like:

and

would go in your wikis MediaWiki:Common.js

then the template would look like: