Wiki integration

  1. Edit MediaWiki:Common.js (replace localhost with deployment host name and wiki URL)
  2. /* Any JavaScript here will be loaded for all users on every page load. */
    var afAction2mid ={protect:"af/af-acl/protect"};
    var dojoConfig = {   async: true,   packages:        [{      name: "af", location: "/af/ApiFusion.org-folders/"  }],   deps:["af/ui/WikiSideBar/WikiSideBar"]};
    
    (function(d,s,h)
    {h=d.getElementsByTagName('head')[0]||d.getElementsByTagName('div')[0]||document.documentElement;
    s=d.createElementNS?d.createElementNS(h.namespaceURI||'http://www.w3.org/1999/xhtml','script'):
    d.createElement('script');
    s.setAttribute('src','//ajax.googleapis.com/ajax/libs/dojo/1.11.2/dojo/dojo.js');
    h.appendChild(s);
    })(document);
    
  3. Edit MediaWiki:Common.css (replace localhost with deployment host name and wiki URL)
  4. /* CSS placed here will be applied to all skins */
    @import url("https://ajax.googleapis.com/ajax/libs/dojo/1.10.1/dijit/themes/claro/claro.css");
    @import url("/af/ApiFusion.org-folders/ui/WikiSideBar/WikiSideBar.css");
    
  5. Edit MediaWiki:Sidebar
    * navigation
    ** mainpage|mainpage-description
    ** {{FULLPAGENAME}}/New|Create subpage
    * SEARCH
    * Organisations
    * Projects
    * Pages
    * Namespaces
    * LANGUAGES
    
  6. Copy output of List/Siblings/Namespace.js comment to ../../wiki/index.php/Template:SiblingsNS .
    The siblings list is available via {{SiblingsNS}} will give links list to other namespaces of page.
  7. prepend MediaWiki:Noarticletext and MediaWiki:Noarticletext-nopermission

Import pages from another wiki

ImportWiki.html