PHPackages                             wikifab/explore - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. wikifab/explore

ActiveMediawiki-extension[Utility &amp; Helpers](/categories/utility)

wikifab/explore
===============

2.13.2(6y ago)33.0k2[1 PRs](https://github.com/Wikifab/ext-wf-explore/pulls)JavaScript

Since Oct 20Pushed 5y ago4 watchersCompare

[ Source](https://github.com/Wikifab/ext-wf-explore)[ Packagist](https://packagist.org/packages/wikifab/explore)[ RSS](/packages/wikifab-explore/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (57)Used By (0)

parsers usage :
---------------

[](#parsers-usage-)

### explore Page :

[](#explore-page-)

Navigate to the page 'Spécial:WfExplore' to see the full explore page

### explore Query :

[](#explore-query-)

'exploreQuery' function just display a list of tutorials, accordint to a semantic query

1st param is the query, the second param (optional) is the number limite of results to display. other named parameters can be set :

- sort : field to use to sort results
- limit : number of result to display
- layout : layout to use (see layout config)

Ex : {{#exploreQuery: \[\[area::Électronique\]\] | 8}} {{#exploreQuery: \[\[area::Électronique\]\] | sort=editdate|limit=8}} {{#exploreQuery: \[\[area::Électronique\]\] | sort=editdate|limit=8| layout=event}}

### displayExplore function

[](#displayexplore-function)

to display explorer in a page, insert the function displayExplore : {{#displayExplore: params}}

### Input Box function

[](#input-box-function)

to add an input box to search pages using Special:WfExplore : {{#exploreinputbox:}}

you cant add 2 parameters : the first param is the button text, the second is the placehoder {{#exploreinputbox:GO| placeholder}}

configuration using global vars :
---------------------------------

[](#configuration-using-global-vars-)

2 vars enable to configure filters params :

$wfexploreCategories = \[ $categoriesName =&gt; \[ CategorisValueName =&gt; CategorieValueLabel, ... \], ... \]

$wfexploreCategoriesNames = \[ 'Type' =&gt; 'int:wfexplore-type' , 'area' =&gt; 'int:wfexplore-category', 'Difficulty' =&gt; 'int:wfexplore-difficulty', 'Cost' =&gt; 'int:wfexplore-cost', 'Complete' =&gt; 'Complete', \];

Note : using prefix 'int' enable to use translation key

### configure layout to display results :

[](#configure-layout-to-display-results-)

it is possible to change the layout of results, to do it, set the available layouts in LocalSettings.php : $wgExploreResultsLayouts = \[ 'event' =&gt; **DIR** . '/views/layout-event.html' \];

then, when calling the explore with parser function in a page, set the 'layout' params : {{#displayExplore: layout=event}}

### configure filters for layout

[](#configure-filters-for-layout)

it is possible te define other filter when a layout is given:

$wfexploreCategoriesByLayout = \[ 'event' =&gt; \[ $categoriesName =&gt; \[ CategorisValueName =&gt; CategorieValueLabel, ... \], ... \] \];

### Wikifab Groups config

[](#wikifab-groups-config)

To configure explore for groups like wikifab, here is the config : (it set no filters for groups)

$wgExploreResultsLayouts = \[ 'group' =&gt; **DIR** . '/extensions/WfextStyle/templates/layout-group-search-result.html' \];

$wfexploreCategoriesByLayout = \[ 'group' =&gt; \[\] \];

### default sort order

[](#default-sort-order)

Default sort order can be configured using the $wfeSortField var in LocalSettings.php. For instance, to sort by date of last change : $wfeSortField = 'Modification date';

configuration using hooks :
---------------------------

[](#configuration-using-hooks-)

Explore::OnGetFilters it is possible to change categories using hooks, this is recommended for internationalized wiki.

Record hooks in LocalSettings, and set a function, for example :

$wgHooks\['Explore::getFilters'\]\[\] = 'onExploreGetFilters'; function onExploreGetFilters(&amp; $filters, $layout) { $filters\["Type"\] = \[ \['Oukou'\] = 'Oukoukou', \['Ouka'\] = 'Oukaka' \]; return true; }

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 79.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~31 days

Total

43

Last Release

2239d ago

Major Versions

0.2.5 → 1.0.02017-08-04

1.0.1-rc1 → 2.0.02017-09-20

2.10.0 → 1427.x-dev2019-07-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/26b7c13f6509e6d6fdcddbc50c1e8e3d3bbd8dc905f84c83203687549a37dc15?d=identicon)[pyro853](/maintainers/pyro853)

---

Top Contributors

[![pierreboutet](https://avatars.githubusercontent.com/u/447459?v=4)](https://github.com/pierreboutet "pierreboutet (138 commits)")[![Exxelo](https://avatars.githubusercontent.com/u/33803181?v=4)](https://github.com/Exxelo "Exxelo (36 commits)")

### Embed Badge

![Health badge](/badges/wikifab-explore/health.svg)

```
[![Health](https://phpackages.com/badges/wikifab-explore/health.svg)](https://phpackages.com/packages/wikifab-explore)
```

###  Alternatives

[genealabs/laravel-null-carbon

A Laravel Carbon null-class.

56314.0k](/packages/genealabs-laravel-null-carbon)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
