Last modified: 2013-06-26 10:39:42 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T51271, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49271 - edit.php is not setting up context, just $wgUser and $wgTitle globals
edit.php is not setting up context, just $wgUser and $wgTitle globals
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Maintenance scripts (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Alex Monk
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-06 20:04 UTC by Max Semenik
Modified: 2013-06-26 10:39 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Max Semenik 2013-06-06 20:04:43 UTC
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
Comment 1 Alex Monk 2013-06-06 20:26:19 UTC
Gerrit change #67309
Comment 2 Ryan Kaldari 2013-06-06 20:48:16 UTC
That was fast :)
Comment 3 bsitu 2013-06-06 20:50:59 UTC
I put some extra check in Echo as well in case there is similar issue with other maintenance script

https://gerrit.wikimedia.org/r/#/c/67324/
Comment 4 Andre Klapper 2013-06-26 10:39:42 UTC
(In reply to comment #1)
> Gerrit change #67309

Merged on June 6th.

(In reply to comment #3)
> https://gerrit.wikimedia.org/r/#/c/67324/

Merged on June 7th.


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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links