Page MenuHomePhabricator

Fatal error on action=edit for Index-namespace redirect: "EditIndexPage is only able to display a form for IndexContent"
Open, Needs TriagePublicPRODUCTION ERROR

Event Timeline

Candalua added a subscriber: Candalua.
exception.file: /srv/mediawiki/php-1.32.0-wmf.3/extensions/ProofreadPage/includes/Index/EditIndexPage.php:60
exception.message:	EditIndexPage is only able to display a form for IndexContent
exception.trace:
#0 /srv/mediawiki/php-1.32.0-wmf.3/includes/EditPage.php(2866): ProofreadPage\Index\EditIndexPage->showContentForm()
#1 /srv/mediawiki/php-1.32.0-wmf.3/includes/EditPage.php(664): EditPage->showEditForm()
#2 /srv/mediawiki/php-1.32.0-wmf.3/extensions/ProofreadPage/includes/Index/IndexEditAction.php(19): EditPage->edit()
#3 /srv/mediawiki/php-1.32.0-wmf.3/includes/MediaWiki.php(500): ProofreadPage\Index\IndexEditAction->show()
#4 /srv/mediawiki/php-1.32.0-wmf.3/includes/MediaWiki.php(294): MediaWiki->performAction(Article, Title)
#5 /srv/mediawiki/php-1.32.0-wmf.3/includes/MediaWiki.php(861): MediaWiki->performRequest()
#6 /srv/mediawiki/php-1.32.0-wmf.3/includes/MediaWiki.php(524): MediaWiki->main()
#7 /srv/mediawiki/php-1.32.0-wmf.3/index.php(42): MediaWiki->run()
#8 /srv/mediawiki/w/index.php(3): include(string)
#9 {main}
exception_url:   	/w/index.php?title=Index:First_Lessons_in_the_Tie-chiw_Dialect.djvu&action=edit
Aklapper renamed this task from Trying to edit an Index-namespace redirect results in a "Fatal exception of type 'MWException'" to Trying to edit an Index-namespace redirect results in fatal error: "EditIndexPage is only able to display a form for IndexContent".May 17 2018, 3:33 PM
Krinkle added a subscriber: Krinkle.

Tagging VisualEditor (Editing-team) per "ProofreadPage" on mw:Maintainers. I haven't looked into the fatal or how to reproduce it exactly, but I'd start in Logstash/mediawiki-errors and look for +message:EditIndexPage in last 7 days for recent example urls and stacktraces.

Krinkle renamed this task from Trying to edit an Index-namespace redirect results in fatal error: "EditIndexPage is only able to display a form for IndexContent" to Fatal error on aciton=edit for Index-namespace redirect: "EditIndexPage is only able to display a form for IndexContent".Aug 29 2018, 8:19 PM
Krinkle renamed this task from Fatal error on aciton=edit for Index-namespace redirect: "EditIndexPage is only able to display a form for IndexContent" to Fatal error on action=edit for Index-namespace redirect: "EditIndexPage is only able to display a form for IndexContent".
Krinkle raised the priority of this task from Low to Needs Triage.
mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:09 PM

Ran into a few more of these today:

Error
normalized_message
[{reqId}] {exception_url}   MWException: EditIndexPage is only able to display a form for IndexContent
exception.trace
from /srv/mediawiki/php-1.38.0-wmf.7/extensions/ProofreadPage/includes/Index/EditIndexPage.php(68)
#0 /srv/mediawiki/php-1.38.0-wmf.7/includes/EditPage.php(3121): ProofreadPage\Index\EditIndexPage->showContentForm()
#1 /srv/mediawiki/php-1.38.0-wmf.7/includes/EditPage.php(723): EditPage->showEditForm()
#2 /srv/mediawiki/php-1.38.0-wmf.7/extensions/ProofreadPage/includes/Index/IndexEditAction.php(20): EditPage->edit()
#3 /srv/mediawiki/php-1.38.0-wmf.7/includes/MediaWiki.php(538): ProofreadPage\Index\IndexEditAction->show()
#4 /srv/mediawiki/php-1.38.0-wmf.7/includes/MediaWiki.php(320): MediaWiki->performAction(Article, Title)
#5 /srv/mediawiki/php-1.38.0-wmf.7/includes/MediaWiki.php(925): MediaWiki->performRequest()
#6 /srv/mediawiki/php-1.38.0-wmf.7/includes/MediaWiki.php(559): MediaWiki->main()
#7 /srv/mediawiki/php-1.38.0-wmf.7/index.php(53): MediaWiki->run()
#8 /srv/mediawiki/php-1.38.0-wmf.7/index.php(46): wfIndexMain()
#9 /srv/mediawiki/w/index.php(3): require(string)
#10 {main}

We don't appear to be defining any interface for editing Index: namespace redirects, which is probably what this is about