         return defered.promise
 
     getWikiPageHistorical: (wikiId, filters={}) ->
-        urlParams = [wikiId]
+        urlparams = [wikiId]
         parameters = _.extend({}, filters)
-        return @_queryManyPaginated("wiki-historical", parameters, null , null, urlParams)
+        return @_queryManyPaginated("wiki-historical", parameters, null, urlparams)
 
     createTask: (form) ->
         return @model.create("tasks", form)

            httpParams.params = params

        if id
            httpParams.url = "#{@gmUrls.api(name)}/#{id}"
        else
            httpParams.url = "#{@gmUrls.api(name)}"

        defered = @q.defer()
        promise = @http(httpParams)

        return @_queryOne("userstories", userStoryId, params)

    getUserStoryHistorical: (userStoryId, filters={}) ->
        urlparams = [userStoryId]
        parameters = _.extend({}, filters)
        return @_queryManyPaginated("userstories-historical", parameters, null , urlparams)

    getTasks: (projectId, sprintId) ->
        params = {project:projectId}
