Page MenuHomePhabricator

Drafts breaks with SemanticForms extension
Closed, ResolvedPublic

Description

Steps to reproduce:

  1. Install drafts
  2. Install SemanticMediaWiki and SemanticForms
  3. Go to Special:FormEdit/SomeForm
  4. Click preview or save
  5. Get a "PHP Fatal error:  Call to a member function getNamespace() on a non-object in /path/to/mediawiki/extensions/Drafts/Drafts.classes.php on line 623" error.

The problem: Drafts has problems saving a drafts for a special page. Fix: Don't save drafts for special pages :)

I fixed this myself, submitting a patch in a second...


Version: unspecified
Severity: normal

Details

Reference
bz28567

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:29 PM
bzimport set Reference to bz28567.