Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a45ee118fd714628

Jump to content

Template:R/langcode/doc

From Wikipedia, the free encyclopedia

This is a subtemplate, implementing the language-parameter evaluation. Recognized language codes will be kept as is, recognized language names will be converted into language codes, unrecognized codes or names will be left unchanged.

Usage

[edit]

For internal use only:

|language=code/name

Note: This subtemplate is used by {{r/ref}}.

Examples

[edit]
  • {{R/langcode|language=de}} → de (recognized ISO code)
  • {{R/langcode|language=ru}} → ru (recognized ISO code)
  • {{R/langcode|language=ru-Latn}} → ru-Latn (recognized ISO code)
  • {{R/langcode|language=he-LA}} → he-LA (recognized ISO code)
  • {{R/langcode|language=xz}} → mis (unrecognized code)
  • {{R/langcode|language=German}} → de (recognized language)
  • {{R/langcode|language=unknown}} → mis (unrecognized language)
  • {{R/langcode|language=??}} → mis (unrecognized code)
  • {{R/langcode|language=}} → mis (empty code)

See also

[edit]