aboutsummaryrefslogtreecommitdiffstats
path: root/opensearch_desc.php
diff options
context:
space:
mode:
authorumherirrender <umherirrender_de.wp@web.de>2015-10-14 09:40:50 +0200
committerumherirrender <umherirrender_de.wp@web.de>2015-10-14 09:40:50 +0200
commit2320f5cfe2e2c10fcd0d1b59c2fc1edaa101752a (patch)
treebdf69d7d9fa8b52f40262d258e22d7d438a02c38 /opensearch_desc.php
parent0d4234979e4d158b1425e8931fd4e5e6474d00e8 (diff)
downloadmediawikicore-2320f5cfe2e2c10fcd0d1b59c2fc1edaa101752a.tar.gz
mediawikicore-2320f5cfe2e2c10fcd0d1b59c2fc1edaa101752a.zip
Change some line comments to multi line comments
This allows empty lines inside the comment as found by the MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.EmptyComment sniff Change-Id: Iac155bbda4a84562db2b452baeae9b8973899453
Diffstat (limited to 'opensearch_desc.php')
-rw-r--r--opensearch_desc.php21
1 files changed, 11 insertions, 10 deletions
diff --git a/opensearch_desc.php b/opensearch_desc.php
index 0b5697270a7a..0d6a76c8e796 100644
--- a/opensearch_desc.php
+++ b/opensearch_desc.php
@@ -44,16 +44,17 @@ print Xml::openElement( 'OpenSearchDescription',
'xmlns' => 'http://a9.com/-/spec/opensearch/1.1/',
'xmlns:moz' => 'http://www.mozilla.org/2006/browser/search/' ) );
-// The spec says the ShortName must be no longer than 16 characters,
-// but 16 is *realllly* short. In practice, browsers don't appear to care
-// when we give them a longer string, so we're no longer attempting to trim.
-//
-// Note: ShortName and the <link title=""> need to match; they are used as
-// a key for identifying if the search engine has been added already, *and*
-// as the display name presented to the end-user.
-//
-// Behavior seems about the same between Firefox and IE 7/8 here.
-// 'Description' doesn't appear to be used by either.
+/* The spec says the ShortName must be no longer than 16 characters,
+ * but 16 is *realllly* short. In practice, browsers don't appear to care
+ * when we give them a longer string, so we're no longer attempting to trim.
+ *
+ * Note: ShortName and the <link title=""> need to match; they are used as
+ * a key for identifying if the search engine has been added already, *and*
+ * as the display name presented to the end-user.
+ *
+ * Behavior seems about the same between Firefox and IE 7/8 here.
+ * 'Description' doesn't appear to be used by either.
+ */
$fullName = wfMessage( 'opensearch-desc' )->inContentLanguage()->text();
print Xml::element( 'ShortName', null, $fullName );
print Xml::element( 'Description', null, $fullName );