a weird issue with 1.28.0
With interfacing with google maps api on an page using protected js , sometimes my div map-container appears ( strong feeling) to be delayed during page creation , and the api complains with :
Uncaught TypeError: Cannot set property 'position' of undefined
at new _.Sl (common.js:29)
at Object.Yy.f (map.js:44)
Version 1.25.5 works smooth without any issue's
Does anyone have suggestions????
note Part of local settings
# Enable Raw HTML only for Admin controlled pages with the namespace QBox
define( 'NS_QBOX', 3000 );
define( 'NS_QBOX-TALK', 3001 );
define( 'NS_QBOX-MESSAGE', 3002 );
$wgExtraNamespaces[NS_QBOX] = 'QBox';
$wgExtraNamespaces[NS_QBOX+1] = 'QBox_talk';
$wgExtraNamespaces[NS_QBOX+2] = 'QBox_message';
$wgNamespaceProtection[NS_QBOX] = array( 'html-edit' );
$wgGroupPermissions['sysop']['html-edit'] = true;
$wgRawHtml = true;
$wgExtensionFunctions[] = 'wfHtmlNamespace';
function wfHtmlNamespace() {
if( array_key_exists( 'title', $_REQUEST ) ) {
$title = Title::newFromText( $_REQUEST['title'] );
if( is_object( $title ) ) {
global $wgRawHtml;
$wgRawHtml = $title->getNamespace() == NS_QBOX;
}
}
}