Needs review
Project:
Wikitools
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
4 Oct 2014 at 14:08 UTC
Updated:
28 Sep 2016 at 18:00 UTC
Jump to comment: Most recent
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.
| Comment | File | Size | Author |
|---|---|---|---|
| wikitools-drupal7-port-rerolled-2014-oct-4-0002.patch | 767 bytes | gisle | |
| wikitools-drupal7-port-rerolled-2014-oct-4-0001.patch | 10.58 KB | gisle |
Comments
Comment #1
gisleSetting status.
Comment #2
beachcm65 commentedThanks 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
Comment #3
gisleAs 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.
Then (just to make sure) checkout the right branch and apply the patches.
It will work with
patch -p1instead 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.
Comment #4
beachcm65 commentedSweet! You rock, thanks.
Comment #5
mpoloskey commentedthanks... just what i needed.