Closed (fixed)
Project:
Diff
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
23 Jun 2007 at 20:02 UTC
Updated:
9 Mar 2008 at 11:33 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dwwI'm happy to see us gather notes on what needs to happen. However, to avoid much trouble and badness, I'd strongly encourage that no one actually tries to roll a patch until http://drupal.org/node/125494 is done and committed. Otherwise, we're just going to make a ton more work for ourselves.
Comment #2
wayland76 commentedI note that patch is now marked as fixed. I'll take the liberty of marking this "active"
Comment #3
Freso commentedSubscribing.
Comment #4
rötzi commentedI did a first port to Drupal 6. I didn't do extensive testing yet but the normal use was OK.
The changes are mostly the use of the new menu and forms system.
Also I moved the theme functions from the DiffEngine file to the module file.
And I removed the "requirements" check as this was only done to hijack the node menu item which is now done through menu_alter.
The patch applies to the DRUPAL-6--1 branch (which is a copy of the DRUPAL-5--2-0-RC2 branch)
Comment #5
moshe weitzman commentedVery nicely done rötzi. the code looks like splendid cleanup. if someone can verify that this works, i'll commit it. i'll try to get to it if noone else does.
Comment #6
Freso commentedThe "po" dir needs to be renamed/moved to "translations".
I actually wanted to do a review of this today, but never got around to it. C'est la vie. I'll probably try to get around to it tomorrow or during the weekend, if not moshe or someone else beats me to it.
Comment #7
rötzi commentedI did set up my test-page again with Drupal 6. The diff module works there as expected, you can see for yourself: http://test.tschannen.net/node/8/revisions
I think we can just commit the patch if no one objects.
Comment #8
Freso commentedI'm getting two notices, and , when viewing a node (both with and without revisions) with Diff enabled. Disabling Diff makes these disappear.
Those two notices also appear on the revisions tab, along with .
Finally, when actually viewing a diff, I'm getting a bunch (32!) of , as well as some where the line number is 197 (3 instances), 198 (3), and 428 (8).
Edit: This is on a fresh install of Drupal 6(-1-dev, fresh from CVS), with only CVS Deploy enabled, apart from the default D6 modules. PHP 5.2.5 (w/ Suhosin), Apache 2.2.8, and PostgreSQL 8.0.15.
Comment #9
rötzi commentedI fixed the notices now and commited the patch. Also I did a development release which will be up soon.
In addition, I removed the diff.install file. The file is not needed anymore as the menu hijacking is now done in menu_alter and does not depend on the node weights anymore.
Comment #10
Anonymous (not verified) commentedThe release seems to work here. There is only one thing left: #226040: Rename "po" to "translations"
Would be nice to release this as a first stable version, because it is a very useful module for website administrators.
Comment #11
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.