Is there an issue? Send a MessageReason:
None
* BuffyTheVampireSlayer (not including the comics)
* MrShowWithBobAndDavid
Changed line(s) 550 (click to see context) from:
to:
* TwinPeaks
Changed line(s) 554,555 (click to see context) from:
* BuffyTheVampireSlayer (through season five)
* {{Angel}} (through season two)
* {{Angel}} (through season two)
to:
Changed line(s) 557 (click to see context) from:
to:
* TheSopranos (through season one)
* {{Dexter}} (through season 2)
* TheLarrySandersShow (through season one)
* {{Dexter}} (through season 2)
* TheLarrySandersShow (through season one)
Is there an issue? Send a MessageReason:
None
Changed line(s) 556 (click to see context) from:
to:
* AfroSamurai (season one)
Is there an issue? Send a MessageReason:
None
* MaxHeadroom
Changed line(s) 553 (click to see context) from:
to:
* BuffyTheVampireSlayer (through season five)
* {{Angel}} (through season two)
* {{Angel}} (through season two)
Is there an issue? Send a MessageReason:
None
Changed line(s) 542 (click to see context) from:
* [[{{Reno911}} Reno 911!]] (not counting ''Reno 911: Miami'')
to:
* [[{{Reno911}} Reno 911!]] (not counting (including ''Reno 911: Miami'')
Is there an issue? Send a MessageReason:
None
* [[{{Reno911}} Reno 911!]] (not counting ''Reno 911: Miami'')
Changed line(s) 550,551 (click to see context) from:
* [[{{Reno911}} Reno 911!]] (through season five)
to:
Changed line(s) 556 (click to see context) from:
* TheVentureBrothers (first three seasons)
to:
* TheVentureBrothers (first three seasons)seasons)
!CROWBAR
My belief in {{CROWBAR}} is that alternative solutions should be proposed if problems are going to be identified.
*http://www.mediawiki.org/wiki/Extension:Reflect
!CROWBAR
My belief in {{CROWBAR}} is that alternative solutions should be proposed if problems are going to be identified.
*http://www.mediawiki.org/wiki/Extension:Reflect
Is there an issue? Send a MessageReason:
None
Changed line(s) 1,2 (click to see context) from:
Northwestern 21-year old nerd kid in the games industry. Programs in {{Lua}}.
to:
Pacific Northwestern 21-year old nerd kid in the games industry. Programs in {{Lua}}.
Is there an issue? Send a MessageReason:
None
Changed line(s) 9,10 (click to see context) from:
!Works:
to:
Is there an issue? Send a MessageReason:
None
For more, see http://testtrack4.com/wiki/Stuart_P._Bentley.
Changed line(s) 7,8 (click to see context) from:
!Things I've Written:
to:
Is there an issue? Send a MessageReason:
None
Changed line(s) 9 (click to see context) from:
!!Cracked articles:
to:
Is there an issue? Send a MessageReason:
None
Added DiffLines:
!Things I've Written:
!!Cracked articles:
*[[http://www.cracked.com/article_18808_7-reasons-computer-glitches-wont-go-away-ever.html 7 Reasons Computer Glitches Won't Go Away (Ever)]]
!!Cracked articles:
*[[http://www.cracked.com/article_18808_7-reasons-computer-glitches-wont-go-away-ever.html 7 Reasons Computer Glitches Won't Go Away (Ever)]]
Is there an issue? Send a MessageReason:
None
Changed line(s) 546 (click to see context) from:
* {{Community}} (one season)
to:
* {{Community}} (one season)season, as well as what's been aired for season 2)
Is there an issue? Send a MessageReason:
None
Changed line(s) 548 (click to see context) from:
* SouthPark (13 seasons, not counting ''201'')
to:
* SouthPark (13 seasons, not counting ''201'')''201'')
* TheVentureBrothers (first three seasons)
* TheVentureBrothers (first three seasons)
Is there an issue? Send a MessageReason:
None
Changed line(s) 548 (click to see context) from:
* SouthPark (13 seasons, not counting 201)
to:
* SouthPark (13 seasons, not counting 201)''201'')
Is there an issue? Send a MessageReason:
None
Added DiffLines:
* SouthPark (13 seasons, not counting 201)
Is there an issue? Send a MessageReason:
None
Changed line(s) 3,4 (click to see context) from:
Editing-wise, I'm a SerialTweaker due to ProximalErrorProbability and general draft-based editing.
to:
Editing-wise, I'm a SerialTweaker due to ProximalErrorProbability and general draft-based editing.
other such phenomena.
* TheState
Deleted line(s) 536 (click to see context) :
* TheState
Is there an issue? Send a MessageReason:
None
Changed line(s) 541,542 (click to see context) from:
* [[{{Reno911}} Reno 911!]]
to:
* [[{{Reno911}} Reno 911!]]
911!]] (through season five)
Is there an issue? Send a MessageReason:
None
Added DiffLines:
Editing-wise, I'm a SerialTweaker due to ProximalErrorProbability and general draft-based editing.
Is there an issue? Send a MessageReason:
None
Changed line(s) 9,10 (click to see context) from:
!Lua scripts: %%CTRL+F "ENDSCRIPTS" to skip past this part, it's automatically written by tropersrepo.lua
to:
!Lua scripts: scripts:
%%CTRL+F "ENDSCRIPTS" to skip past this part, it's automatically written by tropersrepo.lua
%%CTRL+F "ENDSCRIPTS" to skip past this part, it's automatically written by tropersrepo.lua
Is there an issue? Send a MessageReason:
None
Changed line(s) 9,10 (click to see context) from:
!Lua scripts:
to:
!Lua scripts:
scripts: %%CTRL+F "ENDSCRIPTS" to skip past this part, it's automatically written by tropersrepo.lua
Is there an issue? Send a MessageReason:
None
Changed line(s) 221,222 (click to see context) from:
@@[=push "dammit, tv tropes"=]@@
\\
\\
to:
\\
Is there an issue? Send a MessageReason:
dammit, tv tropes
Changed line(s) 22 (click to see context) from:
@@[= =][= =][= =][= =][= =][= =][=function (c) return string.format ("%%%02X", string.byte(c)) end)=]@@
to:
@@[= =][= =][= =][= =][= =][= =][=function (c) return string.format ("%%%02X", string.byte(c)) end)=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=local escaped = line=]@@
Changed line(s) 168 (click to see context) from:
@@[= =][= =][= =][= =][= =][= =][= =][= =][=local escaped=string.gsub(line,"=]","=]=[=]")=]@@
to:
@@[= =][= =][= =][= =][= =][= =][= =][= =][=local escaped=string.gsub(line,"=]","=]=[=]")=]@@=][=escaped=string.gsub(escaped,"=]=[=]","=]=[=]=[=]=[=]")=]@@
Changed line(s) 172 (click to see context) from:
@@[= =][= =][= =][= =][= =][= =][= =][= =][=local escaped=string.gsub(line,"=]~[=","=]=]~[=[=")=]@@
to:
@@[= =][= =][= =][= =][= =][= =][= =][= =][=local escaped=string.gsub(line,"=]~[=","=]=]~[=[=")=]@@=][=escaped=string.gsub(escaped,"=]~[=","=]=[=]=]~[=[=")=]@@
Changed line(s) 176 (click to see context) from:
@@[= =][= =][= =][= =][= =][= =][= =][= =][=escaped=string.gsub(escaped,"folder]=]][=","folder]=]][=")=]@@
to:
@@[= =][= =][= =][= =][= =][= =][= =][= =][=escaped=string.gsub(escaped,"folder]=]][=","folder]=]][=")=]@@gsub(escaped,"folder]=]][=","folder]=]=[=]][=")=]@@
Changed line(s) 182 (click to see context) from:
@@[= =][= =][= =][= =][= =][= =][= =][= =][= =][= =][=return string.gsub(s," "," =][=")=]@@
to:
@@[= =][= =][= =][= =][= =][= =][= =][= =][= =][= =][=return string.gsub(s," "," =][=")=]@@=]=[=][=")=]@@
Changed line(s) 185 (click to see context) from:
@@[= =][= =][= =][= =][= =][= =][= =][= =][=slines[#slines+1]=string.format("@@[=%s=]@@",escaped)=]@@
to:
@@[= =][= =][= =][= =][= =][= =][= =][= =][=slines[#slines+1]=string.format("@@[=%s=]@@",escaped)=]@@format("@@[=%s=]=[=]@@",escaped)=]@@
Changed line(s) 439 (click to see context) from:
@@[=]=]=]@@
to:
Is there an issue? Send a MessageReason:
dammit, tv tropes
Changed line(s) 170 (click to see context) from:
@@[= =][= =][= =][= =][= =][= =][= =][= =][=--skip tildes because of that thing=]@@
to:
@@[= =][= =][= =][= =][= =][= =][= =][= =][=--skip tildes because of that thing=]@@thing it does where it=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=--replaces them with thorns=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=--replaces them with thorns=]@@
Is there an issue? Send a MessageReason:
dammit, tv tropes
Changed line(s) 21 (click to see context) from:
@@[= =][= =][=str = string.gsub (str, "([^%w%-%.%_%~ ])",=]@@
to:
@@[= =][= =][=str = string.gsub (str, "([^%w%-%.%_%~ %_%=]~[= ])",=]@@
Changed line(s) 88 (click to see context) from:
@@[= =][= =][=if tonumber(response[2])~=302 then=]@@
to:
@@[= =][= =][=if tonumber(response[2])~=302 tonumber(response[2])=]~[==302 then=]@@
Changed line(s) 168 (click to see context) from:
@@[= =][= =][= =][= =][= =][= =][= =][= =][=local escaped=string.gsub(line,"=]=[=]","=]=[=]=[=]=[=]")=]@@
to:
@@[= =][= =][= =][= =][= =][= =][= =][= =][=local escaped=string.gsub(line,"=]=[=]","=]=[=]=[=]=[=]")=]@@gsub(line,"=]","=]=[=]")=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=--skip tildes because of that thing=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=local escaped=string.gsub(line,"=]~[=","=]=]~[=[=")=]@@
\\
@@[= =][= =][= =][= =][= =][= =][= =][= =][=local escaped=string.gsub(line,"=]~[=","=]=]~[=[=")=]@@
\\
Changed line(s) 172 (click to see context) from:
@@[= =][= =][= =][= =][= =][= =][= =][= =][=escaped=string.gsub(escaped,"folder]=]][=","folder]=]=[=]][=")=]@@
to:
@@[= =][= =][= =][= =][= =][= =][= =][= =][=escaped=string.gsub(escaped,"folder]=]][=","folder]=]=[=]][=")=]@@gsub(escaped,"folder]=]][=","folder]=]][=")=]@@
Changed line(s) 178 (click to see context) from:
@@[= =][= =][= =][= =][= =][= =][= =][= =][= =][= =][=return string.gsub(s," "," =]=[=][=")=]@@
to:
@@[= =][= =][= =][= =][= =][= =][= =][= =][= =][= =][=return string.gsub(s," "," =]=[=][=")=]@@=][=")=]@@
Changed line(s) 181 (click to see context) from:
@@[= =][= =][= =][= =][= =][= =][= =][= =][=slines[#slines+1]=string.format("@@[=%s=]=[=]@@",escaped)=]@@
to:
@@[= =][= =][= =][= =][= =][= =][= =][= =][=slines[#slines+1]=string.format("@@[=%s=]=[=]@@",escaped)=]@@format("@@[=%s=]@@",escaped)=]@@
Changed line(s) 435 (click to see context) from:
@@[=]=]=[=]=]@@
to:
Added DiffLines:
@@[= =][= =][= =][= =][=--as is Beef Consomme=]@@
@@[= =][= =][= =][= =][=elseif s==1 and e==13 then=]@@
@@[= =][= =][= =][= =][= =][= =][=print "(Skipping Beef Consomme because the links go all screwy)"=]@@
@@[= =][= =][= =][= =][=elseif s==1 and e==13 then=]@@
@@[= =][= =][= =][= =][= =][= =][=print "(Skipping Beef Consomme because the links go all screwy)"=]@@
Is there an issue? Send a MessageReason:
dammit, tv tropes
Changed line(s) 16,24 (click to see context) from:
@@[= =][= --Ensure all newlines are in CRLF form=]@@
@@[= =][= str = string.gsub (str, "\r?\n", "\r\n")=]@@
@@[= =][= --Percent-encode all non-unreserved characters=]@@
@@[= =][= --as per RFC 3986, Section 2.3=]@@
@@[= =][= --(except for space, which gets plus-encoded)=]@@
@@[= =][= str = string.gsub (str, "([^%w%-%.%_%~ ])",=]@@
@@[= =][= =][= =][= function (c) return string.format ("%%%02X", string.byte(c)) end)=]@@
@@[= =][= --Convert spaces to plus signs=]@@
@@[= =][= return string.gsub (str, " ", "+")=]@@
@@[= =][= str = string.gsub (str, "\r?\n", "\r\n")=]@@
@@[= =][= --Percent-encode all non-unreserved characters=]@@
@@[= =][= --as per RFC 3986, Section 2.3=]@@
@@[= =][= --(except for space, which gets plus-encoded)=]@@
@@[= =][= str = string.gsub (str, "([^%w%-%.%_%~ ])",=]@@
@@[= =][= =][= =][= function (c) return string.format ("%%%02X", string.byte(c)) end)=]@@
@@[= =][= --Convert spaces to plus signs=]@@
@@[= =][= return string.gsub (str, " ", "+")=]@@
to:
@@[= =][= --Ensure =][=--Ensure all newlines are in CRLF form=]@@
@@[= =][=str =][=str = string.gsub (str, "\r?\n", "\r\n")=]@@
@@[= =][=--Percent-encode =][=--Percent-encode all non-unreserved characters=]@@
@@[= =][=--as =][=--as per RFC 3986, Section 2.3=]@@
@@[= =][=--(except =][=--(except for space, which gets plus-encoded)=]@@
@@[= =][=str =][=str = string.gsub (str, "([^%w%-%.%_%~ ])",=]@@
@@[= =][= =][= =][=function =][= =][= =][=function (c) return string.format ("%%%02X", string.byte(c)) end)=]@@
@@[= =][=--Convert =][=--Convert spaces to plus signs=]@@
@@[= =][=return =][=return string.gsub (str, " ", "+")=]@@
@@[= =][=
@@[= =][=
@@[= =][=
@@[= =][=
@@[= =][=
@@[= =][= =][= =][=
@@[= =][=
@@[= =][=
Changed line(s) 32,38 (click to see context) from:
@@[= =][= --table of argument strings=]@@
@@[= =][= local argts, i= {}, 1=]@@
@@[= =][= for k, v in pairs(t) do=]@@
@@[= =][= =][= argts[i]=encode(k).."="..encode(v)=]@@
@@[= =][= =][= i=i+1=]@@
@@[= =][= end=]@@
@@[= =][= return table.concat(argts,'&')=]@@
@@[= =][= local argts, i= {}, 1=]@@
@@[= =][= for k, v in pairs(t) do=]@@
@@[= =][= =][= argts[i]=encode(k).."="..encode(v)=]@@
@@[= =][= =][= i=i+1=]@@
@@[= =][= end=]@@
@@[= =][= return table.concat(argts,'&')=]@@
to:
@@[= =][= --table =][=--table of argument strings=]@@
@@[= =][=local =][=local argts, i= {}, 1=]@@
@@[= =][=for =][=for k, v in pairs(t) do=]@@
@@[= =][= =][=argts[i]=encode(k)..=][= =][=argts[i]=encode(k).."="..encode(v)=]@@
@@[= =][= =][=i=i+1=]@@
=][= =][=i=i+1=]@@
@@[= =][=end=]@@
=][=end=]@@
@@[= =][=return =][=return table.concat(argts,'&')=]@@
@@[= =][=
@@[= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][=
@@[= =][=
Changed line(s) 55 (click to see context) from:
@@[= =][= return "http://:foamy@tvtropes.org/pmwiki/pmwiki.php/"..page=]@@
to:
@@[= =][= return =][=return "http://:foamy@tvtropes.org/pmwiki/pmwiki.php/"..page=]@@
Changed line(s) 59,62 (click to see context) from:
@@[= =][= --Require pagename=]@@
@@[= =][= assert(type(page)=="string","Destination page name required")=]@@
@@[= =][= --If no namespace specified, assume Main=]@@
@@[= =][= if not string.find(page,'/') then page="Main/"..page end=]@@
@@[= =][= assert(type(page)=="string","Destination page name required")=]@@
@@[= =][= --If no namespace specified, assume Main=]@@
@@[= =][= if not string.find(page,'/') then page="Main/"..page end=]@@
to:
@@[= =][= --Require =][=--Require pagename=]@@
@@[= =][=assert(type(page)=="string","Destination =][=assert(type(page)=="string","Destination page name required")=]@@
@@[= =][=--If =][=--If no namespace specified, assume Main=]@@
@@[= =][=if =][=if not string.find(page,'/') then page="Main/"..page end=]@@
@@[= =][=
@@[= =][=
@@[= =][=
Changed line(s) 64 (click to see context) from:
@@[= =][= return page=]@@
to:
@@[= =][= return =][=return page=]@@
Changed line(s) 70 (click to see context) from:
@@[= =][= page=fullname(page)=]@@
to:
@@[= =][= page=fullname(page)=]@@=][=page=fullname(page)=]@@
Changed line(s) 72 (click to see context) from:
@@[= =][= assert(type(body)=="string","Page body required")=]@@
to:
@@[= =][= assert(type(body)=="string","Page =][=assert(type(body)=="string","Page body required")=]@@
Changed line(s) 74,81 (click to see context) from:
@@[= =][= local response ==]@@
@@[= =][= =][= {http.request(authpageurl(page),=]@@
@@[= =][= =][= =][= urlencode.table{=]@@
@@[= =][= =][= =][= =][= action="post", post="save",=]@@
@@[= =][= =][= =][= =][= pagename=page, text=body,=]@@
@@[= =][= =][= =][= =][= author=author or "Anonymous",=]@@
@@[= =][= =][= =][= =][= reason=reason or ""=]@@
@@[= =][= =][= =][= })}=]@@
@@[= =][= =][= {http.request(authpageurl(page),=]@@
@@[= =][= =][= =][= urlencode.table{=]@@
@@[= =][= =][= =][= =][= action="post", post="save",=]@@
@@[= =][= =][= =][= =][= pagename=page, text=body,=]@@
@@[= =][= =][= =][= =][= author=author or "Anonymous",=]@@
@@[= =][= =][= =][= =][= reason=reason or ""=]@@
@@[= =][= =][= =][= })}=]@@
to:
@@[= =][= local =][=local response ==]@@
@@[= =][= =][={http.=][= =][={http.request(authpageurl(page),=]@@
@@[= =][= =][= =][=urlencode.=][= =][= =][=urlencode.table{=]@@
@@[= =][= =][= =][= =][=action="post", =][= =][= =][= =][=action="post", post="save",=]@@
@@[= =][= =][= =][= =][=pagename=page, =][= =][= =][= =][=pagename=page, text=body,=]@@
@@[= =][= =][= =][= =][=author=author =][= =][= =][= =][=author=author or "Anonymous",=]@@
@@[= =][= =][= =][= =][=reason=reason =][= =][= =][= =][=reason=reason or ""=]@@
@@[= =][= =][= =][=})}=]@@=][= =][= =][=})}=]@@
@@[= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][= =][=
@@[= =][= =][= =][= =][=
@@[= =][= =][= =][= =][=
@@[= =][= =][= =][= =][=
@@[= =][= =][= =][=
Changed line(s) 83,84 (click to see context) from:
@@[= =][= --Error on any socket errors=]@@
@@[= =][= assert(response[1],response[2])=]@@
@@[= =][= assert(response[1],response[2])=]@@
to:
@@[= =][= --Error =][=--Error on any socket errors=]@@
@@[= =][=assert(response[1],response[2])=]@@=][=assert(response[1],response[2])=]@@
@@[= =][=
Changed line(s) 86,91 (click to see context) from:
@@[= =][= --If it doesn't return Found, return nil, the status, and the body:=]@@
@@[= =][= --sometimes it just rejects the password for some reason.=]@@
@@[= =][= if tonumber(response[2])~=302 then=]@@
@@[= =][= =][= return nil, response[2], response[1]=]@@
@@[= =][= else return true=]@@
@@[= =][= end=]@@
@@[= =][= --sometimes it just rejects the password for some reason.=]@@
@@[= =][= if tonumber(response[2])~=302 then=]@@
@@[= =][= =][= return nil, response[2], response[1]=]@@
@@[= =][= else return true=]@@
@@[= =][= end=]@@
to:
@@[= =][= --If =][=--If it doesn't return Found, return nil, the status, and the body:=]@@
@@[= =][=--sometimes =][=--sometimes it just rejects the password for some reason.=]@@
@@[= =][=if =][=if tonumber(response[2])~=302 then=]@@
@@[= =][= =][=return =][= =][=return nil, response[2], response[1]=]@@
@@[= =][=else =][=else return true=]@@
@@[= =][=end=]@@=][=end=]@@
@@[= =][=
@@[= =][=
@@[= =][= =][=
@@[= =][=
@@[= =][=
Changed line(s) 98 (click to see context) from:
@@[= =][= local ents = {quot='"', amp='&', lt='<', gt='>'}=]@@
to:
@@[= =][= local =][=local ents = {quot='"', amp='&', lt='<', gt='>'}=]@@
Changed line(s) 100,104 (click to see context) from:
@@[= =][= function html2plain(src)=]@@
@@[= =][= =][= src=string.gsub(src,"<br/>","\n")=]@@
@@[= =][= =][= src=string.gsub(src,"&(%w-);",ents)=]@@
@@[= =][= =][= return src=]@@
@@[= =][= end=]@@
@@[= =][= =][= src=string.gsub(src,"<br/>","\n")=]@@
@@[= =][= =][= src=string.gsub(src,"&(%w-);",ents)=]@@
@@[= =][= =][= return src=]@@
@@[= =][= end=]@@
to:
@@[= =][= function =][=function html2plain(src)=]@@
@@[= =][= =][=src=string.=][= =][=src=string.gsub(src,"<br/>","\n")=]@@
@@[= =][= =][=src=string.=][= =][=src=string.gsub(src,"&(%w-);",ents)=]@@
@@[= =][= =][=return =][= =][=return src=]@@
@@[= =][=end=]@@=][=end=]@@
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][=
Changed line(s) 110 (click to see context) from:
@@[= =][= page=fullname(page)=]@@
to:
@@[= =][= page=fullname(page)=]@@=][=page=fullname(page)=]@@
Changed line(s) 112,113 (click to see context) from:
@@[= =][= local body, code = http.request(=]@@
@@[= =][= =][= authpageurl(page)..'?action=source')=]@@
@@[= =][= =][= authpageurl(page)..'?action=source')=]@@
to:
@@[= =][= local =][=local body, code = http.request(=]@@
@@[= =][= =][=authpageurl(page)..=][= =][=authpageurl(page)..'?action=source')=]@@
@@[= =][= =][=
Changed line(s) 115,116 (click to see context) from:
@@[= =][= --Trigger error on socket failure=]@@
@@[= =][= assert(body,code)=]@@
@@[= =][= assert(body,code)=]@@
to:
@@[= =][= --Trigger =][=--Trigger error on socket failure=]@@
@@[= =][=assert(body,code)=]@@=][=assert(body,code)=]@@
@@[= =][=
Changed line(s) 118,119 (click to see context) from:
@@[= =][= --Return the source converted back from the HTML conversion=]@@
@@[= =][= return html2plain(body)=]@@
@@[= =][= return html2plain(body)=]@@
to:
@@[= =][= --Return =][=--Return the source converted back from the HTML conversion=]@@
@@[= =][=return =][=return html2plain(body)=]@@
@@[= =][=
Changed line(s) 138,141 (click to see context) from:
@@[= =][= "urlencode.lua",=]@@
@@[= =][= "tvtropes.lua",=]@@
@@[= =][= "tropersrepo.lua",=]@@
@@[= =][= "arrdev_recap.lua",=]@@
@@[= =][= "tvtropes.lua",=]@@
@@[= =][= "tropersrepo.lua",=]@@
@@[= =][= "arrdev_recap.lua",=]@@
to:
@@[= =][= "urlencode.=][="urlencode.lua",=]@@
@@[= =][="tvtropes.=][="tvtropes.lua",=]@@
@@[= =][="tropersrepo.=][="tropersrepo.lua",=]@@
@@[= =][="arrdev_recap.=][="arrdev_recap.lua",=]@@
@@[= =][=
@@[= =][=
@@[= =][=
Changed line(s) 145,147 (click to see context) from:
@@[= =][= return string.format(=]@@
@@[= =][= =][= "[[folder:%s]]\n%s\n[[/folder]=]][=",=]@@
@@[= =][= =][= name,script)=]@@
@@[= =][= =][= "[[folder:%s]]\n%s\n[[/folder]=]][=",=]@@
@@[= =][= =][= name,script)=]@@
to:
@@[= =][= return =][=return string.format(=]@@
@@[= =][= =][="[[folder:%s]]\n%s\n[[/folder]=]][=",=]@@
=][= =][="[[folder:%s]]\n%s\n[[/folder]=]][=",=]@@
@@[= =][= =][=name,script)=]@@=][= =][=name,script)=]@@
@@[= =][= =][=
@@[= =][= =][=
Changed line(s) 151,155 (click to see context) from:
@@[= =][= local folders={=]@@
@@[= =][= =][= "%%START".."SCRIPTS%%",=]@@
@@[= =][= =][= "[[foldercontrol]]"=]@@
@@[= =][= }=]@@
@@[= =][= local headers=#folders=]@@
@@[= =][= =][= "%%START".."SCRIPTS%%",=]@@
@@[= =][= =][= "[[foldercontrol]]"=]@@
@@[= =][= }=]@@
@@[= =][= local headers=#folders=]@@
to:
@@[= =][= local =][=local folders={=]@@
@@[= =][= =][="%%START"..=][= =][="%%START".."SCRIPTS%%",=]@@
@@[= =][= =][="[[foldercontrol]]"=]@@
=][= =][="[[foldercontrol]]"=]@@
@@[= =][=}=]@@
=][=}=]@@
@@[= =][=local =][=local headers=#folders=]@@
@@[= =][= =][=
@@[= =][= =][=
@@[= =][=
@@[= =][=
Changed line(s) 157,159 (click to see context) from:
@@[= =][= for i=1, #scripts do=]@@
@@[= =][= =][= local slines={}=]@@
@@[= =][= =][= for line in io.lines(scripts[i]) do=]@@
@@[= =][= =][= local slines={}=]@@
@@[= =][= =][= for line in io.lines(scripts[i]) do=]@@
to:
@@[= =][= for =][=for i=1, #scripts do=]@@
@@[= =][= =][=local =][= =][=local slines={}=]@@
@@[= =][= =][=for =][= =][=for line in io.lines(scripts[i]) do=]@@
@@[= =][= =][=
@@[= =][= =][=
Changed line(s) 161,165 (click to see context) from:
@@[= =][= =][= =][= if line=="" then=]@@
@@[= =][= =][= =][= =][= slines[#slines+1]='\\\\'=]@@
@@[= =][= =][= =][= else=]@@
@@[= =][= =][= =][= =][= --escape everything, and only fiddle with=]@@
@@[= =][= =][= =][= =][= --what must be fiddled with=]@@
@@[= =][= =][= =][= =][= slines[#slines+1]='\\\\'=]@@
@@[= =][= =][= =][= else=]@@
@@[= =][= =][= =][= =][= --escape everything, and only fiddle with=]@@
@@[= =][= =][= =][= =][= --what must be fiddled with=]@@
to:
@@[= =][= =][= =][= if =][= =][= =][=if line=="" then=]@@
@@[= =][= =][= =][= =][=slines[#slines+1]='\\\\'=]@@
@@[==][= =][= =][= else=]@@
=][=slines[#slines+1]='\\\\'=]@@
@@[= =][= =][= =][= =][=--escape =][= =][=else=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=--escape everything, and only fiddle with=]@@
@@[= =][= =][= =][= =][=--what =][= =][= =][= =][=--what must be fiddled with=]@@
@@[= =][= =][= =][= =][=
@@[=
@@[= =][= =][= =][= =][=
@@[= =][= =][= =][= =][= =][= =][= =][= =][=--escape everything, and only fiddle with=]@@
@@[= =][= =][= =][= =][=
Changed line(s) 167,168 (click to see context) from:
@@[= =][= =][= =][= =][= --split anything that would end the escaped region=]@@
@@[= =][= =][= =][= =][= local escaped=string.gsub(line,"=]=[=]","=]=[=]=[=]=[=]")=]@@
@@[= =][= =][= =][= =][= local escaped=string.gsub(line,"=]=[=]","=]=[=]=[=]=[=]")=]@@
to:
@@[= =][= =][= =][= =][= --split =][= =][= =][= =][=--split anything that would end the escaped region=]@@
@@[= =][= =][= =][= =][=local =][= =][= =][= =][=local escaped=string.gsub(line,"=]=[=]","=]=[=]=[=]=[=]")=]@@
@@[= =][= =][= =][= =][=
Changed line(s) 170,172 (click to see context) from:
@@[= =][= =][= =][= =][= --also split the folder controls, because hurf durf that ignores=]@@
@@[= =][= =][= =][= =][= --non-formatting=]@@
@@[= =][= =][= =][= =][= escaped=string.gsub(escaped,"folder]=]][=","folder]=]=[=]][=")=]@@
@@[= =][= =][= =][= =][= --non-formatting=]@@
@@[= =][= =][= =][= =][= escaped=string.gsub(escaped,"folder]=]][=","folder]=]=[=]][=")=]@@
to:
@@[= =][= =][= =][= =][= --also =][= =][= =][= =][=--also split the folder controls, because hurf durf that ignores=]@@
@@[= =][= =][= =][= =][=--non-formatting=]@@
=][= =][= =][= =][=--non-formatting=]@@
@@[= =][= =][= =][= =][=escaped=string.=][= =][= =][= =][=escaped=string.gsub(escaped,"folder]=]][=","folder]=]=[=]][=")=]@@
@@[= =][= =][= =][= =][=
@@[= =][= =][= =][= =][=
Changed line(s) 174,177 (click to see context) from:
@@[= =][= =][= =][= =][= --do I hate this? yes, I do.=]@@
@@[= =][= =][= =][= =][= --escape _every single instance of adjacent spaces_=]@@
@@[= =][= =][= =][= =][= --to keep them from being folded on commit=]@@
@@[= =][= =][= =][= =][= escaped=string.gsub(escaped," =][= "," =]=[=][= ")=]@@
@@[= =][= =][= =][= =][= --escape _every single instance of adjacent spaces_=]@@
@@[= =][= =][= =][= =][= --to keep them from being folded on commit=]@@
@@[= =][= =][= =][= =][= escaped=string.gsub(escaped," =][= "," =]=[=][= ")=]@@
to:
@@[= =][= =][= =][= =][= --do =][= =][= =][= =][=--do I hate this? yes, I do.=]@@
@@[= =][= =][= =][= =][=--escape =][= =][= =][= =][=--escape _every single instance of adjacent spaces_=]@@
@@[= =][= =][= =][= =][=--to =][= =][= =][= =][=--to keep them from being folded on commit=]@@
@@[= =][= =][= =][= =][=escaped=string.=][= =][= =][= =][=escaped=string.gsub(escaped," =][= =][=+",function(s)=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][= =][= =][=return string.gsub(s," ","=]=[=][= ")=]@@=]=[=][=")=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=end)=]@@
@@[= =][= =][= =][= =][=
@@[= =][= =][= =][= =][=
@@[= =][= =][= =][= =][=
@@[= =][= =][= =][= =][= =][= =][= =][= =][= =][= =][=return string.gsub(s," ","
@@[= =][= =][= =][= =][= =][= =][= =][= =][=end)=]@@
Changed line(s) 179,181 (click to see context) from:
@@[= =][= =][= =][= =][= slines[#slines+1]=string.format("@@[=%s=]=[=]@@",escaped)=]@@
@@[= =][= =][= =][= end=]@@
@@[= =][= =][= end=]@@
@@[= =][= =][= =][= end=]@@
@@[= =][= =][= end=]@@
to:
@@[= =][= =][= =][= =][= slines[#slines+1]=string.=][= =][= =][= =][=slines[#slines+1]=string.format("@@[=%s=]=[=]@@",escaped)=]@@
@@[= =][= =][= =][=end=]@@
=][= =][= =][=end=]@@
@@[= =][= =][=end=]@@=][= =][=end=]@@
@@[= =][= =][= =][=
@@[= =][= =][=
Changed line(s) 183,185 (click to see context) from:
@@[= =][= =][= local content=table.concat(slines,'\n')=]@@
@@[= =][= =][= folders[i+headers]=scriptfolder(scripts[i],content)=]@@
@@[= =][= end=]@@
@@[= =][= =][= folders[i+headers]=scriptfolder(scripts[i],content)=]@@
@@[= =][= end=]@@
to:
@@[= =][= =][= local =][= =][=local content=table.concat(slines,'\n')=]@@
@@[= =][= =][=folders[i+headers]=scriptfolder(scripts[i],content)=]@@
=][= =][=folders[i+headers]=scriptfolder(scripts[i],content)=]@@
@@[= =][=end=]@@=][=end=]@@
@@[= =][= =][=
@@[= =][=
Changed line(s) 187 (click to see context) from:
@@[= =][= folders[#folders+1]="%%END".."SCRIPTS%%"=]@@
to:
@@[= =][= folders[#folders+1]="%%END"..=][=folders[#folders+1]="%%END".."SCRIPTS%%"=]@@
Changed line(s) 189 (click to see context) from:
@@[= =][= return table.concat(folders,"\n\n")=]@@
to:
@@[= =][= return =][=return table.concat(folders,"\n\n")=]@@
Changed line(s) 193 (click to see context) from:
@@[= =][= local gssscripts=string.gsub(revsection(),"%%","%%%%")=]@@
to:
@@[= =][= local =][=local gssscripts=string.gsub(revsection(),"%%","%%%%")=]@@
Changed line(s) 195 (click to see context) from:
@@[= =][= print(string.format("Getting current version of %s...",target))=]@@
to:
@@[= =][= print(string.=][=print(string.format("Getting current version of %s...",target))=]@@
Changed line(s) 197 (click to see context) from:
@@[= =][= local current=tvtropes.get(target)=]@@
to:
@@[= =][= local =][=local current=tvtropes.get(target)=]@@
Changed line(s) 199,201 (click to see context) from:
@@[= =][= local updated=string.gsub(current,=]@@
@@[= =][= =][= "%%%%START".."SCRIPTS%%%%.-%%%%END".."SCRIPTS%%%%",=]@@
@@[= =][= =][= gssscripts)=]@@
@@[= =][= =][= "%%%%START".."SCRIPTS%%%%.-%%%%END".."SCRIPTS%%%%",=]@@
@@[= =][= =][= gssscripts)=]@@
to:
@@[= =][= local =][=local updated=string.gsub(current,=]@@
@@[= =][= =][="%%%%START"..=][= =][="%%%%START".."SCRIPTS%%%%.-%%%%END".."SCRIPTS%%%%",=]@@
@@[= =][= =][=gssscripts)=]@@=][= =][=gssscripts)=]@@
@@[= =][= =][=
@@[= =][= =][=
Changed line(s) 203 (click to see context) from:
@@[= =][= print(string.format("Posting new version of %s...",target))=]@@
to:
@@[= =][= print(string.=][=print(string.format("Posting new version of %s...",target))=]@@
Changed line(s) 205,209 (click to see context) from:
@@[= =][= local posted=]@@
@@[= =][= while not posted do=]@@
@@[= =][= =][= posted=tvtropes.post(target,updated,user,notes)=]@@
@@[= =][= =][= if not posted then print" =][= Retrying..." end=]@@
@@[= =][= end=]@@
@@[= =][= while not posted do=]@@
@@[= =][= =][= posted=tvtropes.post(target,updated,user,notes)=]@@
@@[= =][= =][= if not posted then print" =][= Retrying..." end=]@@
@@[= =][= end=]@@
to:
@@[= =][= local =][=local posted=]@@
@@[= =][=while =][=while not posted do=]@@
@@[= =][= =][=posted=tvtropes.=][= =][=posted=tvtropes.post(target,updated,user,notes)=]@@
@@[= =][= =][=if =][= =][=if not posted then print" =][= Retrying...=][=Retrying..." end=]@@
@@[= =][=end=]@@=][=end=]@@
@@[= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][=
Changed line(s) 228,286 (click to see context) from:
@@[= =][= {=]@@
@@[= =][= =][= "Pilot",=]@@
@@[= =][= =][= "Top Banana",=]@@
@@[= =][= =][= "Bringing Up Buster",=]@@
@@[= =][= =][= "Key Decisions",=]@@
@@[= =][= =][= "Visiting Ours",=]@@
@@[= =][= =][= "Charity Drive",=]@@
@@[= =][= =][= "My Mother, The Car",=]@@
@@[= =][= =][= "In God We Trust",=]@@
@@[= =][= =][= "Storming the Castle",=]@@
@@[= =][= =][= "Pier Pressure",=]@@
@@[= =][= =][= "Public Relations",=]@@
@@[= =][= =][= "Marta Complex",=]@@
@@[= =][= =][= "Beef Consommé",=]@@
@@[= =][= =][= "Shock and Aww",=]@@
@@[= =][= =][= "Staff Infection",=]@@
@@[= =][= =][= "Missing Kitty",=]@@
@@[= =][= =][= "Altar Egos",=]@@
@@[= =][= =][= "Justice Is Blind",=]@@
@@[= =][= =][= "Best Man for the GOB",=]@@
@@[= =][= =][= "Whistler's Mother",=]@@
@@[= =][= =][= "Not Without My Daughter",=]@@
@@[= =][= =][= "Let 'Em Eat Cake"=]@@
@@[= =][= },=]@@
@@[= =][= {=]@@
@@[= =][= =][= "The One Where Michael Leaves",=]@@
@@[= =][= =][= "The One Where They Build a House",=]@@
@@[= =][= =][= "¡Amigos!",=]@@
@@[= =][= =][= "Good Grief",=]@@
@@[= =][= =][= "Sad Sack",=]@@
@@[= =][= =][= "Afternoon Delight",=]@@
@@[= =][= =][= "Switch Hitter",=]@@
@@[= =][= =][= "Queen for a Day",=]@@
@@[= =][= =][= "Burning Love",=]@@
@@[= =][= =][= "Ready, Aim, Marry Me",=]@@
@@[= =][= =][= "Out on a Limb",=]@@
@@[= =][= =][= "Hand to God",=]@@
@@[= =][= =][= "Motherboy XXX",=]@@
@@[= =][= =][= "The Immaculate Election",=]@@
@@[= =][= =][= "Sword of Destiny",=]@@
@@[= =][= =][= "Meat the Veals",=]@@
@@[= =][= =][= "Spring Breakout",=]@@
@@[= =][= =][= "Righteous Brothers",=]@@
@@[= =][= },=]@@
@@[= =][= {=]@@
@@[= =][= =][= "The Cabin Show",=]@@
@@[= =][= =][= "For British Eyes Only",=]@@
@@[= =][= =][= "Forget-Me-Now",=]@@
@@[= =][= =][= "Notapusy",=]@@
@@[= =][= =][= "Mr. F",=]@@
@@[= =][= =][= "The Ocean Walker",=]@@
@@[= =][= =][= "Prison Break-In",=]@@
@@[= =][= =][= "Making a Stand",=]@@
@@[= =][= =][= "S.O.B.s",=]@@
@@[= =][= =][= "Fakin' It",=]@@
@@[= =][= =][= "Family Ties",=]@@
@@[= =][= =][= "Exit Strategy",=]@@
@@[= =][= =][= "Development Arrested"=]@@
@@[= =][= },=]@@
@@[= =][= =][= "Pilot",=]@@
@@[= =][= =][= "Top Banana",=]@@
@@[= =][= =][= "Bringing Up Buster",=]@@
@@[= =][= =][= "Key Decisions",=]@@
@@[= =][= =][= "Visiting Ours",=]@@
@@[= =][= =][= "Charity Drive",=]@@
@@[= =][= =][= "My Mother, The Car",=]@@
@@[= =][= =][= "In God We Trust",=]@@
@@[= =][= =][= "Storming the Castle",=]@@
@@[= =][= =][= "Pier Pressure",=]@@
@@[= =][= =][= "Public Relations",=]@@
@@[= =][= =][= "Marta Complex",=]@@
@@[= =][= =][= "Beef Consommé",=]@@
@@[= =][= =][= "Shock and Aww",=]@@
@@[= =][= =][= "Staff Infection",=]@@
@@[= =][= =][= "Missing Kitty",=]@@
@@[= =][= =][= "Altar Egos",=]@@
@@[= =][= =][= "Justice Is Blind",=]@@
@@[= =][= =][= "Best Man for the GOB",=]@@
@@[= =][= =][= "Whistler's Mother",=]@@
@@[= =][= =][= "Not Without My Daughter",=]@@
@@[= =][= =][= "Let 'Em Eat Cake"=]@@
@@[= =][= },=]@@
@@[= =][= {=]@@
@@[= =][= =][= "The One Where Michael Leaves",=]@@
@@[= =][= =][= "The One Where They Build a House",=]@@
@@[= =][= =][= "¡Amigos!",=]@@
@@[= =][= =][= "Good Grief",=]@@
@@[= =][= =][= "Sad Sack",=]@@
@@[= =][= =][= "Afternoon Delight",=]@@
@@[= =][= =][= "Switch Hitter",=]@@
@@[= =][= =][= "Queen for a Day",=]@@
@@[= =][= =][= "Burning Love",=]@@
@@[= =][= =][= "Ready, Aim, Marry Me",=]@@
@@[= =][= =][= "Out on a Limb",=]@@
@@[= =][= =][= "Hand to God",=]@@
@@[= =][= =][= "Motherboy XXX",=]@@
@@[= =][= =][= "The Immaculate Election",=]@@
@@[= =][= =][= "Sword of Destiny",=]@@
@@[= =][= =][= "Meat the Veals",=]@@
@@[= =][= =][= "Spring Breakout",=]@@
@@[= =][= =][= "Righteous Brothers",=]@@
@@[= =][= },=]@@
@@[= =][= {=]@@
@@[= =][= =][= "The Cabin Show",=]@@
@@[= =][= =][= "For British Eyes Only",=]@@
@@[= =][= =][= "Forget-Me-Now",=]@@
@@[= =][= =][= "Notapusy",=]@@
@@[= =][= =][= "Mr. F",=]@@
@@[= =][= =][= "The Ocean Walker",=]@@
@@[= =][= =][= "Prison Break-In",=]@@
@@[= =][= =][= "Making a Stand",=]@@
@@[= =][= =][= "S.O.B.s",=]@@
@@[= =][= =][= "Fakin' It",=]@@
@@[= =][= =][= "Family Ties",=]@@
@@[= =][= =][= "Exit Strategy",=]@@
@@[= =][= =][= "Development Arrested"=]@@
@@[= =][= },=]@@
to:
@@[= =][= {=]@@
=][={=]@@
@@[= =][= =][="Pilot",=]@@
=][= =][="Pilot",=]@@
@@[= =][= =][="Top =][= =][="Top Banana",=]@@
@@[= =][= =][="Bringing =][= =][="Bringing Up Buster",=]@@
@@[= =][= =][="Key =][= =][="Key Decisions",=]@@
@@[= =][= =][="Visiting =][= =][="Visiting Ours",=]@@
@@[= =][= =][="Charity =][= =][="Charity Drive",=]@@
@@[= =][= =][="My =][= =][="My Mother, The Car",=]@@
@@[= =][= =][="In =][= =][="In God We Trust",=]@@
@@[= =][= =][="Storming =][= =][="Storming the Castle",=]@@
@@[= =][= =][="Pier =][= =][="Pier Pressure",=]@@
@@[= =][= =][="Public =][= =][="Public Relations",=]@@
@@[= =][= =][="Marta =][= =][="Marta Complex",=]@@
@@[= =][= =][="Beef =][= =][="Beef Consommé",=]@@
@@[= =][= =][="Shock =][= =][="Shock and Aww",=]@@
@@[= =][= =][="Staff =][= =][="Staff Infection",=]@@
@@[= =][= =][="Missing =][= =][="Missing Kitty",=]@@
@@[= =][= =][="Altar =][= =][="Altar Egos",=]@@
@@[= =][= =][="Justice =][= =][="Justice Is Blind",=]@@
@@[= =][= =][="Best =][= =][="Best Man for the GOB",=]@@
@@[= =][= =][="Whistler's =][= =][="Whistler's Mother",=]@@
@@[= =][= =][="Not =][= =][="Not Without My Daughter",=]@@
@@[= =][= =][="Let =][= =][="Let 'Em Eat Cake"=]@@
@@[= =][=},=]@@
=][=},=]@@
@@[= =][={=]@@
=][={=]@@
@@[= =][= =][="The =][= =][="The One Where Michael Leaves",=]@@
@@[= =][= =][="The =][= =][="The One Where They Build a House",=]@@
@@[= =][= =][="¡Amigos!",=]@@
=][= =][="¡Amigos!",=]@@
@@[= =][= =][="Good =][= =][="Good Grief",=]@@
@@[= =][= =][="Sad =][= =][="Sad Sack",=]@@
@@[= =][= =][="Afternoon =][= =][="Afternoon Delight",=]@@
@@[= =][= =][="Switch =][= =][="Switch Hitter",=]@@
@@[= =][= =][="Queen =][= =][="Queen for a Day",=]@@
@@[= =][= =][="Burning =][= =][="Burning Love",=]@@
@@[= =][= =][="Ready, =][= =][="Ready, Aim, Marry Me",=]@@
@@[= =][= =][="Out =][= =][="Out on a Limb",=]@@
@@[= =][= =][="Hand =][= =][="Hand to God",=]@@
@@[= =][= =][="Motherboy =][= =][="Motherboy XXX",=]@@
@@[= =][= =][="The =][= =][="The Immaculate Election",=]@@
@@[= =][= =][="Sword =][= =][="Sword of Destiny",=]@@
@@[= =][= =][="Meat =][= =][="Meat the Veals",=]@@
@@[= =][= =][="Spring =][= =][="Spring Breakout",=]@@
@@[= =][= =][="Righteous =][= =][="Righteous Brothers",=]@@
@@[= =][=},=]@@
=][=},=]@@
@@[= =][={=]@@
=][={=]@@
@@[= =][= =][="The =][= =][="The Cabin Show",=]@@
@@[= =][= =][="For =][= =][="For British Eyes Only",=]@@
@@[= =][= =][="Forget-Me-Now",=]@@
=][= =][="Forget-Me-Now",=]@@
@@[= =][= =][="Notapusy",=]@@
=][= =][="Notapusy",=]@@
@@[= =][= =][="Mr.=][= =][="Mr. F",=]@@
@@[= =][= =][="The =][= =][="The Ocean Walker",=]@@
@@[= =][= =][="Prison =][= =][="Prison Break-In",=]@@
@@[= =][= =][="Making =][= =][="Making a Stand",=]@@
@@[= =][= =][="S.=][= =][="S.O.B.s",=]@@
@@[= =][= =][="Fakin' =][= =][="Fakin' It",=]@@
@@[= =][= =][="Family =][= =][="Family Ties",=]@@
@@[= =][= =][="Exit =][= =][="Exit Strategy",=]@@
@@[= =][= =][="Development =][= =][="Development Arrested"=]@@
@@[= =][=},=]@@=][=},=]@@
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][=
@@[= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][=
@@[= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][=
Changed line(s) 294,300 (click to see context) from:
@@[= =][= --Numbers for episodes with ambiguous titles, Wikipedia-wise,=]@@
@@[= =][= --whose article titles end with "(Arrested Development)"=]@@
@@[= =][= local disambigeps={=]@@
@@[= =][= =][= {1,2,8,11,20,21,22}, --Season 1=]@@
@@[= =][= =][= {5,6,8,9,11,12,18}, --Season 2=]@@
@@[= =][= =][= {10,11,12} --Season 3=]@@
@@[= =][= }=]@@
@@[= =][= --whose article titles end with "(Arrested Development)"=]@@
@@[= =][= local disambigeps={=]@@
@@[= =][= =][= {1,2,8,11,20,21,22}, --Season 1=]@@
@@[= =][= =][= {5,6,8,9,11,12,18}, --Season 2=]@@
@@[= =][= =][= {10,11,12} --Season 3=]@@
@@[= =][= }=]@@
to:
@@[= =][= --Numbers =][=--Numbers for episodes with ambiguous titles, Wikipedia-wise,=]@@
@@[= =][=--whose =][=--whose article titles end with "(Arrested Development)"=]@@
@@[= =][=local =][=local disambigeps={=]@@
@@[= =][= =][={1,2,8,11,20,21,22}, =][= =][={1,2,8,11,20,21,22}, --Season 1=]@@
@@[= =][= =][={5,6,8,9,11,12,18}, =][= =][={5,6,8,9,11,12,18}, --Season 2=]@@
@@[= =][= =][={10,11,12} =][= =][={10,11,12} --Season 3=]@@
@@[= =][=}=]@@=][=}=]@@
@@[= =][=
@@[= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][=
Changed line(s) 302,309 (click to see context) from:
@@[= =][= --construct lookup table=]@@
@@[= =][= local disambiguated={}=]@@
@@[= =][= for s=1,#disambigeps do=]@@
@@[= =][= =][= disambiguated[s]={}=]@@
@@[= =][= =][= for i=1,#disambigeps[s] do=]@@
@@[= =][= =][= =][= disambiguated[s][disambigeps[s][i]]=true=]@@
@@[= =][= =][= end=]@@
@@[= =][= end=]@@
@@[= =][= local disambiguated={}=]@@
@@[= =][= for s=1,#disambigeps do=]@@
@@[= =][= =][= disambiguated[s]={}=]@@
@@[= =][= =][= for i=1,#disambigeps[s] do=]@@
@@[= =][= =][= =][= disambiguated[s][disambigeps[s][i]]=true=]@@
@@[= =][= =][= end=]@@
@@[= =][= end=]@@
to:
@@[= =][= --construct =][=--construct lookup table=]@@
@@[= =][=local =][=local disambiguated={}=]@@
@@[= =][=for =][=for s=1,#disambigeps do=]@@
@@[= =][= =][=disambiguated[s]={}=]@@
=][= =][=disambiguated[s]={}=]@@
@@[= =][= =][=for =][= =][=for i=1,#disambigeps[s] do=]@@
@@[= =][= =][= =][=disambiguated[s][disambigeps[s][i]]=true=]@@
=][= =][= =][=disambiguated[s][disambigeps[s][i]]=true=]@@
@@[= =][= =][=end=]@@
=][= =][=end=]@@
@@[= =][=end=]@@=][=end=]@@
@@[= =][=
@@[= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][=
@@[= =][=
Changed line(s) 311,322 (click to see context) from:
@@[= =][= --Function that returns the Wikipedia URL=]@@
@@[= =][= function tokens.wikipedia(s,e)=]@@
@@[= =][= =][= local pagename=adeps[s][e]=]@@
@@[= =][= =][= pagename=string.gsub(pagename,' ','_')=]@@
@@[= =][= =][= pagename=urlencode.string(pagename)=]@@
@@[= =][= =][= if disambiguated[s][e] then=]@@
@@[= =][= =][= =][= --Technically, parentheses don't have to be percent-encoded=]@@
@@[= =][= =][= =][= --for HTTP URIs because they're unused sub-delims=]@@
@@[= =][= =][= =][= --per section 2.2 of RFC 3986, so we concatenate after=]@@
@@[= =][= =][= =][= --the function that percent-encodes all sub-delims=]@@
@@[= =][= =][= =][= pagename=pagename.."_(Arrested_Development)"=]@@
@@[= =][= =][= end=]@@
@@[= =][= function tokens.wikipedia(s,e)=]@@
@@[= =][= =][= local pagename=adeps[s][e]=]@@
@@[= =][= =][= pagename=string.gsub(pagename,' ','_')=]@@
@@[= =][= =][= pagename=urlencode.string(pagename)=]@@
@@[= =][= =][= if disambiguated[s][e] then=]@@
@@[= =][= =][= =][= --Technically, parentheses don't have to be percent-encoded=]@@
@@[= =][= =][= =][= --for HTTP URIs because they're unused sub-delims=]@@
@@[= =][= =][= =][= --per section 2.2 of RFC 3986, so we concatenate after=]@@
@@[= =][= =][= =][= --the function that percent-encodes all sub-delims=]@@
@@[= =][= =][= =][= pagename=pagename.."_(Arrested_Development)"=]@@
@@[= =][= =][= end=]@@
to:
@@[= =][= --Function =][=--Function that returns the Wikipedia URL=]@@
@@[= =][=function =][=function tokens.wikipedia(s,e)=]@@
@@[= =][= =][=local =][= =][=local pagename=adeps[s][e]=]@@
@@[= =][= =][=pagename=string.=][= =][=pagename=string.gsub(pagename,' ','_')=]@@
@@[= =][= =][=pagename=urlencode.=][= =][=pagename=urlencode.string(pagename)=]@@
@@[= =][= =][=if =][= =][=if disambiguated[s][e] then=]@@
@@[= =][= =][= =][=--Technically, =][= =][= =][=--Technically, parentheses don't have to be percent-encoded=]@@
@@[= =][= =][= =][=--for =][= =][= =][=--for HTTP URIs because they're unused sub-delims=]@@
@@[= =][= =][= =][=--per =][= =][= =][=--per section 2.2 of RFC 3986, so we concatenate after=]@@
@@[= =][= =][= =][=--the =][= =][= =][=--the function that percent-encodes all sub-delims=]@@
@@[= =][= =][= =][=pagename=pagename..=][= =][= =][=pagename=pagename.."_(Arrested_Development)"=]@@
@@[= =][= =][=end=]@@=][= =][=end=]@@
@@[= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][=
Changed line(s) 324,325 (click to see context) from:
@@[= =][= =][= return "http://en.wikipedia.org/wiki/"..pagename=]@@
@@[= =][= end=]@@
@@[= =][= end=]@@
to:
@@[= =][= =][= return =][= =][=return "http://en.wikipedia.org/wiki/"..pagename=]@@
@@[= =][=end=]@@=][=end=]@@
@@[= =][=
Changed line(s) 330,333 (click to see context) from:
@@[= =][= =][= local pagename=adeps[s][e]=]@@
@@[= =][= =][= pagename=string.gsub(pagename,' ','_')=]@@
@@[= =][= =][= pagename=urlencode.string(pagename)=]@@
@@[= =][= =][= return "http://arresteddevelopment.wikia.com/wiki/"..pagename=]@@
@@[= =][= =][= pagename=string.gsub(pagename,' ','_')=]@@
@@[= =][= =][= pagename=urlencode.string(pagename)=]@@
@@[= =][= =][= return "http://arresteddevelopment.wikia.com/wiki/"..pagename=]@@
to:
@@[= =][= =][= local =][= =][=local pagename=adeps[s][e]=]@@
@@[= =][= =][=pagename=string.=][= =][=pagename=string.gsub(pagename,' ','_')=]@@
@@[= =][= =][=pagename=urlencode.=][= =][=pagename=urlencode.string(pagename)=]@@
@@[= =][= =][=return =][= =][=return "http://arresteddevelopment.wikia.com/wiki/"..pagename=]@@
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
Changed line(s) 337,338 (click to see context) from:
@@[= =][= --Season 1 episodes that are listed at different numbers=]@@
@@[= =][= local s1flips={ [5]=6, [6]=5, [7]=8, [8]=7, [16]=18, [17]=16, [18]=17 }=]@@
@@[= =][= local s1flips={ [5]=6, [6]=5, [7]=8, [8]=7, [16]=18, [17]=16, [18]=17 }=]@@
to:
@@[= =][= --Season =][=--Season 1 episodes that are listed at different numbers=]@@
@@[= =][=local =][=local s1flips={ [5]=6, [6]=5, [7]=8, [8]=7, [16]=18, [17]=16, [18]=17 }=]@@
@@[= =][=
Changed line(s) 340,345 (click to see context) from:
@@[= =][= --Function the returns the URL of the episode's page on the-op.com=]@@
@@[= =][= function tokens.theop(s,e)=]@@
@@[= =][= =][= --correct OutOfOrder Season 1 episodes=]@@
@@[= =][= =][= if s==1 then e = s1flips[e] or e end=]@@
@@[= =][= =][= return string.format("http://the-op.com/episode/%i%02i",s,e)=]@@
@@[= =][= end=]@@
@@[= =][= function tokens.theop(s,e)=]@@
@@[= =][= =][= --correct OutOfOrder Season 1 episodes=]@@
@@[= =][= =][= if s==1 then e = s1flips[e] or e end=]@@
@@[= =][= =][= return string.format("http://the-op.com/episode/%i%02i",s,e)=]@@
@@[= =][= end=]@@
to:
@@[= =][= --Function =][=--Function the returns the URL of the episode's page on the-op.com=]@@
@@[= =][=function =][=function tokens.theop(s,e)=]@@
@@[= =][= =][=--correct =][= =][=--correct OutOfOrder Season 1 episodes=]@@
@@[= =][= =][=if =][= =][=if s==1 then e = s1flips[e] or e end=]@@
@@[= =][= =][=return =][= =][=return string.format("http://the-op.com/episode/%i%02i",s,e)=]@@
@@[= =][=end=]@@=][=end=]@@
@@[= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][=
Changed line(s) 349,364 (click to see context) from:
@@[= =][= --why hello, unreadable block of arbitrary indices, it sure sucks=]@@
@@[= =][= --that I have to use you=]@@
@@[= =][= local ttnums={=]@@
@@[= =][= =][= { 0515236, 0515256, 0515212, 0515223, 0515257,=]@@
@@[= =][= =][= =][= 0515214, 0515231, 0515221, 0515247, 0515235,=]@@
@@[= =][= =][= =][= 0515238, 0515226, 0515210, 0515244, 0515246,=]@@
@@[= =][= =][= =][= 0515228, 0515208, 0515222, 0515211, 0515258,=]@@
@@[= =][= =][= =][= 0515232, 0515224, },=]@@
@@[= =][= =][= { 0515253, 0515254, 0515209, 0515219, 0515243,=]@@
@@[= =][= =][= =][= 0515207, 0515248, 0515239, 0515213, 0515240,=]@@
@@[= =][= =][= =][= 0515234, 0515220, 0515229, 0515251, 0515255,=]@@
@@[= =][= =][= =][= 0515227, 0515245, 0515241, },=]@@
@@[= =][= =][= { 0515250, 0515249, 0515218, 0515233, 0515230,=]@@
@@[= =][= =][= =][= 0515252, 0515237, 0515225, 0515242, 0515216,=]@@
@@[= =][= =][= =][= 0515217, 0515215, 0757386, }=]@@
@@[= =][= }=]@@
@@[= =][= --that I have to use you=]@@
@@[= =][= local ttnums={=]@@
@@[= =][= =][= { 0515236, 0515256, 0515212, 0515223, 0515257,=]@@
@@[= =][= =][= =][= 0515214, 0515231, 0515221, 0515247, 0515235,=]@@
@@[= =][= =][= =][= 0515238, 0515226, 0515210, 0515244, 0515246,=]@@
@@[= =][= =][= =][= 0515228, 0515208, 0515222, 0515211, 0515258,=]@@
@@[= =][= =][= =][= 0515232, 0515224, },=]@@
@@[= =][= =][= { 0515253, 0515254, 0515209, 0515219, 0515243,=]@@
@@[= =][= =][= =][= 0515207, 0515248, 0515239, 0515213, 0515240,=]@@
@@[= =][= =][= =][= 0515234, 0515220, 0515229, 0515251, 0515255,=]@@
@@[= =][= =][= =][= 0515227, 0515245, 0515241, },=]@@
@@[= =][= =][= { 0515250, 0515249, 0515218, 0515233, 0515230,=]@@
@@[= =][= =][= =][= 0515252, 0515237, 0515225, 0515242, 0515216,=]@@
@@[= =][= =][= =][= 0515217, 0515215, 0757386, }=]@@
@@[= =][= }=]@@
to:
@@[= =][= --why =][=--why hello, unreadable block of arbitrary indices, it sure sucks=]@@
@@[= =][=--that =][=--that I have to use you=]@@
@@[= =][=local =][=local ttnums={=]@@
@@[= =][= =][={ =][= =][={ 0515236, 0515256, 0515212, 0515223, 0515257,=]@@
@@[= =][= =][= =][=0515214, =][= =][= =][=0515214, 0515231, 0515221, 0515247, 0515235,=]@@
@@[= =][= =][= =][=0515238, =][= =][= =][=0515238, 0515226, 0515210, 0515244, 0515246,=]@@
@@[= =][= =][= =][=0515228, =][= =][= =][=0515228, 0515208, 0515222, 0515211, 0515258,=]@@
@@[= =][= =][= =][=0515232, =][= =][= =][=0515232, 0515224, },=]@@
@@[= =][= =][={ =][= =][={ 0515253, 0515254, 0515209, 0515219, 0515243,=]@@
@@[= =][= =][= =][=0515207, =][= =][= =][=0515207, 0515248, 0515239, 0515213, 0515240,=]@@
@@[= =][= =][= =][=0515234, =][= =][= =][=0515234, 0515220, 0515229, 0515251, 0515255,=]@@
@@[= =][= =][= =][=0515227, =][= =][= =][=0515227, 0515245, 0515241, },=]@@
@@[= =][= =][={ =][= =][={ 0515250, 0515249, 0515218, 0515233, 0515230,=]@@
@@[= =][= =][= =][=0515252, =][= =][= =][=0515252, 0515237, 0515225, 0515242, 0515216,=]@@
@@[= =][= =][= =][=0515217, =][= =][= =][=0515217, 0515215, 0757386, }=]@@
@@[= =][=}=]@@=][=}=]@@
@@[= =][=
@@[= =][=
@@[= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][=
Changed line(s) 366,369 (click to see context) from:
@@[= =][= --Function that returns the URL for the episode's IMDB page=]@@
@@[= =][= function tokens.imdb(s,e)=]@@
@@[= =][= =][= return string.format("http://www.imdb.com/title/tt%07i/",ttnums[s][e])=]@@
@@[= =][= end=]@@
@@[= =][= function tokens.imdb(s,e)=]@@
@@[= =][= =][= return string.format("http://www.imdb.com/title/tt%07i/",ttnums[s][e])=]@@
@@[= =][= end=]@@
to:
@@[= =][= --Function =][=--Function that returns the URL for the episode's IMDB page=]@@
@@[= =][=function =][=function tokens.imdb(s,e)=]@@
@@[= =][= =][=return =][= =][=return string.format("http://www.imdb.com/title/tt%07i/",ttnums[s][e])=]@@
@@[= =][=end=]@@=][=end=]@@
@@[= =][=
@@[= =][= =][=
@@[= =][=
Changed line(s) 373,386 (click to see context) from:
@@[= =][= local watchnums={=]@@
@@[= =][= =][= { =][= =][= 589, =][= 1786, =][= 585, =][= 1781, =][= 1785,=]@@
@@[= =][= =][= =][= =][= 580, =][= 590, =][= 588, =][= 586, =][= 575,=]@@
@@[= =][= =][= =][= =][= 576, =][= 579, =][= 577, =][= 644, =][= 1783,=]@@
@@[= =][= =][= =][= =][= 591, =][= 582, =][= 584, =][= 578, =][= 581,=]@@
@@[= =][= =][= =][= =][= 583, =][= 587},=]@@
@@[= =][= =][= { =][= 6641, =][= 6644, =][= 6643, =][= 6638, =][= 6639,=]@@
@@[= =][= =][= =][= 12883, 13226, 12561, 12609, 12298,=]@@
@@[= =][= =][= =][= 12271, 12901, 13248, 13267, 13276,=]@@
@@[= =][= =][= =][= 13206, 12232, 12532},=]@@
@@[= =][= =][= { =][= 6640, =][= 6642, =][= 6635, =][= 6636, =][= 6637,=]@@
@@[= =][= =][= =][= 12497, 17189, 12523, 13139, 12225,=]@@
@@[= =][= =][= =][= 12317, 12194, 12215},=]@@
@@[= =][= }=]@@
@@[= =][= =][= { =][= =][= 589, =][= 1786, =][= 585, =][= 1781, =][= 1785,=]@@
@@[= =][= =][= =][= =][= 580, =][= 590, =][= 588, =][= 586, =][= 575,=]@@
@@[= =][= =][= =][= =][= 576, =][= 579, =][= 577, =][= 644, =][= 1783,=]@@
@@[= =][= =][= =][= =][= 591, =][= 582, =][= 584, =][= 578, =][= 581,=]@@
@@[= =][= =][= =][= =][= 583, =][= 587},=]@@
@@[= =][= =][= { =][= 6641, =][= 6644, =][= 6643, =][= 6638, =][= 6639,=]@@
@@[= =][= =][= =][= 12883, 13226, 12561, 12609, 12298,=]@@
@@[= =][= =][= =][= 12271, 12901, 13248, 13267, 13276,=]@@
@@[= =][= =][= =][= 13206, 12232, 12532},=]@@
@@[= =][= =][= { =][= 6640, =][= 6642, =][= 6635, =][= 6636, =][= 6637,=]@@
@@[= =][= =][= =][= 12497, 17189, 12523, 13139, 12225,=]@@
@@[= =][= =][= =][= 12317, 12194, 12215},=]@@
@@[= =][= }=]@@
to:
@@[= =][= local =][=local watchnums={=]@@
@@[= =][= =][={ =][= =][={ =][= =][= 589, =][= 1786, =][=589, =][= 585, =][=1786, =][= 1781, =][= 1785,=]@@
=][=585, =][= =][=1781, =][= =][=1785,=]@@
@@[= =][= =][= =][= =][=580, =][= 590, =][= 588, =][= 586, =][= 575,=]@@
=][=580, =][= =][= =][=590, =][= =][= =][=588, =][= =][= =][=586, =][= =][= =][=575,=]@@
@@[= =][= =][= =][= =][=576, =][= 579, =][= 577, =][= 644, =][= 1783,=]@@
=][=576, =][= =][= =][=579, =][= =][= =][=577, =][= =][= =][=644, =][= =][=1783,=]@@
@@[= =][= =][= =][= =][=591, =][= 582, =][= 584, =][= 578, =][= 581,=]@@
=][=591, =][= =][= =][=582, =][= =][= =][=584, =][= =][= =][=578, =][= =][= =][=581,=]@@
@@[= =][= =][= =][= =][=583, =][= 587},=]@@
@@[==][= =][= { =][= 6641, =][= 6644, =][=583, =][= 6643, =][= 6638, =][= 6639,=]@@
=][=587},=]@@
@@[= =][= =][= =][=12883, =][={ =][= =][= =][=6641, =][= =][=6644, =][= =][=6643, =][= =][=6638, =][= =][=6639,=]@@
@@[= =][= =][= =][= =][= =][= =][= =][=12883, 13226, 12561, 12609, 12298,=]@@
@@[= =][= =][= =][=12271, =][= =][= =][= =][=12271, 12901, 13248, 13267, 13276,=]@@
@@[= =][= =][= =][=13206, =][= =][= =][= =][=13206, 12232, 12532},=]@@
@@[= =][= =][={ =][= 6640, =][={ =][= 6642, =][= 6635, =][=6640, =][= 6636, =][=6642, =][= 6637,=]@@
=][=6635, =][= =][=6636, =][= =][=6637,=]@@
@@[= =][= =][= =][=12497, =][= =][= =][= =][=12497, 17189, 12523, 13139, 12225,=]@@
@@[= =][= =][= =][=12317, =][= =][= =][= =][=12317, 12194, 12215},=]@@
@@[= =][=}=]@@=][=}=]@@
@@[= =][= =][=
@@[= =][= =][= =][= =][=
@@[= =][= =][= =][= =][=
@@[= =][= =][= =][= =][=
@@[= =][= =][= =][= =][=
@@[=
@@[= =][= =][= =][=
@@[= =][= =][= =][= =][= =][= =][= =][=12883, 13226, 12561, 12609, 12298,=]@@
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][=
Changed line(s) 388,391 (click to see context) from:
@@[= =][= function tokens.hulu(s,e)=]@@
@@[= =][= =][= return string.format(=]@@
@@[= =][= =][= =][= "http://hulu.com/watch/%i", watchnums[s][e])=]@@
@@[= =][= end=]@@
@@[= =][= =][= return string.format(=]@@
@@[= =][= =][= =][= "http://hulu.com/watch/%i", watchnums[s][e])=]@@
@@[= =][= end=]@@
to:
@@[= =][= function =][=function tokens.hulu(s,e)=]@@
@@[= =][= =][=return =][= =][=return string.format(=]@@
@@[= =][= =][= =][="http://hulu.=][= =][= =][="http://hulu.com/watch/%i", watchnums[s][e])=]@@
@@[= =][=end=]@@=][=end=]@@
@@[= =][= =][=
@@[= =][= =][= =][=
@@[= =][=
Changed line(s) 395,412 (click to see context) from:
@@[= =][= --It's largely sequential, but not quite.=]@@
@@[= =][= --I printed out all the numbers and moved them around=]@@
@@[= =][= --to fit the correct order (which is both inconsistent=]@@
@@[= =][= --in IDs to Netflix order and Netflix to DVD order).=]@@
@@[= =][= local movieids={=]@@
@@[= =][= =][= { 70133673, 70133674, 70133675, 70133677, 70133676,=]@@
@@[= =][= =][= =][= 70133678, 70133680, 70133679, 70133681, 70133682,=]@@
@@[= =][= =][= =][= 70133683, 70133684, 70133685, 70133686, 70133687,=]@@
@@[= =][= =][= =][= 70133688, 70133689, 70133690, 70133691, 70133692,=]@@
@@[= =][= =][= =][= 70133693, 70133694, },=]@@
@@[= =][= =][= { 70133695, 70133696, 70133697, 70133698, 70133699,=]@@
@@[= =][= =][= =][= 70133700, 70133701, 70133702, 70133703, 70133704,=]@@
@@[= =][= =][= =][= 70133705, 70133706, 70133707, 70133708, 70133711,=]@@
@@[= =][= =][= =][= 70133709, 70133710, 70133712, },=]@@
@@[= =][= =][= { 70133713, 70133714, 70133715, 70133716, 70133717,=]@@
@@[= =][= =][= =][= 70133718, 70133720, 70133719, 70133721, 70133722,=]@@
@@[= =][= =][= =][= 70133723, 70133724, 70133725, }=]@@
@@[= =][= }=]@@
@@[= =][= --I printed out all the numbers and moved them around=]@@
@@[= =][= --to fit the correct order (which is both inconsistent=]@@
@@[= =][= --in IDs to Netflix order and Netflix to DVD order).=]@@
@@[= =][= local movieids={=]@@
@@[= =][= =][= { 70133673, 70133674, 70133675, 70133677, 70133676,=]@@
@@[= =][= =][= =][= 70133678, 70133680, 70133679, 70133681, 70133682,=]@@
@@[= =][= =][= =][= 70133683, 70133684, 70133685, 70133686, 70133687,=]@@
@@[= =][= =][= =][= 70133688, 70133689, 70133690, 70133691, 70133692,=]@@
@@[= =][= =][= =][= 70133693, 70133694, },=]@@
@@[= =][= =][= { 70133695, 70133696, 70133697, 70133698, 70133699,=]@@
@@[= =][= =][= =][= 70133700, 70133701, 70133702, 70133703, 70133704,=]@@
@@[= =][= =][= =][= 70133705, 70133706, 70133707, 70133708, 70133711,=]@@
@@[= =][= =][= =][= 70133709, 70133710, 70133712, },=]@@
@@[= =][= =][= { 70133713, 70133714, 70133715, 70133716, 70133717,=]@@
@@[= =][= =][= =][= 70133718, 70133720, 70133719, 70133721, 70133722,=]@@
@@[= =][= =][= =][= 70133723, 70133724, 70133725, }=]@@
@@[= =][= }=]@@
to:
@@[= =][= --It's =][=--It's largely sequential, but not quite.=]@@
@@[= =][=--I =][=--I printed out all the numbers and moved them around=]@@
@@[= =][=--to =][=--to fit the correct order (which is both inconsistent=]@@
@@[= =][=--in =][=--in IDs to Netflix order and Netflix to DVD order).=]@@
@@[= =][=local =][=local movieids={=]@@
@@[= =][= =][={ =][= =][={ 70133673, 70133674, 70133675, 70133677, 70133676,=]@@
@@[= =][= =][= =][=70133678, =][= =][= =][=70133678, 70133680, 70133679, 70133681, 70133682,=]@@
@@[= =][= =][= =][=70133683, =][= =][= =][=70133683, 70133684, 70133685, 70133686, 70133687,=]@@
@@[= =][= =][= =][=70133688, =][= =][= =][=70133688, 70133689, 70133690, 70133691, 70133692,=]@@
@@[= =][= =][= =][=70133693, =][= =][= =][=70133693, 70133694, },=]@@
@@[= =][= =][={ =][= =][={ 70133695, 70133696, 70133697, 70133698, 70133699,=]@@
@@[= =][= =][= =][=70133700, =][= =][= =][=70133700, 70133701, 70133702, 70133703, 70133704,=]@@
@@[= =][= =][= =][=70133705, =][= =][= =][=70133705, 70133706, 70133707, 70133708, 70133711,=]@@
@@[= =][= =][= =][=70133709, =][= =][= =][=70133709, 70133710, 70133712, },=]@@
@@[= =][= =][={ =][= =][={ 70133713, 70133714, 70133715, 70133716, 70133717,=]@@
@@[= =][= =][= =][=70133718, =][= =][= =][=70133718, 70133720, 70133719, 70133721, 70133722,=]@@
@@[= =][= =][= =][=70133723, =][= =][= =][=70133723, 70133724, 70133725, }=]@@
@@[= =][=}=]@@=][=}=]@@
@@[= =][=
@@[= =][=
@@[= =][=
@@[= =][=
@@[= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][=
Changed line(s) 414,417 (click to see context) from:
@@[= =][= function tokens.netflix(s,e)=]@@
@@[= =][= =][= return string.format(=]@@
@@[= =][= =][= =][= "http://www.netflix.com/WiPlayer?movieid=%i",movieids[s][e])=]@@
@@[= =][= end=]@@
@@[= =][= =][= return string.format(=]@@
@@[= =][= =][= =][= "http://www.netflix.com/WiPlayer?movieid=%i",movieids[s][e])=]@@
@@[= =][= end=]@@
to:
@@[= =][= function =][=function tokens.netflix(s,e)=]@@
@@[= =][= =][=return =][= =][=return string.format(=]@@
@@[= =][= =][= =][="http://www.=][= =][= =][="http://www.netflix.com/WiPlayer?movieid=%i",movieids[s][e])=]@@
@@[= =][=end=]@@=][=end=]@@
@@[= =][= =][=
@@[= =][= =][= =][=
@@[= =][=
Changed line(s) 425 (click to see context) from:
@@[= =][= local template=[=[=]@@
to:
@@[= =][= local =][=local template=[=[=]@@
Changed line(s) 434,436 (click to see context) from:
@@[= =][= function ad_ep_links(s,e)=]@@
@@[= =][= =][= return (string.gsub(template,"%$(%w+)",function(token) return tokens[token](s,e) end))=]@@
@@[= =][= end=]@@
@@[= =][= =][= return (string.gsub(template,"%$(%w+)",function(token) return tokens[token](s,e) end))=]@@
@@[= =][= end=]@@
to:
@@[= =][= function =][=function ad_ep_links(s,e)=]@@
@@[= =][= =][=return =][= =][=return (string.gsub(template,"%$(%w+)",function(token) return tokens[token](s,e) end))=]@@
@@[= =][=end=]@@=][=end=]@@
@@[= =][= =][=
@@[= =][=
Changed line(s) 441,448 (click to see context) from:
@@[= =][= --get the ep title=]@@
@@[= =][= local title=adeps[s][e]=]@@
@@[= =][= --replace the é in Beef Consommé=]@@
@@[= =][= title=string.gsub(title,'é','e')=]@@
@@[= =][= --transform to CamelCased WikiWord=]@@
@@[= =][= title=string.gsub(title,' (%l?)',string.upper)=]@@
@@[= =][= --Remove all non-alphanumeric characters=]@@
@@[= =][= title=string.gsub(title,'%W','')=]@@
@@[= =][= local title=adeps[s][e]=]@@
@@[= =][= --replace the é in Beef Consommé=]@@
@@[= =][= title=string.gsub(title,'é','e')=]@@
@@[= =][= --transform to CamelCased WikiWord=]@@
@@[= =][= title=string.gsub(title,' (%l?)',string.upper)=]@@
@@[= =][= --Remove all non-alphanumeric characters=]@@
@@[= =][= title=string.gsub(title,'%W','')=]@@
to:
@@[= =][= --get =][=--get the ep title=]@@
@@[= =][=local =][=local title=adeps[s][e]=]@@
@@[= =][=--replace =][=--replace the é in Beef Consommé=]@@
@@[= =][=title=string.=][=title=string.gsub(title,'é','e')=]@@
@@[= =][=--transform =][=--transform to CamelCased WikiWord=]@@
@@[= =][=title=string.=][=title=string.gsub(title,' (%l?)',string.upper)=]@@
@@[= =][=--Remove =][=--Remove all non-alphanumeric characters=]@@
@@[= =][=title=string.=][=title=string.gsub(title,'%W','')=]@@
@@[= =][=
@@[= =][=
@@[= =][=
@@[= =][=
@@[= =][=
@@[= =][=
@@[= =][=
Changed line(s) 450 (click to see context) from:
@@[= =][= return string.format("Recap/ArrestedDevelopmentS%iE%i%s",s,e,title)=]@@
to:
@@[= =][= return =][=return string.format("Recap/ArrestedDevelopmentS%iE%i%s",s,e,title)=]@@
Changed line(s) 454,460 (click to see context) from:
@@[= =][= return tvtropes.post(=]@@
@@[= =][= =][= recap_pagename(s,e),=]@@
@@[= =][= =][= string.format(=]@@
@@[= =][= =][= =][= "\n\n%s\n!The ''ArrestedDevelopment'' episode \"%s\" provides examples of:\n\n",=]@@
@@[= =][= =][= =][= =][= ad_ep_links(s,e),adeps[s][e]),=]@@
@@[= =][= =][= "STUART",=]@@
@@[= =][= =][= "Adding interwiki links and example header automatically (Ask me about Lua)")=]@@
@@[= =][= =][= recap_pagename(s,e),=]@@
@@[= =][= =][= string.format(=]@@
@@[= =][= =][= =][= "\n\n%s\n!The ''ArrestedDevelopment'' episode \"%s\" provides examples of:\n\n",=]@@
@@[= =][= =][= =][= =][= ad_ep_links(s,e),adeps[s][e]),=]@@
@@[= =][= =][= "STUART",=]@@
@@[= =][= =][= "Adding interwiki links and example header automatically (Ask me about Lua)")=]@@
to:
@@[= =][= return =][=return tvtropes.post(=]@@
@@[= =][= =][=recap_pagename(s,e),=]@@
=][= =][=recap_pagename(s,e),=]@@
@@[= =][= =][=string.=][= =][=string.format(=]@@
@@[= =][= =][= =][="\n\n%s\n!The =][= =][= =][="\n\n%s\n!The ''ArrestedDevelopment'' episode \"%s\" provides examples of:\n\n",=]@@
@@[= =][= =][= =][= =][=ad_ep_links(s,e),adeps[s][e]),=]@@
=][= =][= =][= =][=ad_ep_links(s,e),adeps[s][e]),=]@@
@@[= =][= =][="STUART",=]@@
=][= =][="STUART",=]@@
@@[= =][= =][="Adding =][= =][="Adding interwiki links and example header automatically (Ask me about Lua)")=]@@
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
Changed line(s) 464,481 (click to see context) from:
@@[= =][= return function(s,e)=]@@
@@[= =][= =][= --until comment syntax is changed, Amigos is manual-only=]@@
@@[= =][= =][= if s==2 and e==3 then=]@@
@@[= =][= =][= =][= print "(Skipping Amigos because the links go all screwy)"=]@@
@@[= =][= =][= else=]@@
@@[= =][= =][= =][= local pagename=recap_pagename(s,e)=]@@
@@[= =][= =][= =][= local pageasis=tvtropes.get(pagename)=]@@
@@[= =][= =][= =][= local gsubsafelinks = string.gsub(ad_ep_links(s,e),"%%","%%%%")=]@@
@@[= =][= =][= =][= local success=]@@
@@[= =][= =][= =][= while not success do=]@@
@@[= =][= =][= =][= =][= local code=]@@
@@[= =][= =][= =][= =][= success, code = tvtropes.post(pagename,=]@@
@@[= =][= =][= =][= =][= =][= string.gsub(pageasis,"%%%%STARTLINKS%%%%.-%%%%ENDLINKS%%%%",gsubsafelinks),=]@@
@@[= =][= =][= =][= =][= =][= "STUART",reason)=]@@
@@[= =][= =][= =][= =][= if not success then print("Retrying... "..code) end=]@@
@@[= =][= =][= =][= end=]@@
@@[= =][= =][= end=]@@
@@[= =][= end=]@@
@@[= =][= =][= --until comment syntax is changed, Amigos is manual-only=]@@
@@[= =][= =][= if s==2 and e==3 then=]@@
@@[= =][= =][= =][= print "(Skipping Amigos because the links go all screwy)"=]@@
@@[= =][= =][= else=]@@
@@[= =][= =][= =][= local pagename=recap_pagename(s,e)=]@@
@@[= =][= =][= =][= local pageasis=tvtropes.get(pagename)=]@@
@@[= =][= =][= =][= local gsubsafelinks = string.gsub(ad_ep_links(s,e),"%%","%%%%")=]@@
@@[= =][= =][= =][= local success=]@@
@@[= =][= =][= =][= while not success do=]@@
@@[= =][= =][= =][= =][= local code=]@@
@@[= =][= =][= =][= =][= success, code = tvtropes.post(pagename,=]@@
@@[= =][= =][= =][= =][= =][= string.gsub(pageasis,"%%%%STARTLINKS%%%%.-%%%%ENDLINKS%%%%",gsubsafelinks),=]@@
@@[= =][= =][= =][= =][= =][= "STUART",reason)=]@@
@@[= =][= =][= =][= =][= if not success then print("Retrying... "..code) end=]@@
@@[= =][= =][= =][= end=]@@
@@[= =][= =][= end=]@@
@@[= =][= end=]@@
to:
@@[= =][= return =][=return function(s,e)=]@@
@@[= =][= =][=--until =][= =][=--until comment syntax is changed, Amigos is manual-only=]@@
@@[= =][= =][=if =][= =][=if s==2 and e==3 then=]@@
@@[= =][= =][= =][=print =][= =][= =][=print "(Skipping Amigos because the links go all screwy)"=]@@
@@[= =][= =][=else=]@@
=][= =][=else=]@@
@@[= =][= =][= =][=local =][= =][= =][=local pagename=recap_pagename(s,e)=]@@
@@[= =][= =][= =][=local =][= =][= =][=local pageasis=tvtropes.get(pagename)=]@@
@@[= =][= =][= =][=local =][= =][= =][=local gsubsafelinks = string.gsub(ad_ep_links(s,e),"%%","%%%%")=]@@
@@[= =][= =][= =][=local =][= =][= =][=local success=]@@
@@[= =][= =][= =][=while =][= =][= =][=while not success do=]@@
@@[= =][= =][= =][= =][=local =][= =][= =][= =][=local code=]@@
@@[= =][= =][= =][= =][=success, =][= =][= =][= =][=success, code = tvtropes.post(pagename,=]@@
@@[= =][= =][= =][= =][= =][=string.=][= =][= =][= =][= =][=string.gsub(pageasis,"%%%%STARTLINKS%%%%.-%%%%ENDLINKS%%%%",gsubsafelinks),=]@@
@@[= =][= =][= =][= =][= =][="STUART",reason)=]@@
=][= =][= =][= =][= =][="STUART",reason)=]@@
@@[= =][= =][= =][= =][=if =][= =][= =][= =][=if not success then print("Retrying... "..code) end=]@@
@@[= =][= =][= =][=end=]@@
=][= =][= =][=end=]@@
@@[= =][= =][=end=]@@
=][= =][=end=]@@
@@[= =][=end=]@@=][=end=]@@
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][= =][=
@@[= =][= =][= =][= =][=
@@[= =][= =][= =][= =][= =][=
@@[= =][= =][= =][= =][= =][=
@@[= =][= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][=
@@[= =][=
Changed line(s) 485,490 (click to see context) from:
@@[= =][= for s=1,#adeps do=]@@
@@[= =][= =][= for e=1,#adeps[s] do=]@@
@@[= =][= =][= =][= print(string.format('Doing Season %i Episode %i, "%s"...',s,e,adeps[s][e]))=]@@
@@[= =][= =][= =][= f(s,e)=]@@
@@[= =][= =][= end=]@@
@@[= =][= end=]@@
@@[= =][= =][= for e=1,#adeps[s] do=]@@
@@[= =][= =][= =][= print(string.format('Doing Season %i Episode %i, "%s"...',s,e,adeps[s][e]))=]@@
@@[= =][= =][= =][= f(s,e)=]@@
@@[= =][= =][= end=]@@
@@[= =][= end=]@@
to:
@@[= =][= for =][=for s=1,#adeps do=]@@
@@[= =][= =][=for =][= =][=for e=1,#adeps[s] do=]@@
@@[= =][= =][= =][=print(string.=][= =][= =][=print(string.format('Doing Season %i Episode %i, "%s"...',s,e,adeps[s][e]))=]@@
@@[= =][= =][= =][=f(s,e)=]@@
=][= =][= =][=f(s,e)=]@@
@@[= =][= =][=end=]@@
=][= =][=end=]@@
@@[= =][=end=]@@=][=end=]@@
@@[= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][=
@@[= =][=
Is there an issue? Send a MessageReason:
dammit, tv tropes
Changed line(s) 16,24 (click to see context) from:
@@[= =][= =][=--Ensure all newlines are in CRLF form=]@@
@@[= =][= =][=str = string.gsub (str, "\r?\n", "\r\n")=]@@
@@[= =][= =][=--Percent-encode all non-unreserved characters=]@@
@@[= =][= =][=--as per RFC 3986, Section 2.3=]@@
@@[= =][= =][=--(except for space, which gets plus-encoded)=]@@
@@[= =][= =][=str = string.gsub (str, "([^%w%-%.%_%~ ])",=]@@
@@[= =][= =][= =][= =][= =][= =][=function (c) return string.format ("%%%02X", string.byte(c)) end)=]@@
@@[= =][= =][=--Convert spaces to plus signs=]@@
@@[= =][= =][=return string.gsub (str, " ", "+")=]@@
@@[= =][= =][=str = string.gsub (str, "\r?\n", "\r\n")=]@@
@@[= =][= =][=--Percent-encode all non-unreserved characters=]@@
@@[= =][= =][=--as per RFC 3986, Section 2.3=]@@
@@[= =][= =][=--(except for space, which gets plus-encoded)=]@@
@@[= =][= =][=str = string.gsub (str, "([^%w%-%.%_%~ ])",=]@@
@@[= =][= =][= =][= =][= =][= =][=function (c) return string.format ("%%%02X", string.byte(c)) end)=]@@
@@[= =][= =][=--Convert spaces to plus signs=]@@
@@[= =][= =][=return string.gsub (str, " ", "+")=]@@
to:
@@[= =][= =][=--Ensure --Ensure all newlines are in CRLF form=]@@
@@[= =][==][=str str = string.gsub (str, "\r?\n", "\r\n")=]@@
@@[= =][==][=--Percent-encode --Percent-encode all non-unreserved characters=]@@
@@[= =][==][=--as --as per RFC 3986, Section 2.3=]@@
@@[= =][==][=--(except --(except for space, which gets plus-encoded)=]@@
@@[= =][==][=str str = string.gsub (str, "([^%w%-%.%_%~ ])",=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][=function function (c) return string.format ("%%%02X", string.byte(c)) end)=]@@
@@[= =][==][=--Convert --Convert spaces to plus signs=]@@
@@[= =][==][=return return string.gsub (str, " ", "+")=]@@
@@[= =][=
@@[= =][=
@@[= =][=
@@[= =][=
@@[= =][=
@@[= =][= =][= =][=
@@[= =][=
@@[= =][=
Changed line(s) 32,38 (click to see context) from:
@@[= =][= =][=--table of argument strings=]@@
@@[= =][= =][=local argts, i= {}, 1=]@@
@@[= =][= =][=for k, v in pairs(t) do=]@@
@@[= =][= =][= =][= =][=argts[i]=encode(k).."="..encode(v)=]@@
@@[= =][= =][= =][= =][=i=i+1=]@@
@@[= =][= =][=end=]@@
@@[= =][= =][=return table.concat(argts,'&')=]@@
@@[= =][= =][=local argts, i= {}, 1=]@@
@@[= =][= =][=for k, v in pairs(t) do=]@@
@@[= =][= =][= =][= =][=argts[i]=encode(k).."="..encode(v)=]@@
@@[= =][= =][= =][= =][=i=i+1=]@@
@@[= =][= =][=end=]@@
@@[= =][= =][=return table.concat(argts,'&')=]@@
to:
@@[= =][= =][=--table --table of argument strings=]@@
@@[= =][==][=local local argts, i= {}, 1=]@@
@@[= =][==][=for for k, v in pairs(t) do=]@@
@@[= =][= =][==][= =][= =][=argts[i]=encode(k)..argts[i]=encode(k).."="..encode(v)=]@@
@@[= =][= =][= i=i+1=]@@
@@[= =][==][= =][= =][=i=i+1=]@@
end=]@@
@@[= =][==][=end=]@@
@@[= =][= =][=returnreturn table.concat(argts,'&')=]@@
@@[= =][=
@@[= =][=
@@[= =][= =][=
@@[= =][= =][= i=i+1=]@@
@@[= =][=
@@[= =][=
@@[= =][= =][=return
Changed line(s) 55 (click to see context) from:
@@[= =][= =][=return "http://:foamy@tvtropes.org/pmwiki/pmwiki.php/"..page=]@@
to:
@@[= =][= =][=return return "http://:foamy@tvtropes.org/pmwiki/pmwiki.php/"..page=]@@
Changed line(s) 59,62 (click to see context) from:
@@[= =][= =][=--Require pagename=]@@
@@[= =][= =][=assert(type(page)=="string","Destination page name required")=]@@
@@[= =][= =][=--If no namespace specified, assume Main=]@@
@@[= =][= =][=if not string.find(page,'/') then page="Main/"..page end=]@@
@@[= =][= =][=assert(type(page)=="string","Destination page name required")=]@@
@@[= =][= =][=--If no namespace specified, assume Main=]@@
@@[= =][= =][=if not string.find(page,'/') then page="Main/"..page end=]@@
to:
@@[= =][= =][=--Require --Require pagename=]@@
@@[= =][==][=assert(type(page)=="string","Destination assert(type(page)=="string","Destination page name required")=]@@
@@[= =][==][=--If --If no namespace specified, assume Main=]@@
@@[= =][==][=if if not string.find(page,'/') then page="Main/"..page end=]@@
@@[= =][=
@@[= =][=
@@[= =][=
Changed line(s) 64 (click to see context) from:
@@[= =][= =][=return page=]@@
to:
@@[= =][= =][=return return page=]@@
Changed line(s) 70 (click to see context) from:
@@[= =][= =][=page=fullname(page)=]@@
to:
@@[= =][= =][=page=fullname(page)=]@@page=fullname(page)=]@@
Changed line(s) 72 (click to see context) from:
@@[= =][= =][=assert(type(body)=="string","Page body required")=]@@
to:
@@[= =][= =][=assert(type(body)=="string","Page assert(type(body)=="string","Page body required")=]@@
Changed line(s) 74,81 (click to see context) from:
@@[= =][= =][=local response ==]@@
@@[= =][= =][= =][= =][={http.request(authpageurl(page),=]@@
@@[= =][= =][= =][= =][= =][= =][=urlencode.table{=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=action="post", post="save",=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=pagename=page, text=body,=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=author=author or "Anonymous",=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=reason=reason or ""=]@@
@@[= =][= =][= =][= =][= =][= =][=})}=]@@
@@[= =][= =][= =][= =][={http.request(authpageurl(page),=]@@
@@[= =][= =][= =][= =][= =][= =][=urlencode.table{=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=action="post", post="save",=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=pagename=page, text=body,=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=author=author or "Anonymous",=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=reason=reason or ""=]@@
@@[= =][= =][= =][= =][= =][= =][=})}=]@@
to:
@@[= =][= =][=local local response ==]@@
@@[= =][= =][==][= =][= =][={http.{http.request(authpageurl(page),=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][=urlencode.urlencode.table{=]@@
@@[= =][= =][= =][= =][==][= =][= =][= =][= =][= =][= =][=action="post", action="post", post="save",=]@@
@@[= =][= =][= =][= =][==][= =][= =][= =][= =][= =][= =][=pagename=page, pagename=page, text=body,=]@@
@@[= =][= =][= =][= =][==][= =][= =][= =][= =][= =][= =][=author=author author=author or "Anonymous",=]@@
@@[= =][= =][= =][= =][==][= =][= =][= =][= =][= =][= =][=reason=reason reason=reason or ""=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][=})}=]@@})}=]@@
@@[= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][= =][=
@@[= =][= =][= =][= =][=
@@[= =][= =][= =][= =][=
@@[= =][= =][= =][= =][=
@@[= =][= =][= =][=
Changed line(s) 83,84 (click to see context) from:
@@[= =][= =][=--Error on any socket errors=]@@
@@[= =][= =][=assert(response[1],response[2])=]@@
@@[= =][= =][=assert(response[1],response[2])=]@@
to:
@@[= =][= =][=--Error --Error on any socket errors=]@@
@@[= =][==][=assert(response[1],response[2])=]@@assert(response[1],response[2])=]@@
@@[= =][=
Changed line(s) 86,91 (click to see context) from:
@@[= =][= =][=--If it doesn't return Found, return nil, the status, and the body:=]@@
@@[= =][= =][=--sometimes it just rejects the password for some reason.=]@@
@@[= =][= =][=if tonumber(response[2])~=302 then=]@@
@@[= =][= =][= =][= =][=return nil, response[2], response[1]=]@@
@@[= =][= =][=else return true=]@@
@@[= =][= =][=end=]@@
@@[= =][= =][=--sometimes it just rejects the password for some reason.=]@@
@@[= =][= =][=if tonumber(response[2])~=302 then=]@@
@@[= =][= =][= =][= =][=return nil, response[2], response[1]=]@@
@@[= =][= =][=else return true=]@@
@@[= =][= =][=end=]@@
to:
@@[= =][= =][=--If --If it doesn't return Found, return nil, the status, and the body:=]@@
@@[= =][==][=--sometimes --sometimes it just rejects the password for some reason.=]@@
@@[= =][==][=if if tonumber(response[2])~=302 then=]@@
@@[= =][= =][==][= =][= =][=return return nil, response[2], response[1]=]@@
@@[= =][==][=else else return true=]@@
@@[= =][==][=end=]@@end=]@@
@@[= =][=
@@[= =][=
@@[= =][= =][=
@@[= =][=
@@[= =][=
Changed line(s) 98 (click to see context) from:
@@[= =][= =][=local ents = {quot='"', amp='&', lt='<', gt='>'}=]@@
to:
@@[= =][= =][=local local ents = {quot='"', amp='&', lt='<', gt='>'}=]@@
Changed line(s) 100,104 (click to see context) from:
@@[= =][= =][=function html2plain(src)=]@@
@@[= =][= =][= =][= =][=src=string.gsub(src,"<br/>","\n")=]@@
@@[= =][= =][= =][= =][=src=string.gsub(src,"&(%w-);",ents)=]@@
@@[= =][= =][= =][= =][=return src=]@@
@@[= =][= =][=end=]@@
@@[= =][= =][= =][= =][=src=string.gsub(src,"<br/>","\n")=]@@
@@[= =][= =][= =][= =][=src=string.gsub(src,"&(%w-);",ents)=]@@
@@[= =][= =][= =][= =][=return src=]@@
@@[= =][= =][=end=]@@
to:
@@[= =][= =][=function function html2plain(src)=]@@
@@[= =][= =][==][= =][= =][=src=string.src=string.gsub(src,"<br/>","\n")=]@@
@@[= =][= =][==][= =][= =][=src=string.src=string.gsub(src,"&(%w-);",ents)=]@@
@@[= =][= =][==][= =][= =][=return return src=]@@
@@[= =][==][=end=]@@end=]@@
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][=
Changed line(s) 110 (click to see context) from:
@@[= =][= =][=page=fullname(page)=]@@
to:
@@[= =][= =][=page=fullname(page)=]@@page=fullname(page)=]@@
Changed line(s) 112,113 (click to see context) from:
@@[= =][= =][=local body, code = http.request(=]@@
@@[= =][= =][= =][= =][=authpageurl(page)..'?action=source')=]@@
@@[= =][= =][= =][= =][=authpageurl(page)..'?action=source')=]@@
to:
@@[= =][= =][=local local body, code = http.request(=]@@
@@[= =][= =][==][= =][= =][=authpageurl(page)..authpageurl(page)..'?action=source')=]@@
@@[= =][= =][=
Changed line(s) 115,116 (click to see context) from:
@@[= =][= =][=--Trigger error on socket failure=]@@
@@[= =][= =][=assert(body,code)=]@@
@@[= =][= =][=assert(body,code)=]@@
to:
@@[= =][= =][=--Trigger --Trigger error on socket failure=]@@
@@[= =][==][=assert(body,code)=]@@assert(body,code)=]@@
@@[= =][=
Changed line(s) 118,119 (click to see context) from:
@@[= =][= =][=--Return the source converted back from the HTML conversion=]@@
@@[= =][= =][=return html2plain(body)=]@@
@@[= =][= =][=return html2plain(body)=]@@
to:
@@[= =][= =][=--Return --Return the source converted back from the HTML conversion=]@@
@@[= =][==][=return return html2plain(body)=]@@
@@[= =][=
Changed line(s) 138,141 (click to see context) from:
@@[= =][= =][="urlencode.lua",=]@@
@@[= =][= =][="tvtropes.lua",=]@@
@@[= =][= =][="tropersrepo.lua",=]@@
@@[= =][= =][="arrdev_recap.lua",=]@@
@@[= =][= =][="tvtropes.lua",=]@@
@@[= =][= =][="tropersrepo.lua",=]@@
@@[= =][= =][="arrdev_recap.lua",=]@@
to:
@@[= =][= =][="urlencode."urlencode.lua",=]@@
@@[= =][==][="tvtropes."tvtropes.lua",=]@@
@@[= =][==][="tropersrepo."tropersrepo.lua",=]@@
@@[= =][==][="arrdev_recap."arrdev_recap.lua",=]@@
@@[= =][=
@@[= =][=
@@[= =][=
Changed line(s) 145,147 (click to see context) from:
@@[= =][= =][=return string.format(=]@@
@@[= =][= =][= =][= =][="[[folder:%s]]\n%s\n[[/folder]=]][=",=]@@
@@[= =][= =][= =][= =][=name,script)=]@@
@@[= =][= =][= =][= =][="[[folder:%s]]\n%s\n[[/folder]=]][=",=]@@
@@[= =][= =][= =][= =][=name,script)=]@@
to:
@@[= =][= =][=return return string.format(=]@@
@@[= =][= =][= "[[folder:%s]]\n%s\n[[/folder]=]][=",=]@@
@@[= =][= =][==][= =][="[[folder:%s]]\n%s\n[[/folder]=]][=",=]@@
@@[= =][= =][= =][= =][=name,script)=]@@name,script)=]@@
@@[= =][= =][= "[[folder:%s]]\n%s\n[[/folder]=]][=",=]@@
@@[= =][= =][=
@@[= =][= =][= =][= =][=name,script)=]@@
Changed line(s) 151,155 (click to see context) from:
@@[= =][= =][=local folders={=]@@
@@[= =][= =][= =][= =][="%%START".."SCRIPTS%%",=]@@
@@[= =][= =][= =][= =][="[[foldercontrol]]"=]@@
@@[= =][= =][=}=]@@
@@[= =][= =][=local headers=#folders=]@@
@@[= =][= =][= =][= =][="%%START".."SCRIPTS%%",=]@@
@@[= =][= =][= =][= =][="[[foldercontrol]]"=]@@
@@[= =][= =][=}=]@@
@@[= =][= =][=local headers=#folders=]@@
to:
@@[= =][= =][=local local folders={=]@@
@@[= =][= =][==][= =][= =][="%%START".."%%START".."SCRIPTS%%",=]@@
@@[= =][= =][= "[[foldercontrol]]"=]@@
@@[= =][==][= =][= =][="[[foldercontrol]]"=]@@
}=]@@
@@[= =][==][=}=]@@
@@[= =][= =][=locallocal headers=#folders=]@@
@@[= =][= =][=
@@[= =][= =][= "[[foldercontrol]]"=]@@
@@[= =][=
@@[= =][=
@@[= =][= =][=local
Changed line(s) 157,159 (click to see context) from:
@@[= =][= =][=for i=1, #scripts do=]@@
@@[= =][= =][= =][= =][=local slines={}=]@@
@@[= =][= =][= =][= =][=for line in io.lines(scripts[i]) do=]@@
@@[= =][= =][= =][= =][=local slines={}=]@@
@@[= =][= =][= =][= =][=for line in io.lines(scripts[i]) do=]@@
to:
@@[= =][= =][=for for i=1, #scripts do=]@@
@@[= =][= =][==][= =][= =][=local local slines={}=]@@
@@[= =][= =][==][= =][= =][=for for line in io.lines(scripts[i]) do=]@@
@@[= =][= =][=
@@[= =][= =][=
Changed line(s) 161,165 (click to see context) from:
@@[= =][= =][= =][= =][= =][= =][=if line=="" then=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=slines[#slines+1]='\\\\'=]@@
@@[= =][= =][= =][= =][= =][= =][=else=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=--escape everything, and only fiddle with=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=--what must be fiddled with=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=slines[#slines+1]='\\\\'=]@@
@@[= =][= =][= =][= =][= =][= =][=else=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=--escape everything, and only fiddle with=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=--what must be fiddled with=]@@
to:
@@[= =][= =][= =][= =][= =][= =][= =][= =][=if if line=="" then=]@@
@@[= =][= =][= =][= =][= slines[#slines+1]='\\\\'=]@@
@@[= =][= =][= =][= else=]@@
@@[= =][= =][= =][= =][==][= =][= =][= =][= =][=slines[#slines+1]='\\\\'=]@@
@@[= =][= =][= =][= =][= =][= =][=else=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=--escape--escape everything, and only fiddle with=]@@
@@[= =][= =][= =][= =][==][= =][= =][= =][= =][= =][= =][=--what --what must be fiddled with=]@@
@@[= =][= =][= =][= =][= slines[#slines+1]='\\\\'=]@@
@@[= =][= =][= =][= else=]@@
@@[= =][= =][= =][= =][=
@@[= =][= =][= =][= =][= =][= =][=else=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=--escape
@@[= =][= =][= =][= =][=
Changed line(s) 167,168 (click to see context) from:
@@[= =][= =][= =][= =][= =][= =][= =][= =][=--split anything that would end the escaped region=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=local escaped=string.gsub(line,"=]=[=]","=]=[=]=[=]=[=]")=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=local escaped=string.gsub(line,"=]=[=]","=]=[=]=[=]=[=]")=]@@
to:
@@[= =][= =][= =][= =][= =][= =][= =][= =][= =][= =][= =][=--split --split anything that would end the escaped region=]@@
@@[= =][= =][= =][= =][==][= =][= =][= =][= =][= =][= =][=local local escaped=string.gsub(line,"=]=[=]","=]=[=]=[=]=[=]")=]@@
@@[= =][= =][= =][= =][=
Changed line(s) 170,172 (click to see context) from:
@@[= =][= =][= =][= =][= =][= =][= =][= =][=--also split the folder controls, because hurf durf that ignores=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=--non-formatting=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=escaped=string.gsub(escaped,"folder]=]][=","folder]=]=[=]][=")=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=--non-formatting=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=escaped=string.gsub(escaped,"folder]=]][=","folder]=]=[=]][=")=]@@
to:
@@[= =][= =][= =][= =][= =][= =][= =][= =][= =][= =][= =][=--also --also split the folder controls, because hurf durf that ignores=]@@
@@[= =][= =][= =][= =][= --non-formatting=]@@
@@[= =][= =][= =][= =][==][= =][= =][= =][= =][= =][=--non-formatting=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=escaped=string.escaped=string.gsub(escaped,"folder]=]][=","folder]=]=[=]][=")=]@@
@@[= =][= =][= =][= =][= --non-formatting=]@@
@@[= =][= =][= =][= =][=
@@[= =][= =][= =][= =][= =][= =][= =][= =][=escaped=string.
Changed line(s) 174,179 (click to see context) from:
@@[= =][= =][= =][= =][= =][= =][= =][= =][=--do I hate this? yes, I do.=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=--escape _every single instance of more than two adjacent spaces_=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=--to keep them from being folded on commit=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=escaped=string.gsub(escaped,"^ *",function(s)=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][= =][= =][=return string.gsub(s," "," =]=[=][=")=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=end)=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=--escape _every single instance of more than two adjacent spaces_=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=--to keep them from being folded on commit=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=escaped=string.gsub(escaped,"^ *",function(s)=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][= =][= =][=return string.gsub(s," "," =]=[=][=")=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=end)=]@@
to:
@@[= =][= =][= =][= =][= =][= =][= =][= =][= =][= =][= =][=--do --do I hate this? yes, I do.=]@@
@@[= =][= =][= =][= =][==][= =][= =][= =][= =][= =][= =][=--escape --escape _every single instance of more than two adjacent spaces_=]@@
@@[= =][= =][= =][= =][==][= =][= =][= =][= =][= =][= =][=--to --to keep them from being folded on commit=]@@
@@[= =][= =][= =][= =][= escaped=string.gsub(escaped," =][==][= =][= =][= =][= =][= =][=escaped=string.gsub(escaped,"^ *",function(s)=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][= =][= =][=return string.gsub(s,""," =]=[=][=")=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=end)=]@@=]=[=][= ")=]@@
@@[= =][= =][= =][= =][=
@@[= =][= =][= =][= =][=
@@[= =][= =][= =][= =][= escaped=string.gsub(escaped," =][=
@@[= =][= =][= =][= =][= =][= =][= =][= =][= =][= =][=return string.gsub(s,"
@@[= =][= =][= =][= =][= =][= =][= =][= =][=end)=]@@
Changed line(s) 181,183 (click to see context) from:
@@[= =][= =][= =][= =][= =][= =][= =][= =][=slines[#slines+1]=string.format("@@[=%s=]=[=]@@",escaped)=]@@
@@[= =][= =][= =][= =][= =][= =][=end=]@@
@@[= =][= =][= =][= =][=end=]@@
@@[= =][= =][= =][= =][= =][= =][=end=]@@
@@[= =][= =][= =][= =][=end=]@@
to:
@@[= =][= =][= =][= =][= =][= =][= =][= =][= =][= =][= =][=slines[#slines+1]=string.slines[#slines+1]=string.format("@@[=%s=]=[=]@@",escaped)=]@@
@@[= =][= =][= =][= end=]@@
@@[= =][= =][==][= =][= =][= =][=end=]@@
@@[= =][= =][= =][= =][=end=]@@end=]@@
@@[= =][= =][= =][= end=]@@
@@[= =][= =][=
@@[= =][= =][= =][= =][=end=]@@
Changed line(s) 185,187 (click to see context) from:
@@[= =][= =][= =][= =][=local content=table.concat(slines,'\n')=]@@
@@[= =][= =][= =][= =][=folders[i+headers]=scriptfolder(scripts[i],content)=]@@
@@[= =][= =][=end=]@@
@@[= =][= =][= =][= =][=folders[i+headers]=scriptfolder(scripts[i],content)=]@@
@@[= =][= =][=end=]@@
to:
@@[= =][= =][= =][= =][= =][=local local content=table.concat(slines,'\n')=]@@
@@[= =][= =][= folders[i+headers]=scriptfolder(scripts[i],content)=]@@
@@[= =][==][= =][= =][=folders[i+headers]=scriptfolder(scripts[i],content)=]@@
@@[= =][= =][=end=]@@end=]@@
@@[= =][= =][= folders[i+headers]=scriptfolder(scripts[i],content)=]@@
@@[= =][=
@@[= =][= =][=end=]@@
Changed line(s) 189 (click to see context) from:
@@[= =][= =][=folders[#folders+1]="%%END".."SCRIPTS%%"=]@@
to:
@@[= =][= =][=folders[#folders+1]="%%END"..folders[#folders+1]="%%END".."SCRIPTS%%"=]@@
Changed line(s) 191 (click to see context) from:
@@[= =][= =][=return table.concat(folders,"\n\n")=]@@
to:
@@[= =][= =][=return return table.concat(folders,"\n\n")=]@@
Changed line(s) 195 (click to see context) from:
@@[= =][= =][=local gssscripts=string.gsub(revsection(),"%%","%%%%")=]@@
to:
@@[= =][= =][=local local gssscripts=string.gsub(revsection(),"%%","%%%%")=]@@
Changed line(s) 197 (click to see context) from:
@@[= =][= =][=print(string.format("Getting current version of %s...",target))=]@@
to:
@@[= =][= =][=print(string.print(string.format("Getting current version of %s...",target))=]@@
Changed line(s) 199 (click to see context) from:
@@[= =][= =][=local current=tvtropes.get(target)=]@@
to:
@@[= =][= =][=local local current=tvtropes.get(target)=]@@
Changed line(s) 201,203 (click to see context) from:
@@[= =][= =][=local updated=string.gsub(current,=]@@
@@[= =][= =][= =][= =][="%%%%START".."SCRIPTS%%%%.-%%%%END".."SCRIPTS%%%%",=]@@
@@[= =][= =][= =][= =][=gssscripts)=]@@
@@[= =][= =][= =][= =][="%%%%START".."SCRIPTS%%%%.-%%%%END".."SCRIPTS%%%%",=]@@
@@[= =][= =][= =][= =][=gssscripts)=]@@
to:
@@[= =][= =][=local local updated=string.gsub(current,=]@@
@@[= =][= =][==][= =][= =][="%%%%START".."%%%%START".."SCRIPTS%%%%.-%%%%END".."SCRIPTS%%%%",=]@@
@@[= =][= =][==][= =][= =][=gssscripts)=]@@gssscripts)=]@@
@@[= =][= =][=
@@[= =][= =][=
Changed line(s) 205 (click to see context) from:
@@[= =][= =][=print(string.format("Posting new version of %s...",target))=]@@
to:
@@[= =][= =][=print(string.print(string.format("Posting new version of %s...",target))=]@@
Changed line(s) 207,211 (click to see context) from:
@@[= =][= =][=local posted=]@@
@@[= =][= =][=while not posted do=]@@
@@[= =][= =][= =][= =][=posted=tvtropes.post(target,updated,user,notes)=]@@
@@[= =][= =][= =][= =][=if not posted then print" Retrying..." end=]@@
@@[= =][= =][=end=]@@
@@[= =][= =][=while not posted do=]@@
@@[= =][= =][= =][= =][=posted=tvtropes.post(target,updated,user,notes)=]@@
@@[= =][= =][= =][= =][=if not posted then print" Retrying..." end=]@@
@@[= =][= =][=end=]@@
to:
@@[= =][= =][=local local posted=]@@
@@[= =][==][=while while not posted do=]@@
@@[= =][= =][==][= =][= =][=posted=tvtropes.posted=tvtropes.post(target,updated,user,notes)=]@@
@@[= =][= =][==][= =][= =][=if if not posted then print" =][= Retrying..." end=]@@
@@[= =][==][=end=]@@end=]@@
@@[= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][=
Changed line(s) 230,288 (click to see context) from:
@@[= =][= =][={=]@@
@@[= =][= =][= =][= =][="Pilot",=]@@
@@[= =][= =][= =][= =][="Top Banana",=]@@
@@[= =][= =][= =][= =][="Bringing Up Buster",=]@@
@@[= =][= =][= =][= =][="Key Decisions",=]@@
@@[= =][= =][= =][= =][="Visiting Ours",=]@@
@@[= =][= =][= =][= =][="Charity Drive",=]@@
@@[= =][= =][= =][= =][="My Mother, The Car",=]@@
@@[= =][= =][= =][= =][="In God We Trust",=]@@
@@[= =][= =][= =][= =][="Storming the Castle",=]@@
@@[= =][= =][= =][= =][="Pier Pressure",=]@@
@@[= =][= =][= =][= =][="Public Relations",=]@@
@@[= =][= =][= =][= =][="Marta Complex",=]@@
@@[= =][= =][= =][= =][="Beef Consommé",=]@@
@@[= =][= =][= =][= =][="Shock and Aww",=]@@
@@[= =][= =][= =][= =][="Staff Infection",=]@@
@@[= =][= =][= =][= =][="Missing Kitty",=]@@
@@[= =][= =][= =][= =][="Altar Egos",=]@@
@@[= =][= =][= =][= =][="Justice Is Blind",=]@@
@@[= =][= =][= =][= =][="Best Man for the GOB",=]@@
@@[= =][= =][= =][= =][="Whistler's Mother",=]@@
@@[= =][= =][= =][= =][="Not Without My Daughter",=]@@
@@[= =][= =][= =][= =][="Let 'Em Eat Cake"=]@@
@@[= =][= =][=},=]@@
@@[= =][= =][={=]@@
@@[= =][= =][= =][= =][="The One Where Michael Leaves",=]@@
@@[= =][= =][= =][= =][="The One Where They Build a House",=]@@
@@[= =][= =][= =][= =][="¡Amigos!",=]@@
@@[= =][= =][= =][= =][="Good Grief",=]@@
@@[= =][= =][= =][= =][="Sad Sack",=]@@
@@[= =][= =][= =][= =][="Afternoon Delight",=]@@
@@[= =][= =][= =][= =][="Switch Hitter",=]@@
@@[= =][= =][= =][= =][="Queen for a Day",=]@@
@@[= =][= =][= =][= =][="Burning Love",=]@@
@@[= =][= =][= =][= =][="Ready, Aim, Marry Me",=]@@
@@[= =][= =][= =][= =][="Out on a Limb",=]@@
@@[= =][= =][= =][= =][="Hand to God",=]@@
@@[= =][= =][= =][= =][="Motherboy XXX",=]@@
@@[= =][= =][= =][= =][="The Immaculate Election",=]@@
@@[= =][= =][= =][= =][="Sword of Destiny",=]@@
@@[= =][= =][= =][= =][="Meat the Veals",=]@@
@@[= =][= =][= =][= =][="Spring Breakout",=]@@
@@[= =][= =][= =][= =][="Righteous Brothers",=]@@
@@[= =][= =][=},=]@@
@@[= =][= =][={=]@@
@@[= =][= =][= =][= =][="The Cabin Show",=]@@
@@[= =][= =][= =][= =][="For British Eyes Only",=]@@
@@[= =][= =][= =][= =][="Forget-Me-Now",=]@@
@@[= =][= =][= =][= =][="Notapusy",=]@@
@@[= =][= =][= =][= =][="Mr. F",=]@@
@@[= =][= =][= =][= =][="The Ocean Walker",=]@@
@@[= =][= =][= =][= =][="Prison Break-In",=]@@
@@[= =][= =][= =][= =][="Making a Stand",=]@@
@@[= =][= =][= =][= =][="S.O.B.s",=]@@
@@[= =][= =][= =][= =][="Fakin' It",=]@@
@@[= =][= =][= =][= =][="Family Ties",=]@@
@@[= =][= =][= =][= =][="Exit Strategy",=]@@
@@[= =][= =][= =][= =][="Development Arrested"=]@@
@@[= =][= =][=},=]@@
@@[= =][= =][= =][= =][="Pilot",=]@@
@@[= =][= =][= =][= =][="Top Banana",=]@@
@@[= =][= =][= =][= =][="Bringing Up Buster",=]@@
@@[= =][= =][= =][= =][="Key Decisions",=]@@
@@[= =][= =][= =][= =][="Visiting Ours",=]@@
@@[= =][= =][= =][= =][="Charity Drive",=]@@
@@[= =][= =][= =][= =][="My Mother, The Car",=]@@
@@[= =][= =][= =][= =][="In God We Trust",=]@@
@@[= =][= =][= =][= =][="Storming the Castle",=]@@
@@[= =][= =][= =][= =][="Pier Pressure",=]@@
@@[= =][= =][= =][= =][="Public Relations",=]@@
@@[= =][= =][= =][= =][="Marta Complex",=]@@
@@[= =][= =][= =][= =][="Beef Consommé",=]@@
@@[= =][= =][= =][= =][="Shock and Aww",=]@@
@@[= =][= =][= =][= =][="Staff Infection",=]@@
@@[= =][= =][= =][= =][="Missing Kitty",=]@@
@@[= =][= =][= =][= =][="Altar Egos",=]@@
@@[= =][= =][= =][= =][="Justice Is Blind",=]@@
@@[= =][= =][= =][= =][="Best Man for the GOB",=]@@
@@[= =][= =][= =][= =][="Whistler's Mother",=]@@
@@[= =][= =][= =][= =][="Not Without My Daughter",=]@@
@@[= =][= =][= =][= =][="Let 'Em Eat Cake"=]@@
@@[= =][= =][=},=]@@
@@[= =][= =][={=]@@
@@[= =][= =][= =][= =][="The One Where Michael Leaves",=]@@
@@[= =][= =][= =][= =][="The One Where They Build a House",=]@@
@@[= =][= =][= =][= =][="¡Amigos!",=]@@
@@[= =][= =][= =][= =][="Good Grief",=]@@
@@[= =][= =][= =][= =][="Sad Sack",=]@@
@@[= =][= =][= =][= =][="Afternoon Delight",=]@@
@@[= =][= =][= =][= =][="Switch Hitter",=]@@
@@[= =][= =][= =][= =][="Queen for a Day",=]@@
@@[= =][= =][= =][= =][="Burning Love",=]@@
@@[= =][= =][= =][= =][="Ready, Aim, Marry Me",=]@@
@@[= =][= =][= =][= =][="Out on a Limb",=]@@
@@[= =][= =][= =][= =][="Hand to God",=]@@
@@[= =][= =][= =][= =][="Motherboy XXX",=]@@
@@[= =][= =][= =][= =][="The Immaculate Election",=]@@
@@[= =][= =][= =][= =][="Sword of Destiny",=]@@
@@[= =][= =][= =][= =][="Meat the Veals",=]@@
@@[= =][= =][= =][= =][="Spring Breakout",=]@@
@@[= =][= =][= =][= =][="Righteous Brothers",=]@@
@@[= =][= =][=},=]@@
@@[= =][= =][={=]@@
@@[= =][= =][= =][= =][="The Cabin Show",=]@@
@@[= =][= =][= =][= =][="For British Eyes Only",=]@@
@@[= =][= =][= =][= =][="Forget-Me-Now",=]@@
@@[= =][= =][= =][= =][="Notapusy",=]@@
@@[= =][= =][= =][= =][="Mr. F",=]@@
@@[= =][= =][= =][= =][="The Ocean Walker",=]@@
@@[= =][= =][= =][= =][="Prison Break-In",=]@@
@@[= =][= =][= =][= =][="Making a Stand",=]@@
@@[= =][= =][= =][= =][="S.O.B.s",=]@@
@@[= =][= =][= =][= =][="Fakin' It",=]@@
@@[= =][= =][= =][= =][="Family Ties",=]@@
@@[= =][= =][= =][= =][="Exit Strategy",=]@@
@@[= =][= =][= =][= =][="Development Arrested"=]@@
@@[= =][= =][=},=]@@
to:
@@[= =][= =][={=]@@
{=]@@
@@[= =][= =][= "Pilot",=]@@
@@[= =][= =][==][= =][="Pilot",=]@@
@@[= =][= =][= =][= =][="Top"Top Banana",=]@@
@@[= =][= =][==][= =][= =][="Bringing "Bringing Up Buster",=]@@
@@[= =][= =][==][= =][= =][="Key "Key Decisions",=]@@
@@[= =][= =][==][= =][= =][="Visiting "Visiting Ours",=]@@
@@[= =][= =][==][= =][= =][="Charity "Charity Drive",=]@@
@@[= =][= =][==][= =][= =][="My "My Mother, The Car",=]@@
@@[= =][= =][==][= =][= =][="In "In God We Trust",=]@@
@@[= =][= =][==][= =][= =][="Storming "Storming the Castle",=]@@
@@[= =][= =][==][= =][= =][="Pier "Pier Pressure",=]@@
@@[= =][= =][==][= =][= =][="Public "Public Relations",=]@@
@@[= =][= =][==][= =][= =][="Marta "Marta Complex",=]@@
@@[= =][= =][==][= =][= =][="Beef "Beef Consommé",=]@@
@@[= =][= =][==][= =][= =][="Shock "Shock and Aww",=]@@
@@[= =][= =][==][= =][= =][="Staff "Staff Infection",=]@@
@@[= =][= =][==][= =][= =][="Missing "Missing Kitty",=]@@
@@[= =][= =][==][= =][= =][="Altar "Altar Egos",=]@@
@@[= =][= =][==][= =][= =][="Justice "Justice Is Blind",=]@@
@@[= =][= =][==][= =][= =][="Best "Best Man for the GOB",=]@@
@@[= =][= =][==][= =][= =][="Whistler's "Whistler's Mother",=]@@
@@[= =][= =][==][= =][= =][="Not "Not Without My Daughter",=]@@
@@[= =][= =][==][= =][= =][="Let "Let 'Em Eat Cake"=]@@
@@[= =][==][=},=]@@
},=]@@
@@[= =][==][={=]@@
{=]@@
@@[= =][= =][==][= =][= =][="The "The One Where Michael Leaves",=]@@
@@[= =][= =][==][= =][= =][="The "The One Where They Build a House",=]@@
@@[= =][= =][= "¡Amigos!",=]@@
@@[= =][= =][==][= =][="¡Amigos!",=]@@
@@[= =][= =][= =][= =][="Good"Good Grief",=]@@
@@[= =][= =][==][= =][= =][="Sad "Sad Sack",=]@@
@@[= =][= =][==][= =][= =][="Afternoon "Afternoon Delight",=]@@
@@[= =][= =][==][= =][= =][="Switch "Switch Hitter",=]@@
@@[= =][= =][==][= =][= =][="Queen "Queen for a Day",=]@@
@@[= =][= =][==][= =][= =][="Burning "Burning Love",=]@@
@@[= =][= =][==][= =][= =][="Ready, "Ready, Aim, Marry Me",=]@@
@@[= =][= =][==][= =][= =][="Out "Out on a Limb",=]@@
@@[= =][= =][==][= =][= =][="Hand "Hand to God",=]@@
@@[= =][= =][==][= =][= =][="Motherboy "Motherboy XXX",=]@@
@@[= =][= =][==][= =][= =][="The "The Immaculate Election",=]@@
@@[= =][= =][==][= =][= =][="Sword "Sword of Destiny",=]@@
@@[= =][= =][==][= =][= =][="Meat "Meat the Veals",=]@@
@@[= =][= =][==][= =][= =][="Spring "Spring Breakout",=]@@
@@[= =][= =][==][= =][= =][="Righteous "Righteous Brothers",=]@@
@@[= =][==][=},=]@@
},=]@@
@@[= =][==][={=]@@
{=]@@
@@[= =][= =][==][= =][= =][="The "The Cabin Show",=]@@
@@[= =][= =][==][= =][= =][="For "For British Eyes Only",=]@@
@@[= =][= =][= "Forget-Me-Now",=]@@
@@[= =][= =][= "Notapusy",=]@@
@@[= =][= =][==][="Forget-Me-Now",=]@@
@@[= =][= =][= =][= =][="Notapusy",=]@@
@@[= =][= =][= =][= =][="Mr."Mr. F",=]@@
@@[= =][= =][==][= =][= =][="The "The Ocean Walker",=]@@
@@[= =][= =][==][= =][= =][="Prison "Prison Break-In",=]@@
@@[= =][= =][==][= =][= =][="Making "Making a Stand",=]@@
@@[= =][= =][==][= =][= =][="S."S.O.B.s",=]@@
@@[= =][= =][==][= =][= =][="Fakin' "Fakin' It",=]@@
@@[= =][= =][==][= =][= =][="Family "Family Ties",=]@@
@@[= =][= =][==][= =][= =][="Exit "Exit Strategy",=]@@
@@[= =][= =][==][= =][= =][="Development "Development Arrested"=]@@
@@[= =][==][=},=]@@},=]@@
@@[= =][= =][= "Pilot",=]@@
@@[= =][= =][=
@@[= =][= =][= =][= =][="Top
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][=
@@[= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][= "¡Amigos!",=]@@
@@[= =][= =][=
@@[= =][= =][= =][= =][="Good
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][=
@@[= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][= "Forget-Me-Now",=]@@
@@[= =][= =][= "Notapusy",=]@@
@@[= =][= =][=
@@[= =][= =][= =][= =][="Notapusy",=]@@
@@[= =][= =][= =][= =][="Mr.
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][=
Changed line(s) 296,302 (click to see context) from:
@@[= =][= =][=--Numbers for episodes with ambiguous titles, Wikipedia-wise,=]@@
@@[= =][= =][=--whose article titles end with "(Arrested Development)"=]@@
@@[= =][= =][=local disambigeps={=]@@
@@[= =][= =][= =][= =][={1,2,8,11,20,21,22}, --Season 1=]@@
@@[= =][= =][= =][= =][={5,6,8,9,11,12,18}, --Season 2=]@@
@@[= =][= =][= =][= =][={10,11,12} --Season 3=]@@
@@[= =][= =][=}=]@@
@@[= =][= =][=--whose article titles end with "(Arrested Development)"=]@@
@@[= =][= =][=local disambigeps={=]@@
@@[= =][= =][= =][= =][={1,2,8,11,20,21,22}, --Season 1=]@@
@@[= =][= =][= =][= =][={5,6,8,9,11,12,18}, --Season 2=]@@
@@[= =][= =][= =][= =][={10,11,12} --Season 3=]@@
@@[= =][= =][=}=]@@
to:
@@[= =][= =][=--Numbers --Numbers for episodes with ambiguous titles, Wikipedia-wise,=]@@
@@[= =][==][=--whose --whose article titles end with "(Arrested Development)"=]@@
@@[= =][==][=local local disambigeps={=]@@
@@[= =][= =][==][= =][= =][={1,2,8,11,20,21,22}, {1,2,8,11,20,21,22}, --Season 1=]@@
@@[= =][= =][==][= =][= =][={5,6,8,9,11,12,18}, {5,6,8,9,11,12,18}, --Season 2=]@@
@@[= =][= =][==][= =][= =][={10,11,12} {10,11,12} --Season 3=]@@
@@[= =][==][=}=]@@}=]@@
@@[= =][=
@@[= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][=
Changed line(s) 304,311 (click to see context) from:
@@[= =][= =][=--construct lookup table=]@@
@@[= =][= =][=local disambiguated={}=]@@
@@[= =][= =][=for s=1,#disambigeps do=]@@
@@[= =][= =][= =][= =][=disambiguated[s]={}=]@@
@@[= =][= =][= =][= =][=for i=1,#disambigeps[s] do=]@@
@@[= =][= =][= =][= =][= =][= =][=disambiguated[s][disambigeps[s][i]]=true=]@@
@@[= =][= =][= =][= =][=end=]@@
@@[= =][= =][=end=]@@
@@[= =][= =][=local disambiguated={}=]@@
@@[= =][= =][=for s=1,#disambigeps do=]@@
@@[= =][= =][= =][= =][=disambiguated[s]={}=]@@
@@[= =][= =][= =][= =][=for i=1,#disambigeps[s] do=]@@
@@[= =][= =][= =][= =][= =][= =][=disambiguated[s][disambigeps[s][i]]=true=]@@
@@[= =][= =][= =][= =][=end=]@@
@@[= =][= =][=end=]@@
to:
@@[= =][= =][=--construct --construct lookup table=]@@
@@[= =][==][=local local disambiguated={}=]@@
@@[= =][==][=for for s=1,#disambigeps do=]@@
@@[= =][= =][= disambiguated[s]={}=]@@
@@[= =][= =][==][= =][=disambiguated[s]={}=]@@
@@[= =][= =][= =][= =][=forfor i=1,#disambigeps[s] do=]@@
@@[= =][= =][= =][= disambiguated[s][disambigeps[s][i]]=true=]@@
@@[= =][= =][==][= =][= =][= =][=disambiguated[s][disambigeps[s][i]]=true=]@@
end=]@@
@@[= =][==][= =][= =][=end=]@@
@@[= =][= =][=end=]@@end=]@@
@@[= =][=
@@[= =][=
@@[= =][= =][= disambiguated[s]={}=]@@
@@[= =][= =][=
@@[= =][= =][= =][= =][=for
@@[= =][= =][= =][= disambiguated[s][disambigeps[s][i]]=true=]@@
@@[= =][= =][=
@@[= =][=
@@[= =][= =][=end=]@@
Changed line(s) 313,324 (click to see context) from:
@@[= =][= =][=--Function that returns the Wikipedia URL=]@@
@@[= =][= =][=function tokens.wikipedia(s,e)=]@@
@@[= =][= =][= =][= =][=local pagename=adeps[s][e]=]@@
@@[= =][= =][= =][= =][=pagename=string.gsub(pagename,' ','_')=]@@
@@[= =][= =][= =][= =][=pagename=urlencode.string(pagename)=]@@
@@[= =][= =][= =][= =][=if disambiguated[s][e] then=]@@
@@[= =][= =][= =][= =][= =][= =][=--Technically, parentheses don't have to be percent-encoded=]@@
@@[= =][= =][= =][= =][= =][= =][=--for HTTP URIs because they're unused sub-delims=]@@
@@[= =][= =][= =][= =][= =][= =][=--per section 2.2 of RFC 3986, so we concatenate after=]@@
@@[= =][= =][= =][= =][= =][= =][=--the function that percent-encodes all sub-delims=]@@
@@[= =][= =][= =][= =][= =][= =][=pagename=pagename.."_(Arrested_Development)"=]@@
@@[= =][= =][= =][= =][=end=]@@
@@[= =][= =][=function tokens.wikipedia(s,e)=]@@
@@[= =][= =][= =][= =][=local pagename=adeps[s][e]=]@@
@@[= =][= =][= =][= =][=pagename=string.gsub(pagename,' ','_')=]@@
@@[= =][= =][= =][= =][=pagename=urlencode.string(pagename)=]@@
@@[= =][= =][= =][= =][=if disambiguated[s][e] then=]@@
@@[= =][= =][= =][= =][= =][= =][=--Technically, parentheses don't have to be percent-encoded=]@@
@@[= =][= =][= =][= =][= =][= =][=--for HTTP URIs because they're unused sub-delims=]@@
@@[= =][= =][= =][= =][= =][= =][=--per section 2.2 of RFC 3986, so we concatenate after=]@@
@@[= =][= =][= =][= =][= =][= =][=--the function that percent-encodes all sub-delims=]@@
@@[= =][= =][= =][= =][= =][= =][=pagename=pagename.."_(Arrested_Development)"=]@@
@@[= =][= =][= =][= =][=end=]@@
to:
@@[= =][= =][=--Function --Function that returns the Wikipedia URL=]@@
@@[= =][==][=function function tokens.wikipedia(s,e)=]@@
@@[= =][= =][==][= =][= =][=local local pagename=adeps[s][e]=]@@
@@[= =][= =][==][= =][= =][=pagename=string.pagename=string.gsub(pagename,' ','_')=]@@
@@[= =][= =][==][= =][= =][=pagename=urlencode.pagename=urlencode.string(pagename)=]@@
@@[= =][= =][==][= =][= =][=if if disambiguated[s][e] then=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][=--Technically, --Technically, parentheses don't have to be percent-encoded=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][=--for --for HTTP URIs because they're unused sub-delims=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][=--per --per section 2.2 of RFC 3986, so we concatenate after=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][=--the --the function that percent-encodes all sub-delims=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][=pagename=pagename..pagename=pagename.."_(Arrested_Development)"=]@@
@@[= =][= =][==][= =][= =][=end=]@@end=]@@
@@[= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][=
Changed line(s) 326,327 (click to see context) from:
@@[= =][= =][= =][= =][=return "http://en.wikipedia.org/wiki/"..pagename=]@@
@@[= =][= =][=end=]@@
@@[= =][= =][=end=]@@
to:
@@[= =][= =][= =][= =][= =][=return return "http://en.wikipedia.org/wiki/"..pagename=]@@
@@[= =][==][=end=]@@end=]@@
@@[= =][=
Changed line(s) 332,335 (click to see context) from:
@@[= =][= =][= =][= =][=local pagename=adeps[s][e]=]@@
@@[= =][= =][= =][= =][=pagename=string.gsub(pagename,' ','_')=]@@
@@[= =][= =][= =][= =][=pagename=urlencode.string(pagename)=]@@
@@[= =][= =][= =][= =][=return "http://arresteddevelopment.wikia.com/wiki/"..pagename=]@@
@@[= =][= =][= =][= =][=pagename=string.gsub(pagename,' ','_')=]@@
@@[= =][= =][= =][= =][=pagename=urlencode.string(pagename)=]@@
@@[= =][= =][= =][= =][=return "http://arresteddevelopment.wikia.com/wiki/"..pagename=]@@
to:
@@[= =][= =][= =][= =][= =][=local local pagename=adeps[s][e]=]@@
@@[= =][= =][==][= =][= =][=pagename=string.pagename=string.gsub(pagename,' ','_')=]@@
@@[= =][= =][==][= =][= =][=pagename=urlencode.pagename=urlencode.string(pagename)=]@@
@@[= =][= =][==][= =][= =][=return return "http://arresteddevelopment.wikia.com/wiki/"..pagename=]@@
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
Changed line(s) 339,340 (click to see context) from:
@@[= =][= =][=--Season 1 episodes that are listed at different numbers=]@@
@@[= =][= =][=local s1flips={ [5]=6, [6]=5, [7]=8, [8]=7, [16]=18, [17]=16, [18]=17 }=]@@
@@[= =][= =][=local s1flips={ [5]=6, [6]=5, [7]=8, [8]=7, [16]=18, [17]=16, [18]=17 }=]@@
to:
@@[= =][= =][=--Season --Season 1 episodes that are listed at different numbers=]@@
@@[= =][==][=local local s1flips={ [5]=6, [6]=5, [7]=8, [8]=7, [16]=18, [17]=16, [18]=17 }=]@@
@@[= =][=
Changed line(s) 342,347 (click to see context) from:
@@[= =][= =][=--Function the returns the URL of the episode's page on the-op.com=]@@
@@[= =][= =][=function tokens.theop(s,e)=]@@
@@[= =][= =][= =][= =][=--correct OutOfOrder Season 1 episodes=]@@
@@[= =][= =][= =][= =][=if s==1 then e = s1flips[e] or e end=]@@
@@[= =][= =][= =][= =][=return string.format("http://the-op.com/episode/%i%02i",s,e)=]@@
@@[= =][= =][=end=]@@
@@[= =][= =][=function tokens.theop(s,e)=]@@
@@[= =][= =][= =][= =][=--correct OutOfOrder Season 1 episodes=]@@
@@[= =][= =][= =][= =][=if s==1 then e = s1flips[e] or e end=]@@
@@[= =][= =][= =][= =][=return string.format("http://the-op.com/episode/%i%02i",s,e)=]@@
@@[= =][= =][=end=]@@
to:
@@[= =][= =][=--Function --Function the returns the URL of the episode's page on the-op.com=]@@
@@[= =][==][=function function tokens.theop(s,e)=]@@
@@[= =][= =][==][= =][= =][=--correct --correct OutOfOrder Season 1 episodes=]@@
@@[= =][= =][==][= =][= =][=if if s==1 then e = s1flips[e] or e end=]@@
@@[= =][= =][==][= =][= =][=return return string.format("http://the-op.com/episode/%i%02i",s,e)=]@@
@@[= =][==][=end=]@@end=]@@
@@[= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][=
@@[= =][=
Changed line(s) 351,366 (click to see context) from:
@@[= =][= =][=--why hello, unreadable block of arbitrary indices, it sure sucks=]@@
@@[= =][= =][=--that I have to use you=]@@
@@[= =][= =][=local ttnums={=]@@
@@[= =][= =][= =][= =][={ 0515236, 0515256, 0515212, 0515223, 0515257,=]@@
@@[= =][= =][= =][= =][= =][= =][=0515214, 0515231, 0515221, 0515247, 0515235,=]@@
@@[= =][= =][= =][= =][= =][= =][=0515238, 0515226, 0515210, 0515244, 0515246,=]@@
@@[= =][= =][= =][= =][= =][= =][=0515228, 0515208, 0515222, 0515211, 0515258,=]@@
@@[= =][= =][= =][= =][= =][= =][=0515232, 0515224, },=]@@
@@[= =][= =][= =][= =][={ 0515253, 0515254, 0515209, 0515219, 0515243,=]@@
@@[= =][= =][= =][= =][= =][= =][=0515207, 0515248, 0515239, 0515213, 0515240,=]@@
@@[= =][= =][= =][= =][= =][= =][=0515234, 0515220, 0515229, 0515251, 0515255,=]@@
@@[= =][= =][= =][= =][= =][= =][=0515227, 0515245, 0515241, },=]@@
@@[= =][= =][= =][= =][={ 0515250, 0515249, 0515218, 0515233, 0515230,=]@@
@@[= =][= =][= =][= =][= =][= =][=0515252, 0515237, 0515225, 0515242, 0515216,=]@@
@@[= =][= =][= =][= =][= =][= =][=0515217, 0515215, 0757386, }=]@@
@@[= =][= =][=}=]@@
@@[= =][= =][=--that I have to use you=]@@
@@[= =][= =][=local ttnums={=]@@
@@[= =][= =][= =][= =][={ 0515236, 0515256, 0515212, 0515223, 0515257,=]@@
@@[= =][= =][= =][= =][= =][= =][=0515214, 0515231, 0515221, 0515247, 0515235,=]@@
@@[= =][= =][= =][= =][= =][= =][=0515238, 0515226, 0515210, 0515244, 0515246,=]@@
@@[= =][= =][= =][= =][= =][= =][=0515228, 0515208, 0515222, 0515211, 0515258,=]@@
@@[= =][= =][= =][= =][= =][= =][=0515232, 0515224, },=]@@
@@[= =][= =][= =][= =][={ 0515253, 0515254, 0515209, 0515219, 0515243,=]@@
@@[= =][= =][= =][= =][= =][= =][=0515207, 0515248, 0515239, 0515213, 0515240,=]@@
@@[= =][= =][= =][= =][= =][= =][=0515234, 0515220, 0515229, 0515251, 0515255,=]@@
@@[= =][= =][= =][= =][= =][= =][=0515227, 0515245, 0515241, },=]@@
@@[= =][= =][= =][= =][={ 0515250, 0515249, 0515218, 0515233, 0515230,=]@@
@@[= =][= =][= =][= =][= =][= =][=0515252, 0515237, 0515225, 0515242, 0515216,=]@@
@@[= =][= =][= =][= =][= =][= =][=0515217, 0515215, 0757386, }=]@@
@@[= =][= =][=}=]@@
to:
@@[= =][= =][=--why --why hello, unreadable block of arbitrary indices, it sure sucks=]@@
@@[= =][==][=--that --that I have to use you=]@@
@@[= =][==][=local local ttnums={=]@@
@@[= =][= =][==][= =][= =][={ { 0515236, 0515256, 0515212, 0515223, 0515257,=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][=0515214, 0515214, 0515231, 0515221, 0515247, 0515235,=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][=0515238, 0515238, 0515226, 0515210, 0515244, 0515246,=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][=0515228, 0515228, 0515208, 0515222, 0515211, 0515258,=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][=0515232, 0515232, 0515224, },=]@@
@@[= =][= =][==][= =][= =][={ { 0515253, 0515254, 0515209, 0515219, 0515243,=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][=0515207, 0515207, 0515248, 0515239, 0515213, 0515240,=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][=0515234, 0515234, 0515220, 0515229, 0515251, 0515255,=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][=0515227, 0515227, 0515245, 0515241, },=]@@
@@[= =][= =][==][= =][= =][={ { 0515250, 0515249, 0515218, 0515233, 0515230,=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][=0515252, 0515252, 0515237, 0515225, 0515242, 0515216,=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][=0515217, 0515217, 0515215, 0757386, }=]@@
@@[= =][==][=}=]@@}=]@@
@@[= =][=
@@[= =][=
@@[= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][=
Changed line(s) 368,371 (click to see context) from:
@@[= =][= =][=--Function that returns the URL for the episode's IMDB page=]@@
@@[= =][= =][=function tokens.imdb(s,e)=]@@
@@[= =][= =][= =][= =][=return string.format("http://www.imdb.com/title/tt%07i/",ttnums[s][e])=]@@
@@[= =][= =][=end=]@@
@@[= =][= =][=function tokens.imdb(s,e)=]@@
@@[= =][= =][= =][= =][=return string.format("http://www.imdb.com/title/tt%07i/",ttnums[s][e])=]@@
@@[= =][= =][=end=]@@
to:
@@[= =][= =][=--Function --Function that returns the URL for the episode's IMDB page=]@@
@@[= =][==][=function function tokens.imdb(s,e)=]@@
@@[= =][= =][==][= =][= =][=return return string.format("http://www.imdb.com/title/tt%07i/",ttnums[s][e])=]@@
@@[= =][==][=end=]@@end=]@@
@@[= =][=
@@[= =][= =][=
@@[= =][=
Changed line(s) 375,388 (click to see context) from:
@@[= =][= =][=local watchnums={=]@@
@@[= =][= =][= =][= =][={ 589, 1786, 585, 1781, 1785,=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][= =][=580, 590, 588, 586, 575,=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][= =][=576, 579, 577, 644, 1783,=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][= =][=591, 582, 584, 578, 581,=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][= =][=583, 587},=]@@
@@[= =][= =][= =][= =][={ 6641, 6644, 6643, 6638, 6639,=]@@
@@[= =][= =][= =][= =][= =][= =][= =][=12883, 13226, 12561, 12609, 12298,=]@@
@@[= =][= =][= =][= =][= =][= =][= =][=12271, 12901, 13248, 13267, 13276,=]@@
@@[= =][= =][= =][= =][= =][= =][= =][=13206, 12232, 12532},=]@@
@@[= =][= =][= =][= =][={ 6640, 6642, 6635, 6636, 6637,=]@@
@@[= =][= =][= =][= =][= =][= =][= =][=12497, 17189, 12523, 13139, 12225,=]@@
@@[= =][= =][= =][= =][= =][= =][= =][=12317, 12194, 12215},=]@@
@@[= =][= =][=}=]@@
@@[= =][= =][= =][= =][={ 589, 1786, 585, 1781, 1785,=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][= =][=580, 590, 588, 586, 575,=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][= =][=576, 579, 577, 644, 1783,=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][= =][=591, 582, 584, 578, 581,=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][= =][=583, 587},=]@@
@@[= =][= =][= =][= =][={ 6641, 6644, 6643, 6638, 6639,=]@@
@@[= =][= =][= =][= =][= =][= =][= =][=12883, 13226, 12561, 12609, 12298,=]@@
@@[= =][= =][= =][= =][= =][= =][= =][=12271, 12901, 13248, 13267, 13276,=]@@
@@[= =][= =][= =][= =][= =][= =][= =][=13206, 12232, 12532},=]@@
@@[= =][= =][= =][= =][={ 6640, 6642, 6635, 6636, 6637,=]@@
@@[= =][= =][= =][= =][= =][= =][= =][=12497, 17189, 12523, 13139, 12225,=]@@
@@[= =][= =][= =][= =][= =][= =][= =][=12317, 12194, 12215},=]@@
@@[= =][= =][=}=]@@
to:
@@[= =][= =][=local local watchnums={=]@@
@@[= =][= =][= { =][= =][= 589, =][==][={ 589, 1786, =][= 585, =][= 1781, =][= 1785,=]@@
@@[==][= =][= =][= =][= =][= =][= =][= =][= =][=580, =][= =][= =][= =][= 580, =][= 590, =][= 588, =][= 586, =][= 575,=]@@
@@[= =][= =][= =][= =][= 576, =][= 579, =][= 577, =][= 644, =][==][= =][= =][= =][= =][= =][= =][= =][=576, 579, 577, 644, 1783,=]@@
@@[==][= =][= =][= =][= =][= =][= =][= =][= =][=591, =][= =][= =][= =][= 591, =][= 582, =][= 584, =][= 578, =][= 581,=]@@
@@[==][= =][= =][= =][= =][= =][= =][= =][= =][=583, =][= =][= =][= =][= 583, =][= 587},=]@@
@@[= =][= =][==][= =][= =][={ { =][= 6641, =][= 6644, =][= 6643, =][= 6638, =][= 6639,=]@@
@@[==][= =][= =][= =][= =][= =][= =][=12883, =][= =][= =][= 12883, 13226, 12561, 12609, 12298,=]@@
@@[==][= =][= =][= =][= =][= =][= =][=12271, =][= =][= =][= 12271, 12901, 13248, 13267, 13276,=]@@
@@[==][= =][= =][= =][= =][= =][= =][=13206, =][= =][= =][= 13206, 12232, 12532},=]@@
@@[= =][= =][==][= =][= =][={ { =][= 6640, =][= 6642, =][= 6635, =][= 6636, =][= 6637,=]@@
@@[==][= =][= =][= =][= =][= =][= =][=12497, =][= =][= =][= 12497, 17189, 12523, 13139, 12225,=]@@
@@[==][= =][= =][= =][= =][= =][= =][=12317, =][= =][= =][= 12317, 12194, 12215},=]@@
@@[= =][==][=}=]@@}=]@@
@@[= =][= =][= { =][= =][= 589, =][=
@@[=
@@[= =][= =][= =][= =][= 576, =][= 579, =][= 577, =][= 644, =][=
@@[=
@@[=
@@[= =][= =][=
@@[=
@@[=
@@[=
@@[= =][= =][=
@@[=
@@[=
@@[= =][=
Changed line(s) 390,393 (click to see context) from:
@@[= =][= =][=function tokens.hulu(s,e)=]@@
@@[= =][= =][= =][= =][=return string.format(=]@@
@@[= =][= =][= =][= =][= =][= =][="http://hulu.com/watch/%i", watchnums[s][e])=]@@
@@[= =][= =][=end=]@@
@@[= =][= =][= =][= =][=return string.format(=]@@
@@[= =][= =][= =][= =][= =][= =][="http://hulu.com/watch/%i", watchnums[s][e])=]@@
@@[= =][= =][=end=]@@
to:
@@[= =][= =][=function function tokens.hulu(s,e)=]@@
@@[= =][= =][==][= =][= =][=return return string.format(=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][="http://hulu."http://hulu.com/watch/%i", watchnums[s][e])=]@@
@@[= =][==][=end=]@@end=]@@
@@[= =][= =][=
@@[= =][= =][= =][=
@@[= =][=
Changed line(s) 397,414 (click to see context) from:
@@[= =][= =][=--It's largely sequential, but not quite.=]@@
@@[= =][= =][=--I printed out all the numbers and moved them around=]@@
@@[= =][= =][=--to fit the correct order (which is both inconsistent=]@@
@@[= =][= =][=--in IDs to Netflix order and Netflix to DVD order).=]@@
@@[= =][= =][=local movieids={=]@@
@@[= =][= =][= =][= =][={ 70133673, 70133674, 70133675, 70133677, 70133676,=]@@
@@[= =][= =][= =][= =][= =][= =][=70133678, 70133680, 70133679, 70133681, 70133682,=]@@
@@[= =][= =][= =][= =][= =][= =][=70133683, 70133684, 70133685, 70133686, 70133687,=]@@
@@[= =][= =][= =][= =][= =][= =][=70133688, 70133689, 70133690, 70133691, 70133692,=]@@
@@[= =][= =][= =][= =][= =][= =][=70133693, 70133694, },=]@@
@@[= =][= =][= =][= =][={ 70133695, 70133696, 70133697, 70133698, 70133699,=]@@
@@[= =][= =][= =][= =][= =][= =][=70133700, 70133701, 70133702, 70133703, 70133704,=]@@
@@[= =][= =][= =][= =][= =][= =][=70133705, 70133706, 70133707, 70133708, 70133711,=]@@
@@[= =][= =][= =][= =][= =][= =][=70133709, 70133710, 70133712, },=]@@
@@[= =][= =][= =][= =][={ 70133713, 70133714, 70133715, 70133716, 70133717,=]@@
@@[= =][= =][= =][= =][= =][= =][=70133718, 70133720, 70133719, 70133721, 70133722,=]@@
@@[= =][= =][= =][= =][= =][= =][=70133723, 70133724, 70133725, }=]@@
@@[= =][= =][=}=]@@
@@[= =][= =][=--I printed out all the numbers and moved them around=]@@
@@[= =][= =][=--to fit the correct order (which is both inconsistent=]@@
@@[= =][= =][=--in IDs to Netflix order and Netflix to DVD order).=]@@
@@[= =][= =][=local movieids={=]@@
@@[= =][= =][= =][= =][={ 70133673, 70133674, 70133675, 70133677, 70133676,=]@@
@@[= =][= =][= =][= =][= =][= =][=70133678, 70133680, 70133679, 70133681, 70133682,=]@@
@@[= =][= =][= =][= =][= =][= =][=70133683, 70133684, 70133685, 70133686, 70133687,=]@@
@@[= =][= =][= =][= =][= =][= =][=70133688, 70133689, 70133690, 70133691, 70133692,=]@@
@@[= =][= =][= =][= =][= =][= =][=70133693, 70133694, },=]@@
@@[= =][= =][= =][= =][={ 70133695, 70133696, 70133697, 70133698, 70133699,=]@@
@@[= =][= =][= =][= =][= =][= =][=70133700, 70133701, 70133702, 70133703, 70133704,=]@@
@@[= =][= =][= =][= =][= =][= =][=70133705, 70133706, 70133707, 70133708, 70133711,=]@@
@@[= =][= =][= =][= =][= =][= =][=70133709, 70133710, 70133712, },=]@@
@@[= =][= =][= =][= =][={ 70133713, 70133714, 70133715, 70133716, 70133717,=]@@
@@[= =][= =][= =][= =][= =][= =][=70133718, 70133720, 70133719, 70133721, 70133722,=]@@
@@[= =][= =][= =][= =][= =][= =][=70133723, 70133724, 70133725, }=]@@
@@[= =][= =][=}=]@@
to:
@@[= =][= =][=--It's --It's largely sequential, but not quite.=]@@
@@[= =][==][=--I --I printed out all the numbers and moved them around=]@@
@@[= =][==][=--to --to fit the correct order (which is both inconsistent=]@@
@@[= =][==][=--in --in IDs to Netflix order and Netflix to DVD order).=]@@
@@[= =][==][=local local movieids={=]@@
@@[= =][= =][==][= =][= =][={ { 70133673, 70133674, 70133675, 70133677, 70133676,=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][=70133678, 70133678, 70133680, 70133679, 70133681, 70133682,=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][=70133683, 70133683, 70133684, 70133685, 70133686, 70133687,=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][=70133688, 70133688, 70133689, 70133690, 70133691, 70133692,=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][=70133693, 70133693, 70133694, },=]@@
@@[= =][= =][==][= =][= =][={ { 70133695, 70133696, 70133697, 70133698, 70133699,=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][=70133700, 70133700, 70133701, 70133702, 70133703, 70133704,=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][=70133705, 70133705, 70133706, 70133707, 70133708, 70133711,=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][=70133709, 70133709, 70133710, 70133712, },=]@@
@@[= =][= =][==][= =][= =][={ { 70133713, 70133714, 70133715, 70133716, 70133717,=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][=70133718, 70133718, 70133720, 70133719, 70133721, 70133722,=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][=70133723, 70133723, 70133724, 70133725, }=]@@
@@[= =][==][=}=]@@}=]@@
@@[= =][=
@@[= =][=
@@[= =][=
@@[= =][=
@@[= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][=
Changed line(s) 416,419 (click to see context) from:
@@[= =][= =][=function tokens.netflix(s,e)=]@@
@@[= =][= =][= =][= =][=return string.format(=]@@
@@[= =][= =][= =][= =][= =][= =][="http://www.netflix.com/WiPlayer?movieid=%i",movieids[s][e])=]@@
@@[= =][= =][=end=]@@
@@[= =][= =][= =][= =][=return string.format(=]@@
@@[= =][= =][= =][= =][= =][= =][="http://www.netflix.com/WiPlayer?movieid=%i",movieids[s][e])=]@@
@@[= =][= =][=end=]@@
to:
@@[= =][= =][=function function tokens.netflix(s,e)=]@@
@@[= =][= =][==][= =][= =][=return return string.format(=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][="http://www."http://www.netflix.com/WiPlayer?movieid=%i",movieids[s][e])=]@@
@@[= =][==][=end=]@@end=]@@
@@[= =][= =][=
@@[= =][= =][= =][=
@@[= =][=
Changed line(s) 427 (click to see context) from:
@@[= =][= =][=local template=[=[=]@@
to:
@@[= =][= =][=local local template=[=[=]@@
Changed line(s) 436,438 (click to see context) from:
@@[= =][= =][=function ad_ep_links(s,e)=]@@
@@[= =][= =][= =][= =][=return (string.gsub(template,"%$(%w+)",function(token) return tokens[token](s,e) end))=]@@
@@[= =][= =][=end=]@@
@@[= =][= =][= =][= =][=return (string.gsub(template,"%$(%w+)",function(token) return tokens[token](s,e) end))=]@@
@@[= =][= =][=end=]@@
to:
@@[= =][= =][=function function ad_ep_links(s,e)=]@@
@@[= =][= =][==][= =][= =][=return return (string.gsub(template,"%$(%w+)",function(token) return tokens[token](s,e) end))=]@@
@@[= =][==][=end=]@@end=]@@
@@[= =][= =][=
@@[= =][=
Changed line(s) 443,450 (click to see context) from:
@@[= =][= =][=--get the ep title=]@@
@@[= =][= =][=local title=adeps[s][e]=]@@
@@[= =][= =][=--replace the é in Beef Consommé=]@@
@@[= =][= =][=title=string.gsub(title,'é','e')=]@@
@@[= =][= =][=--transform to CamelCased WikiWord=]@@
@@[= =][= =][=title=string.gsub(title,' (%l?)',string.upper)=]@@
@@[= =][= =][=--Remove all non-alphanumeric characters=]@@
@@[= =][= =][=title=string.gsub(title,'%W','')=]@@
@@[= =][= =][=local title=adeps[s][e]=]@@
@@[= =][= =][=--replace the é in Beef Consommé=]@@
@@[= =][= =][=title=string.gsub(title,'é','e')=]@@
@@[= =][= =][=--transform to CamelCased WikiWord=]@@
@@[= =][= =][=title=string.gsub(title,' (%l?)',string.upper)=]@@
@@[= =][= =][=--Remove all non-alphanumeric characters=]@@
@@[= =][= =][=title=string.gsub(title,'%W','')=]@@
to:
@@[= =][= =][=--get --get the ep title=]@@
@@[= =][==][=local local title=adeps[s][e]=]@@
@@[= =][==][=--replace --replace the é in Beef Consommé=]@@
@@[= =][==][=title=string.title=string.gsub(title,'é','e')=]@@
@@[= =][==][=--transform --transform to CamelCased WikiWord=]@@
@@[= =][==][=title=string.title=string.gsub(title,' (%l?)',string.upper)=]@@
@@[= =][==][=--Remove --Remove all non-alphanumeric characters=]@@
@@[= =][==][=title=string.title=string.gsub(title,'%W','')=]@@
@@[= =][=
@@[= =][=
@@[= =][=
@@[= =][=
@@[= =][=
@@[= =][=
@@[= =][=
Changed line(s) 452 (click to see context) from:
@@[= =][= =][=return string.format("Recap/ArrestedDevelopmentS%iE%i%s",s,e,title)=]@@
to:
@@[= =][= =][=return return string.format("Recap/ArrestedDevelopmentS%iE%i%s",s,e,title)=]@@
Changed line(s) 456,462 (click to see context) from:
@@[= =][= =][=return tvtropes.post(=]@@
@@[= =][= =][= =][= =][=recap_pagename(s,e),=]@@
@@[= =][= =][= =][= =][=string.format(=]@@
@@[= =][= =][= =][= =][= =][= =][="\n\n%s\n!The ''ArrestedDevelopment'' episode \"%s\" provides examples of:\n\n",=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=ad_ep_links(s,e),adeps[s][e]),=]@@
@@[= =][= =][= =][= =][="STUART",=]@@
@@[= =][= =][= =][= =][="Adding interwiki links and example header automatically (Ask me about Lua)")=]@@
@@[= =][= =][= =][= =][=recap_pagename(s,e),=]@@
@@[= =][= =][= =][= =][=string.format(=]@@
@@[= =][= =][= =][= =][= =][= =][="\n\n%s\n!The ''ArrestedDevelopment'' episode \"%s\" provides examples of:\n\n",=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=ad_ep_links(s,e),adeps[s][e]),=]@@
@@[= =][= =][= =][= =][="STUART",=]@@
@@[= =][= =][= =][= =][="Adding interwiki links and example header automatically (Ask me about Lua)")=]@@
to:
@@[= =][= =][=return return tvtropes.post(=]@@
@@[= =][= =][= recap_pagename(s,e),=]@@
@@[= =][= =][==][= =][=recap_pagename(s,e),=]@@
@@[= =][= =][= =][= =][=string.string.format(=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][="\n\n%s\n!The "\n\n%s\n!The ''ArrestedDevelopment'' episode \"%s\" provides examples of:\n\n",=]@@
@@[= =][= =][= =][= =][= ad_ep_links(s,e),adeps[s][e]),=]@@
@@[= =][= =][= "STUART",=]@@
@@[= =][= =][==][= =][= =][= =][= =][=ad_ep_links(s,e),adeps[s][e]),=]@@
@@[= =][= =][= =][= =][="STUART",=]@@
@@[= =][= =][= =][= =][="Adding"Adding interwiki links and example header automatically (Ask me about Lua)")=]@@
@@[= =][= =][= recap_pagename(s,e),=]@@
@@[= =][= =][=
@@[= =][= =][= =][= =][=string.
@@[= =][= =][= =][=
@@[= =][= =][= =][= =][= ad_ep_links(s,e),adeps[s][e]),=]@@
@@[= =][= =][= "STUART",=]@@
@@[= =][= =][=
@@[= =][= =][= =][= =][="STUART",=]@@
@@[= =][= =][= =][= =][="Adding
Changed line(s) 466,483 (click to see context) from:
@@[= =][= =][=return function(s,e)=]@@
@@[= =][= =][= =][= =][=--until comment syntax is changed, Amigos is manual-only=]@@
@@[= =][= =][= =][= =][=if s==2 and e==3 then=]@@
@@[= =][= =][= =][= =][= =][= =][=print "(Skipping Amigos because the links go all screwy)"=]@@
@@[= =][= =][= =][= =][=else=]@@
@@[= =][= =][= =][= =][= =][= =][=local pagename=recap_pagename(s,e)=]@@
@@[= =][= =][= =][= =][= =][= =][=local pageasis=tvtropes.get(pagename)=]@@
@@[= =][= =][= =][= =][= =][= =][=local gsubsafelinks = string.gsub(ad_ep_links(s,e),"%%","%%%%")=]@@
@@[= =][= =][= =][= =][= =][= =][=local success=]@@
@@[= =][= =][= =][= =][= =][= =][=while not success do=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=local code=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=success, code = tvtropes.post(pagename,=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][= =][= =][=string.gsub(pageasis,"%%%%STARTLINKS%%%%.-%%%%ENDLINKS%%%%",gsubsafelinks),=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][= =][= =][="STUART",reason)=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=if not success then print("Retrying... "..code) end=]@@
@@[= =][= =][= =][= =][= =][= =][=end=]@@
@@[= =][= =][= =][= =][=end=]@@
@@[= =][= =][=end=]@@
@@[= =][= =][= =][= =][=--until comment syntax is changed, Amigos is manual-only=]@@
@@[= =][= =][= =][= =][=if s==2 and e==3 then=]@@
@@[= =][= =][= =][= =][= =][= =][=print "(Skipping Amigos because the links go all screwy)"=]@@
@@[= =][= =][= =][= =][=else=]@@
@@[= =][= =][= =][= =][= =][= =][=local pagename=recap_pagename(s,e)=]@@
@@[= =][= =][= =][= =][= =][= =][=local pageasis=tvtropes.get(pagename)=]@@
@@[= =][= =][= =][= =][= =][= =][=local gsubsafelinks = string.gsub(ad_ep_links(s,e),"%%","%%%%")=]@@
@@[= =][= =][= =][= =][= =][= =][=local success=]@@
@@[= =][= =][= =][= =][= =][= =][=while not success do=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=local code=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=success, code = tvtropes.post(pagename,=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][= =][= =][=string.gsub(pageasis,"%%%%STARTLINKS%%%%.-%%%%ENDLINKS%%%%",gsubsafelinks),=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][= =][= =][="STUART",reason)=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=if not success then print("Retrying... "..code) end=]@@
@@[= =][= =][= =][= =][= =][= =][=end=]@@
@@[= =][= =][= =][= =][=end=]@@
@@[= =][= =][=end=]@@
to:
@@[= =][= =][=return return function(s,e)=]@@
@@[= =][= =][==][= =][= =][=--until --until comment syntax is changed, Amigos is manual-only=]@@
@@[= =][= =][==][= =][= =][=if if s==2 and e==3 then=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][=print print "(Skipping Amigos because the links go all screwy)"=]@@
@@[= =][= =][= else=]@@
@@[= =][= =][= =][==][= =][=else=]@@
@@[= =][= =][= =][= =][= =][= =][=locallocal pagename=recap_pagename(s,e)=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][=local local pageasis=tvtropes.get(pagename)=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][=local local gsubsafelinks = string.gsub(ad_ep_links(s,e),"%%","%%%%")=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][=local local success=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][=while while not success do=]@@
@@[= =][= =][= =][= =][==][= =][= =][= =][= =][= =][= =][=local local code=]@@
@@[= =][= =][= =][= =][==][= =][= =][= =][= =][= =][= =][=success, success, code = tvtropes.post(pagename,=]@@
@@[= =][= =][= =][= =][= =][==][= =][= =][= =][= =][= =][= =][= =][= =][=string.string.gsub(pageasis,"%%%%STARTLINKS%%%%.-%%%%ENDLINKS%%%%",gsubsafelinks),=]@@
@@[= =][= =][= =][= =][= =][= "STUART",reason)=]@@
@@[= =][= =][= =][= =][==][= =][= =][= =][= =][= =][= =][= =][="STUART",reason)=]@@
@@[= =][= =][= =][= =][= =][= =][= =][= =][=ifif not success then print("Retrying... "..code) end=]@@
@@[= =][= =][= =][= end=]@@
@@[= =][= =][= end=]@@
@@[= =][==][= =][= =][= =][= =][=end=]@@
@@[= =][= =][= =][= =][=end=]@@
@@[= =][= =][=end=]@@end=]@@
@@[= =][= =][=
@@[= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= else=]@@
@@[= =][= =][= =][=
@@[= =][= =][= =][= =][= =][= =][=local
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][= =][=
@@[= =][= =][= =][= =][=
@@[= =][= =][= =][= =][= =][=
@@[= =][= =][= =][= =][= =][= "STUART",reason)=]@@
@@[= =][= =][= =][= =][=
@@[= =][= =][= =][= =][= =][= =][= =][= =][=if
@@[= =][= =][= =][= end=]@@
@@[= =][= =][= end=]@@
@@[= =][=
@@[= =][= =][= =][= =][=end=]@@
@@[= =][= =][=end=]@@
Changed line(s) 487,492 (click to see context) from:
@@[= =][= =][=for s=1,#adeps do=]@@
@@[= =][= =][= =][= =][=for e=1,#adeps[s] do=]@@
@@[= =][= =][= =][= =][= =][= =][=print(string.format('Doing Season %i Episode %i, "%s"...',s,e,adeps[s][e]))=]@@
@@[= =][= =][= =][= =][= =][= =][=f(s,e)=]@@
@@[= =][= =][= =][= =][=end=]@@
@@[= =][= =][=end=]@@
@@[= =][= =][= =][= =][=for e=1,#adeps[s] do=]@@
@@[= =][= =][= =][= =][= =][= =][=print(string.format('Doing Season %i Episode %i, "%s"...',s,e,adeps[s][e]))=]@@
@@[= =][= =][= =][= =][= =][= =][=f(s,e)=]@@
@@[= =][= =][= =][= =][=end=]@@
@@[= =][= =][=end=]@@
to:
@@[= =][= =][=for for s=1,#adeps do=]@@
@@[= =][= =][==][= =][= =][=for for e=1,#adeps[s] do=]@@
@@[= =][= =][= =][==][= =][= =][= =][= =][=print(string.print(string.format('Doing Season %i Episode %i, "%s"...',s,e,adeps[s][e]))=]@@
@@[= =][= =][= =][= f(s,e)=]@@
@@[= =][= =][= end=]@@
@@[= =][==][= =][= =][= =][= =][=f(s,e)=]@@
@@[= =][= =][= =][= =][=end=]@@
@@[= =][= =][=end=]@@end=]@@
@@[= =][= =][=
@@[= =][= =][= =][=
@@[= =][= =][= =][= f(s,e)=]@@
@@[= =][= =][= end=]@@
@@[= =][=
@@[= =][= =][= =][= =][=end=]@@
@@[= =][= =][=end=]@@