Board Thread:New Features/@comment-7955540-20151229061209/@comment-856287-20160427202940

I see the original post was from December 2015... so I dunno if you're still trying this.

My only guess is there is an error in your code somewhere (there's seems to be a lot of them) that is breaking alongside Wikia's desktop JS, but not when it's running next to Wikia's mobile JS. But that's just a guess.

I would start by checking for any errors Wikia's linters are catching: When you edit the code, they will show up as an icon on the left next to the line-numbers. When you point at those icons, they will tell you what the error is. Yellow triangles are things that could be improved (so improve them if you know how), while red means it's probably broken somehow.

A couple obvious errors: In Wikia.css, there is an @import for itself, Wikia.css. The same thing happens in Common.css: you import Common.css. This recursion is unnecessary. Second, in Common.js, you have several imports that can (and should) be condensed down by adding them to the import already at the bottom; instead of a new import for every script, just add them to the list next time.

I've done what cleanup I can on your Common.css, so you can copy this code and replace all of MediaWiki:Common with it. There may be further errors to clean up as well.

",    "sampleText": "Teks kod"};   mwCustomEditButtons[mwCustomEditButtons.length] = {     "imageFile": "//upload.wikimedia.org/wikipedia/en/8/80/Button_upper_letter.png",     "speedTip": "Superskrip",     "tagOpen": " ",     "tagClose": " ",     "sampleText": "Teks superskrip"};   mwCustomEditButtons[mwCustomEditButtons.length] = {     "imageFile": "//upload.wikimedia.org/wikipedia/en/7/70/Button_lower_letter.png",     "speedTip": "Subskrip",     "tagOpen": " ",     "tagClose": " ",     "sampleText": "Teks subskrip"};   mwCustomEditButtons[mwCustomEditButtons.length] = {     "imageFile": "//upload.wikimedia.org/wikipedia/commons/5/56/Button_big.png",     "speedTip": "Besar",     "tagOpen": " ",     "tagClose": " ",     "sampleText": "Teks besar"};   mwCustomEditButtons[mwCustomEditButtons.length] = {     "imageFile": "//upload.wikimedia.org/wikipedia/commons/5/58/Button_small.png",     "speedTip": "Kecil", "tagOpen": " ", "tagClose": " ", "sampleText": "Teks kecil"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "//upload.wikimedia.org/wikipedia/en/3/34/Button_hide_comment.png", "speedTip": "Masukkan komen tersembunyi", "tagOpen": "", "sampleText": "Komen"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "//upload.wikimedia.org/wikipedia/en/1/12/Button_gallery.png", "speedTip": "Masukkan galeri gambar", "tagOpen": "\n", "sampleText": "Imej:Contoh.jpg|Sari kata 1\nImej:Contoh.jpg|Sari kata 2"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "//upload.wikimedia.org/wikipedia/en/f/fd/Button_blockquote.png", "speedTip": "Sisip blok petikan", "tagOpen": " \n", "tagClose": "\n ", "sampleText": "Petikan"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "//upload.wikimedia.org/wikipedia/en/6/60/Button_insert_table.png", "speedTip": "Masukkan sebuah jadual", "tagOpen": '{| class="wikitable"\n|-\n', "tagClose": "\n|}", "sampleText": "! pengatas 1\n! pengatas 2\n! pengatas 3\n|-\n| baris 1, sel 1\n| baris 1, sel 2\n| baris 1, sel 3\n|-\n| baris 2, sel 1\n| baris 2, sel 2\n| baris 2, sel 3"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "//upload.wikimedia.org/wikipedia/commons/7/79/Button_reflink.png", "speedTip": "Masukkan rujukan", "tagOpen": " ", "sampleText": "Masukkan teks nota kaki di sini"}; }

importArticles({   type: 'script',    articles: [        // ...        'MediaWiki:Common.js/displayTimer.js', //Add UTC clock above articles        'u:dev:ShowHide/code.js', //Collapsible; superseded by Help:Collapsing        'u:dev:AjaxRC/code.js', //Live updating content        'u:dev:familytree.js',         'u:dev:Bookflip.js', //3D Bookflip effects        'u:dev:modernizr.custom.js', //3D Bookflip effects        'u:dev:SignatureCheck/code.js', //Signature Reminder        'u:dev:ReferencePopups/custom.js',        'u:dev:HighlightUsers/code.js',        "u:dev:Countdown/code.js"        // ...    ] });

Notably, I changed all those script imports you had...

...into one single script import: