Introducing a Wiki Like Input Format

Events happening in the community are now at Drupal community events on www.drupal.org.
nileshgr's picture

Hi,

I don't think there is any clean implementation of a wiki-like format for drupal.
And yes I know about flexifilter and customfilter, both of which didn't work for me.
I am developing a module for the same and am seeking partners for the module.

A large part of it is already over, except for implementation of Lists and NoWiki things.

So any volunteers ?

Comments

I'm no developer, so I don't

no2e's picture

I'm no developer, so I don't understand/know what exactly you need, but it might help:

Do you know the Creole project? http://www.wikicreole.org/
They created a wiki syntax:

Creole is a common wiki markup language to be used across different wikis. It's not replacing existing markup but instead enabling wiki users to transfer content seamlessly across wikis, and for novice users to contribute more easily

Maybe you could use this?

nice syntax

nileshgr's picture

creole syntax is nice, i am thinking of changing the parser to comply with creole.
Current format is derived from google code wikisyntax because I needed it for a project.
what do you suggest ? keep google code wikisyntax or move to creole ?

markup cool but...

liquidcms's picture

I've just started building a Wiki for my client and pretty surprised how little is available in Drupal for this. I have started piecing things together with Custom Filter (which seems to work well); but my client is suggesting (and rightfully so) that no one in this day and age uses markup language we all use wysiwyg editors (i wish i worked with same people she works with since my work mates still insist on VI as their plain text email editor.. lol.. but i digress)...

.. so my point being that i think 2 parts to this are required.. both a defined set of Wiki markup commands implemented as a filter; but also toolbar integration of these in standard wysiwyg editors (ideally toolbars were managed by the wysiwyg module and therefore not required to be done for each js editor out there.. but doubt we have gotten to that point yet).

one other bit to add to this is that my client's site is OG based.. and therefor some amount of OG aware knowledge is required by the filters.

For Example:

i use OG, Custom Filters, Wikitools and Pathauto modules

OG - gives me communal access to a node type ("wiki"); i consider this defining rule #1 for a wiki
Wikitools gives me the ability to pre-insert links into text and when a user selects the link, if node doesn't exist, they are presented with option to create - defining wiki rule #2

all the rest is usability..

custom filter lets me add this in a page [.[.[.Title of My Page.].].] (no . just used so not filtered)

and it creates this link in my document: /wiki/title-of-my-page?gids[]=142 where 142 is the gid of current group - wikitools doesn't mind the ?gids[]=142 and std OG ensures this wiki post belongs to my group.

and pathauto setting for wiki pages of: wiki/[title-raw]-[og-id] so that i don't have issues when each group tries to make a page called "Page 2"

not sure all the bits i have missing; but i think something that creates/manges breadcrumbs is main missing piece and, of course, toolbar icons to access things like wikilinks insertion.

i ain't good at js

nileshgr's picture

first lets build the format parser !
also I ain't good at javascript. so don't hope from me of an addon for wysiwyg.

wysiwyg editors can be used to post content, even I was using on my site, but when it came to code highlighting, it started creating problems.
some wysiwyg seem to have some syntaxhighlighter plugins, but it supports limited languages, also js can freeze the browser if the client machine is low on CPU or RAM.

geshifilter rocks, it supports a large no. of languages for syntax highlighting and hence i switchted to bbcode and geshifilter.
I was asked to create a wiki-like site. I prefer drupal most of all the cmses out there on the web for its efficiency, modules, and support community. but something was missing- a wiki input format. it is there for D5 but not for mainstream - D6 or D7, so I am working on it.

I'd like to get some volunteers to help me out.

Anyway, I've stopped its

nileshgr's picture

Anyway, I've stopped its development because PEARWiki with WikiCreole does the job. I don't believe in reinventing the wheel, and that's the very reason I use Drupal instead of developing my own CMS.

I'm moving to Drupal (if I can)

gabedutton's picture

Hy, I am new to Drupal. I started a wiki site for church worship resources on wikispaces.com and my friend suggested I build my own site with Drupal. Can someone point me in the right direction for BABY STEPS to setting up a Drupal Wiki site.

Here is my current wiki site. www.worshiporange.com

Please help!

help

Pilot's picture

Gabe,

Gladly. I am not an expert, but enough background/experience to act as a reference point. Write me directly at erikrdouglas at gmail dotcom if you run into problems sorting the modules out. There is not an ideal single module that does wiki per se, but you can get all the features readily enough. In fact, once you are familiar with the basic Drupal system, then ask yourself explicitly which additional features you want. Anyhow, write me for more help if it is needed.

Cheers!
Erik (Pilot)

Compared to what?

SEWilco's picture

You should describe and link to what you consider the current definition of Drupal content, so we know what you are comparing against.

SimplewWiki - provides a text filter

freescholar's picture

https://www.drupal.org/project/simplewiki

Worked like a charm - took 2 mins to install and configure

Installing SimpleWiki

  1. Download and extract the module to your sites/all/modules or wherever you are storing modules.
  2. Enable the module
  3. Create a new input format and select SimpleWiki as a filter
  4. Optionally turn on autotoc on the filter settings page

If you want, you can then create a wiki content type - or when you create a page, you can submit any content type as a wiki.

Handbook on Platform Cooperativism, a movement building platforms and tools owned by the people. http://bit.ly/hackitownit

Wiki

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: