Closed (fixed)
Project:
interwiki
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
26 Nov 2006 at 03:14 UTC
Updated:
4 Mar 2007 at 19:39 UTC
Jump to comment: Most recent file
I copied the HEAD version of interiki into a test site I'm setting up. The test site is converted from one of my existing (4.7.4 based) sites. That site already had interwiki configured, with a couple additional specifications.
The settings page for interwiki doesn't appear anywhere that I can find.
However, if I enable it as a filter in the Filtered HTML input format, the additional specifications I've used do work.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | interwiki-5.patch.txt | 10.8 KB | sugree |
Comments
Comment #1
sugree commentedI have just made a patch for Drupal 5.0 and also added technorati.
Comment #2
reikiman commentedI tried applying this patch. I appreciate that you added the rel= support I'd posted a long time ago.
Anyway it works okay EXCEPT that clicking on the ADD link only brings me back to the interwiki admin screen. The ADD link does have what appears to be a correct URL
...admin/settings/interwiki/add
Which is the URL that shows in the location bar. I notice that while you changed the path for settings/interwiki/add you didn't change the callback.
Comment #3
reikiman commentedAlso, I had picked up this definition from somewhere:
rfc: http://www.ietf.org/rfc/rfc$1.txt
May want to add some for services like del.icio.us or flikr or...?
Comment #4
sheldon rampton commentedOK, I applied the patch. There were some things that needed fixing (including the problem with the add link that reikiman noticed), but I think I've got it working now. I've updated the HEAD version of interwiki to 5.0 and will create a Drupal 5 branch for it as soon as the following two things happen:
(1) I'd appreciate it if someone other than myself could tries out the HEAD version and confirms that it's working OK in 5.0.
(2) I'd also appreciate it if someone can explain to me how the hell you create a new branch for a module. The only thing I use CVS for is updating this Drupal module, and it's been 7 months since the last time I did it. I find CVS confusing as hell, and a couple of years ago I made a mistake with a CVS that messed up a whole bunch of other peoples' contributed modules. I'd prefer not to make that sort of mistake again.
Comment #5
sheldon rampton commentedOK, I figured out how to branch it to Drupal 5.
Comment #6
JHeffner commentedIt's very close.. It still doesn't run for me and doesn't allow new items to be added. I'm running under php4.
Comment #7
sheldon rampton commentedThat's not enough information to tell me if there's a problem. Are you getting an error message when you install it? It runs fine for me on a test site that I created (also running PHP 4).
If you want to add new items, the path is admin/settings/interwiki
It you want to enable interwiki for a particular input format, the path is admin/settings/filters
and then select "configure" for the input format that you want to use interwiki.
If that's not working for you, please tell me where it isn't working.
Comment #8
JHeffner commentedI'm converting from a drupal 4.7 site. The page admin/settings/interwiki doesn't display any input filters and when I try to add a new filter at admin/settings/interwiki/add it takes me back to the listing and does not add it. The list is completely blank and no listings are in the table. Also no content using the interwiki filters is being translated.
Comment #9
sheldon rampton commentedHave you given yourself the appropriate user permission to be able to administer interwiki?
If that doesn't fix things for you, shoot me an email at sheldon AT prwatch.org. I might need to have you give me temporary administrative access to your site in order to troubleshoot further.
--Sheldon
Comment #10
JHeffner commentedI'm logged in as admin already. I took a look and found that the database schema changed between versions. The field iw_rel char(32) was added. There doesn't seem to be an update script from the previous version, as I tried the full upgrade several times now. I added the field manually and it works perfectly. Sorry if I didn't give enough information at first.
Comment #11
sheldon rampton commentedThat's perfectly understandable. Thanks for letting me know what was happening. I guess I have to figure out how to write an update script.
Once I get it written, would you be able to test it for me?
--Sheldon
Comment #12
JHeffner commentedSure can.. I have quite a few modules that I need to update yet so I will be importing this site several times into development until I have all the issues worked out. Thanks again.
Comment #13
sheldon rampton commentedOK, I think I've got the update working now, and I've uploaded the change to both HEAD and DRUPAL-5 in CVS. Let me know if you have any problems with it.
It looks to me like the installer may fail on Drupal sites that use pgsql instead of mysql. Unfortunately, I don't know pgsql so I'd need someone's help to fix this. Volunteers?
Comment #14
JHeffner commentedI tried it this morning and it updated perfectly. good job!
Comment #15
sheldon rampton commented