The port of this module to Drupal 7 seems to have stalled at 7.x-1.0-alpha1 around 2011-Mar-11.

For what it is worth, I've cleaned up and rerolled some of the previous patches and bug fixes and this has resulted in two patches (attached) that should be applied in sequence against the HEAD of the 7.x-1.x branch. They address the following four issues.

This project looks pretty abandoned, but if somebody still want to use it, these patches may come handy.

Comments

gisle’s picture

Status: Needs work » Needs review

Setting status.

beachcm65’s picture

Thanks for the patch, but I'm new at this and having trouble getting it to work and would appreciate any help. I copied and pasted the two files above into sites/all/modules/wikitools and ran patch -p1 < wikitools-drupal7-port-rerolled-2014-oct-4-0001.patch but I got the following error:

patching file wikitools.admin.inc
patching file wikitools.info
Hunk #1 FAILED at 4.
1 out of 1 hunk FAILED -- saving rejects to file wikitools.info.rej
patching file wikitools.module
Hunk #1 FAILED at 13.
Hunk #3 FAILED at 41.
2 out of 5 hunks FAILED -- saving rejects to file wikitools.module.rej
patching file wikitools.pages.inc
[php-resultsexplorer.rhcloud.com wikitools]\>

I am using wikitools 7.x-1.0-alpha1

gisle’s picture

As written in the issue summary, the patches go against HEAD of the 7.x-1.x branch (not 7.x-1.0-alpha1 - which is a couple of commits older).

First save the patch files, remove the ancient wikitools directory, clone the right branch of the remote repo, move the patch files into the local repo, and set the local repo as your working directory.

mv wikitools/*.patch .
rm -rf wikitools
git clone --branch 7.x-1.x http://git.drupal.org/project/wikitools.git
cp *.patch wikitools
cd wikitools

Then (just to make sure) checkout the right branch and apply the patches.

git checkout 7.x-1.x
git apply -v wikitools-drupal7-port-rerolled-2014-oct-4-0001.patch
git apply -v wikitools-drupal7-port-rerolled-2014-oct-4-0002.patch

It will work with patch -p1 instead of git, put you need to have git available to clone the repo, so I prefer to use git for everything.

Hope it works out OK.

beachcm65’s picture

Sweet! You rock, thanks.

mpoloskey’s picture

thanks... just what i needed.