actionPaths = mw.config.get( 'wgActionPaths' );
for ( key in actionPaths ) {
if ( actionPaths.hasOwnProperty( key ) ) {
actionPaths = mw.config.get( 'wgActionPaths' );
for ( key in actionPaths ) {
if ( actionPaths.hasOwnProperty( key ) ) {
msg = mw.message( 'watcherrortext', link );
// Report to user about the error
msg = mw.message( 'watcherrortext', link );
// Report to user about the error