PHPackages                             starcitizentools/ag-grid - 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. starcitizentools/ag-grid

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

starcitizentools/ag-grid
========================

Renders AG Grid data grids in MediaWiki

v0.5.0(1mo ago)444↓83.3%[4 issues](https://github.com/StarCitizenTools/mediawiki-extensions-AGGrid/issues)[4 PRs](https://github.com/StarCitizenTools/mediawiki-extensions-AGGrid/pulls)GPL-3.0-or-laterPHPCI passing

Since Jun 9Pushed 1w agoCompare

[ Source](https://github.com/StarCitizenTools/mediawiki-extensions-AGGrid)[ Packagist](https://packagist.org/packages/starcitizentools/ag-grid)[ Docs](https://www.mediawiki.org/wiki/Extension:AGGrid)[ RSS](/packages/starcitizentools-ag-grid/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (4)Dependencies (6)Versions (9)Used By (0)

AGGrid
======

[](#aggrid)

Build sortable, filterable [AG Grid](https://www.ag-grid.com/) data tables on wiki pages, straight from Lua. Put clickable links and thumbnails inside cells, page through large datasets, and query rows from [Semantic MediaWiki](https://www.semantic-mediawiki.org/) or [Bucket](https://www.mediawiki.org/wiki/Extension:Bucket).

✨ Highlights
------------

[](#-highlights)

- **Interactive tables on wiki pages** — readers sort, filter, search, and page through the data in place, instead of scrolling a static wikitable.
- **Scales to large datasets** — page through thousands of rows, or query them on the server so the page stays light.
- **Shows your structured data** — turn [Semantic MediaWiki](https://www.semantic-mediawiki.org/)or [Bucket](https://www.mediawiki.org/wiki/Extension:Bucket) data into a live table, sorted, filtered, and paged on the server.
- **Rich cells** — clickable page links and thumbnails inside cells, resolved server-side.
- **Authored in Lua** — define grids in a Scribunto module; no hand-built HTML or JavaScript.
- **Fits your wiki** — matches the active skin's light/dark colours automatically, and extends from JavaScript when you need a custom renderer or filter.

📋 Requirements
--------------

[](#-requirements)

- MediaWiki 1.43 or later
- [Scribunto](https://www.mediawiki.org/wiki/Extension:Scribunto)

📦 Installation
--------------

[](#-installation)

1. Drop the extension in `extensions/AGGrid` and load it from `LocalSettings.php`:

    ```
    wfLoadExtension( 'AGGrid' );
    ```
2. Run the database updater to create the extension's tables (`aggrid_data`, `aggrid_source`):

    ```
    php maintenance/run.php update
    ```

    Grids will not render until these tables exist.

⚙️ Configuration
----------------

[](#️-configuration)

All settings are optional.

SettingDefaultDescription`$wgAGGridCacheControl``{ "inline": { "maxAge": 86400, "staleWhileRevalidate": 604800 }, "default": { "maxAge": 600 } }`Per-source cache policy for grid REST responses. `inline` is the content-addressed materialized `/rows` path (maxAge is a revalidation cadence, not a staleness ceiling). `default` is the fallback for backend sources (a hard staleness ceiling — no purge when the underlying data changes); override per source with its id, e.g. `"smw"` / `"bucket"`.`$wgAGGridBucketMaxValues``1000`Maximum rows scanned when listing a Bucket column's set-filter values; the list is marked partial when reached.🚀 Quick start
-------------

[](#-quick-start)

Pass a `gridOptions` table to `render`:

```
mw.ext.aggrid.render{
    columnDefs = {
        { field = 'name', headerName = 'Name' },
        { field = 'price', headerName = 'Price', filter = 'agNumberColumnFilter' },
    },
    rowData = {
        { name = 'Aurora', price = 25 },
        { name = 'Mustang', price = 30 },
    },
    pagination = true,
}
```

`gridOptions` mirrors AG Grid's [`gridOptions`](https://www.ag-grid.com/javascript-data-grid/grid-options/) object one to one, so anything JSON-serialisable from their docs works here. See [Authoring grids](docs/authoring-grids.md) for the full picture.

🔀 Two ways to supply data
-------------------------

[](#-two-ways-to-supply-data)

- **Inline** — supply `columnDefs` and `rowData` directly, as above. Best for small, hand-written or Lua-generated tables. → [Authoring grids](docs/authoring-grids.md)
- **Backend source** — supply a `source` descriptor and the rows come from Semantic MediaWiki or Bucket, queried and paged on the server. Best for large or already-stored datasets. → [Backend source grids](docs/data-sources.md)

📚 Documentation
---------------

[](#-documentation)

GuideWhat it covers[Authoring grids](docs/authoring-grids.md)The inline `gridOptions` model, the no-functions limit, pagination, theming, limits[Rich cells](docs/rich-cells.md)Links, thumbnails, linked thumbnails, and link lists[Formatting](docs/formatting.md)`format` specs for numbers and dates[Filters](docs/filters.md)The `aggridSet` set filter and the quick-search box[Backend source grids](docs/data-sources.md)Querying rows from Semantic MediaWiki and Bucket[Extending with JavaScript](docs/extending-column-types.md)Custom column types, renderers, filters, and the grid API🔎 See also
----------

[](#-see-also)

- [Extension page on mediawiki.org](https://www.mediawiki.org/wiki/Extension:AGGrid)
- [AG Grid documentation](https://www.ag-grid.com/javascript-data-grid/)

⚖️ License
----------

[](#️-license)

GPL-3.0-or-later. Bundles AG Grid Community (MIT); see `modules/lib/ag-grid-community/LICENSE.txt`.

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance76

Regular maintenance activity

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 Bus Factor1

Top contributor holds 86.1% 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 ~5 days

Total

4

Last Release

30d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/421898af9788651cc8fe6c06069092f102e093e32e6f0e6437178aa8a180d328?d=identicon)[alistair3149](/maintainers/alistair3149)

---

Top Contributors

[![alistair3149](https://avatars.githubusercontent.com/u/9260542?v=4)](https://github.com/alistair3149 "alistair3149 (31 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")

---

Tags

ag-gridmediawiki-extensionmediawikiextensionaggridag grid

### Embed Badge

![Health badge](/badges/starcitizentools-ag-grid/health.svg)

```
[![Health](https://phpackages.com/badges/starcitizentools-ag-grid/health.svg)](https://phpackages.com/packages/starcitizentools-ag-grid)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[mediawiki/maps

Adds various mapping features to MediaWiki

84152.3k3](/packages/mediawiki-maps)[starcitizentools/citizen-skin

A beautiful, usable, responsive MediaWiki skin with in-depth extension support. Originally developed for the Star Citizen Wiki.

3376.6k](/packages/starcitizentools-citizen-skin)[mediawiki/semantic-glossary

A terminology markup extension with a Semantic MediaWiki back-end

1452.6k](/packages/mediawiki-semantic-glossary)[starcitizentools/tabber-neue

Allows to create tabs within a page. Forked from Extension:Tabber

235.4k](/packages/starcitizentools-tabber-neue)[mediawiki/page-forms

Forms for creating and editing wiki pages.

2280.7k2](/packages/mediawiki-page-forms)

PHPackages © 2026

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