The existing wgPageContentLanguage is actually the "page view language" which can be any variant of the "page content language".
Currently, we have something like pageLanguage = mw.config.get( 'wgPageContentLanguage' ).split( '-' )[ 0 ]; in the code to get the real "page content language".
But it's problematic, the main code of ike-cans and ike-latn is iu, which doesn't work with this workaround.
Having special cases handling in each use case is not good, we should have a real "page content language" variable in mw.config, and update the documentation to reflect the reality.
This will benefit T302200, since my patch currently have manual special case handling.
Related: T303375: Rename and deprecate wgPageContentLanguage