WikiEduDashboard
WikiEduDashboard copied to clipboard
On-wiki training slide with quiz doesn't include complete question prompt
Here's a quiz slide: https://outreachdashboard.wmflabs.org/training/editing-wikipedia/plagiarism/close-paraphrasing-quiz
The wiki source page includes a quoted passage which does not show up on the Dashboard: https://meta.wikimedia.org/wiki/Training_modules/dashboard/slides/11511-close-paraphrasing-quiz
This may be a bug in WikiSlideParser, or somewhere else along the path to loading training content from a wiki page.
@omChauhanDev would you like to take a look at this?
yes, I will surely dive into this. Just few things left in a commit i am currently working on after that i will try to fix this.
Sir, using 'rails console' i tried parsing that "wiki_page of quiz slide" with the help of our wiki_slide_parser :
Then after seeing the parsed content i figured out that "passage" is not parsed by our wiki_slide_parser, as clearly visible in the image below :
Hi @ragesoss I'll be working on this
@ragesoss
On running locally I see the passage
But on the production it doesn't have
Interesting! I wonder what is going on here.
Interesting! I wonder what is going on here.
- What should be my next approach to dive deep into that and figure out what's the exact issue?
- Moreover is there any other beginner friendly issue which I can look into to get familiar with the project
I'm not sure. My next step would probably be to trace through all the code that interacts with this and see if there are any behavior differences I can notice.
This same slide also exists in .yml form, so you should confirm that you loaded it from wiki (that is, loaded it while in Wiki Education false mode, using the 'reload from source' button on the module index page), but if that's the case, I can't see an obvious reason why it would behave differently for you locally.
reload from source' button on the module index page
Where can I find the 'reload from source' button and the module index page, I am not sure about this
Click the module name in the training navbar to go to the index page, then look for the link at the end of the slide list.
Click the module name in the training navbar to go to the index page, then look for the link at the end of the slide list.
where sir?
When you're in wiki_education: false mode, it should appear below the last slide.
Sorry, I left out the false bit in my earlier post.
I am confused a bit I am running on wiki_education: 'false' as the link is given of outreachdashboard and I dont see the Reload from source button there as in the screenshot
Ah, the link only appears if the module has a 'wiki_page' prop, so if you loaded it initially from yml, it doesn't appear. you can manually initiate a reload of that module as well. Check out the user_roles.md doc at the end.
I am getting Duplicate TrainingModule slug detected: editing-basics this on /reload_trainings?module=wikipedia-essentials
I am trying to manually initiate the reload so that I can reproduce the error
You can delete all the training content via a rails console to get around the duplicate module problem.