I just completed the process for the first time, so it is fresh on my mind. Provided here is an easy summary of the exact links and steps that I needed. I went from MediaWiki version 1.20 to 1.22.2.
MediaWiki recommends only transferring files/database between same versions. So, these steps will also quickly include updating the "old" wiki first before installing a new instance on the new domain.
This information is for small, non-customized wikis. For more important data, you should probably read Manual:Upgrading.
Upgrade to newest stable release (optional)
0. Check requirements by reading the release notes
1. Backup files and database. The different ways include SSH, FTP, and via phpMyAdmin. More info
2. Upgrade files. Latest version. One idea is to upload these new files in a different directory, then change the names of the two directories so that the new one starts serving the files.
2.1. Added back LocalSettings.php, Images folder, and custom extensions.
3. Upgrade database. For the web method, navigate to "/mw-config/index.php". Some requirement checks will be performed during the setup wizard process.
4. Test if successful.
Create MediaWiki instance in the new server/domain
0. Backup files and database if you haven't already done so in the first section.
1. Create new instance of MediaWiki on new domain.
2. Import old settings and files from old domain, and change link locations as appropriate.
3. Test.
More detailed info: Manual:Moving a wiki
~ Danial Goodwin ~
Showing posts with label move. Show all posts
Showing posts with label move. Show all posts
2014-02-14
2014-02-07
Level Up - Windows 8: How to Copy/Move Files From Many Subfolders To Just One Folder
Long Title: How to Transfer Files From Many Subfolders To Just One Folder and Rename Them All Easily and Quickly.
Example: I had about 100 images that were all neatly organized into 100 different subfolders. I wanted to put them in just five different subfolder as painless as possible. Manually moving each image one-by-one was not ideal, so here's what I did, using the Windows Command Prompt and a Batch file:
1. Create a BAT file.
2. Add the following code:
FOR /L %%i IN (0,1,19) DO (
copy %cd%\ic_launcher(%%i)\res\drawable-mdpi\ic_launcher.png %cd%\_mdpi\data_cycle_%%i.png
copy %cd%\ic_launcher(%%i)\res\drawable-hdpi\ic_launcher.png %cd%\_hdpi\data_cycle_%%i.png
copy %cd%\ic_launcher(%%i)\res\drawable-xhdpi\ic_launcher.png %cd%\_xhdpi\data_cycle_%%i.png
copy %cd%\ic_launcher(%%i)\res\drawable-xxhdpi\ic_launcher.png %cd%\_xxhdpi\data_cycle_%%i.png
copy %cd%\ic_launcher(%%i)\res\drawable-xxxhdpi\ic_launcher.png %cd%\_xxxhdpi\data_cycle_%%i.png
)
3. Run the BAT by double-clicking the file (or right-click->Open) (or run via command prompt).
Note:
- The parenthesis after "DO" must go on the same line. Putting it on the next line will cause the file to not work properly.
- If you want to move files rather than copy, then change "copy" to "move".
- If you want to keep the same file names, then you don't have to specify the file name on the second parameter.
Now in a simpler English, what this batch file does:
- There are five "copy" commands with a source and destination.
- These commands are each ran 20 times because of the "FOR" command.
- The "FOR" line says do the following commands within the parentheses 20 times. The first time will have the variable "%%i" equal to 0. The second run will have "%%i" equal to 1. The variable will keep incrementing until "%%i" is equal to 19. This behavior is defined at "%%i IN (0,1,19)", where 0 is the starting number, 19 is the ending number, and 1 is the increment number (which could also be negative).
For more information about for-loops, then type "for /?" into the command prompt.
Here's some more commands that you can try: Windows Command Prompt Cheat Sheet
~ Danial Goodwin ~
Example: I had about 100 images that were all neatly organized into 100 different subfolders. I wanted to put them in just five different subfolder as painless as possible. Manually moving each image one-by-one was not ideal, so here's what I did, using the Windows Command Prompt and a Batch file:
1. Create a BAT file.
2. Add the following code:
FOR /L %%i IN (0,1,19) DO (
copy %cd%\ic_launcher(%%i)\res\drawable-mdpi\ic_launcher.png %cd%\_mdpi\data_cycle_%%i.png
copy %cd%\ic_launcher(%%i)\res\drawable-hdpi\ic_launcher.png %cd%\_hdpi\data_cycle_%%i.png
copy %cd%\ic_launcher(%%i)\res\drawable-xhdpi\ic_launcher.png %cd%\_xhdpi\data_cycle_%%i.png
copy %cd%\ic_launcher(%%i)\res\drawable-xxhdpi\ic_launcher.png %cd%\_xxhdpi\data_cycle_%%i.png
copy %cd%\ic_launcher(%%i)\res\drawable-xxxhdpi\ic_launcher.png %cd%\_xxxhdpi\data_cycle_%%i.png
)
3. Run the BAT by double-clicking the file (or right-click->Open) (or run via command prompt).
Note:
- The parenthesis after "DO" must go on the same line. Putting it on the next line will cause the file to not work properly.
- If you want to move files rather than copy, then change "copy" to "move".
- If you want to keep the same file names, then you don't have to specify the file name on the second parameter.
Now in a simpler English, what this batch file does:
- There are five "copy" commands with a source and destination.
- These commands are each ran 20 times because of the "FOR" command.
- The "FOR" line says do the following commands within the parentheses 20 times. The first time will have the variable "%%i" equal to 0. The second run will have "%%i" equal to 1. The variable will keep incrementing until "%%i" is equal to 19. This behavior is defined at "%%i IN (0,1,19)", where 0 is the starting number, 19 is the ending number, and 1 is the increment number (which could also be negative).
For more information about for-loops, then type "for /?" into the command prompt.
Here's some more commands that you can try: Windows Command Prompt Cheat Sheet
~ Danial Goodwin ~
2013-11-24
History of Chess Notations
(This post is for those chess players out there.)
I just came across a Wikipedia page explaining the history of chess notations and there is some amusing stuff there.
These days, chess notation usually looks something like e2-e3 (long form) which stands for a pawn move in column e, from row 2 to row 3. For those that don't know, some chess players write down chess moves in order to help remember how the game progressed.
But,
In 1946, the standard was N-KB3
In 1848, the standard was K. Kt. to B's 3rd.
In 1750, they used K. knight to His Bishop's 3d.
In 1614, The white king commands his owne knight into the third house before his owne bishop.
Find out more information from my source, Wikipedia: <link>
~ Danial Goodwin ~
ps - For those that don't know, every chess board nowadays has each of the squares labeled alpha-numerically using A-H and 1-8.
I just came across a Wikipedia page explaining the history of chess notations and there is some amusing stuff there.
These days, chess notation usually looks something like e2-e3 (long form) which stands for a pawn move in column e, from row 2 to row 3. For those that don't know, some chess players write down chess moves in order to help remember how the game progressed.
But,
How did history write chess notations?
Imagine that you want to take note that a Knight moved to F3. Today, you would just write Nf3 and be done. Here's how they did it throughout history:In 1946, the standard was N-KB3
In 1848, the standard was K. Kt. to B's 3rd.
In 1750, they used K. knight to His Bishop's 3d.
In 1614, The white king commands his owne knight into the third house before his owne bishop.
Find out more information from my source, Wikipedia: <link>
~ Danial Goodwin ~
ps - For those that don't know, every chess board nowadays has each of the squares labeled alpha-numerically using A-H and 1-8.
Subscribe to:
Posts (Atom)