Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F4043
webreq.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 9:49 PM
2014-11-21 21:49:59 (UTC+0)
Size
511 B
Referenced Files
None
Subscribers
None
webreq.patch
View Options
--- 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
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3609
Default Alt Text
webreq.patch (511 B)
Attached To
Mode
T12243: Fails to extract proper page information with modified $wgArticlePath
Attached
Detach File
Event Timeline
Log In to Comment