Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nikerabbit/mediawiki-extensions-ainut


https://github.com/nikerabbit/mediawiki-extensions-ainut

mediawiki mediawiki-extension

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# mediawiki-extensions-Ainut

How to edit applications manually:

```php
$mng = new Ainut\ApplicationManager( wfGetLB() );
$app = $mng->findLatestByUser( User::newFromName( 'Risblo' )->getId() );
$fields = $app->getFields();
var_dump( $fields );
$app->setFields( $fields );
$app->setRevision( $app->getRevision() + 1 );
$app->setTimestamp( 0 );
$mng->saveApplication( $app );
```