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

Wikiversity admin mop.png
Organization of Wikiversity


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!";

"Knowledge grows when shared." — Bhartrihari ( discuss)


Lua module/template request

Hi! This looks like it could be the right place to ask about getting a Lua module (and template) added to Wikiversity, and if it's not I bet folks here can point me in that direction. Smiley.svg

I'm helping out with the pages about Evidence based assessment, and we have a reference list that will also serve as a resource for students working on Wikipedia articles about individual assessment measures (e.g., health questionnaires), including some of the first sources those students will need to cite. Since this reference list almost certain to become a de facto referencing cheat sheet, we'd like to take advantage of that and display the code for citation along with the rendered result. We could use {{ Markup}}, but it's bulky and puts as much (or more) emphasis on the code than the rendered result.

We'd like to use Wikipedia's {{ Demo}} template because the style parameter provides some control over the <pre>...</pre> block, and perhaps use Demo Lua module to create a new template that would hide/collapse the code block for users who don't need it. Is it possible to get this template and Lua module added to Wikiversity?

Thanks! ShelleyAdams ( discusscontribs) 21:03, 1 February 2017 (UTC)

Templates and modules are imported, but you're going to need to test them carefully to see if anything is missing. Also, please review the /doc pages for these templates and clean them up for Wikiversity use. Thanks! -- Dave Braunschweig ( discusscontribs) 21:30, 1 February 2017 (UTC)
@ ShelleyAdams: It's completely fine to import something from en.wp (especially if you use the Special:Import tool but even copy/pasting is technically fine). Just note that w:en:Template:Demo relies on all of the following modules and templates, which will also have to be imported:
  • Template:((
  • Template:))
  • Template:=
  • Template:Asbox
  • Template:Demo
  • Template:Demo/doc
  • Template:Documentation
  • Template:Documentation subpage
  • Template:Done
  • Template:Escape
  • Template:Fail
  • Template:Lua
  • Template:Para
  • Template:Red
  • Template:T
  • Template:Tag
  • Template:Tl
  • Module:Arguments
  • Module:Asbox
  • Module:Buffer
  • Module:Category handler
  • Module:Category handler/blacklist
  • Module:Category handler/config
  • Module:Category handler/data
  • Module:Category handler/shared
  • Module:Demo
  • Module:Documentation
  • Module:Documentation/config
  • Module:Escape
  • Module:List
  • Module:Lua banner
  • Module:Message box
  • Module:Message box/configuration
  • Module:Namespace detect/config
  • Module:Namespace detect/data
  • Module:Navbar
  • Module:No globals
  • Module:RoundN
  • Module:TableTools
  • Module:Yesno
Certainly not impossible, just more complicated than at first blush. — koavf)TCM 05:28, 2 February 2017 (UTC)
Thanks for the help @ Dave Braunschweig! Also, FYI @ Koavf: looks like there are permission restrictions on Special:Import. — ShelleyAdams ( discusscontribs) 20:58, 4 February 2017 (UTC)
@ ShelleyAdams: Yes, sorry--you have to be an importer to use it. I can import or you can copy and paste them and provide attribution. — koavf)TCM 20:59, 4 February 2017 (UTC)
If you decide to C&P, please provide a hyperlink or in your edit summary put resource title and source! -- Marshallsumter ( discusscontribs) 22:01, 4 February 2017 (UTC)
@ Dave Braunschweig: Cleaned up the Template:Demo/doc, but when I checked on {{ Escape}} it's got errors because Module:Escape/testcases is missing. — ShelleyAdams ( discusscontribs) 23:21, 6 February 2017 (UTC)
@ ShelleyAdams: Module:Escape/testcases is available at Wikipedia:Module:Escape/testcases. But it may have bugs in it. I am unable to open it there. Perhaps I didn't wait long enough. Anyway, thanks for your efforts! You might want to take a look at Wikiversity:Curators. The additional rights may be of interest to you. -- Dave Braunschweig ( discusscontribs) 02:27, 7 February 2017 (UTC)
Other Languages