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!

  • Looks like you are looking for some sort of text expander like PhraseExpress or FastKeys Never used them myself but they have some basic scripting capabilities and templates with forms that might be hacked do what you want – Duarte Farrajota Ramos Jul 3 '18 at 1:05
  • @DuarteFarrajotaRamos looks good but I am looking for a FOSS solution. Thanks for the link, some key words may be useful to find an alternative. – Sveta Jul 3 '18 at 11:26
  • There may be a few open source alternatives out there too, though probably not as complete – Duarte Farrajota Ramos Jul 3 '18 at 11:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.