evan_tech

Previous Entry Share Next Entry
04:20 pm, 13 Jan 05

two more wikipedia remarks

I was thinking about some toy projects for Wikipedia data again and I poked around some Wikipedia code. Two observations:
  1. Good'ol timwi strikes again:
    Revision 1.160 - (view) (download) (annotate) - [select for diffs]
    Sun Aug 1 01:57:26 2004 UTC (5 months, 1 week ago) by timwi
    Branch: MAIN
    Changes since 1.159: +4 -7 lines
    Diff to previous 1.159
    Since nobody commented on this, I assume all the changes are OK
    (http://mail.wikipedia.org/pipermail/wikitech-l/2004-July/011789.html)
    Use wfMsg's own replacement functionality instead of str_replace ( "$1", ... )
    What a great develoment model. :(
  2. From a recent change:
    BUG#1317 - External links in image caption not working
    Changed regexp to allow single ] inside of an image's alternative text
    I know it's against the spirit of wikipedia to actually have some careful design go into it, but they would've saved so much pain had they designed wikitext as a regular language instead of a pile of regular expressions. Since they allow HTML in entry bodies, the only way to properly display wiki data is with an HTML browser. :(