Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nikerabbit/mediawiki-extensions-ainut
https://github.com/nikerabbit/mediawiki-extensions-ainut
mediawiki mediawiki-extension
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nikerabbit/mediawiki-extensions-ainut
- Owner: Nikerabbit
- Created: 2018-10-12T15:43:58.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-09T15:28:54.000Z (2 months ago)
- Last Synced: 2024-09-09T19:12:08.580Z (2 months ago)
- Topics: mediawiki, mediawiki-extension
- Language: PHP
- Size: 360 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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 );
```