{"id":272,"date":"2006-01-15T08:21:20","date_gmt":"2006-01-15T06:21:20","guid":{"rendered":"http:\/\/blogs.bl0rg.net\/neingeist-neu\/2006\/01\/15\/update-your-wiki-now-and-then\/"},"modified":"2006-10-10T03:07:34","modified_gmt":"2006-10-10T01:07:34","slug":"update-your-wiki-now-and-then","status":"publish","type":"post","link":"https:\/\/blogs.bl0rg.net\/neingeist\/2006\/01\/15\/update-your-wiki-now-and-then\/","title":{"rendered":"update your wiki, now and then"},"content":{"rendered":"<p>once, in a while, there&#8217;s the inevitable thing to do: you have to update your mediawiki. this is a rather cumbersome work, especially if you have customized your wiki beyond sanity (well, it&#8217;s cumbersome even if you haven&#8217;t). so what we need is a cute little patch, not the whole dirty tarball. however, the mediawiki folks don&#8217;t provide patches.<\/p>\n<p>after losing my first and writing my second &#8220;make-mediawiki-patch&#8221; script i thought, i&#8217;d save it here and other people might like it, too. it&#8217;s from neingeist&#8217;s dirty-little-helpers-with-no-brain department.<\/p>\n<pre>#!\/bin\/bash\r\nsfmirror=<a href=\"http:\/\/mesh.dl.sourceforge.net\/sourceforge\/\">http:\/\/mesh.dl.sourceforge.net\/sourceforge\/<\/a>  from=$1 to=$2  if [ -z \"$to\" ]; then   echo \"Usage: $0 x.x.x y.y.y\"   exit fi  tmpdir=`mktemp -d \/tmp\/mediawiki-XXXXXX` && cd $tmpdir wget -c \"$sfmirror\/wikipedia\/mediawiki-$from.tar.gz\" wget -c \"$sfmirror\/wikipedia\/mediawiki-$to.tar.gz\" tar xzf \"mediawiki-$from.tar.gz\" tar xzf \"mediawiki-$to.tar.gz\" diff -uNr \"mediawiki-$from\/\" \"mediawiki-$to\/\" &gt; \"mediawiki-patch-$from-$to.diff\" echo \"Truth lieth in $tmpdir.\"<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>once, in a while, there&#8217;s the inevitable thing to do: you have to update your mediawiki. this is a rather cumbersome work, especially if you have customized your wiki beyond sanity (well, it&#8217;s cumbersome even if you haven&#8217;t). so what we need is a cute little patch, not the whole dirty tarball. however, the mediawiki [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[12],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.bl0rg.net\/neingeist\/wp-json\/wp\/v2\/posts\/272"}],"collection":[{"href":"https:\/\/blogs.bl0rg.net\/neingeist\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.bl0rg.net\/neingeist\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.bl0rg.net\/neingeist\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.bl0rg.net\/neingeist\/wp-json\/wp\/v2\/comments?post=272"}],"version-history":[{"count":0,"href":"https:\/\/blogs.bl0rg.net\/neingeist\/wp-json\/wp\/v2\/posts\/272\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.bl0rg.net\/neingeist\/wp-json\/wp\/v2\/media?parent=272"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.bl0rg.net\/neingeist\/wp-json\/wp\/v2\/categories?post=272"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.bl0rg.net\/neingeist\/wp-json\/wp\/v2\/tags?post=272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}