User login

Turn freelinking off for most content types

The Freelinking module, bless its heart, is a tad too overzealous in its attempt to linkify any words it thinks are in CamelCase.

Furthermore, it interferes with links with capitalization in them, even when the linking is applied first. Agaric considers this a bug.

Ideally one could turn freelinking off for most content types, except say your Wiki content type.

The way freelinks work may be tied too closely to Drupal's input filter functionality, though, and not easy to disable per node type.

Whatever the reason, you can't.

Resolution

For the Agaric site we really don't care about the CamelCase traditional wiki-style linking even on our wiki content type, so we went to admin/settings/freelinking and unchecked this box:

Allow CamelCase linking
If desired, you can disable CamelCase linking

Searched words: 
freelinking module CamelCase too many words restrict freelinking content type Drupal

Comments

Created issue:

Epilogue: I3IVIIVI (6:00:10

Epilogue:

I3IVIIVI (6:00:10 PM): make it stop! CamelCase linking evil!!!
I3IVIIVI (6:00:11 PM): http://agaricdesign.com/note/powertoexchange-finding-focus-launch
Dan Hak (smoothblendz) (6:01:24 PM): turn it off
Dan Hak (smoothblendz) (6:01:30 PM): its the only way
I3IVIIVI (6:01:54 PM): I did.
I3IVIIVI (6:01:56 PM): Yesterday.
I3IVIIVI (6:02:08 PM): and I just resaved the node.
Dan Hak (smoothblendz) (6:03:35 PM): grr
I3IVIIVI (6:05:59 PM): I switched input filters and saved again. That did it.
Dan Hak (smoothblendz) (6:06:16 PM): word

With the explanation: From

With the explanation:

From Drupal user escalos, http://drupal.org/user/167880

Hi, about the second comment on that post. :)

The filters will cache stuff in the DB so that it doesn't have to process it every time the article is viewed. If you want to bulk clear articles with over-zealous Camelcasing, and if you have access to your DB:

mysql> delete from {cache} where cid like 'filter%';

That line will clear all the filters in the cache. The impact is that every article will have its filters re-run on it as the article is visited.

The impact on load/processing is barely noticeable unless you have an innumerable number of nodes which will be hit at exactly the same time...

Of course Drupal has a

Of course Drupal has a solution (not just an escape, as described above):

Filter by node type module

See http://agaricdesign.com/note/set-drupal-input-filters-content-type for more.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.