[Bug 23489] No way to get the page title of a deleted revision by its rev_id

2012-02-07 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=23489

Krinkle krinklem...@gmail.com changed:

   What|Removed |Added

 Blocks||16659

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 23489] No way to get the page title of a deleted revision by its rev_id

2010-10-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=23489

--- Comment #3 from Krinkle krinklem...@gmail.com 2010-10-22 15:21:12 UTC ---
Due to the content being deleted, the page name should only be visible if the
current user is a sysop.
In that case the pagetitle can be queried from the 'archive' table by checking
with ar_rev_id and/or ar_page_id.

Whenever available the data from where ar_rev_id is diff should be gotten,
instead of where ar_rev_id equals oldid, since the page name could've been
changed between the two.

Also, a bit, but not much, more complicated would be url's that (only) have
curid specified.
WHERE ar_page_id=$wgRequest['curid'] ORDER BY ar_timestamp DESC would return
the latest known revisio and thus the ar_title.

I'm not sure but I guess the deletion / protection log excerpt that is
usually shown on deleted pages, can then be shown aswell.

ie. to make 
* http://commons.wikimedia.org/w/index.php?oldid=40130742
* http://commons.wikimedia.org/w/index.php?diff=40130742oldid=40130724
* http://commons.wikimedia.org/w/index.php?curdid=10536103

all show the same as: http://commons.wikimedia.org/w/index.php?title=Test12 ,
if the current user has the appropiate undelete-related permissions.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 23489] No way to get the page title of a deleted revision by its rev_id

2010-10-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=23489

--- Comment #4 from Krinkle krinklem...@gmail.com 2010-10-22 15:35:15 UTC ---
Oops, I meant:

http://commons.wikimedia.org/w/index.php?oldid=40130742
the same as:
http://commons.wikimedia.org/w/index.php?title=Test12oldid=40130724 (including
the message that The database did not find the text of a page ...(revision#:
40130724).

and http://commons.wikimedia.org/w/index.php?curdid=10536103 the same as
http://commons.wikimedia.org/w/index.php?title=Test12

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 23489] No way to get the page title of a deleted revision by its rev_id

2010-08-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=23489

Aryeh Gregor simetrical+wikib...@gmail.com changed:

   What|Removed |Added

 CC||simetrical+wikib...@gmail.c
   ||om

--- Comment #2 from Aryeh Gregor simetrical+wikib...@gmail.com 2010-08-08 
17:04:22 UTC ---
There's no index on ar_rev_id.  If this were added, the bug should be easy to
fix.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 23489] No way to get the page title of a deleted revision by its rev_id

2010-08-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=23489

Mike.lifeguard mike.lifegu...@gmail.com changed:

   What|Removed |Added

Summary|Know the page title and |No way to get the page
   |content of a deleted rev by |title of a deleted revision
   |its rev_id  |by its rev_id

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l