mediawiki / model
Abstraction model for mediawiki
Installs: 82
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:mediawiki-extension
Requires
- composer/installers: >=1.0.1
This package is not auto-updated.
Last update: 2024-10-26 14:54:45 UTC
README
Model is extension for mediawiki brings "M" from MVC pattern into MediaWiki.
What is Model?
Very simple and lightweight thing. Model allows you use model-objects over Mediawiki DatabaseBase class.
With Model you can focus on work with objects, not SQL-queries.
$user = new Model_User(); $user->password = '1234'; $user->save();
more examples can be found here.
To start using Model:
- include it in LocalSettings.php
- create model classes based on class Model with your model description
- create proper database tables
- use models in your code.
Read documentation for additional information.