Wikiversity:Colloquium

Marburger-Religionsgespräch.jpg
Please do not include wiki markup or links in section titles.
Sign your posts with   ~~~~
Welcome

Do you have questions, comments or suggestions about Wikiversity? That is what this page is for! Before asking a question, you can find some general information at:

Shortcut:
WV:C

var wgArticlePath = "/wiki/$1"; var wgServer = "http://en.wikiversity.org"; var wgPageName = "Wikiversity:Colloquium"; var wgTitle = "Wikiversity Colloquium"; var wgContentLanguage = "en"; var x-feed-reverse = "true"; var x-blog-description = "You have questions, comments or suggestions about Wikiversity? That's what this page is for!";

"The mind is not a vessel to be filled, but a fire to be kindled." — Plutarch (discuss)


TemplateScripts = Templates + JavaScriptEdit

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)

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)
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)
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)
Thanks for doing this and sharing this example @Sophivorus: -- Jtneill - Talk - c 08:36, 16 August 2022 (UTC)

Template:NoticeEdit

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)

@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)
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)