How do I Export MediaWiki data?

How do I Export MediaWiki data?

There are at least four ways to export pages: Paste the name of the articles in the box in Special:Export or use //www.mediawiki.org/wiki/Special:Export/FULLPAGENAME. The backup script dumpBackup. php dumps all the wiki pages into an XML file.

How do I Export a Wikipedia page?

To export one or more pages from a wiki, go to the special “Export pages” page which is available on all wikis. Once there, you can either provide a list of pages or select your list from one or more categories. The first field allows you to choose a category.

How do I import a wiki template into MediaWiki?

Install the Scribunto extension and properly configure it. Export/Import the LUA modules used by the (meta)templates you want to use and import them in your MediaWiki. Export/Import the Wikipedia templates you want to use, together with all the required metatemplates, and import them in your MediaWiki.

How do I restore MediaWiki?

To wipe and restore the wiki file systemEdit Open the wiki from the browser and click on the Set up the wiki first link. See Manual:Config script for details. If needed, you can run the command-line installer php wikifolder/maintenance/install.

How do I backup my MediaWiki site?

If your wiki is currently offline, its database can be backed up by simply copying the database file. Otherwise, you should use a maintenance script: php maintenance/sqlite. php –backup-to , which will make sure that operation is atomic and there are no inconsistencies.

How do I convert a Wikipedia page to a PDF?

How to export a Wikipedia page as a PDF

  1. Navigate to Wikipedia.
  2. Search for the page you’ll like to save.
  3. Locate the Print/export section in the left panel of the page.
  4. Select Download as PDF from the list.
  5. Select the download link to start the download.

How do I move a Wikipedia page?

To move a page:

  1. Go to the page that you want to move.
  2. Locate the “Move” option at the top of the page.
  3. Click the “Move” option, and fill in the details of your move.
  4. When ready, click the Move page button and, if successful, the page will be renamed to the new title.

What are MediaWiki templates?

Templates provide a means to repeat the same text on several pages. More advanced templates make use of parameters, and even of control structures as found in programming languages. That said, basic templates are quite easy to create, requiring no knowledge of programming.

How do I migrate MediaWiki?

  1. overview.
  2. Step 1: Back up the source wiki’s page data.
  3. Step 2: Back up the source wiki’s media files.
  4. Step 3: Copy the backup files to your new server.
  5. Step 4: Import the page data into the destination wiki’s database.
  6. Step 5: Import the media files into the destination wiki.
  7. Step 6: Enjoy!

How do I restore my MediaWiki backup?

Overview

  1. Re-create the database, user and permissions.
  2. Import the database backup.
  3. Import the MediaWiki files.
  4. Check the configuration file.
  5. Test.

Where to find data transfer extension in MediaWiki?

To view the code online, including version history for each file, you can go here . After you’ve obtained a ‘DataTransfer’ directory (either by extracting a compressed file or downloading via Git), place this directory within the main MediaWiki ‘extensions’ directory.

How do you format text in a wiki?

You can format your text by using wiki markup. This consists of normal characters like asterisks, apostrophes or equal signs which have a special function in the wiki, sometimes depending on their position.

Do you need XML to import a wiki page?

The XML import requires the standard, i.e. non-simplified, XML format that “ViewXML” produces, although with several differences: the “ID” attribute for each page should not be present, and tags called “Category” or “Namespace” (in whatever language the wiki is in) should not be present.

Where can I download the data transfer code?

You can download the Data Transfer code, in .zip format, here . Or download the code via Git from the MediaWiki source code repository by running this command from the extensions directory: To view the code online, including version history for each file, you can go here .

Begin typing your search term above and press enter to search. Press ESC to cancel.

Back To Top