CVS edit link for karmakaze

I have developed two wiki input format modules for WikiCreole and MoinMoin syntax, wish to share them with the community, get feedback and make improvements, and hopefully some other developer involvement.

Comments

avpaderno’s picture

Hello, and thanks for applying for a CVS account.

There are already projects hosted in Drupal.org repository that implement a Wiki-like input format; as reported in Apply for contributions CVS access, the proposed project must not duplicate the work done in existing projects (duplicating work doesn't mean the code is duplicate).

karmakaze’s picture

Yes, I'm aware of the other Wiki-like input filter implementations. I tried them, found them somewhat lacking. PearWiki recommends using FlexiFilter. After trying FlexiFilter discovered it is more of a toolkit than a complete wiki markup implementation. Markdown is close but it's feel is not very quick wikiwiki-like. The best wiki languages I found were MoinMoin and WikiCreole which is aimed to be a common sub-dialect markup among many wiki engines. If you would like more information, please don't hesitate to contact me.

Thank you,
Keith Kim

avpaderno’s picture

Yes, I'm aware of the other Wiki-like input filter implementations.

Why then didn't you open feature requests for the existing project (for the features you think are missing on those projects), or didn't you offer to become co-maintainer of one of those projects? As reported in Apply for contributions CVS access, the proposed module should not duplicate work of existing projects.

Looking for any projects that implement a Wiki-syntax input filter, I found at least the following ones:

  1. http://drupal.org/project/twikifilter
  2. http://drupal.org/project/mediawiki_api
  3. http://drupal.org/project/mediawiki
  4. http://drupal.org/project/interwiki
karmakaze’s picture

Each of the four projects you have listed perform a specific function well within their intended scope. Since I, and likely others choose to integrate a Drupal CMS where other wiki software is already in use other options are valuable. I did not see any filter that was close to the MoinMoin or WikiCreole syntax we need for our purposes. It seems rather clear to me that you already permit four different wiki syntax filters and all I'm asking is to share an implementation for another syntax. MoinMoin and WikiCreole are not fringe cases but rather popular or increasingly so. If this situation is not clear in the minds of drupal.org admins, please just say so, I'll host my software elsewhere and you can stop wasting my time.

karmakaze’s picture

Here's what I've found for the existing Wiki-syntax input filter projects:

1. twikifilter
- There was already a feature request for an alternate wiki syntax. The issue was closed indicating that it is outside the scope of the project.

2. mediawiki_api and 3. mediawiki
- These two projects integrate with an existing MediaWiki installation and uses MediaWiki code for formatting. Not a good fit for implementing a different markup.

4. interwiki
- This project is specifically for markup between wikis and is designed to be used in conjunction with a wiki markup filter.

I wasn't able to find any other appropriate projects which covered the scope of the module I already have developed. I have found others looking for alternatives to the now unmaintained PearWiki filter.

avpaderno’s picture

@karmakaze: Thanks for the time you took to explain the motivation of creating the proposed modules.

If you attach one of the proposed modules, we can follow with the code review; keep in mind we review just a module / theme per applicant.

karmakaze’s picture

StatusFileSize
new16.7 KB

Attached is the module implementing the wiki Creole input filter for Drupal 6.x. Please let me know if any other information is needed to continue with this process. Thanks, Keith Kim.

avpaderno’s picture

Status: Postponed (maintainer needs more info) » Needs review
Issue tags: +Module review

I am adding the review tags, and some volunteers will review the code, and point out what needs to be changed.

avpaderno’s picture

Status: Needs review » Needs work
  1. The code can be only released under the same license used by Drupal. When you clicked to apply for a CVS account, you clicked on a checkbox which said that you agreed on committing only code released under GPL License v2.
  2. The debug code should be removed.
  3. 	if ($long) {
    	  return 'Wiki Creole markup input filter';
    	}
    	else {
    	  return 'Wiki Creole markup input filter';
    	}
    

    The returned strings should be translated.

  4. See http://drupal.org/coding-standards for how the code should be formatted, and which character is used for indentation.
  5. strlen(), and substr() should be replaced by drupal_strlen(), and drupal_substr().
karmakaze’s picture

StatusFileSize
new16.67 KB

Thanks for the concise list of required changes, each of which have been addressed in the attached version. Please let me know if there's any outstanding issues or how to proceed with module submission.

avpaderno’s picture

Status: Needs work » Fixed
version = "6.x-0.2.1"
core = "6.x"
project = "creole"
datestamp = "1267548900"

Those lines must be removed from the file, as they are added from the packaging script; having two copies of those lines just confuse the code that verify if an update is available.

A function declaration is written as

function creole_process_links($text) {

The curly bracket is always inline with the keyword function.

Thank you for your contribution! I am going to update your account.
These are some recommended readings to help with excellent maintainership:

You can find more contributors chatting on the IRC #drupal-contribute channel. So, come hang out and stay involved.
Thank you, also, for your patience with the review process.
Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.

I thank all the dedicated reviewers as well.

karmakaze’s picture

Title: karmakaze [karmakaze] » CVS login does not work
Status: Fixed » Active

Hi,

I have followed the directions for starting to use CVS and it is not working.
1. did export CVSROOT=...
2. set CVS password in account settings which said "Your CVS password has been updated successfully."
3. entering "cvs login" then entering my CVS password results in the following message:

Logging in to :pserver:karmakaze@cvs.drupal.org:2401/cvs/drupal-contrib
CVS password:
cvs login: authorization failed: server cvs.drupal.org rejected access to /cvs/drupal-contrib for user karmakaze

Could you let me know what the problem might be here?
Thanks, Keith.

avpaderno’s picture

Title: CVS login does not work » karmakaze [karmakaze]
Status: Active » Fixed

When you update your password for the CVS account, you need to wait 30 minutes for the change to be propagated to the CVS server.

If that doesn't resolve your problem, then it is better you open a support request in queue Drupal.org server administrators; this queue is not followed by server administrators, who can help you with similar issues.

Status: Fixed » Closed (fixed)
Issue tags: -Module review

Automatically closed -- issue fixed for 2 weeks with no activity.

avpaderno’s picture

Component: Miscellaneous » new project application
Assigned: Unassigned » avpaderno
Issue summary: View changes