Page MenuHomePhabricator

Create message similar to anontalkpagetext, but on top of the page
Closed, DeclinedPublic

Description

Patch placing system message above content and fixing MessagesEn, but NOT all of the other messages.

Talk pages of anonymous users are quite confusing. With static IP addresses, there are many people who get messages which were not directed to them. Therefor I think the warning message should be on top of the page, rather than at the bottom where (especially on long pages) it isn't seen.
The attached patch moves the text above the content. However, in anontalkpagetext the horizontal line is at the beginning of the message (separating the content above and the message below). This needs to be changed, so that the line is after the system message. Each MessagesXX.php needs to be modified, perhaps someone can build a small script to do this.
Also included in the patch: Small change of content in MessagesEn, the user should ignore the comment if he feels it is irrelevant.


Version: unspecified
Severity: enhancement

Attached:

Details

Reference
bz17705

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:34 PM
bzimport set Reference to bz17705.
bzimport added a subscriber: Unknown Object (MLST).

It seems more sensible to add a separate message for the top, rather than to repurpose the existing one.

Bryan.TongMinh wrote:

Yes, create a new message for this.

rd232 wrote:

It's possible to move the message up using Javascript - compare http://commons.wikimedia.org/wiki/MediaWiki:Gadget-CategoryAboveAll.js. The message has ID 'anontalkpagetext'.

At the same time, you can use MediaWiki:Talkpageheader (http://www.mediawiki.org/wiki/Manual:Interface/Talkpageheader) with namespace detection to only show content on anon talkpages at the top of the page. (Check if {{NAMESPACENUMBER}} is 3 - see http://www.mediawiki.org/wiki/Help:Magic_words#Namespaces.)

Closing as WONTFIX on basis of this and previous comments.

Rd232, the previous comments did not recommend closing this bug, but reformulating it (which I have done just now).

"Fixing" a bad UI with Javascript is a bad solution!

There should be a message on top of the page, explaining what the page is. The current system is highly confusing, as for the reasons given above.

rd232 wrote:

(In reply to comment #4)

Rd232, the previous comments did not recommend closing this bug, but
reformulating it (which I have done just now).

"Fixing" a bad UI with Javascript is a bad solution!

There should be a message on top of the page, explaining what the page is.
The
current system is highly confusing, as for the reasons given above.

Apparently you missed my explanation that this is already possible using MediaWiki:Talkpageheader with namespace detection. (See also my current proposal at WP:VPR, which prompted me to search Bugzilla and find this old bug.)