Skip to content

Fix anchor link and location was/wasnt translated#236

Open
joshinils wants to merge 1 commit intomdn:mainfrom
joshinils:patch-1
Open

Fix anchor link and location was/wasnt translated#236
joshinils wants to merge 1 commit intomdn:mainfrom
joshinils:patch-1

Conversation

@joshinils
Copy link
Copy Markdown

Description

Fix anchor link and location was/wasnt translated

Motivation

anchor link wasn't doing anything

Additional details

Related issues and pull requests

Copilot AI review requested due to automatic review settings March 26, 2026 11:28
@joshinils joshinils requested a review from a team as a code owner March 26, 2026 11:28
@joshinils joshinils requested a review from caugner March 26, 2026 11:28
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Diese PR passt in der deutschen MDN-Seite zum CSS-Datentyp <color> einen internen Anker-Link sowie die zugehörige Live-Sample-Einbettung an, damit der Verweis auf den currentColor-Abschnitt funktioniert.

Changes:

  • Aktualisiert den In-Page-Link auf den currentColor-Abschnitt auf einen neuen Fragment-Namen.
  • Aktualisiert die EmbedLiveSample(...)-Referenz auf denselben neuen Identifier.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Ein `<color>`-Wert kann mit einer der unten aufgeführten Methoden angegeben werden:

- Durch Schlüsselwörter: {{cssxref("named-color")}} (wie `blue` oder `pink`), {{CSSXref("&lt;system-color&gt;")}} und [`currentColor`](#currentcolor_keyword).
- Durch Schlüsselwörter: {{cssxref("named-color")}} (wie `blue` oder `pink`), {{CSSXref("&lt;system-color&gt;")}} und [`currentColor`](#currentcolor_schlüsselwort).
Copy link

Copilot AI Mar 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Durch die Änderung des Fragment-Links von #currentcolor_keyword zu #currentcolor_schlüsselwort funktioniert der Link zwar ggf. auf dieser Seite, aber im Repo gibt es viele bestehende Verweise auf /de/docs/Web/CSS/Reference/Values/color_value#currentcolor_keyword (z.B. in mehreren CSS-Guides/Referenzen). Bitte entweder das alte Fragment als Alias beibehalten (z.B. zusätzliches Anker-Element mit id="currentcolor_keyword") oder die bestehenden Verweise konsistent auf das neue Fragment umstellen, damit keine Links dauerhaft kaputt bleiben.

Copilot uses AI. Check for mistakes.
```

{{EmbedLiveSample("currentcolor_keyword", "100%", 80)}}
{{EmbedLiveSample("currentcolor_schlüsselwort", "100%", 80)}}
Copy link

Copilot AI Mar 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EmbedLiveSample wurde von currentcolor_keyword auf currentcolor_schlüsselwort umgestellt. Wenn andere Seiten/ältere Lesezeichen weiterhin #currentcolor_keyword verwenden, sollte dieser Sample-ID-Wechsel ebenfalls kompatibel bleiben (z.B. denselben Sample-/Anker-ID-Namen weiter unterstützen oder einen Alias bereitstellen), sonst bleibt das Live-Sample ggf. nur über den neuen Fragment-Namen erreichbar.

Suggested change
{{EmbedLiveSample("currentcolor_schlüsselwort", "100%", 80)}}
{{EmbedLiveSample("currentcolor_keyword", "100%", 80)}}

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants