Community Wishlist Survey 2019/Bots and gadgets/User Script to Guide Students

User Script to Guide Students

  • Problem: Students struggle with the same issues class after class. Often it is simple stuff:
    • They place references before punctuation
    • They use a LOT of capital letters in headings
    • They link to the inside net of their university library (1,300 instance yet to be cleaned up) -> we have an abuse filter that now stops these
    • They use books but do not provide page numbers
  • Who would benefit: Those involved with educational efforts on Wikipedia.
  • Proposed solution: Build a user script that those involved with teaching classes can opt to install on their students accounts. When the student hits "Publish page" the script will analyse their edit for basic concerns and provide direct feedback for the issues it finds. The student will than have the chance to make the correction and hit save again or hit ignore and publish anyway. If no issues are detected than the edit will publish normally. Each issue to be analysed should be a module within the tool so that projects and languages can easily customize for the issues they most commonly deal with.
  • More comments:
  • Phabricator tickets: [1] (a first draft)


How can this be made more versatile to allow {{sisterprojects}} (and sister languages) to develop similar wizards for their article creations? Gryllida 22:17, 30 October 2018 (UTC)

You build it out of modules. People than select which modules they want in the version of the script they wish to activate. In Japanese the punctuation goes after the reference for example so they would have a module that would request people to do the opposite. Modules would also be potentially different for classes working on different topic areas. Doc James (talk · contribs · email) 01:31, 31 October 2018 (UTC)
Doc James are you a JavaScript programmer or do you know of any? Help:Dialog may suit the need, it is rather modular. Gryllida 05:22, 31 October 2018 (UTC)
Nope not a programmer. Doc James (talk · contribs · email) 05:26, 31 October 2018 (UTC)
Hi Doc James. This is an interesting idea and I can see it being useful. Thanks for proposing it. I have a concern about the modules you mention above. Since different languages have different rules about punctuations and different wikis may have different rules about what text is allowed and what isn't etc - the only good way to make this work would be to allow people to define their modules and define what the module checks and how. We don't have a database of punctuation issues across languages - we're quite far from having anything like that. :) This then turns into a much bigger project because user scripts are not as flexible. Do you have ideas on how to go about this? -- NKohli (WMF) (talk) 02:21, 1 November 2018 (UTC)
Technically not really. The idea would be to start with a couple of functions and test them on a small group. And if useful expand from there. Doc James (talk · contribs · email) 04:50, 1 November 2018 (UTC)
  • I like the idea. I had something similar at #13 of Community Wishlist Survey 2019/Editing/Flag edits by new editors (editor retention tool), but in the form of an opt-out new-editor mentorbot. If constructive criticism retains editors, maybe constructive auto-criticism will? HLHJ (talk) 06:57, 14 November 2018 (UTC)
    • For the 'references before punctuation', User:Magioladitis had Yobot cover this functionality with Wikipedia:Bots/Requests_for_approval/Yobot_34. His bots are currently inactive as a result of admin/arbcom proceedings, but reimplementing this functionality with another bot should be possible, and may well be a better use of time than developing a guidance bot which serves only a small subset of editors.Dialectric (talk) 20:00, 21 November 2018 (UTC)
    • Dialectric I can run my bot on this task to be honest but due to arbcom proceedings this has become too bureaucratic for my habbits. -- Magioladitis (talk) 20:04, 21 November 2018 (UTC)
  • I imagine this could look something akin to GuidedTours: a framework that handles the UI and editing integration, and provides hook points for Javascript callbacks which contain the actual logic of parsing the wikitext, proposing a modified version, and providing text for explaining the changes. --Tgr (talk) 05:49, 25 November 2018 (UTC)


  •   Support SEMMENDINGER (talk) 19:15, 16 November 2018 (UTC)
  •   Support Liuxinyu970226 (talk) 03:42, 17 November 2018 (UTC)
  •   Support Freshman404Talk 07:00, 17 November 2018 (UTC)
  •   Support ديفيد عادل وهبة خليل 2 (talk) 09:18, 17 November 2018 (UTC)
  •   Support Libcub (talk) 10:21, 17 November 2018 (UTC)
  •   Support Like tears in rain (talk) 11:12, 17 November 2018 (UTC)
  •   Support Students are an excellent demographic to target with support and as a group they really do have these unusual challenges continually. Blue Rasberry (talk) 15:50, 17 November 2018 (UTC)
  •   Support Theklan (talk) 18:07, 17 November 2018 (UTC)
  •   Support This sounds as if it would be helpful. If we could test what effects the prompts have, that would be good, too. HLHJ (talk) 21:07, 17 November 2018 (UTC)
  •   Support Marcelo9987 (talk) 00:01, 18 November 2018 (UTC)
  •   Support Temp3600 (talk) 05:41, 18 November 2018 (UTC)
  •   Support Hydriz (talk) 14:23, 18 November 2018 (UTC)
  •   Support This would make our job a lot easier as editors, and save our mouse from clicking the rollback button millions of times. Redactyll (talk) 19:49, 18 November 2018 (UTC)
  •   Support Shizhao (talk) 02:38, 19 November 2018 (UTC)
  •   Support Waddie96 (talk) 07:40, 19 November 2018 (UTC)
  •   Support Zeromonk (talk) 09:56, 19 November 2018 (UTC)
  •   Support Emptyfear (talk) 15:53, 19 November 2018 (UTC)
  •   Support As educational efforts expand, this tool is needed to scale. Doc James (talk · contribs · email) 03:54, 20 November 2018 (UTC)
  •   Support مصعب (talk) 18:15, 20 November 2018 (UTC)
  •   Support Mounir Touzri (talk) 18:43, 20 November 2018 (UTC)
  •   Support Thekidpossum (talk) 18:48, 20 November 2018 (UTC)
  •   Support Vami IV (talk) 19:06, 20 November 2018 (UTC)
  •   Support Andrewredk (talk) 20:17, 20 November 2018 (UTC)
  •   Support Enwebb (talk) 21:38, 20 November 2018 (UTC)
  •   Support Potentially, as a userscript, this kind of thing could be installed automatically by the Wiki Education Dashboard when a student editor joins a course. It'd be a nice way to validate the concepts of just-in-time feedback that we (Wiki Education) want to build into the core editing experience eventually. Sage (Wiki Ed) (talk) 23:17, 20 November 2018 (UTC)
  •   Support Novak Watchmen (talk) 23:58, 20 November 2018 (UTC)
  •   Support Gbear605 (talk) 02:49, 21 November 2018 (UTC)
  •   Support Shypoetess (talk) 05:14, 21 November 2018 (UTC)
  •   Support Satdeep Gill (talk) 05:52, 21 November 2018 (UTC)
  •   Support Saung Tadashi (talk) 22:43, 21 November 2018 (UTC)
  •   Support Smjalageri (talk) 12:43, 23 November 2018 (UTC)
  •   Support Mbrickn (talk) 07:03, 24 November 2018 (UTC)
  •   Support Hmxhmx 10:01, 24 November 2018 (UTC)
  •   Support Downtowngal (talk) 04:02, 25 November 2018 (UTC)
  •   Support By erdo can • TLK 09:09, 25 November 2018 (UTC)
  •   Support Ranjithsiji (talk) 22:38, 25 November 2018 (UTC)
  •   Support — AfroThundr (u · t · c) 01:50, 26 November 2018 (UTC)
  •   Support Dreamy Jazz (talk) 08:49, 26 November 2018 (UTC)
  •   Support //Hannibal (talk) 12:43, 26 November 2018 (UTC)
  •   Support Why has it taken us this long to come up with this? Daniel Case (talk) 21:37, 26 November 2018 (UTC)
  •   Support PJTraill (talk) 01:20, 27 November 2018 (UTC)
  •   Oppose Ciao • Bestoernesto 00:59, 28 November 2018 (UTC)