Last modified: 2014-03-26 13:48:13 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T31324, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29324 - Provide a means to annotate a user's block log
Provide a means to annotate a user's block log
Status: NEW
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 63102 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-06-09 11:19 UTC by Rd232
Modified: 2014-03-26 13:48 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Rd232 2011-06-09 11:19:02 UTC
Users with long or complex blog logs may unjustly have this held against them, as the context for entries is limited, and adding additional 1-second blocks to provide comments is highly unsatisfactory. 

It should be possible to provide a per-user annotation/discussion page for a user's block log. The page would probably be protected in practice (for only admins to edit), but that's not necessary in software. 

By way of explanation, I did try adding some code https://secure.wikimedia.org/wikipedia/en/w/index.php?title=MediaWiki%3ABlockiptext&action=historysubmit&diff=433164642&oldid=400233851 to MediaWiki:Blockiptext, which would have done the job; but this fell down on not getting the SUBPAGENAME in order to know which page to load. Possibly there is a simple solution which would make the user's name available in that situation.

There was discussion https://secure.wikimedia.org/wikipedia/en/w/index.php?title=Wikipedia:Village_pump_%28idea_lab%29&oldid=433348619#Block_log_annotation about implementing in JavaScript, but that's not ideal.
Comment 1 Bawolff (Brian Wolff) 2011-06-09 18:48:46 UTC
lol, judgmental Wikipedians :P

{{SUBPAGENAME}} probably didn't work because the special namespace doesn't have proper subpages. Try {{#titleparts:{{PAGENAME}}|1 |2}} instead. (Which will only work if the user is specified using subpage syntax, instead of url param syntax, but that's true most of the time)


Just curious why are you trying to put this on the block a user page, instead of the block log?
Comment 2 Rd232 2011-06-09 21:35:11 UTC
Thanks, it works! I was trying to put it on the "Block a user" page because (a) that's where it's most needed and (b) where I thought I could do it without a software change. It would be good to load the same page from the user's block log though. Maybe that can be done in Javascript?
Comment 3 Bawolff (Brian Wolff) 2011-06-09 22:07:58 UTC
It can't be done currently just by editing system messages (Since you can't tell what the target is from [[mediawiki:Blocklogtext]].) I suppose that message could be changed to accept $1 and $2 as target and user parameters to the log page. Not sure if that's the greatest approach

It could be done with Javascript (While anything could be done in js if you wanted.). This is generally the type of thing people prefer not to be done on the client side though (not that that has ever stopped anyone before).
Comment 4 Rd232 2011-06-18 05:06:20 UTC
"I suppose that message could be changed to accept $1 and $2 as target and user parameters to the log page. Not sure if that's the greatest approach" - that would seem a reasonably simple solution. What's the downside?
Comment 5 Andre Klapper 2014-03-26 13:48:13 UTC
*** Bug 63102 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links