Bcp47Code

wikimedia/bcp-47-code is a simple interface representing a language object which can be represented by a BCP 47 code. It is used between Parsoid and MediaWiki Core in order to allow Parsoid to manipulate core Language objects without exposing the full details of these objects to Parsoid.