Board Thread:General Coding Help/@comment-5645428-20160309085128

The following is functional code. To improve the quality of the syntax, I want to get those two importScriptPage items into the main import article statement. When I try to, all the scripts stop working. Help would be awesome.

The issue might be here, misidentifying these letters below as some abbreviation of each wiki's URL, where the scripts are imported from. This is working on the basis that 'dev' and 'shining-armor' are already doing this.
 * 'c' translates into 'community' (central)?
 * 'rs' translates into 'runescape'?

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:ChatAnnouncements/code.js',        'u:shining-armor:MediaWiki:ChatTags/code.js'    ] }); importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); importScriptPage('User:Joeytje50/tabinsert.js','rs');

The following is what is currently installed but does not work.

importArticles({   type: 'script',    articles: [        'u:community:User:Monchoman45/ChatHacks.js',        'u:dev:MediaWiki:ChatAnnouncements/code.js',        'u:runescape:User:Joeytje50/tabinsert.js',        'u:shining-armor:MediaWiki:ChatTags/code.js'    ] });

Thanks in advance! 