6/2/2023 0 Comments Mediawiki setupSome wikis, like Wikipedia, have short URLs enabled. The main page is now no longer editable to anybody but administrators. Find the option to "protect" the page, and click that. Log in with the administrator account you created during setup, and click on the arrow by the top right of the page. Now that you've gotten MediaWiki set up, you might as well configure it.īy default, the main page isn't protected. After moving the file there, reload the page. Place the file where your index.php file is. You must download this file, or else you will have to redo the installation form. ![]() When you have finished the form, you will see a page that asks you to download a file named LocalSettings.php. You can skip the last page, which lets you install some common extensions and skins for MediaWiki. You should see a message telling you to set up MediaWiki by going to a link. Navigate to index.php, which is located in the location of the MediaWiki folder. Make sure to include the third slash that represents the root directory! For example, to go to /home/user, you use file:///home/user. Note: In order to navigate to a file on your computer, you should use file://. This user is important even if you plan to create a different one for yourself later, because it has administrator privileges, so if you want to give yourself administrator privileges (and you will), the best way to do it is via that user.]# /etc/init.d/apache2 start Since LocalSettings.php is not there, MediaWiki will guide you on the browser through a series of steps where you have to specify the wiki's name, the name of the database to be created, and other settings, including the username and password for the wiki's first user (by default, the username is “WikiSysop LocalSettings.php is the initialization file for MediaWiki, holding all the user-modifiable settings for the wiki we'll get to many of them over the course of this book. LocalSettings.php – by default, it's not there, and its absence tells MediaWiki that this is a new installation. At that point, assuming you have PHP, a database system and a web server running, the MediaWiki code should get executed correctly, and it will then look for a file called Introduction Prerequisites Update The System Install LAMP Server Configure Database for Mediawiki Install Mediawiki Configure Apache for Mediawiki Access. Once you've downloaded the main MediaWiki code, go to the URL for that code in a browser. ( ) – a “MediaWiki Command-Line Interface” that installs via Docker, similar in concept to Canasta, although it does not include any extensions or skins. ![]() MediaWiki-Docker ( ) – “a Docker based development environment” that comes pre-installed with MediaWiki core so you still need to download (and install) MediaWiki in the standard way in order to use it.Docker's own MediaWiki image ( ) – created with no involvement from the Wikimedia Foundation, but it's easy to install, and seems to work fine.( ) – a MediaWiki Docker image that comes with its own command-line interface, and a large set of pre-installed extensions and skins. Some of the notable Docker-based MediaWiki pages are: Docker, or at least virtualization (since there are some notable Docker competitors, like Podman) seems to represent the future of MediaWiki installation. The mini-OS is referred to as a “container”, while the package that defines it is called an “image”, and this approach makes it much easier for package/image developers to ensure that what gets downloaded will work correctly regardless of the machine it is run on. ![]() Docker is extremely popular software that uses an approach called virtualization to simulate an entire an entire mini-operating system within your real operating system.
0 Comments
Leave a Reply. |