Page MenuHomePhabricator

webreq.patch

Authored By
bzimport
Nov 21 2014, 9:49 PM
Size
511 B
Referenced Files
None
Subscribers
None

webreq.patch

--- WebRequest.php (revision 22963)
+++ WebRequest.php (working copy)
@@ -70,8 +70,13 @@
if( $a ) {
$path = $a['path'];
+ global $wgScript;
+ $matches = $this->extractTitle( $path, $wgScript );
+
global $wgArticlePath;
- $matches = $this->extractTitle( $path, $wgArticlePath );
+ if (!$matches && $wgArticlePath) {
+ $matches = $this->extractTitle( $path, $wgArticlePath );
+ }
global $wgActionPaths;
if( !$matches && $wgActionPaths) {

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3609
Default Alt Text
webreq.patch (511 B)

Event Timeline