FANDOM


  • I've got the script updated, so now it should work. Can you replace:

    // add the original english title as a subtitle for the article, linking to Wookieepedia's corresponding page.
    function showEnTitle()
    {
      //check if the link exists
      var enTitleDiv = document.getElementById('enTitle');    
      if(enTitleDiv == null || enTitleDiv == undefined)
        return;
     
      //don't add it on the home page
      var isHomePage = document.getElementsByClassName('mainpage');
      if(isHomePage.length > 0)
        return;
     
      //check if the header exists
      var header = document.getElementById('WikiaPageHeader');  
      if(header == null || header == undefined)
        return;
     
      //clone the node and add it at the end of the header
      var cloneNode = enTitleDiv.cloneNode(true);
      header.appendChild(cloneNode);
      cloneNode.style.display = "block";
    }
     
    // add the original english title as a subtitle.
      showEnTitle();
    

    with

    /* En title */
    (function() {
        var $ent = $('#enTitle'),
            $header = $('.page-header__main');
        if ($ent.exists() && $header.exists() && !mw.config.get('wgIsMainPage')) {
            $header.append($ent.clone().css('display', 'block'));
        }
    })();
    
    ? It should work again, when you submit it for review.

    Another thing, please remember (and remind Adero about it too) to update the interwiki link on Wookieepedia and Jedipedia.net when you rename articles without leaving a redirect. :)

    Wish you happy new year

      편집기 불러오는 중...
이 글을 추천하기
이 글을 추천하였습니다!
이 주제를 추천하는 사용자 보기
Community content is available under CC-BY-SA unless otherwise noted.