Last modified: 2014-10-28 20:41:43 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T9996, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 7996 - Paging for Special:Undelete
Paging for Special:Undelete
Status: NEW
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 44410 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-11-20 16:37 UTC by Dominic
Modified: 2014-10-28 20:41 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Dominic 2006-11-20 16:37:49 UTC
Currently a page with many deleted revisions (or less likely, a long deletion
log) like
<http://en.wikipedia.org/wiki/Special:Undelete/Wikipedia:Esperanza/Coffee_lounge>
or <http://en.wikipedia.org/wiki/Special:Undelete/Encyclop%C3%A6dia_Dramatica>,
always loads the entire page history at Special:Undelete. Instead, you should be
able to view a definable number of entries on one page, as with normal page
histories, Special:Contributions, and Special:Log, with links at the top:
"(Latest | Earliest) View (previous 50) (next 50) (20 | 50 | 100 | 250 | 500)."
Comment 1 Filip Maljkovic [Dungodung] 2006-11-21 05:17:38 UTC
Speaking for Special:Undelete: If you were to undelete some revisions that are
shown on different pages, how would you do that? Constantly keeping already
selected values by sending them via POST all the time doesn't seem rather
practical. Is this making sense?
Comment 2 Dominic 2006-11-21 05:22:24 UTC
You could always just select the option to view all the revisions at once as we
do currently, if you are planning on selecting revisions that would appear on
different pages otherwise.
Comment 3 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-11-21 05:26:56 UTC
(In reply to comment #1)
> Speaking for Special:Undelete: If you were to undelete some revisions that are
> shown on different pages, how would you do that? Constantly keeping already
> selected values by sending them via POST all the time doesn't seem rather
> practical.

It's what vBulletin does, and it works very nicely.  Rather, I don't know if
they remember them in POST: quite possibly they keep in in memory server-side,
or cookies, or who knows what.  But you can click checkboxes on different pages
of a thread, or different threads entirely, and then do something with all the
selected posts at once at your leisure.  It seems like the best way to do
things, ultimately.
Comment 4 Aaron Schulz 2007-06-23 14:47:25 UTC
Perhaps using a radio restore point is better than the ugly selective restore hack. That's how it is in my revisiondelete branch (since there already is a way to selectively delete revs).
Comment 5 Jesús Martínez Novo (Ciencia Al Poder) 2013-04-29 19:10:18 UTC
*** Bug 44410 has been marked as a duplicate of this bug. ***
Comment 6 Jesús Martínez Novo (Ciencia Al Poder) 2013-04-29 19:14:01 UTC
Reposting here my ideas from Bug 44410 (dupe of this):

The current undelete page can cause problems on pages with lots (thousands) of deleted revisions.

For example, deleting for merging histories, "accidentaly" delete a page, hide
a specific revision, etc:

* If you attempt to load the Special:Undelete for that page, you may get a
timeout, an OOM, or your browser crash/eat all your memory.

* If it ever loads and you want to select lots of individual revisions to
restore, you may hit the max_input_vars limit [1] (see bug 43911) and the
selection won't be applied.

Pagination should probably be like page history.

Of course, pagination would be tricky for doing partial restoring, since on
pagination you will lost the previous marked checkboxes. But at least the
undelete page would load on pages with huge number of deleted revisions, and
one could select revisions to restore in smaller batches.

----

[1] http://www.php.net/manual/info.configuration.php#ini.max-input-vars

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links