Jump to content

Topic on Extension talk:Survey/Flow

Exception with mediawiki 1.22

5
129.192.208.15 (talkcontribs)

Getting the following error when tying to view the Specials:Survey page:-

[815a4635] /wiki/index.php/Special:Surveys Exception from line 376 of /var/www/wiki/includes/SpecialPage.php: Call to undefined method SpecialSurveys::getPageTitle Backtrace:

  1. 0 /var/www/wiki/extensions/Survey/specials/SpecialSurveys.php(77): SpecialPage->__call(string, array)
  2. 1 /var/www/wiki/extensions/Survey/specials/SpecialSurveys.php(77): SpecialSurveys->getPageTitle()
  3. 2 /var/www/wiki/extensions/Survey/specials/SpecialSurveys.php(54): SpecialSurveys->displayAddNewControl()
  4. 3 /var/www/wiki/extensions/Survey/specials/SpecialSurveys.php(44): SpecialSurveys->displaySurveys()
  5. 4 /var/www/wiki/includes/SpecialPage.php(631): SpecialSurveys->execute(NULL)
  6. 5 /var/www/wiki/includes/SpecialPageFactory.php(488): SpecialPage->run(NULL)
  7. 6 /var/www/wiki/includes/Wiki.php(298): SpecialPageFactory::executePath(Title, RequestContext)
  8. 7 /var/www/wiki/includes/Wiki.php(602): MediaWiki->performRequest()
  9. 8 /var/www/wiki/includes/Wiki.php(467): MediaWiki->main()
  10. 9 /var/www/wiki/index.php(49): MediaWiki->run()
  11. 10 {main}

Any assistance would be greatly appreciated.

Jeroen De Dauw (talkcontribs)

Incompatible MediaWiki version

64.88.197.154 (talkcontribs)

Yea I get the same thing, even though the Requirements section states that Survey requires MediaWiki 1.17 or above, which clearly 1.22 is.

Jack Phoenix (talkcontribs)

getPageTitle() method was introduced in MediaWiki 1.23, which is still under development. Basically the newest version (git HEAD) of Survey requires MediaWiki 1.23 (or newer); try using an older version of the extension with 1.22 (and don't take the Extension: pages as absolute truth; often the documentation is more or less out-of-date, especially for extensions which have no clear "owner"/maintainer).

64.88.197.154 (talkcontribs)

I don't see a REL1_23 in the mediawiki gerrit code review. IS 1_23 just the head?

Reply to "Exception with mediawiki 1.22"