WordPress.org

Making WordPress.org

Opened 17 months ago

Last modified 16 months ago

#1884 new defect

Cyrillic topic slugs are limited to ~33 characters on Rosetta forums

Reported by: SergeyBiryukov Owned by:
Milestone: Priority: normal
Component: International Forums Keywords:
Cc:

Description (last modified by SergeyBiryukov)

Background: #1298

This is essentially a WordPress core issue (#wp10483), but since it's a regression on the forums after the upgrade to bbPress 2.x in #1544, maybe we could tackle it on WP.org separately?

Currently, topic slugs on Rosetta forums are limited to ~33 characters, and anything after that is just silently cut off.

For a language where most words are longer than in English, this is often insufficient. English topic slugs, on the other hand, allow up to 80 characters (which is the maxlength attribute on the input).

Some examples of recent topics where the title is OK, but the slug was cut off:

To get a feeling of what it looks like to a Russian speaker, imagine if these (random) topics on English forums:

had slug like these:

Doesn't look too informative, does it?

Previously, slugs were cut around ~48 characters, which is still is less than enough, but better than ~33.

Change History (4)

#1 @SergeyBiryukov
17 months ago

  • Description modified (diff)

#2 @Otto42
17 months ago

I went and had a look at the tables, and the post_name is indeed a varchar(200). So, any solution we have to this would probably need to be increasing that size, which means we need to rely on what the plans for core are to do it properly.

Any progress on this in any other core tickets?

#3 @netweb
16 months ago

I just peeked at #wp10483 and the gist of it seemed to be to wait until MySQL 5.x was the default, that has now come and gone and MySQL 5.0.x is now only 4.2% according to https://wordpress.org/about/stats/

How about doing #wp10483 4.7-early?

This ticket was mentioned in Slack in #meta by jmdodd. View the logs.


16 months ago

Note: See TracTickets for help on using tickets.