Download & Extend

Changing the /freelinking namespace

Project:freelinking
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Where we use freelinking, it's useful to be able to point freelinks to something other than the /freelinking namespace. The attached patch accomplishes this and I think others would also find it useful. In our case, we are using it with Wikitools which is taking over /freelinking URLs anyway. We prefer to keep the namespace more generic to the purpose (/wiki) than the implementationi (/freelinking) and I imagine that may be useful with or without the Wikitools module.
-N

AttachmentSize
freelinking-namespace.patch2.43 KB

Comments

#1

how to port this patch to 6.x-1.7?
really need for it

#2

ah. found how to edit this path: look at lines 479 and 487

479        $replacement = l(html_entity_decode($phrase), 'wiki/' . rawurlencode($freelink), array('attributes' => array('class' => 'freelinking')));
487      $replacement = l($wikiword, 'wiki/' . urlencode($wikiword), array('attributes' => array('class' => 'freelinking')));

#3

Version:5.x-1.2» 5.x-1.x-dev
Status:needs review» needs work

This change is postponed for 6.x-1.x, possibly indefinitely. Please focus feature needs for 6.x towards FL3.

The patch needs to be rerolled against 5.x-1.x-dev, at which point I'm willing to commit it to -dev for community testing. I do not run Drupal 5 and do not have time to provide proper support for it.

#4

Status:needs work» closed (fixed)
nobody click here