Page MenuHomePhabricator

edit.php is not setting up context, just $wgUser and $wgTitle globals
Closed, ResolvedPublic


maxsem@tin:~$ cat somefile.txt | mwscript edit.php --wiki=testwiki Page_title
PHP Fatal error: Call to a member function isSpecial() on a non-object in /a/common/php-1.22wmf6/extensions/Echo/Hooks.php on line 804

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:57 AM
bzimport set Reference to bz49271.

bsitu wrote:

I put some extra check in Echo as well in case there is similar issue with other maintenance script

(In reply to comment #1)

Gerrit change #67309

Merged on June 6th.

(In reply to comment #3)

Merged on June 7th.

Assuming this is FIXED - if more work is needed, please reopen and elaborate.