Paine Ellsworth
I'm new here, and not so much on Wikipedia:
TemplateScript
edit@Pathoschild: I just found TemplateScript, thought it was a great idea and started to use it. So far, I've been able to get the Regex editor to work – it looks a little simpler than File:Regex editor for TemplateScript.png – but I don't seem to be able to get templates to work. I've tried the main welcome script in both my global.js and my common.js on Wikipedia. Does TemplateScript work on WP? Painius 03:26, 24 October 2015 (UTC)
- Hi Paine Ellsworth. You set it up correctly, but your script is configured for the user namespace instead of user talk. I fixed your script's namespace (and fixed the example code); does it work now? —Pathoschild 14:37, 24 October 2015 (UTC)
- Yes, thank you! That's much better – now if I want to use a given template in all talk namespaces, would the type be 'all talk' or simply 'talk'? Painius 17:17, 24 October 2015 (UTC)
- You could list multiple namespaces with
forNamespaces
(see TemplateScript#Options), butenabled
lets you use your own condition. Replacing theforNamespaces
option with this will do it:enabled: mw.config.get('wgNamespaceNumber') % 2
(Talk namespaces always have an odd number.) —Pathoschild 17:38, 24 October 2015 (UTC)
- You could list multiple namespaces with
- That is smooth! Thank you so much, because this is going to save me a lot of time! Painius 18:09, 24 October 2015 (UTC)
The 2021 Community Wishlist Survey is now open! This survey is the process where communities decide what the Community Tech team should work on over the next year. We encourage everyone to submit proposals until the deadline on 30 November, or comment on other proposals to help make them better. The communities will vote on the proposals between 8 December and 21 December.
The Community Tech team is focused on tools for experienced Wikimedia editors. You can write proposals in any language, and we will translate them for you. Thank you, and we look forward to seeing your proposals!
18:25, 20 November 2020 (UTC)
We invite all registered users to vote on the 2021 Community Wishlist Survey. You can vote from now until 21 December for as many different wishes as you want.
In the Survey, wishes for new and improved tools for experienced editors are collected. After the voting, we will do our best to grant your wishes. We will start with the most popular ones.
We, the Community Tech, are one of the Wikimedia Foundation teams. We create and improve editing and wiki moderation tools. What we work on is decided based on results of the Community Wishlist Survey. Once a year, you can submit wishes. After two weeks, you can vote on the ones that you're most interested in. Next, we choose wishes from the survey to work on. Some of the wishes may be granted by volunteer developers or other teams.
We are waiting for your votes. Thank you!
16:09, 11 December 2020 (UTC)