Topic on Extension talk:GlobalCssJs

KaiKemmann (talkcontribs)

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,

--~~~~

PerfektesChaos (talkcontribs)

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.

Quiddity (WMF) (talkcontribs)
Reply to "Strange wording"