Page MenuHomePhabricator

Add username parameter to block-related interface messages
Open, LowPublic

Description

The introductory texts of block-related special pages ([[MediaWiki:Blocklogtext]], [[MediaWiki:Ipblocklist-summary]], [[MediaWiki:Globalblocking-logpagetext]], [[MediaWiki:Globalblocking-list-intro]]) are typically used to refer to each other and external tools like the crosswiki blocklist, so that administrators can look up more information. It would save a lot of typing, if the messages had access to the username parameter when the list is filtered to a single user, so that the links can too include such filtering.

Note that some of these special pages expect the user name in the URL parameter to be in the form "User:Foo", while others use simply "Foo". The parameter passed to the interface message should be just "Foo" in both cases.

Details

Reference
bz17744

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:30 PM
bzimport set Reference to bz17744.
bzimport added a subscriber: Unknown Object (MLST).
Tgr created this task.Mar 1 2009, 10:49 PM

(In reply to comment #0)

when the list is filtered to a single
user

What do you mean by this, exactly? Just when the offset is used, or when limit=1 is also specified? Or when the prefix matches one single user?
It seems a bit tricky to change the summary of special pages depending on switches they contain below.

Tgr added a comment.Aug 9 2013, 6:36 PM

Just passing the search string to the messages (regardless of the number of search results) should be fine, I think.

(In reply to comment #2)

Just passing the search string to the messages (regardless of the number of
search results) should be fine, I think.

It's impossible to do it "regardless of the number", which username would you pass among all those in the block log?

Adding many blockers of bug 38638 to the list of "easy" bugs, to mark them as candidates for [[mw:Google Code-in]] tasks (gci2013). If you think this bug is not suitable, remove the keyword.

jrbs added a subscriber: jrbs.Oct 30 2015, 12:12 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 30 2015, 12:12 AM

I do not understand this task very well. What would a $user parameter do in https://meta.wikimedia.org/wiki/MediaWiki:Blocklogtext ?

MarcoAurelio updated the task description. (Show Details)Feb 6 2018, 7:29 PM
MarcoAurelio removed a subscriber: wikibugs-l-list.
Base added a subscriber: Base.Jul 18 2020, 12:43 AM

@Tgr , cannot you add a link to MediaWiki:Logentry-block-block to have that?