Jump to: navigation, search

Rollover for the manual

27 bytes added, 21:46, 21 May 2019
Rolling over the Gramps user manual
On this page, <code>5.x</code> refers to the 'old' (current) version of the manual - <code>5.z</code> refers to the new, to be created, version...
#Use phpmyadmin to backup all of the wiki tables (or the commandline if phpmyadmin times out!)!
#Locate all pages on the wiki that have <code>5.x</code> in the title - from the {{man label|wikimenu: toolbox, [[Special:AllPages|Tools > Special pages> All pages]]}}, All pages to get a full list of wiki pages.
#Copy/paste it into text processor - it may be in three columns separated by tabs. If so, use regular expression search/replace to replace tabs with carriage returns. Using GEDIT, best to replace <code>\t</code> with <code>\n</code> rather than <code>\r</code>. 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 <code>myfile.txt</code> for this example).
#Use grep to find only the pages with <code>5.x</code> in the title: ''<code>grep "5\.x" myfile.txt > mynewfile.txt</code>'' The backslash will make the full stop a literal rather than trying to be part of a regular expression.

Navigation menu