mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-02 05:06:51 +08:00
Switches tag URLs from name-based (`/tag/my-tag`) to slug+id-based (`/tag/my-tag/123`), making tag references stable across renames and enabling translated tag names. | Type | Before | After | |------|--------|-------| | Browser | `/tag/my-tag` | `/tag/my-tag/123` | | Browser | `/tag/my-tag/l/latest` | `/tag/my-tag/123/l/latest` | | API | `/tag/my-tag.json` | `/tag/123.json` | - Old `/tag/:name` URLs still work - Browser requests get 301 redirected to canonical URLs - API (JSON) requests return data without redirect - Untagged (`/tag/none`) and intersection routes remain unchanged. Depends on https://github.com/discourse/discourse/pull/36678 --------- Co-authored-by: Krzysztof Kotlarek <kotlarek.krzysztof@gmail.com> |
||
|---|---|---|
| .. | ||
| activity_calendar.rb | ||
| ai_usage.rb | ||
| assignments.rb | ||
| base_report.rb | ||
| best_posts.rb | ||
| best_topics.rb | ||
| chat_usage.rb | ||
| favorite_gifs.rb | ||
| fbff.rb | ||
| invites.rb | ||
| most_viewed_categories.rb | ||
| most_viewed_tags.rb | ||
| new_user_interactions.rb | ||
| reactions.rb | ||
| reading_time.rb | ||
| time_of_day_activity.rb | ||
| top_words.rb | ||
| writing_analysis.rb | ||