Page MenuHomePhabricator

uriresolver.patch

Authored By
bzimport
Nov 22 2014, 12:17 AM
Size
1 KB
Referenced Files
None
Subscribers
None

uriresolver.patch

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

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
8615
Default Alt Text
uriresolver.patch (1 KB)

Event Timeline