Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[REQ] Avoid backlinks from the issue template sponsorship example

Chiusa Adatta ai principianti
#25,207 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Una pull request collegata è già stata integrata.

  • #25208 di @alexaka1 — integrata

Valutazione

Difficoltà
1/5
Tempo stimato
Meno di un'ora
Idoneità per principianti
85/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github, markdown

Direzione di ricerca

La modifica riguarda un solo link alla riga 17 di .github/ISSUE_TEMPLATE/bug_report.md, all'interno della checklist di sponsorizzazione. Cambia solo l'hostname dell'URL di issue di esempio da github.com a redirect.github.com, e lascia invariati gli altri link. È completato quando quell'URL usa il dominio di reindirizzamento, il resto del template è invariato e .github/PULL_REQUEST_TEMPLATE.md non viene toccato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Java
Stelle
26.8k
Fork
7.7k
Merge medio
1g 15h
PR unite (30g)
155

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OpenAPITools/openapi-generator

Tutte le issue di OpenAPITools/openapi-generator

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.