Can someone please help. I have only been working on this code for 5 days and I 
do not yet understand it. It turns out that the redirect happens in 
InitializeSpecialCases. The reason I get into a redirect loop is the code 
continually falls into the else if statement that has the following conditions:

else if( $action == 'view' && !$request->wasPosted() &&
                        ( !isset($this->GET['title']) || 
$title->getPrefixedDBKey() != $this->GET['title'] ) &&
                        !count( array_diff( array_keys( $this->GET ), array( 
'action', 'title' ) ) ) )

This is a sufficiently complex expression that I have no idea what each term 
represents. There must be someone out there who understands it. I just need 
someone to explain it so I can figure out what is going wrong.


      

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to