We can now use the right way to create an instance of WallNotificationEntity, can't we? And pass global var: 
```php
new WallNotificationEntity( $rev, $wgCityId, $master );
```