Changes

Jump to: navigation, search

Rollover for the manual

121 bytes added, 19:22, 9 March 2011
no edit summary
[[Category:Developers/General]]
On this page, 3.x refers to the 'old' (current) version of the manual - 3.z refers to the new, to be created, version...#Use phpmyadmin to backup all of the wiki tables!Locate all pages on the wiki that have 3.0 x in the title - from the wiki: toolbox, Special pages, All pages to get a full list of wiki pages.
#Copy/paste it into text processor - it is in three columns separated by tabs. Use regular expression search/replace to replace tabs with carriage returns. Using GEDIT, best to replace \t with \n rather than \r. You now have a list of all files on the wiki, one title per line. Save it as a text file (I'll call it myfile.txt for this example).
#Use grep to find only the pages with 3.0 x in the title: ''grep "3\.0x" myfile.txt > mynewfile.txt'' The backslash will make the full stop a literal rather than trying tobe part of a regular expression.#Use a text editor to view the new file, and delete any pages that you don't want to roll over (That is, some pages may refer to 3.0 x in the title, but are not pages that we want duplicated into 3.1z...)
#Copy/paste the new list of page titles into the wiki export using toolbox, Special pages, Export pages and create the xml to screen. Be sure box for Include only the current revision, not the full history is ticked.
#Copy/paste the xml into a text processor and use search/replace to replace 3.0 x with 3.1 z
#Save the file (I'll call it export.xml for this example).
#Import the new pages into the wiki: toolbox, Special pages, Restricted special pages (available only to Sysop members of the wiki), Import pages. Browse to find the .xml file and Upload file.

Navigation menu