Any chance to get an upgrade for Drupal 7? I need this module for a wiki (yes, I know I culd use D6; indeed, I have a D6 version of my site too).
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | diff-d7.patch | 25.39 KB | pkiraly |
| #4 | diff-d7.patch | 21.12 KB | pkiraly |
| #1 | diff-d7.patch | 21.12 KB | pkiraly |
Comments
Comment #1
pkiraly commentedHi,
during the drupal codesprint yesterday in Budapest I've created a patch, which creates D7 version from the D6 version.
Péter
Comment #2
pkiraly commentedthanks for chx, who helped me to create this patch
Comment #3
chx commentedComment #4
pkiraly commentedone more time...
Comment #5
pkiraly commentedmodifications according to chx's critiques
Comment #6
naught101 commentedsubscribing.
By the way, Moshe already created a d7 dev version in 2008(!). I've no idea if it works or not, I haven't tried... http://drupal.org/node/20492/release?api_version[]=103
Comment #7
David Latapie commentedThank you guys for this. I don't know how to test patches (plus, I am somewhat reluctant with them), so I will quietly wait for a dev module to be released.
Comment #8
coderintherye commentedsubscribing so I can remember to review this patch.
Comment #9
SeanBannister commentedSub
Comment #10
BenK commentedHey everyone,
I've just finished testing the patch in #5. The patch applied fine to HEAD and I'm getting all of the normal options one a node's revision page. But when trying to run a diff on revisions of a node, I'm getting the following error messages:
Warning: htmlspecialchars() expects parameter 1 to be string, array given in check_plain() (line 1500 of /home/sandboxes/sandbox11/drupal/includes/bootstrap.inc).
Notice: Undefined property: stdClass::$has_body in node_diff() (line 20 of /home/sandboxes/sandbox11/drupal/sites/all/modules/diff-HEAD/node.inc).
Notice: Undefined property: stdClass::$has_body in node_diff() (line 20 of /home/sandboxes/sandbox11/drupal/sites/all/modules/diff-HEAD/node.inc).
Additionally, the diff is reporting "No visible changes" even though I specifically created some changes for testing purposes.
Any ideas on how to fix?
Thanks,
Ben
Comment #11
BenK commentedFor anyone else who can help with testing, this is all you need to do:
1. Checkout a copy of HEAD via CVS. Use this command:
cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib checkout -d diff-HEAD contributions/modules/diff/
2. Download a copy of the patch to the main module folder. To do this, navigate to the diff-HEAD folder and then use this command:
wget http://drupal.org/files/issues/diff-d7_1.patch
3. Patch the files. From the same folder, use this command:
patch -p0 < diff-d7_1.patch
--Ben :-)
Comment #12
yhahn commentedInitial merge of DRUPAL-6--2 to DRUPAL-7--2 complete and tagged here: http://drupal.org/node/907118
I expect that there are plenty of bugs, so please do plenty of testing, reviewing and patching!