Page MenuHomePhabricator

[Story] Use rc_source and drop RC_TYPE
Closed, DeclinedPublic

Description

We should be able to switch to rc_source now that the schema change is complete and populated. Mostly this means changing queries in core and throughout mediawiki to use the rc_source column instead of rc_type when querying the recentchanges table and marking the appropriate things deprecated.

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:44 AM
bzimport set Reference to bz72157.
bzimport added a subscriber: Unknown Object (MLST).
EBernhardson updated the task description. (Show Details)
EBernhardson set Security to None.

Not sure which team this belongs to anymore, but it is not in any way collaboration specific. What happened is we wanted to use the existing rc_type field and various people on wikitech said that was a bad idea because it was based on numbers instead of strings. I added a string field to the database and started populating it, but we have never gone around to actually change the queries to use this string field.

aude added subscribers: Aklapper, aude, Lydia_Pintscher.

I think dropping RC_TYPE would be a follow up task.

sadly, while Wikibase populates rc_source, we don't use it yet in a meaningful way and think places like ChangesList also still need to be adapted to use rc_source (e.g. the various filters)

aude renamed this task from Use rc_source and drop RC_TYPE to [Story] Use rc_source and drop RC_TYPE.Aug 13 2015, 1:56 PM
aude raised the priority of this task from Lowest to Medium.
aude added a project: Wikidata.

adding Wikidata to this and raising priority, as it is important for us improving watchlist integration. Marked as a "Story" as I imagine this needs to be broken into sub tasks.

Change 415902 had a related patch set uploaded (by Ladsgroup; owner: Amir Sarabadani):
[mediawiki/extensions/Wikibase@master] Use original recent change type when injecting it to the client

https://gerrit.wikimedia.org/r/415902

Is it still valid in that sense that you want to drop rc_type? This has been used everywhere.

Addshore subscribed.

I see no clear product / user facing impact that this change will have right now.
It looks like this was originally created as a flow ticket (looking at the trello link), but also covers wikidata / wikibase.
Closing for now due to the vagueness etc.
We may do something on this area in the future if something needs or something else happens (like rc_type being dropped?)

Change 415902 abandoned by Addshore:

[mediawiki/extensions/Wikibase@master] Use original recent change type when injecting it to the client

Reason:

Abandoning, this code I think is being touched again by Ladsgroup right now, feel free to reopen if you want this patch!

https://gerrit.wikimedia.org/r/415902