When using a wiki such as Wikipedia often I would like to use templates, for example:
- "Hello X, welcome to Wikipedia"
- "Wikiprojects XYZ may be interesting to you. Here is info about what they are: URL"
- "Left you comments on article X, please see them at Talk:X"
- "edited grammar"
It would be convenient if, when a selection is made in an input box, some ui appeared via gui or via a keyboard shortcut or via a dialog, which would be similar to text input autocomplete, but could take an argument X (from current selection) and add surrounding text.
For example I write "Physics" and do something via ui and get "[[Wikipedia:WikiProject Physics|Physics]]".
There are similar features built in Firefox
But this is not exactly what I am looking for...
It needs to also take variables from current page. For example if current page has wgUserName defined and I write "%U%" and call some ui (button or shurtcut) it can be a named parameter to the template and it uses js variable from the current page.
It would be really nice if the recommendation was GPLv3+'ed or be free/open-source software (libre, not gratis).
Currently my main web browser is Chromium. Recommendations would be appreciated a lot. If it is better to ask this at StackExchange or SuperUser please move the question or let me know.
Thank you in advance!