Fix MW 1.23 / Uncaught ReferenceError: wgScriptPath is not defined

Instead of wgScriptPath + '/api.php' use mw.util.wikiScript( 'api' )
Fix Undefined variable: egSWLEnableSelfNotify
Remove $smwgCheckChangesBeforeUpdate

$smwgCheckChangesBeforeUpdate has be removed with

$ git log -SsmwgCheckChangesBeforeUpdate
commit 26504109157d79565668cf12a1ee89dff74fcf07
Author: Jeroen De Dauw <jeroendedauw@users.mediawiki.org>
Date:   Sat May 21 19:31:16 2011 +0000

    moving the change related stuff to SWL
Merge pull request #11 from SemanticMediaWiki/hotfix

Hotfix
Merge pull request #13 from SemanticMediaWiki/setting

Remove $smwgCheckChangesBeforeUpdate
Update SemanticWatchlist.php
Update SemanticWatchlist.php
Merge branch 'master' of ssh://wmfgerrit/mediawiki/extensions/SemanticWatchlist