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.

CommentFileSizeAuthor
#1 interwiki-5.patch.txt10.8 KBsugree

Comments

sugree’s picture

Assigned: Unassigned » sugree
Status: Active » Needs review
StatusFileSize
new10.8 KB

I have just made a patch for Drupal 5.0 and also added technorati.

reikiman’s picture

I 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.

reikiman’s picture

Also, 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...?

sheldon rampton’s picture

OK, 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.

sheldon rampton’s picture

OK, I figured out how to branch it to Drupal 5.

JHeffner’s picture

It's very close.. It still doesn't run for me and doesn't allow new items to be added. I'm running under php4.

sheldon rampton’s picture

That'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.

JHeffner’s picture

I'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.

sheldon rampton’s picture

Have 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

JHeffner’s picture

I'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.

sheldon rampton’s picture

That'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

JHeffner’s picture

Sure 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.

sheldon rampton’s picture

OK, 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?

JHeffner’s picture

I tried it this morning and it updated perfectly. good job!

sheldon rampton’s picture

Status: Needs review » Closed (fixed)