Self-hosted Wikipedia Style Wiki with MediaWiki on Windows

Поділитися
Вставка
  • Опубліковано 10 вер 2024
  • #MediaWiki #Wiki #Windows
    Full steps can be found at i12bretro.gith...
    01. Download XAMPP sourceforge.ne...
    02. Download MediaWiki github.com/wik...
    03. Download the Vector skin extdist.wmflab...
    04. Download Microsoft Visual C++ aka.ms/vs/16/r...
    05. Download Composer getcomposer.or...
    06. Install Microsoft Visual C++
    07. Right click the downloaded XAMPP .zip file ≫ Extract All...
    08. Right click the downloaded MediaWiki .zip file ≫ Extract All...
    09. Rename the extracted folder wiki
    10. Extract the Vector skin inside XAMPP/htdocs/wiki/skins
    11. Cut the wiki folder inside the XAMPP/htdocs directory
    12. Copy the extracted XAMPP directory to a safe location to run from, C:\Program Files for example
    13. Run XAMPP/setup_xampp.bat to update the configuration files with the new server location
    14. Install Composer
    15. Navigate to the XAMPP/htdocs/wiki folder ≫ Right click in the white space ≫ Open PowerShell window here...
    16. Run the following command to download dependencies
    composer i --ignore-platform-reqs
    17. Navigate to XAMPP/php and edit php.ini
    18. Find the following lines and remove the ; to uncomment them
    extension=intl
    19. Run XAMPP/xampp-control.exe
    20. Click the Start button next to Apache and MySQL
    21. Navigate to XAMPP/mysql/bin
    22. Hold the SHIFT key and right click in the white space ≫ Open PowerShell window here...
    23. Type the following in the PowerShell window to setup the mediawiki database
    .\mysql -u root
    CREATE DATABASE wikidb;
    GRANT ALL ON wikidb.* TO 'wikiuser'@'localhost' IDENTIFIED BY 'WikiW1k1Wh@t!!';
    FLUSH PRIVILEGES;
    EXIT;
    exit
    24. Open a web browser and navigate to DNSorIP/wiki
    25. The WikiMedia setup screen should be displayed
    26. Click the set up the wiki first link
    27. Select a language ≫ Click Continue
    28. Scroll to the bottom of the page and click Continue
    29. Enter the database host, name, username and password ≫ Click Continue
    Host: localhost
    Name: wikidb
    Username: wikiuser
    Password: WikiW1k1Wh@t!!
    30. Leave Use the same account as for installation checked and click Continue
    31. Give the Wiki a name and create an administrator username and password
    32. Uncheck the Share data about this installation with MediaWiki developers box
    33. Check the I'm bored already, just install the wiki box
    34. Click Continue and the Continue again to begin the installation
    35. After the installation completes click Continue
    36. Download the generated LocalSettings.php to the XAMPP/htdocs/wiki directory
    37. Once LocalSettings.php is in place open it in a text editor and add the following line to the bottom of the file to enable the Vector skin
    wfLoadSkin('Vector');
    38. Back in the browser click the enter your wiki link
    39. Click the Log In link at the top right
    40. Log in with the administrator account created during the installation
    41. Welcome to WikiMedia
    Connect with me and others ###
    ★ Discord: / discord
    ★ Reddit: / i12bretro
    ★ Twitter: / i12bretro

КОМЕНТАРІ • 16

  • @dragonflyace
    @dragonflyace 3 місяці тому +3

    How would I go about publishing the website with its own domain so it's accessible to more people?

  • @XDaarn
    @XDaarn 7 місяців тому +3

    Can I Import wikipedia database? that are one the web? run it as my own local copy

  • @knckawsar2799
    @knckawsar2799 3 місяці тому +3

    Thank you so much for such a nice Video.
    i have a question. Could you help me next step. i mean , i want to add domain website and make a professional website. so , how to add domain? what about the next process?

  • @RedChaosScrungle
    @RedChaosScrungle 6 місяців тому +2

    I can't seem to access my local host, any suggestions or tips on what to do?

  • @RedChaosScrungle
    @RedChaosScrungle 6 місяців тому +2

    BTW if you're having the "powershell failed to download the zip extension and unzip/7z commands are both missing" issue at 2:54 I'd recommend the first fix in this video. ua-cam.com/video/BYUq_lz2Z4E/v-deo.html

  • @Jazzucci-u3u
    @Jazzucci-u3u 6 місяців тому +3

    THANK YOU FOR THIS

  • @MrDynamiteCD
    @MrDynamiteCD 4 місяці тому +2

    Could you make a full tutorial on how to host you're wiki online?

  • @cykachu8080
    @cykachu8080 7 днів тому

    When trying to select the php.exe in Composer, I get this error:
    The PHP exe file you specified did not run correctly [exit code -2]:
    C:\Program Files\xampp\php\php.exe
    Program Output:
    PHP Warning: PHP Startup: Unable to load dynamic library 'bz2' (tried: C:\xampp\php\ext\bz2 (The specified module could not be found), C:\xampp\php\ext\php_bz2.dll (The specified module could not be found))
    PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: C:\xampp\php\ext\curl (The specified module could not be found), C:\xampp\php\ext\php_curl.dll (The specified module could not be found))
    PHP Warning: PHP Startup: Unable to load dynamic library 'fileinfo' (tried: C:\xampp\php\ext\fileinfo (The specified module could not be found), C:\xampp\php\ext\php_fileinfo.dll (The specified module could not be found))
    PHP Warning: PHP Startup: Unable to load dynamic library 'gettext' (tried: C:\xampp\php\ext\gettext (The specified module could not be found), C:\xampp\php\ext\php_gettext.dll (The specified module could not be found))
    PHP Warning: PHP Startup: Unable to load dynamic library 'mbstring' (tried: C:\xampp\php\ext\mbstring (The specified module could not be found), C:\xampp\php\ext\php_mbstring.dll (The specified module could not be found))
    PHP Warning: PHP Startup: Unable to load dynamic library 'exif' (tried: C:\xampp\php\ext\exif (The specified module could not be found), C:\xampp\php\ext\php_exif.dll (The specified module could not be found))
    PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: C:\xampp\php\ext\mysqli (The specified module could not be found), C:\xampp\php\ext\php_mysqli.dll (The specified module could not be found))
    PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: C:\xampp\php\ext\pdo_mysql (The specified module could not be found), C:\xampp\php\ext\php_pdo_mysql.dll (The specified module could not be found))
    PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_sqlite' (tried: C:\xampp\php\ext\pdo_sqlite (The specified module could not be found), C:\xampp\php\ext\php_pdo_sqlite.dll (The specified module could not be found))
    PHP Warning: PHP Startup: Unable to load dynamic library 'php_openssl.dll' (tried: C:\xampp\php\ext\php_openssl.dll (The specified module could not be found), C:\xampp\php\ext\php_php_openssl.dll.dll (The specified module could not be found))
    PHP Warning: PHP Startup: Unable to load dynamic library 'php_ftp.dll' (tried: C:\xampp\php\ext\php_ftp.dll (The specified module could not be found), C:\xampp\php\ext\php_php_ftp.dll.dll (The specified module could not be found))
    PHP Warning: Cannot open "C:\xampp\php\extras\browscap.ini" for reading
    PHP Fatal error: Unable to start standard module
    I downloaded the files from the video description; is there potentially an outdated version I'm using? I'm on Windows 11 if this helps.
    Thank you

    • @cykachu8080
      @cykachu8080 6 днів тому

      I fixed this by moving the entire thing out of C: into another drive.

    • @cykachu8080
      @cykachu8080 5 днів тому

      I got it working, but now the issue is the skin doesn't seem to be working, i.e the entire site is in HTML. The link in the description seems to be bugged, too. Where is the source?

    • @i12bretro
      @i12bretro  4 дні тому

      You can download skins on their site
      m.mediawiki.org/wiki/Skin:Vector

    • @cykachu8080
      @cykachu8080 4 дні тому

      @@i12bretro i've downloaded that and put it in /skins but the page still loads as if running solely on HTML.

  • @dimakayali8939
    @dimakayali8939 14 днів тому

    Localhost wiki isnt working

    • @i12bretro
      @i12bretro  14 днів тому

      Is there an error message?

  • @priyanshukalal1195
    @priyanshukalal1195 4 місяці тому

    Thank you for this tutorial! Can I show ads on pages created using Mediawiki using adsense.