https://bugzilla.wikimedia.org/show_bug.cgi?id=61666

            Bug ID: 61666
           Summary: FlaggedRevs doesn't work in MediaWiki < 1.23
           Product: MediaWiki extensions
           Version: REL1_22 branch
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: FlaggedRevs
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: maar...@mdammers.nl
                CC: aschulz4...@gmail.com
       Web browser: ---
   Mobile Platform: ---

In https://gerrit.wikimedia.org/r/103936 SpecialPage::getTitle was replaced
with getPageTitle . getPageTitle was introduced in 1.23 breaking backward
compatibility with 1.22 and lower (see
https://doc.wikimedia.org/mediawiki-core/master/php/html/classSpecialPage.html#a04aacd5fbbe67c5d47fe76eab1f0e538)

So on my local wiki with 1.22.0 (6071399) + Flagged Revisions (ed2ea20)
21:41, 6 February 2014
(https://git.wikimedia.org/commit/mediawiki%2Fextensions%2FFlaggedRevs.git/ed2ea203ee3c40b01db5af5d4249729fc3645a39)
I get a nice error:

[b2c58233] /wiki/Special:AdvancedReviewLog Exception from line 376 of
/data/var/www/html/w/includes/SpecialPage.php: Call to undefined method
QualityOversight::getPageTitle

Backtrace:

#0
/data/var/www/html/w/extensions/FlaggedRevs/frontend/specialpages/reports/QualityOversight_body.php(75):
SpecialPage->__call(string, array)
#1
/data/var/www/html/w/extensions/FlaggedRevs/frontend/specialpages/reports/QualityOversight_body.php(75):
QualityOversight->getPageTitle()
#2
/data/var/www/html/w/extensions/FlaggedRevs/frontend/specialpages/reports/QualityOversight_body.php(51):
QualityOversight->showForm()
#3 /data/var/www/html/w/includes/SpecialPage.php(631):
QualityOversight->execute(NULL)
#4 /data/var/www/html/w/includes/SpecialPageFactory.php(488):
SpecialPage->run(NULL)
#5 /data/var/www/html/w/includes/Wiki.php(298):
SpecialPageFactory::executePath(Title, RequestContext)
#6 /data/var/www/html/w/includes/Wiki.php(602): MediaWiki->performRequest()
#7 /data/var/www/html/w/includes/Wiki.php(467): MediaWiki->main()
#8 /data/var/www/html/w/index.php(49): MediaWiki->run()
#9 {main}

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to