Hi,

for my Iframe extension I need to load some data. Since the data come from a file I did not put it into extension.json, but I defined in my class a function onRegistration with sets a global variable.


However, it turned out that in LocalSettings.php I can not set the global variable (after calling wfLoadExtesnion('Iframe') ), var_dump delivers NULL rather than my file data.

Question: where I have to put the reading of my file data (if not into onRegistration) ?

Thanks Sigbert

--
https://hu.berlin/sk
https://hu.berlin/mmstat3

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to