Wiki Migration

From AgileMe
Revision as of 00:58, 16 June 2021 by Mmusij (talk | contribs) (Created page with "category:maintenance ==Update Local Settings== In the hosting service file manager edit the <code>~/public_html/wiki/LocalSettings.php</code> file and ensure that the nec...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Update Local Settings

In the hosting service file manager edit the ~/public_html/wiki/LocalSettings.php file and ensure that the necessary updates to the extensions, user permissions, ability to upload files are updated appropriately.

Update Graphics

In the hosting service file manager upload the graphics for the wiki logos and favicons to the ~/public_html/wiki/assets directory. N.B. Logo sizes are expected to be in multiples of 135 x 135 pixels, e.g. 1x = (135, 135) and 2x = (270, 270)

Update Main Page

Using MediaWiki:MainPage update the main page

Update Sidebar

Using MediaWiki:Sidebar update the side bar links and items

Export Pages

From Special:Export export the pages into a downloaded XML file.

Import Pages

From the downloaded XML file upload the pages using the Special:Import page.

Compress Image Files

In the host file manager compress all of the files in the ~/html/wiki/images/ directory into a tar file and download from the host server.

Once downloaded extract the files and associated directory structure into a parent directory.

Move The Files

The files are located within the subdirectory structure and so need to be relocated to the parent directory.

Change directory to the parent directory and execute the following:

find . -type f -exec mv -i -- {} . \;

Rename Files

The next step is to rename the files by replacing the underscores with spaces in the filenames.

In the terminal, change the directory to the parent directory and execute the following:

find . -name "*_*" -type f -print0 | while read -d $'\0' f; do mv -v "$f" "${f//_/ }"; done

Upload Files

Using the Extension:SimpleBatchUpload extension to Media Wiki upload the files in the Special:BatchUpload page.

Update The Categories

Using Special:WantedCategories page to list the broken links and missing categories, create new categories for each item on the list.

Finally

Check out the wiki and look for broken links in the imported pages.