Searched For: languagecode
tes table.
It would be nice if `site_language` was actually meaningful.
In MediaWiki PHP code, the function `LanguageCode::bcp47()` is used to map MediaWiki … ewhere in the `mw.language` library.
---------------------
**Version**: unspecified
**Severity**: enhancement
`$wgConf`.
#####Architecture
Before
{F98320767}
Updated
{F102423447}
internal language codes can be in lower case: `sr-cyrl` and `sr-latn`. `LanguageCode::bcp47()` creates the capital lette … ld exist as alias for compatibility.
Currently MediaWiki contains deprecated language codes:
* `LanguageCode::DEPRECATED_LANGUAGE_CODE_MAPPING` … iki/core/+/master/includes/language/LanguageCode.php#39) contains a mapping from dep … in MediaWiki. Therefor the mapping LanguageCode::DEPRECATED_LANGUAGE_CODE_MAPPING a … iki to a WMF specific configuration.
) (includes/Rest/ErrorFormatter.php:97) builds the array with:
$lang = LanguageCode::bcp47( $formatter->getLangCode() ) … aded error message or none at all.
LanguageCode::NON_STANDARD_LANGUAGE_CODE_MAPPING … t subtag also differ by case, since LanguageCode::bcp47() applies ucfirst() to them … message (AddWorklistArticleDialog).
|
| site language code | `nan` | `LanguageCode` | `site_language` … | `nan`, `nan-hant`, ... | `LanguageCode` + extra | … |
See also: {T113034}
y// have a different URL structure from a usual project. For example, //languagecode//.incubator.wikipedia.org. However, … y to rename to a standard domain (//languagecode//.wikipedia.org) once the Language … . And again, it's OK if it's just //languagecode//.wikipedia.org right from the star … ring_Team/Archive_3#Incubator_reform
ut 500.)
- Add a language to Incubator, by creating a main page at Wp///languagecode// (and replace "Wp" with another pr … n. Everybody's thoughts are welcome.
ge settings in the preference if they prefer PNGs or SVGs (T5593#958597)
is opened.
- Formats localizations located in Wikipedia/Localizations/{languageCode.lproj}/Localizable.strings files, c … s/WMFNativeLocalizations/Resources/{languageCode.lproj}/Localizable.strings and Loca … ncoming in Wikipedia/Localizations/{languageCode.lproj}/InfoPlist.strings. Take that … dia/InfoPlist Native Localizations/{languageCode.lproj}/InfoPlist.strings.
You can … md#updating-the-localization-script)
)
]
}
) {
edges {
node {
id
label(languageCode: "en")
}
}
}
}
```
But …
What do you think about? Thanks :)
pages which do not have a `.js` extension: `MediaWiki:Gadget-HotCat.js/<languagecode>` for localisations (such as [[http … should be taken not to break those.
more than 110 public methods) and potentially even improve performance.
Settings.php
`$wgExtraLanguageNames["aa-x-localset"] = "aa-x-localset";`
are version**:
* Wikimedia Commons, MediaWiki 1.40.0-wmf.6 ( bb4c5db )
t constructs the respective service.
Prior art:
* {T189966}
* {T233886}
would be to add a call to `$this->overrideConfigValue( MainConfigNames::LanguageCode, 'qqx' );` from the test in ext:Con … `DerivativeContext` that it creates.
ems that this behavior is hard-coded in core and cannot be easy changed.
\TitleParser { ... }, 'ContentLanguageCode' => class MediaWiki\Language\LanguageCode { ... }, 'TempUserConfig' => class … /includes/ServiceWiring.php:921
```
hod_name+%21%3D+%27getCode%27%29%3B)). As of MediaWiki 1.43 the lighter LanguageCode class is directly available to cons … o other `Language` methods use the `LanguageCode` class instead
t should be "nrf". Look at https://en.wikipedia.org/wiki/Norman_language
translated are displayed in the search bar as the original word with
> /languagecode - how can that be changed.
----
N … **: master
**Severity**: enhancement
nction getPage(): PageReference;
public function getPageLanguage(): LanguageCode;
public function getContent(): … if and when they are acutally used.
awiki/core/+/296165451aecd315b321de3f21a4a4a11f49ec42/includes/language/LanguageCode.php#78), like `simple` or `nrm`)
* … ll show the MediaWiki language code.
ttps://gerrit.wikimedia.org/g/mediawiki/core/+/master/includes/language/LanguageCode.php
Maya_Diab_interview_in_Morocco_-_Oct_28,_2017.webm.apc.srt | example ]].
*: normal
**URL**: http://en.wiktionary.org/wiki/Category:Latin_language
awiki/core/+/d23c1743906a8be52afeeecde3dd69c070cd7376/includes/language/LanguageCode.php#81|includes/language/LanguageCode.php]]. Wikibase has its own mapping … /RdfVocabulary.php]]) already uses `LanguageCode::bcp47` (which uses MediaWiki's map … e MediaWiki list to be customisable.
erwiki links, instead of this fuzzy assumption with the site global key.
n software to requirements, or whether the requirements need adjustment.
riteria (or Done)
[] Define a strategy to work with the different skins
--------------------------
**Version**: unspecified
**Severity**: normal
nd here: https://se.wikimedia.org/wiki/Fil:MetaSolutions_Experiences.pdf
a multilingual SVG file, it uses the correct default langtag of `gsw`.
arget language tag specified; returns Albanian autonym (expected result)
diaWiki language codes when it should use HTML language codes (in PHP: `LanguageCode::bcp47()` or `Language::getHtmlCode … ent-side in JS
**Open questions:**
ce an injected wrapper of some kind that can be mocked. Ideas on design?
rk with our translation tools, see e.g. https://lwn.net/Articles/527081/
ge code. A mapping from the former to the latter is available via the `\LanguageCode` class (server-side) and the `api=q … s" lang="de-x-formal" dir="ltr">
```