File tree Expand file tree Collapse file tree 4 files changed +16
-25
lines changed Expand file tree Collapse file tree 4 files changed +16
-25
lines changed File renamed without changes.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- define ( 'WIKIBASE_DATAMODEL_JAVASCRIPT_VERSION ' , '2.0.0 ' );
3
+ if ( defined ( 'MEDIAWIKI ' ) && function_exists ( 'wfLoadExtension ' ) ) {
4
+ wfLoadExtension ( 'WikibaseDataModelJavaScript ' , __DIR__ . '/mediawiki-extension.json ' );
4
5
5
- if ( defined ( 'MEDIAWIKI ' ) ) {
6
- call_user_func ( function () {
7
- require_once __DIR__ . '/init.mw.php ' ;
8
- } );
6
+ include 'resources.php ' ;
7
+ include 'resources.test.php ' ;
9
8
}
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " Wikibase DataModel JavaScript" ,
3
+ "author" : [
4
+ " [http://www.snater.com H. Snater]"
5
+ ],
6
+ "url" : " https://github.com/wmde/WikibaseDataModelJavascript" ,
7
+ "description" : " Javascript implementation of the Wikibase data model" ,
8
+ "version" : " 2.0.0" ,
9
+ "type" : " wikibase" ,
10
+ "license-name" : " GPL-2.0+" ,
11
+ "manifest_version" : 1
12
+ }
You can’t perform that action at this time.
0 commit comments