Page MenuHomePhabricator

Show anontalkpagetext message on user IP talk pages that do not exist
Open, LowPublicFeature

Description

Author: ais523

Description:
There is a message [[MediaWiki:Anontalkpagetext]] which displays at the bottom of the talk page for IP users, as long as it exists. This message is used on enwiki and Meta, at least, to give links useful for people investigating the IP. However, on redlinked IP talk pages, [[MediaWiki:Newarticletext]] is displayed (at least in the most usual case where someone's clicked on a redlink to that IP talk page). It would be useful if it were possible to get the same links on such pages, but at present it's impossible for coding in the interface message to tell an IP's talk page from a registered user's talk page (although enwiki currently uses a heuristic involving #expr that often works in its anontalkpagetext). So this is a request for a new message, such as [[MediaWiki:Newanontalkpagetext]], which displays on the editing screen for anon's talk pages after clicking on a redlink (probably displaying it in addition to newarticletext would cause the least breaking of current messages).

QA steps

Theanontalkpagetext message used on https://en.wikipedia.org/wiki/User_talk:194.221.133.226?uselang=qqx should be identical to https://en.wikipedia.org/wiki/User_talk:194.221.133.324?uselang=qqx where the latter page does not exist.

Details

Reference
bz9128

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, 9:41 PM
bzimport set Reference to bz9128.
bzimport added a subscriber: Unknown Object (MLST).

ais523 wrote:

*** Bug 9397 has been marked as a duplicate of this bug. ***

The message in core is:

"newarticletext": "You have followed a link to a page that does not exist yet.\nTo create the page, start typing in the box below (see the [$1 help page] for more info).\nIf you are here by mistake, click your browser's <strong>back</strong> button.",

I don't really see a need to split it from a i18n perspective. As for configuration, in 1.14 https://www.mediawiki.org/wiki/Help:Edit_notice was added; we have MediaWiki:Editnotice-3 which *almost* does this (I suppose one can't have wildcards there)

Not a matter of tone, merely of correctness.

Jdlrobson renamed this task from Split newarticletext to a separate message shown on empty IP talk pages to Show anontalkpagetext message on user IP talk pages that do not exist.Jan 13 2021, 8:04 PM
Jdlrobson added a project: Talk Pages.
Jdlrobson updated the task description. (Show Details)
Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:01 AM
Aklapper removed a subscriber: wikibugs-l-list.
Tacsipacsi added a project: DiscussionTools.
Tacsipacsi subscribed.

In the past 15 years, things have somewhat changed:

  • We now have Lua, so we can just write a module that determines using a Lua pattern whether a page belongs to an IPv4/IPv6 address.
  • But we also have DiscussionTools, which takes over empty talk pages, and there’s no MediaWiki message appearing below the empty talk page experience, so there’s no MediaWiki message that could call that Lua module to create the same experience on redlinked talk pages.