Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[REQ] Avoid backlinks from the issue template sponsorship example

Đã đóng Phù hợp với người mới
#25,207 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Một pull request liên quan đã được merge.

  • #25208 của @alexaka1 — đã merge

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
85/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github, markdown
Lĩnh vực
developer-experience

Hướng nghiên cứu

Thay đổi chỉ gồm một liên kết ở dòng 17 của .github/ISSUE_TEMPLATE/bug_report.md, nằm trong danh sách kiểm tra tài trợ. Chỉ đổi tên máy chủ của URL issue ví dụ từ github.com thành redirect.github.com, và giữ nguyên các liên kết khác. Hoàn thành khi URL đó dùng miền chuyển hướng, phần còn lại của mẫu không thay đổi và .github/PULL_REQUEST_TEMPLATE.md không bị chỉnh sửa.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Is your feature request related to a problem? Please describe.

The bug-report template's sponsorship checklist includes a fixed example issue. When a submitted report keeps the template's ordinary GitHub issue URL, GitHub creates a backlink on the example issue. Unrelated reports therefore accumulate in its timeline even though they do not discuss or depend on it.

This is a property of the link domain, not the visible link text. Labeling the link "example" does not prevent the cross-reference.

Describe the solution you'd like

Change only the hostname of the sponsorship example URL in .github/ISSUE_TEMPLATE/bug_report.md from github.com to redirect.github.com.

GitHub documents this domain specifically for avoiding backlinks. The link still opens the example issue, but copying it into a new report does not create a backlink there. GitHub also notes that these links do not show a hover preview.

Keep ordinary references to genuinely related issues and PR-closing references unchanged.

Describe alternatives you've considered

Removing the example would avoid the backlink but lose the useful sponsorship reference. Asking every reporter to remove it would leave the default template causing noise. Using GitHub's documented redirect domain preserves the example and fixes the default.

Additional context

Audited the current master templates at commit 57164fa6d7642d06e96013e2eb5e842abeb83705:

  • The affected URL is on line 17 of the bug-report template.
  • .github/PULL_REQUEST_TEMPLATE.md has no fixed example issue, pull-request, or commit URL. Its existing repository and documentation links do not need this change.
  • The root-level .github/ISSUE_TEMPLATE.md, feature-request template, and announcement template contain no equivalent example link.

This is a one-link template change; it does not affect generated clients, servers, or generator behavior.

Ngôn ngữ chính
Java
Star
26.8k
Fork
7.7k
Merge trung bình
1 ngày 15 giờ
Pull request đã merge (30 ngày)
158

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OpenAPITools/openapi-generator

Tất cả issue của OpenAPITools/openapi-generator

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.