[wp-trac] Re: [WordPress Trac] #3723: Tagging

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 14 23:27:22 GMT 2007


#3723: Tagging
-------------------------+--------------------------------------------------
 Reporter:  ryan         |        Owner:  ryan
     Type:  enhancement  |       Status:  new 
 Priority:  normal       |    Milestone:  2.2 
Component:  General      |      Version:  2.1 
 Severity:  normal       |   Resolution:      
 Keywords:  tags         |  
-------------------------+--------------------------------------------------
Comment (by Otto42):

 Replying to [comment:35 markjaquith]:
 > Because link cats and post cats are in the same table, they already have
 to ignore each other (or more specifically, only look for the specific
 type of category they want).  Because they're looking for something
 specific and not ignoring something specific, it doesn't matter how many
 more x_count columns you add, the old queries should still work.

 Except that they don't work even now. If I have no posts in a category, it
 shows up as a possible category for links. You can't reasonably use parent
 categories to organize your categories without them showing up as
 available links categories. The behavior is odd and inconsistent.

 Here's some questions:

 What would "category parent" mean with regards to a tag in the categories
 table? Tags don't have hierarchy in any implementation I know of.

 What would happen if I removed a tag from a post? I assume you'd remove
 the entry from the post2tag table, and then reduce the tag_count on that
 tag by 1. What happens when it hits zero? Suddenly the tag shows up as a
 category on the posts and links screens? Okay so we remove it instead. Uh
 oh, now what if a category and tag have the same name? So my delete has to
 check the other counts before deleting.

 It just overly complicates things, as I see it. I have nothing against
 reuse of tables for new things, but only when it makes sense.

 And I like the post and link category integration, mind you. That makes
 sense to me. I can see interesting possibilities because of it.

 But integrating with tags? Ick.

 As soon as I think of a specific example, I'll post it.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3723#comment:36>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list