Page MenuHomePhabricator

Allow searching also by new/target name on moving log page
Open, LowPublicFeature


Now our moving log only searchs the moving action by the source page's name, but we can't searchs the action by the target page's name.

Though we can check out the moving action in the page history or find the redirection which was the source page's name by some tools,we can't find the redirection which is deleted,or it's too hard to find it from a huge page's history.

So I suggest that we need to change the data structure of the moveing logging entity to make that we can search the page moving logging record by the target page's name too.

Version: 1.23.0
Severity: enhancement
See Also:

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:22 AM
bzimport set Reference to bz64184.
bzimport added a subscriber: Unknown Object (MLST).

Thanks for taking the time to report this!

I'm wondering if this is the same request as in bug 12984?

(In reply to Andre Klapper from comment #1)

Thanks for taking the time to report this!

I'm wondering if this is the same request as in bug 12984?

It looks like this but it's not the same.

Maybe we can make the logging list's interface can been changed when selecting the log type which it looks like the Extension:ApiSandbox.

Liangent said that For now’s data structure,Only Insert two moving log entity which one's log_title is the source page's name and the other's log_title is the target page's name.Or Query it in the database firsthand.

Would provide a useful page name history.

I mean, not altering the logs, providing a special page which would display all previous title of a given page would be sufficient.

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:13 AM

Change 762102 had a related patch set uploaded (by TTO; author: TTO):

[mediawiki/core@master] Allow searching the move log by destination title

TTO added a subscriber: TTO.

This task looks set to come in 10th in the Community-Wishlist-Survey-2022 ; it didn't look particularly difficult to code up, so I thought I'd have a crack.

My patch adds the move's destination title to the DB's log_search table for new moves. There is also a maintenance script to backfill this data for old move log entries so that they too can be searched.

To search for log entries regarding a page being moved to title X, you have to go specifically to the move log (as opposed to "all public logs") and enter X in a new text field which is provided for this purpose. That's not a great UX - as a user, I would expect that simply searching Special:Log for target X would return all log entries where X was either the origin or the destination of a move. However, that's not very easy to implement, and is also not what this task is asking for, so I suggest we use T152829 to track that additional enhancement.