<div dir="ltr">Hi,<div><br></div><div>Just a heads up that there was some progress made with GeSHi syntax highlighting today for the wiki.</div><div><br></div><div>Originally we were using a system wide pygmentize, due to not having php composer installed (or aware of what it did, even!). Now, I have switched to the proper upstream pygmentize, ran the updates from it to pull down its dependencies, and try use that.</div><div><br></div><div>At first it we still spitting out some broken pages, but these were clearly just cached pages. I have since purged the memcached and all of the past broken pages that I noticed appear to work now. So I guess try using proper <source lang=...> syntax again on the wiki, but let me know if you run into any broken pages so that we can ensure that the problem was related to the system installed pygmentize without full dependencies, being the problem.</div><div><br></div><div><br></div><div>Dan</div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Jun 17, 2018 at 10:48 AM Dan McGrath <<a href="mailto:danmcgrath.ca@gmail.com">danmcgrath.ca@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>Just a heads up that I noticed that a small handful of pages were throwing MW exceptions on the wiki when using syntax highlighting. An example is:</div><div><br></div><div>  <a href="https://wiki.blender.org/wiki/Tools/Git" target="_blank">https://wiki.blender.org/wiki/Tools/Git</a><br></div><div><br></div><div>If you edit this page and change the very first <source lang="sh"> back to <source lang="bash">, it will throw an exception in the GeSHI syntax highlight extension, which uses pygmentize. I don't know much more than this, so if you see an MW exception when trying to view a page, I would suggest to try change some/all of the lang's from bash to sh for now.</div><div><br></div><div>On a side note, I have noticed that there are no redirects for the now removed namespaces (eg: Dev:Doc) where some old pages used to reside, but have been moved. I believe the proper way to migrate such pages is to put it in the original place (Dev:Doc/Foobar) and then move it to the new location (/Foobar), so that a redirect is placed for people using the old URLs. See <a href="https://www.mediawiki.org/wiki/Help:Redirects" target="_blank">https://www.mediawiki.org/wiki/Help:Redirects</a> for more info. Long story short: if you moved a page from the old wiki, visiting the same <a href="http://wiki.blender.org" target="_blank">wiki.blender.org</a> URL that it used to be should at least take you right back to the old location.</div></div><div dir="ltr"><div><br></div><div><br></div><div>Dan</div></div></blockquote></div>