Make WordPress Core

Opened 9 years ago

Closed 8 years ago

#8634 closed enhancement (fixed)

Better location for the Categories to Tags converter

Reported by: kdmurray Owned by: dd32
Milestone: 3.0 Priority: normal
Severity: normal Version: 2.7
Component: UI Keywords: has-patch 2nd-opinion
Focuses: Cc:


Tonight I spent a while doing some work converting categories to tags in WordPress. After looking through the 2.7 admin menus and investigating any that looked promising I decided that I was going to have to make the changes manually - Why I didn't Google this is beyond me.

Thanks to a couple of twitter friends, and the aforementioned Google search I did find this converter listed amongst the options on the import page.

It would seem that this option would be easier to find, and better categorized under Tools -> Tools; and might even serve by being linked from the categories and tags pages.

Attachments (2)

8634.patch (1.3 KB) - added by ninjaWR 8 years ago.
8634.2.diff (1.4 KB) - added by ninjaWR 8 years ago.
2nd attempt; this patch has translatable string (an attempt at it, anyways))

Download all attachments as: .zip

Change History (15)

#1 @DD32
9 years ago

Theres also a small note at the bottom of the categories page (It'd be better suited to the Tag page IMO) "Categories can be selectively converted to tags using the _category to tag converter_."

+1 for listing it under Tools though, It makes sense to me to have any "scripts" which only affect the current install listed as Tools.

#2 @ryan
9 years ago

  • Type changed from task (blessed) to enhancement

#3 @ryan
9 years ago

  • Component changed from Administration to UI
  • Owner anonymous deleted

#4 @janeforshort
9 years ago

  • Milestone changed from 2.8 to Future Release

Punting due to time constraints, will consider in next release cycle.

#5 @Denis-de-Bernardy
9 years ago

the message in cats could also be added in tags

8 years ago

#6 @ninjaWR
8 years ago

  • Keywords has-patch added
  • Milestone changed from Future Release to 3.1

Patch adds the note to the tag page (and adds it back to the category page), and adds links to Tools page for the cat2tag and tag2cat pages.

Sending to 3.1 since there's a patch, although if someone likes it and wants to commit it to 3.0, I won't object ;)

#7 @nacin
8 years ago

  • Keywords needs-patch added; has-patch categories tags administration admin ui layout tools converter removed
  • Milestone changed from 3.1 to 3.0

Needs properly translated strings.

#8 follow-up: @ninjaWR
8 years ago

  • Cc ryan@… added

Is this still the method, or are there new functions and the codex page wasn't updated?

#9 in reply to: ↑ 8 @nacin
8 years ago

Replying to ninjaWR:

Is this still the method


There's a paragraph in particular that would apply here:

Avoid unusual markup and unusual control characters — do not include tags that surround your text and do not leave URLs for translation, unless they could have version in another language.

8 years ago

2nd attempt; this patch has translatable string (an attempt at it, anyways))

#10 @ninjaWR
8 years ago

  • Keywords has-patch 2nd-opinion added; needs-patch removed

Guess adding a new attachment doesn't fire off an email.

Anyways, the latest patch attempts to offer the strings for translation. Since this is my first attempt at dealing with i18n, I may have done it completely wrong, so don't feel bad about telling me I have.

#11 @dd32
8 years ago

URL's can be left in translation strings.

I'm also pretty sure that for the edit-tags.php page at least, I've got that included in http://core.trac.wordpress.org/attachment/ticket/11838/11838.crazy.translations.diff Which i've not yet had a chance to get a Translators POV on for if its an acceptable method or not..

I'm still a +1 for it being on the tools page, so i'll have a look into that shortly.

#12 @nacin
8 years ago

  • Owner set to dd32
  • Status changed from new to assigned

#13 @dd32
8 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [13450]) Add Tag::Cat converters to the Tools page. Props ninjaWR. Add Tag->Cat converter links on Manage Tags page. Fixes #8634

Note: See TracTickets for help on using tickets.