[drupal-devel] [task] taxonomy: make node type a separatw table

tangent drupal-devel at drupal.org
Tue Jan 18 22:36:21 UTC 2005

 Project:      Drupal
 Version:      cvs
 Component:    taxonomy.module
 Category:     tasks
 Priority:     normal
 Assigned to:  killes at www.drop.org
 Reported by:  killes at www.drop.org
 Updated by:   tangent
 Status:       patch

That's true about the terms versus vocalulary. My bad. I guess I'm still
getting used to the whole taxonomy system.


Previous comments:

March 31, 2004 - 18:33 : killes at www.drop.org

Attachment: http://drupal.org/files/issues/taxo_0.diff (4.7 KB)

I wanted to add caching by a static variable to
taxonomy_get_vocabularies(). While I was doing this, I remembered a
discussion about putting the node types in their own table and
the patch to do this.
A problem is that all selects on the vocabulary table will no longer
contain the node types. Does anybody know of where this might cause
problems? taxonomy_get_vocabularies() will also not return the node
if called without parameter. I solved the only problem I found that
was caused by this.

The patch is incomplete, it does not contain update information and
database schemes. It also isn't tested. I'd like to get some feedback
on the implementation.


August 12, 2004 - 10:40 : killes at www.drop.org

Doesn't apply anymore.


January 18, 2005 - 15:50 : killes at www.drop.org

Attachment: http://drupal.org/files/issues/taxo_1.diff (9.33 KB)

I've updated the patch, but the upgrade path is still missing.

Related issues:



January 18, 2005 - 16:48 : killes at www.drop.org

Attachment: http://drupal.org/files/issues/taxo_2.diff (11.11 KB)

Removed static caching, addedupgrade path.


January 18, 2005 - 17:20 : killes at www.drop.org

Attachment: http://drupal.org/files/issues/taxo_3.diff (11.09 KB)

New version. Removes taxonomy_get_vocab_by_name. Wasn't used.


January 18, 2005 - 17:23 : tangent

Are you sure no modules use get_vocab_by_name? I know that the
mailhandler module allows specifying a taxonomy by name instead of by


January 18, 2005 - 17:29 : killes at www.drop.org

Yes, I am sure. grep is my friend. To be honest: metatags module uses
it, but that isn't really maintained.
mailhandler lets users add taxo _terms_ by name not vocabs.

View: http://drupal.org/node/6847
Edit: http://drupal.org/project/comments/add/6847

More information about the drupal-devel mailing list