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

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 5 23:35:45 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 ryan):

 A recent idea is to not not have a separate post2tag and instead add a
 cat_type field to post2cat so that both cat_type=category and cat_type=tag
 relationships can reside in the same table.  The idea is that since you
 would always want to get both cats and tags for a post keeping them in one
 table would be faster.

 I'm still not sure how well combining everything into the categories table
 will play out when it comes to the Manage->Categories page.  When deleting
 a category from Manage->Cats, we would have to make sure not to delete the
 cat if it is also a tag.  If we leave the category in the table to serve
 exclusively as a tag, do we show it in Manage->Cats or hide it?  How will
 someone resurrect it as a category if it is hidden?  They could do so
 through the post and link quickadds, I suppose.  Also, a category called
 Parent>Child is not the same as Child.  A tag named Child belongs with
 cat?  We need to be consistent about which cat the tag associates with and
 what happens when the cat's parent changes.  The existence of
 Manage->Categories makes sharing the category table a bit of a pain in the
 ass.

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


More information about the wp-trac mailing list