On Tue, Jul 21, 2009 at 12:34 PM, dan nessett<[email protected]> wrote: > 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' ) ) ) )
$action == 'view': This is a normal page view (not edit, history, etc.) !$request->wasPosted(): This is a GET request, not POST. !isset($this->GET['title']) || $title->getPrefixedDBKey() != $this->GET['title']: Either the title= parameter in the URL is unset, or it's set but not to the same thing as $title. !count( array_diff( array_keys( $this->GET ), array( 'action', 'title' ) ) ) ): There is no URL query parameter other than "title" and "action" (e.g., no oldid=, diff=, . . .). _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
