Quote from the article:
"Functions like <code>importScript</code> will not work as those use the local wiki, not the global one."
I cannot seem to figure out the meaning of this sentence.
Can someone help?
best regards,
--~~~~
Quote from the article:
"Functions like <code>importScript</code> will not work as those use the local wiki, not the global one."
I cannot seem to figure out the meaning of this sentence.
Can someone help?
best regards,
--~~~~
First, you are talking in the wrong thread, or for the wrong page, since the quotation is occurring on Help:Extension:GlobalCssJs.
Second, the grammar is not pretty indeed, could be read as "nor the global one", but actually means: An importScript() call will refer to the local wiki currently in use, not to a page with this name on Meta wiki, which is usually not intended.
Third, it says that using global resources, you are encouraged to use full URL including project domain, if it shall be shared among all wikis, since importScript() calls are related to pages on current local wiki.
The Help talk:Extension:GlobalCssJs page redirects here.
I've tried to fix the sentence using an adaptation of your wording. If you can make it better, please do!