https://bugzilla.wikimedia.org/show_bug.cgi?id=25754
Summary: Populate rc_cur_id aswell on upload event
Product: MediaWiki
Version: 1.17-svn
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Normal
Component: Uploading
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Currently the rc_cur_id is not being populated, nor is there a old_id filled.
This makes it impossible tricky to properly work with uploads. On the
toolserver and in extensions, listing recent uploads is complicated as the file
could've been renamed in the mean time and the redirect deleted.
In order to build a working link from the recent changes with normal edits I
use rc_cur_id and the link-format <a href="/w/index.php?curid=
(rc_cur_id)">(namespaces[rc_namespace]) . rc_title</a>
But with uploads this fails. A join to the page table is posible to retrieve
the page id but that's a bit expensive to just get an id.
And if the redirect is deleted it's no longer in the page table either and the
entry in the recentchangges table is basically a ghost. And no other working
entry for that upload action is to be found.
--
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l