Page MenuHomePhabricator

"TypeError: Cannot read property 'addButton' of undefined TypeError" when editing a page with 'Edit source' option
Closed, DuplicatePublic

Description

  1. Have a user without existing User/User talk pages and "Flow on user talk" not enabled in user Preferences.
  2. Go to the User or User Talk page and the following will be displayed in Console:
TypeError: Cannot read property 'addButton' of undefined TypeError: Cannot read property 'addButton' of undefined
    at Object.<anonymous> (http://en.wikipedia.beta.wmflabs.org/w/index.php?
title=ET11&action=edit&redlink=1:240:61)
    at jQuery.Callbacks.fire (http://en.wikipedia.beta.wmflabs.org/w/load.php?
debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=PUr9dIEB:45:122

    at Object.jQuery.Callbacks.self.fireWith [as resolveWith] (http://en.wikipedia.beta.wmflabs.org/w/load.php?
debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=PUr9dIEB:46:431)
    at Object.jQuery.extend.Deferred.jQuery.each.deferred.(anonymous function) [as ready] 
(http://en.wikipedia.beta.wmflabs.org/w/load.php?
debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=PUr9dIEB:47:790)
    at handlePending (http://en.wikipedia.beta.wmflabs.org/w/load.php?
debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=PUr9dIEB:159:895)
    at mw.loader.markModuleReady (http://en.wikipedia.beta.wmflabs.org/w/load.php?
debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=PUr9dIEB:162:254)
    at Object.<anonymous> (http://en.wikipedia.beta.wmflabs.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=PUr9dIEB:162:671)
    at jQuery.Callbacks.fire (http://en.wikipedia.beta.wmflabs.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=PUr9dIEB:45:122)

Event Timeline

Etonkovidova raised the priority of this task from to Needs Triage.
Etonkovidova updated the task description. (Show Details)
Etonkovidova added a subscriber: Etonkovidova.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 8 2015, 9:26 PM
Etonkovidova renamed this task from "TypeError: Cannot read property 'addButton' of undefined TypeError" for User/User talk pages when "Flow on user talk" is not enabled to "TypeError: Cannot read property 'addButton' of undefined TypeError" when editing a page with 'Edit source' option.Sep 11 2015, 5:56 PM
Etonkovidova set Security to None.