Page MenuHomePhabricator

API: support page reordering
Closed, DuplicatePublic

Description

In order to allow custom page ordering, API needs to have action=editlist & titles=a|b|c & insertafter=XXX. Without the insertafter, pages a|b|c are added at the end, or simply kept in place, whereas with that parameter, existing pages are moved to the new location, and new pages are added there.

  • insertafter= (blank value), pages are added/moved to the bottom
  • insertafter=XXX - all pages are inserted/moved after XXX but before the page that followed it.
  • insertafter=_ (underscore) - pages are added/moved to the top.

Special care (on API part) will have to be taken to handle continuation (note to self)