Last modified: 2013-04-19 20:01:56 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 T19705, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17705 - Create message similar to anontalkpagetext, but on top of the page
Create message similar to anontalkpagetext, but on top of the page
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-reviewed
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-02-27 15:47 UTC by Church of emacs
Modified: 2013-04-19 20:01 UTC (History)
4 users (show)

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


Attachments
Patch placing system message above content and fixing MessagesEn, but NOT all of the other messages. (2.83 KB, patch)
2009-02-27 15:47 UTC, Church of emacs
Details

Description Church of emacs 2009-02-27 15:47:07 UTC
Created attachment 5869 [details]
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.
Comment 1 Andrew Garrett 2009-03-04 05:20:14 UTC
It seems more sensible to add a separate message for the top, rather than to repurpose the existing one.
Comment 2 Bryan Tong Minh 2009-11-12 22:30:18 UTC
Yes, create a new message for this.
Comment 3 Rd232 2013-04-19 11:32:37 UTC
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.
Comment 4 Church of emacs 2013-04-19 12:02:19 UTC
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.
Comment 5 Rd232 2013-04-19 20:01:56 UTC
(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.)

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


Navigation
Links