There is a lot of existing knowledge in the SDF HTML tutorials, one goal of this wiki is to make it easier and quicker to update tutorials. Here are some pointers in porting over tutorials to wiki markup
Interested in keeping the Wiki tutorials in sync with the HTML tutorials? Some folks only like to update the HTML tutorials. Here's a clever, quick command you can run from /sys/html/tutorials
to see updates from this year to files in HTML tutorials, that takes advantage of the fact that only files from the current year have hours:minutes in their timestamps. :
ls -l /sys/html/tutorials | grep :
If you need more than the current year, here's a kludgy-but-working one-liner you can run to see any updates since 2023:
rlog -r *.html |perl -nle "print if /^(Work|date)/"|perl -pe "s/Working file://" |perl -pe "s/^date: (.*)author.*/\1/"|perl -pe "s/(^.*\/[0-9]*) .*/\1/" |perl -pe 'chomp; $_ .= " ". <>'| sed -e 's/\(^.*\) \(.*$\)/\2\1/'|awk '$1>2023'|sort -r
For the reverse way, if you want to update the HTML tutorials to match the wiki, there is a “Recent changes” link at the top of all wiki pages that goes to a page you can use to find recent changes.
You could save that, but it's probably messy and needs cleanup, due to the ways the HTML tutorial writers had to work and the limitations of the converter.
http:<nowiki>//</nowiki>sdf.org
This should render as you expect, meaning not switching italics on for the rest of the document:
The protocol in a url is separated from the path by a colon and two slashes, for example: http://sdf.org
this is code
Currently we are using the following convention to link to the source HTML tutorials, via a snippet at the end of the tutorial that looks like so in dokuwiki markup:
<Link to Tutorial> - traditional link (using <Wikipedia link to ‘RCS’ definition>)
For example, the markup looks like:
[[http://sdf.org/?tutorials/Ruby_on_Rails | Ruby on Rails]] - traditional link (using [[wp>Revision_Control_System|RCS]])
And the Example page would then include:
Ruby on Rails - traditional link (using RCS)
Notes