Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F9105
uriresolver.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 22 2014, 12:17 AM
2014-11-22 00:17:13 (UTC+0)
Size
1 KB
Referenced Files
None
Subscribers
None
uriresolver.patch
View Options
Index: languages/SMW_Messages.php
===================================================================
--- languages/SMW_Messages.php (revision 114644)
+++ languages/SMW_Messages.php (working copy)
@@ -219,6 +219,7 @@
// Name of the URI Resolver Special (no content)
'smw_uri_doc' => 'The URI resolver implements the <a href="http://www.w3.org/2001/tag/issues.html#httpRange-14">W3C TAG finding on httpRange-14</a>.
It takes care that humans do not turn into websites.',
+ 'uriresolver' => 'URIResolver',
// Messages for ask Special
'ask' => 'Semantic search',
Index: specials/URIResolver/SMW_SpecialURIResolver.php
===================================================================
--- specials/URIResolver/SMW_SpecialURIResolver.php (revision 114644)
+++ specials/URIResolver/SMW_SpecialURIResolver.php (working copy)
@@ -29,7 +29,7 @@
wfProfileIn( 'SpecialURIResolver::execute (SMW)' );
- if ( $query === '' ) {
+ if ( $query == '' ) {
if ( stristr( $_SERVER['HTTP_ACCEPT'], 'RDF' ) ) {
$wgOut->redirect( SpecialPage::getTitleFor( 'ExportRDF' )->getFullURL( 'stats=1' ), '303' );
} else {
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
8615
Default Alt Text
uriresolver.patch (1 KB)
Attached To
Mode
T37643: Special:URIResolver gives fatal user when called directly
Attached
Detach File
Event Timeline
Log In to Comment