def watch_request(titles, unwatch = false)
      titles = titles.is_a?(Array) ? titles : [titles]
      params = {
        action: 'watch',
        titles: titles.shift(get_limited(titles.length, 50, 500)).join('|'),
        token: get_token('watch')
      }
      success_key = 'watched'
      if unwatch
        params[:unwatch] = 1
        success_key = 'unwatched'
      end

      post(params)['watch'].inject({}) do |result, entry|
        title = entry['title']
        if entry.key?(success_key)
          result[title] = entry.key?('missing') ? nil : true
        else
          result[title] = false
        end

        result
      end
    end
def watch_request(titles, unwatch = false)
      titles = titles.is_a?(Array) ? titles : [titles]
      params = {
        action: 'watch',
        titles: titles.shift(get_limited(titles.length, 50, 500)).join('|'),
        token: get_token('watch')
      }
      success_key = 'watched'
      if unwatch
        params[:unwatch] = 1
        success_key = 'unwatched'
      end

      post(params)['watch'].inject({}) do |result, entry|
        title = entry['title']
        if entry.key?(success_key)
          result[title] = entry.key?('missing') ? nil : true
        else
          result[title] = false
        end

        result
      end
    end
Submits a watch action request.
 @param (see #watch)
 @param unwatch [Boolean] Whether the request should unwatch the pages or not.
 @return (see #watch)