Jump to content

Topic on Extension talk:Semantic Page Series/Flow

Special:SeriesEdit: unexpected behavior

6
Mtyeh411 (talkcontribs)

Great idea with this extension. I have decided to test it out. I copied and pasted the example templates & forms provided on the Extension page. However, when I hit the link to create the page series, Special:SeriesEdit only shows <seriesedit> in the page title and nothing else. Is there version incompatibility with either MW or SMW & SMW-related extensions?

I noticed this with a bare minimum extension base (or at least as bare minimum as I can think):

  • MediaWiki 1.19.0
  • PHP 5.3.10
  • MySQL 5.5.21
  • Semantic Forms 2.4.2
  • Semantic Forms Inputs 0.5
  • Semantic MediaWiki 1.7.1
  • Semantic Page Series 0.1a
  • Validator 0.4.14

PS, I tested against SPS release version and SPS dev version with same results. SMW extensions were from Semantic Bundle 20120430r189.

F.trott (talkcontribs)

Sorry, no clue. Could you turn PHP errors on to see if something comes up? See Debugging#PHP_errors

Oh, and this wiki is not public by any chance, is it?

Cheers,

Mtyeh411 (talkcontribs)

unfortunately, no. i am running this on a local dev vm. i did have debugging on, and did not see any outputs.

should SPS be compatible with those SMW extension versions?

Mtyeh411 (talkcontribs)

From what I was able to deduce, EventSeries form requires the info tag (lines 123-128 of includes/SPSSpecialSeriesEdit.php seems to be looking for this or else it complains). I don't believe the EventSeries example on the extension page has that.

Once I changed that, I was able to see the EventSeries form as expected from the Special:SeriesEdit page.

However, the series of pages will not be created. It returns the fatal error:

Call to a member function getContext() on a non-object in $IP/includes/api/ApiBase.php on line 77

Thanks.

F.trott (talkcontribs)

Sorry, this took a while. I fixed the first problem, the info tag is not required anymore. I do not get the second error. If you are still interested, could you try the latest dev version?

Cheers.

Reply to "Special:SeriesEdit: unexpected behavior"