WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 5 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:

Description

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 5 years ago.
8634.2.diff (1.4 KB) - added by ninjaWR 5 years ago.
2nd attempt; this patch has translatable string (an attempt at it, anyways))

Download all attachments as: .zip

Change History (15)

comment:1 @DD327 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.

comment:2 @ryan6 years ago

  • Type changed from task (blessed) to enhancement

comment:3 @ryan6 years ago

  • Component changed from Administration to UI
  • Owner anonymous deleted

comment:4 @janeforshort6 years ago

  • Milestone changed from 2.8 to Future Release

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

comment:5 @Denis-de-Bernardy6 years ago

the message in cats could also be added in tags

@ninjaWR5 years ago

comment:6 @ninjaWR5 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 ;)

comment:7 @nacin5 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.

comment:8 follow-up: @ninjaWR5 years ago

  • Cc ryan@… added

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

comment:9 in reply to: ↑ 8 @nacin5 years ago

Replying to ninjaWR:

Is this still the method

Yep.

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.

@ninjaWR5 years ago

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

comment:10 @ninjaWR5 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.

comment:11 @dd325 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.

comment:12 @nacin5 years ago

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

comment:13 @dd325 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.