In addition to what LYQ said each wowwiki page has an Edit > History menu.
You want to look through the history listing for the last page that's no later than August 31-2006.
Also the Lua source for vanilla can be found here
https://github.com/tekkub/wow-ui-source/tree/1.12.1Differences between Lua 5.0 and 5.2 can also be of help I guess. (eg. we don't have vararg/ellipsis ... or select() or # or math.fmod in vanilla client)
Generally speaking the most impactful changes are changes to the widget script handlers (this, event, arg# passed into functions implicitly, no "self", the combatlog is hugely different, as well as the macro system)