From: Brion Vibber Date: Wed, 2 Jan 2008 20:48:01 +0000 (+0000) Subject: Correction to r29191 -- don't break $wgArticlePath check when no $wgActionPaths. :D X-Git-Tag: 1.31.0-rc.0~50172 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=953a80768a64074eb4f9c0699b920f667b16c69c;p=lhc%2Fweb%2Fwiklou.git Correction to r29191 -- don't break $wgArticlePath check when no $wgActionPaths. :D Cut-n-paste error. --- diff --git a/includes/WebRequest.php b/includes/WebRequest.php index aafe13fc36..c20110edb1 100644 --- a/includes/WebRequest.php +++ b/includes/WebRequest.php @@ -80,12 +80,12 @@ class WebRequest { $matches = $this->extractTitle( $path, "$wgScript/$1" ); global $wgArticlePath; - if( !$matches && $wgActionPaths) { + if( !$matches && $wgArticlePath ) { $matches = $this->extractTitle( $path, $wgArticlePath ); } global $wgActionPaths; - if( !$matches && $wgActionPaths) { + if( !$matches && $wgActionPaths ) { $matches = $this->extractTitle( $path, $wgActionPaths, 'action' ); }