Manual:$wgExternalInterwikiFragmentMode/zh

From Linux Web Expert

Revision as of 05:41, 6 December 2023 by imported>FuzzyBot (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> Output</translate>: $wgExternalInterwikiFragmentMode
Determines which ID escaping mode should be used for external interwiki links
<translate> Introduced in version:</translate>1.30.0 (Gerrit change 362326; git #Id304010)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>'legacy', 'html5', or 'html5-legacy'
<translate> Default value:</translate>'legacy'

详情

See documentation for $wgFragmentMode above for details of each mode. Because you cannot control external sites, this setting should probably always be 'legacy', unless every wiki you link to has converted to 'html5'.

'legacy' is the recommended setting to this configuration parameter.