So here's a funny problem. The following code retrieves and compares the lengths of two wiki pages:
They are different pages, however the script returns "same". If I un-comment this line, however:
the code returns "different". Is Mafia caching the page and not comparing the two url's in their entirety? Any other thoughts?
Code:
void main(){
string SS = "http://kol.coldfront.net/thekolwiki/index.php/The_Sonata_of_Sneakiness";
string SSE = "http://kol.coldfront.net/thekolwiki/index.php/The_Sonata_of_Sneakiness_(effect)";
string AT = "http://kol.coldfront.net/thekolwiki/index.php/Accordion_Thief";
SS = visit_url(SS);
//AT = visit_url(AT);
SSE = visit_url(SSE);
if(length(SS) == length(SSE))
print("same");
else
print("different");
}
They are different pages, however the script returns "same". If I un-comment this line, however:
Code:
//AT = visit_url(AT);
the code returns "different". Is Mafia caching the page and not comparing the two url's in their entirety? Any other thoughts?
Last edited: