FANDOM


(Created page with "An update: I may have found the issue, on my own wiki I've been importing '''''LinkPreviews''''' through ''MediaWiki:ImportJS'' I tested importing the script on my personal ...")
 
Line 5: Line 5:
 
I tested importing the script on my personal js on another wiki through
 
I tested importing the script on my personal js on another wiki through
 
<pre>
 
<pre>
  +
  +
Update 2: Importing through PersonalJs doesn't really work on my own wiki for some reason, but it works fine on [[w:c:candycrush]]
  +
importArticles({
  +
type: 'script',
  +
articles: [
  +
'u:dev:MediaWiki:LinkPreview/code.js',
  +
]
  +
});
  +
<pre>
  +
I think the changes appear to be taking place, so maybe ImportJS can't customize JavaScript
 
importArticles({
 
importArticles({
 
type: 'script',
 
type: 'script',
Line 13: Line 23:
 
</pre>
 
</pre>
 
I think the changes appear to be taking place, so maybe ImportJS can't customize JavaScript
 
I think the changes appear to be taking place, so maybe ImportJS can't customize JavaScript
  +
  +
Update 2: importing article through personal js and adding the settings doesn't really work on my own wiki for some reason, but it works fine on [[w:c:candycrush]]. Very strange

Revision as of 20:14, February 5, 2018

An update:

I may have found the issue, on my own wiki I've been importing LinkPreviews through MediaWiki:ImportJS

I tested importing the script on my personal js on another wiki through


Update 2: Importing through PersonalJs doesn't really work on my own wiki for some reason, but it works fine on [[w:c:candycrush]]
importArticles({
    type: 'script',
    articles: [
        'u:dev:MediaWiki:LinkPreview/code.js',
    ]
});
<pre>
I think the changes appear to be taking place, so maybe ImportJS can't customize JavaScript
importArticles({
    type: 'script',
    articles: [
        'u:dev:MediaWiki:LinkPreview/code.js',
    ]
});

I think the changes appear to be taking place, so maybe ImportJS can't customize JavaScript

Update 2: importing article through personal js and adding the settings doesn't really work on my own wiki for some reason, but it works fine on w:c:candycrush. Very strange

Community content is available under CC-BY-SA unless otherwise noted.