<commit_before><?xml version="1.0" encoding="UTF-8"?>

<!--
 * See the NOTICE file distributed with this work for additional
 * information regarding copyright ownership.
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-->

<xwikidoc version="1.2" reference="Extension.WebHome" locale="">
  <web>Extension</web>
  <name>WebHome</name>
  <language/>
  <defaultLanguage/>
  <translation>0</translation>
  <creator>xwiki:XWiki.Admin</creator>
  <creationDate>1304962886000</creationDate>
  <parent>Main.WebHome</parent>
  <author>xwiki:XWiki.Admin</author>
  <contentAuthor>xwiki:XWiki.Admin</contentAuthor>
  <date>1468938266000</date>
  <contentUpdateDate>1468938266000</contentUpdateDate>
  <version>1.1</version>
  <title>Extensions</title>
  <comment/>
  <minorEdit>false</minorEdit>
  <syntaxId>xwiki/2.1</syntaxId>
  <hidden>false</hidden>
  <content>{{include reference="ExtensionCode.RepositoryCode"/}}

{{include reference="ExtensionCode.CreateExtension"/}}

(% class="extension-link search-extension box" %)(((
(((
{{velocity}}
=== #if($services.icon)$services.icon.render('find')#end Search Extension... ===
{{html}}
&lt;form action="$xwiki.getURL("ExtensionCode.ExtensionSearch")"&gt;
  &lt;input type="hidden" name="space" value="Extension" /&gt;
  &lt;input type="text" name="text" value="extension name..." size="25" class="withTip" id="searchTextInput" /&gt;
  &lt;span class="buttonwrapper"&gt;
    &lt;input class="btn btn-primary" type="submit" value="Search"  id="searchSubmit"/&gt;
  &lt;/span&gt;
&lt;/form&gt;
{{/html}}

[[Advanced&gt;&gt;ExtensionCode.ExtensionSearch||queryString="space=Extension"]]
{{/velocity}}
)))
)))

(% class="extension-link add-extension box" %)(((
(((
{{velocity}}
=== #if($services.icon)$services.icon.render('add')#end Contribute Extension... ===
{{html}}
#if ($isGuest)
  You need first to &lt;a href="${escapetool.xml($xwiki.getURL('Main.WebHome', 'login', "xredirect=$doc.externalURL"))}"&gt;log in&lt;/a&gt; or &lt;a href="${escapetool.xml($xwiki.getURL($services.model.resolveDocument('', 'default'), "register", "xredirect=$doc.externalURL"))}"&gt;register&lt;/a&gt;.
#else
&lt;form action="$doc.getURL()" id="createextension"&gt;
  &lt;input type="hidden" name="parent" value="Extension.WebHome" /&gt;
  &lt;input type="hidden" name="template" value="ExtensionCode.ExtensionTemplate" /&gt;
  &lt;input type="hidden" name="createExtension" value="true" /&gt;
  &lt;input class="withTip" type="text" name="name" value="extension name..."  size="25" id="contributeNameInput"/&gt;
  &lt;span class="buttonwrapper"&gt;
    &lt;input class="btn btn-success" type="submit" value="Add" id="contributeSubmit"/&gt;
  &lt;/span&gt;
&lt;/form&gt;
{{/html}}

[[Import&gt;&gt;ExtensionCode.ImportExtension]]
#end
{{/velocity}}
)))
)))

(% class="clearfloats" %)((()))(%%)

{{velocity}}
#set($columns = ["name", "summary", "category", "authors", "doc.creationDate", "doc.date", "installedCount", "rating"])
#set($columnsProperties = {
  "name" : { "type" : "text", "link" : "view" },
  "summary" : { "type" : "text" },
  "category" : { "type" : "list" },
  "authors" : {'html': true},
  "doc.creationDate" : { "type" : "date" },
  "doc.date" : { "type" : "date" },
  "rating" : { 'html' : true, 'filterable' : false, 'sortable' : false}
})
#set($options = { 
   "tagCloud":true,
   "className":"ExtensionCode.ExtensionClass",
   "selectedColumn":"doc.creationDate",
   "defaultOrder":"desc",
   "translationPrefix" : "extension.repository.",
   "rowCount": 30
})
#livetable("extensions" $columns $columnsProperties $options)

(% class="hidden" %) (((
Temporary provide a link for robots to index all extension.
In the future, this link will be provided via a sitemap.
[[ExtensionCode.AllExtensionsList]]
)))
#set($docextras=[])
{{/velocity}}</content>
</xwikidoc>
<commit_msg>XWIKI-13586: Repository app returns non-extension search results<commit_after><?xml version="1.0" encoding="UTF-8"?>

<!--
 * See the NOTICE file distributed with this work for additional
 * information regarding copyright ownership.
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-->

<xwikidoc version="1.2" reference="Extension.WebHome" locale="">
  <web>Extension</web>
  <name>WebHome</name>
  <language/>
  <defaultLanguage/>
  <translation>0</translation>
  <creator>xwiki:XWiki.Admin</creator>
  <creationDate>1304962886000</creationDate>
  <parent>Main.WebHome</parent>
  <author>xwiki:XWiki.Admin</author>
  <contentAuthor>xwiki:XWiki.Admin</contentAuthor>
  <date>1468938266000</date>
  <contentUpdateDate>1468938266000</contentUpdateDate>
  <version>1.1</version>
  <title>Extensions</title>
  <comment/>
  <minorEdit>false</minorEdit>
  <syntaxId>xwiki/2.1</syntaxId>
  <hidden>false</hidden>
  <content>{{include reference="ExtensionCode.RepositoryCode"/}}

{{include reference="ExtensionCode.CreateExtension"/}}

(% class="extension-link search-extension box" %)(((
(((
{{velocity}}
=== #if($services.icon)$services.icon.render('find')#end Search Extension... ===
{{html}}
&lt;form action="$xwiki.getURL("ExtensionCode.ExtensionSearch")"&gt;
  &lt;input type="hidden" name="f_space" value="Extension" /&gt;
  &lt;input type="text" name="text" value="extension name..." size="25" class="withTip" id="searchTextInput" /&gt;
  &lt;span class="buttonwrapper"&gt;
    &lt;input class="btn btn-primary" type="submit" value="Search"  id="searchSubmit"/&gt;
  &lt;/span&gt;
&lt;/form&gt;
{{/html}}

[[Advanced&gt;&gt;ExtensionCode.ExtensionSearch||queryString="space=Extension"]]
{{/velocity}}
)))
)))

(% class="extension-link add-extension box" %)(((
(((
{{velocity}}
=== #if($services.icon)$services.icon.render('add')#end Contribute Extension... ===
{{html}}
#if ($isGuest)
  You need first to &lt;a href="${escapetool.xml($xwiki.getURL('Main.WebHome', 'login', "xredirect=$doc.externalURL"))}"&gt;log in&lt;/a&gt; or &lt;a href="${escapetool.xml($xwiki.getURL($services.model.resolveDocument('', 'default'), "register", "xredirect=$doc.externalURL"))}"&gt;register&lt;/a&gt;.
#else
&lt;form action="$doc.getURL()" id="createextension"&gt;
  &lt;input type="hidden" name="parent" value="Extension.WebHome" /&gt;
  &lt;input type="hidden" name="template" value="ExtensionCode.ExtensionTemplate" /&gt;
  &lt;input type="hidden" name="createExtension" value="true" /&gt;
  &lt;input class="withTip" type="text" name="name" value="extension name..."  size="25" id="contributeNameInput"/&gt;
  &lt;span class="buttonwrapper"&gt;
    &lt;input class="btn btn-success" type="submit" value="Add" id="contributeSubmit"/&gt;
  &lt;/span&gt;
&lt;/form&gt;
{{/html}}

[[Import&gt;&gt;ExtensionCode.ImportExtension]]
#end
{{/velocity}}
)))
)))

(% class="clearfloats" %)((()))(%%)

{{velocity}}
#set($columns = ["name", "summary", "category", "authors", "doc.creationDate", "doc.date", "installedCount", "rating"])
#set($columnsProperties = {
  "name" : { "type" : "text", "link" : "view" },
  "summary" : { "type" : "text" },
  "category" : { "type" : "list" },
  "authors" : {'html': true},
  "doc.creationDate" : { "type" : "date" },
  "doc.date" : { "type" : "date" },
  "rating" : { 'html' : true, 'filterable' : false, 'sortable' : false}
})
#set($options = { 
   "tagCloud":true,
   "className":"ExtensionCode.ExtensionClass",
   "selectedColumn":"doc.creationDate",
   "defaultOrder":"desc",
   "translationPrefix" : "extension.repository.",
   "rowCount": 30
})
#livetable("extensions" $columns $columnsProperties $options)

(% class="hidden" %) (((
Temporary provide a link for robots to index all extension.
In the future, this link will be provided via a sitemap.
[[ExtensionCode.AllExtensionsList]]
)))
#set($docextras=[])
{{/velocity}}</content>
</xwikidoc>

{'fraction_non_alphanumeric': 0.19037725533078184, 'fraction_numerical': 0.015418261344997266, 'mean_word_length': 5.759793052475979, 'pattern_counts': {'":': 10, '<': 81, '<?xml version=': 2, '>': 81, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5147993', 'n_tokens_mistral': 3094, 'n_tokens_neox': 2942, 'n_words': 696}