Lucas_Werkmeister_WMDE added a comment.

Ah, I think I see where the problem comes from… this is the request URL (with the numeric part of the item ID redacted):

/w/index.php?title=Q█████████/&action="">

The trailing slash is probably the reason for the error – the page still has an entity content model, but you can’t form an item ID from that title.

Should we try to “fix” this error or just ignore when $entityContentFactory->getEntityIdForTitle( $wikiPage->getTitle() ) returns null? It’s a different page, really, so I suppose we should just ignore it.


TASK DETAIL
https://phabricator.wikimedia.org/T191413

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Aklapper, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Agabi10, Wikidata-bugs, aude, Mbch331, Jay8g, Krenair
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to