Last modified: 2014-11-20 15:20:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T49381, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47381 - Add extension to show infos about a Moodle course
Add extension to show infos about a Moodle course
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Extensions requests (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-18 20:20 UTC by Jan Luca
Modified: 2014-11-20 15:20 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Jan Luca 2013-04-18 20:20:48 UTC
We should create a extension to show infos about a Moodle course.

Sumana suggested to create a mentorship programm for this. I have added a programm for this: https://www.mediawiki.org/wiki/Mentorship_programs/Possible_projects#MediaWiki-Moodle_extension

I hope that some student are interested to work on this.
Comment 1 Rohan Verma 2013-04-26 03:33:53 UTC
Hello Jan Luca, I am a student interested in GSoC and your project. I have previously worked with moodle. I am wondering if we could get into contact about this extension.

Cheers,
Rohan
Comment 2 Quim Gil 2013-05-02 23:38:04 UTC
Just a note to say that Rohan Verma has submitted a GSoC proposal related to this report: https://www.mediawiki.org/wiki/User:Clancer

Good luck!
Comment 3 Rohan Verma 2013-05-22 09:51:45 UTC
Just adding that for my proposed work, linked above by Quim, I will be using the gerrit repository: https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/extensions/Moodle

I have started research into using moodle webservices and will hopefully be able to start testing a basic extension this week. I have a question some example scripts to use Moodle webservices require curl to be included. Is it ok to simply include a copy of curl.php in my extension or does mediawiki have a specific way I should do this?
Comment 4 Jan Luca 2013-05-22 10:02:18 UTC
Hi Rohan,

there are the classes "Http" and "MWHttpRequest" to do this. You can find the source code with documentation here: https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;f=includes/HttpFunctions.php;hb=HEAD

Best regards,
Jan
Comment 5 Quim Gil 2013-09-17 16:23:12 UTC
GSoC "soft pencils down" date was yesterday and all coding must stop on 23 September. Has this project been completed?
Comment 6 Quim Gil 2013-10-22 19:40:00 UTC
If you have open tasks or bugs left, one possibility is to list them at https://www.mediawiki.org/wiki/Google_Code-In and volunteer yourself as mentor.

We have heard from Google and free software projects participating in Code-in that students participating in this programs have done a great work finishing and polishing GSoC projects, many times mentores by the former GSoC student. The key is to be able to split the pending work in little tasks.

More information in the wiki page. If you have questions you can ask there or you can contact me directly.
Comment 7 Nemo 2013-11-07 09:11:43 UTC
(In reply to comment #6)
> We have heard from Google and free software projects participating in Code-in
> that students participating in this programs have done a great work finishing
> and polishing GSoC projects, many times mentores by the former GSoC student.
> The key is to be able to split the pending work in little tasks.

The extension has no merged patches yet. For that, at the very least the initial one should be merged first, I guess (Jan?). https://gerrit.wikimedia.org/r/#/c/75109/5
It doesn't seem so reasonable for google code-in tasks to include e.g. function documentation amendments of open patches, but who knows.
Comment 8 Bawolff (Brian Wolff) 2013-11-07 14:03:12 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > We have heard from Google and free software projects participating in Code-in
> > that students participating in this programs have done a great work finishing
> > and polishing GSoC projects, many times mentores by the former GSoC student.
> > The key is to be able to split the pending work in little tasks.
> 
> The extension has no merged patches yet. For that, at the very least the
> initial one should be merged first, I guess (Jan?).
> https://gerrit.wikimedia.org/r/#/c/75109/5
> It doesn't seem so reasonable for google code-in tasks to include e.g.
> function
> documentation amendments of open patches, but who knows.

I agree that this extension would not be good for google code in.
----

I merged said patches, since gsoc over, and we should integrate work done in the repo (Trying to develop entire extensions in a single gerrit patch never works well anyways)
Comment 9 Bawolff (Brian Wolff) 2013-11-07 14:08:36 UTC
So things that were brought up on code review that have yet to be done:
*inappropriate use of globals $wgUser
*Needing to use Doxoygen comments
*$dbw->begin(); and $dbw->commit(); arround things that don't need to be in a transaction

There's also other obvious things
*Still testing code in with in
*Extension is functionally incomplete
*Use $wgExtensionAliasesFiles to include the alias file
*There's some example code that is copied verbatim, which needs to modified.
Comment 10 Quim Gil 2013-11-07 14:57:28 UTC
But maybe some of these tasks are indeed potential GCI candidates? We don't need to put the responsibility of finishing the extension to GCI students but maybe we could promote some obvious (for an experienced contributor) tasks that would get us closer to a RESOLVED FIXED.

Rohan, what do you think? Would you like to help mentoring some of these tasks? Other former GSoC students are volunteering as GCI mentors now.

Any other takers?
Comment 11 Andre Klapper 2014-01-21 12:59:33 UTC
Rohan: Could you please answer comment 10?
Comment 12 Andre Klapper 2014-02-26 15:47:21 UTC
Rohan: Could you please answer comment 10?
Comment 13 Andre Klapper 2014-11-20 15:20:16 UTC
Rohan Verma: Could you please answer comment 10?

Also, I am resetting the assignee of this issue to default because there has been no signs of progress for the last months. Feel free to assign it to yourself again when you plan to work on this. Thanks for your understanding.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links