File tree 3 files changed +7
-7
lines changed
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ DB_TYPE?=mysql
17
17
DB_IMAGE? ="mariadb:10"
18
18
19
19
# extensions
20
- SMW_VERSION? =5.2.0
20
+ SMW_VERSION? =dev-master
21
21
22
22
# composer
23
23
# Enables "composer update" inside of extension
Original file line number Diff line number Diff line change 26
26
},
27
27
"require" : {
28
28
"php" : " >=7.4" ,
29
- "composer/installers" : " 1.*, >=1.0.1"
29
+ "composer/installers" : " >=1.0.1"
30
30
},
31
31
"require-dev" : {
32
32
"mediawiki/minus-x" : " ^1.1.3" ,
Original file line number Diff line number Diff line change 19
19
use MediaWiki \MediaWikiServices ;
20
20
use RequestContext ;
21
21
use Sanitizer ;
22
- use SMWSemanticData ;
23
- use SMWStore ;
22
+ use SMW \ SemanticData ;
23
+ use SMW \ Store ;
24
24
use Title ;
25
25
use User ;
26
26
@@ -32,12 +32,12 @@ final class Hooks {
32
32
*
33
33
* @since 0.1
34
34
*
35
- * @param SMWStore $store
36
- * @param SMWChangeSet $changes
35
+ * @param Store $store
36
+ * @param SemanticData $newData
37
37
*
38
38
* @return true
39
39
*/
40
- public static function onDataUpdate ( SMWStore $ store , SMWSemanticData $ newData ) {
40
+ public static function onDataUpdate ( Store $ store , SemanticData $ newData ) {
41
41
wfDebugLog ( 'SemanticWatchlist ' , __METHOD__ . ' was called ' );
42
42
$ subject = $ newData ->getSubject ();
43
43
$ oldData = $ store ->getSemanticData ( $ subject );
You can’t perform that action at this time.
0 commit comments