Page MenuHomePhabricator

[Pages Created] Investigate URI too long error when exporting to PagePile
Open, Needs TriagePublic5 Estimated Story Points

Description

Event Timeline

This error handling was added because apparently you can't pass but so many pages to the PagePile API. However I'm beginning to believe I'm just using the API incorrectly, because at least one other user (T188603#4048032) said the API should support any number of pages. So I'm glad you created this bug. I will look into it more and let you know if I can fix it. Thanks

MusikAnimal renamed this task from A fatal error has occurred within XTools- 414: URI Too Long to [Pages Created] Investigate URI too long error when exporting to PagePile.May 2 2018, 3:05 AM
Vvjjkkii renamed this task from [Pages Created] Investigate URI too long error when exporting to PagePile to ywdaaaaaaa.Jul 1 2018, 1:13 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Matthewrbowker renamed this task from ywdaaaaaaa to [Pages Created] Investigate URI too long error when exporting to PagePile.Jul 1 2018, 1:29 AM
Matthewrbowker raised the priority of this task from High to Needs Triage.
Matthewrbowker updated the task description. (Show Details)
MusikAnimal set the point value for this task to 5.

one other user (T188603#4048033) said the API should support any number of pages

Well, they said 2000, so we'll have to keep some error handling.

Also: we're currently sometimes creating multiple piles with the same data, which is a shame. Probably could do some caching? As in remember what pile we created with what data and reuse that pile if it's the same data. Or, if it would cause memory issues, save a hash of the data and check afterwards if data is indeed the same. shouldn't take much longer.

On limits: the query mentioned that worked was ~50kb. The one failing here is 5.7kb. I am having trouble actually testing out the 50kb query. Given that this message was seven years ago, possibly the get limit was significantly lowered in the meantime.

MusikAnimal raised the priority of this task from High to Needs Triage.May 7 2025, 11:54 PM

If there's still demand for this fix, I'm happy to review a PR (or fix it myself when I have the time, which I can't say for sure when that will be). However I don't think it is that important nowadays as PagePile is (or was) slated to be replaced by Gulp. It looks like that effort has stalled, but T231891: Create a Generic List-building tool that can meet and exceed the applications of Pagepile is still open.