Hey guys,
I love this project. I was wondering if there are any plans to do a D7 port of this one?
Thanks! Varun
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | mediawiki_filter.zip | 1.93 MB | varunarora |
Hey guys,
I love this project. I was wondering if there are any plans to do a D7 port of this one?
Thanks! Varun
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | mediawiki_filter.zip | 1.93 MB | varunarora |
Comments
Comment #1
varunarora commentedHey guys,
Realizing that this project does not have any current maintainer, I tried to give porting a shot myself - hoping it wouldn't be too big of a deal.
I made changes to the major hooks and function issues between D6 and D7, but hit my head against several other errors. The most popular of them being:
Fatal error: Cannot redeclare class Database in /var/www/opencurriculum/sites/all/modules/mediawiki_filter/mediawiki_filter.classes.inc on line 110
Now, I do not understand this module very well - nor do I think I have the time to. Also, I am not a genius PHP coder - so I wish to request whoever can work on it - to please resolve these bugs so we can use it. To encourage you to start off, I am attaching my D7 port attempt.
Thank you!
Varun
Comment #2
asb commentedHi Varun,
thank you for your work on porting
mediawiki_filterto D7; as D7 matures, there will definitely come a time where we need to think about porting the module.But first things first, currently our priority is to evolve from the sandbox niche and get an official release out. This requires an review process which just has been initiated (Drupal.org project application). For the time being this means that we will have to live with the current D6 code.
Greetings, -asb
Comment #3
Thoul commentedI've been working on a Drupal 7 port based on a May 23, 2012 snapshot. I'm planning to implement a D7 wiki setup on a site and mediawiki_filter seems to be one of the best solutions for having features I want, even if I did have to rework some things for D7 compatibility.
I'm still working out some of the kinks because this is the first time I've worked with Drupal at all. But, if there's an interest I could share what I've done. It might save others some time in redoing queries later on, if nothing else.
Comment #4
joachim commented> Fatal error: Cannot redeclare class Database in /var/www/opencurriculum/sites/all/modules/mediawiki_filter/mediawiki_filter.classes.inc on line 110
Quite simply, this is because D7 now has its own Database class:
This probably needs to be resolved with PHP namespaces, which I understand is the way round this sort of problem.
Comment #5
janis_lv commentedI'm waiting for a d7 port too.
Comment #6
asb commentedDon't get your hopes up. The goal of the project application was to get full project status with a reliable, feature-complete module for D6 and then start planning for the D7 port. At the time this seemed managable as the module was coded by skilled professionals (at ETH Zürich, and used by Origo). However, we learned that d.o plays by it's own rules and is fortified with a sealed-tight bureaucracy, so those who had better things to do left.
As of today, MediaWiki Filter is a D6-only project without full project status (meaning, for example, it isn't supported by 'Update Status', and it can't be installed easily through drush). There are no maintainers working on a D7 version (the same applies the Mediawiki Filter's predecessor, 'Pear Wiki Filter'). The companies that developed respectively sponsored the D6 version have lost interest in Drupal or moved to other CMS.
If someone wants a D7 version, it needs to come from the community.
Comment #7
joachim commented> However, we learned that d.o plays by it's own rules and is fortified with a sealed-tight bureaucracy
If you're talking about project applications, then I'm not sure what you mean. d.org project applications are swamped. We have too many applications, not enough reviewers. There is a big dilemma over how to balance dealing with the volume, so we don't leave people waiting and frustrate new contributors, and impose some sort of quality control so we don't flood d.org with dross. I'm sorry you've found the process difficult.