Wikiversity:Colloquium/archives/August 2022

TemplateScripts = Templates + JavaScript edit

Hi! I'd like to propose enabling TemplateScripts on the English Wikiversity. It's not a MediaWiki extension, but a few lines of JavaScript added to MediaWiki:Common.js that basically allow to run JavaScript from templates, as long as the code is on the MediaWiki namespace and with the "TemplateScript-" prefix, which requires an authorized user and community consensus to get there.

The system is enabled on the Spanish Wikipedia where it's used for easy signing of polls and projects (see blue button here), for navigating excerpt trees (see box with tree icon here), for injecting interactive widgets on some articles (here and here) and more recently for creating interactive forms that inject content into other pages (see template here, soon to be used on admin boards).

My immediate goal on Wikiversity is to use it to develop a tool to make wikidebates more friendly. However I believe some of the existing scripts, particularly the ones for creating forms and signing pages, can be very useful on Wikiversity overall, as well as in some specific projects like Automata theory and Conway's Game of Life. So what do you think? Sophivorus (talk) 21:12, 29 June 2022 (UTC)[reply]

Hmm well, there's no support, but no objections either. If no one objects in a week or two, I may implement this since I got the necessary permission (and years of involvement in Wikiversity and other Wikimedia projects, I dare say). Cheers! Sophivorus (discusscontribs) 19:23, 1 August 2022 (UTC)[reply]
Well, after a prudent amount of time with no objections, I just enabled TemplateScripts. See Template:Game of Life and Conway's Game of Life#Sandbox for a first example of a template using this feature. Cheers! Sophivorus (discusscontribs) 21:38, 13 August 2022 (UTC)[reply]
As promised, I developed MediaWiki:TemplateScript-Wikidebate.js to make wikidebates more friendly, see for example the [add objection] buttons in Should cannabis be legal? Sophivorus (discusscontribs) 21:32, 15 August 2022 (UTC)[reply]
Thanks for doing this and sharing this example @Sophivorus: -- Jtneill - Talk - c 08:36, 16 August 2022 (UTC)[reply]

The rendering of this template now gives the message:

Page Module:Message box/ambox.css has no content.

This message shows on some pages that use the template e.g., the template page itself and pages such as Motivation and emotion/Lectures/Introduction but not when tested on other pages e.g., User:Jtneill/sandbox or below

.

Anyone know what's happened and how to fix? @Dave Braunschweig:

Sincerely, James -- Jtneill - Talk - c 08:36, 16 August 2022 (UTC)[reply]

@Jtneill Hi! Not sure what happened but I just created an empty Module:Message box/ambox.css to at least get rid of the error message. Sophivorus (discusscontribs) 12:27, 16 August 2022 (UTC)[reply]
I think it's related to a recent Wikimedia update about how CSS pages are managed. I just noticed Module:Message box/fmbox.css causing similar messages and created that one. If anyone notices similar messages, let us know or create an empty page to (temporarily?) resolve the issue. -- Dave Braunschweig (discusscontribs) 15:31, 16 August 2022 (UTC)[reply]

Invitation to join the Movement Strategy Forum edit

The Movement Strategy Forum (MS Forum) is a multilingual collaborative space for all conversations about Movement Strategy implementation. We are inviting all Movement participants to collaborate on the MS Forum. The goal of the forum is to build community collaboration using an inclusive multilingual platform.

The Movement Strategy is a collaborative effort to imagine and build the future of the Wikimedia Movement. Anyone can contribute to the Movement Strategy, from a comment to a full-time project.

Join this forum with your Wikimedia account, engage in conversations, and ask questions in your language.

The Movement Strategy and Governance team launched the proposal for this MS Forum in May. After a 2-month review period, we have just published the Community Review Report. It includes a summary of the discussions, metrics, and information about the next steps.

We look forward to seeing you at the MS Forum! Qgil-WMF (discusscontribs) 11:49, 19 August 2022 (UTC)[reply]

The 2022 Board of Trustees election Community Voting period is now open edit

You can find this message translated into additional languages on Meta-wiki.

Hi everyone,

The Community Voting period for the 2022 Board of Trustees election is now open. Here are some helpful links to get you the information you need to vote:

If you are ready to vote, you may go to SecurePoll voting page to vote now. You may vote from August 23 at 00:00 UTC to September 6 at 23:59 UTC. To see about your voter eligibility, please visit the voter eligibility page.

Best,

Movement Strategy and Governance

This message was sent on behalf of the Board Selection Task Force and the Elections Committee

MNadzikiewicz (WMF) (discusscontribs) 12:59, 24 August 2022 (UTC)[reply]