Changing the /freelinking namespace
nschelly - November 13, 2007 - 16:35
| Project: | freelinking |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
Jump to:
Description
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
| Attachment | Size |
|---|---|
| freelinking-namespace.patch | 2.43 KB |

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