Page MenuHomePhabricator

Default MediaWiki:Globalblocking-ipblocked text shown on English Wikipedia instead of locally modified version
Closed, ResolvedPublic

Description

This only affects Wikipedia, if the display issue has not yet been resolved since then.

As the title states, anonymous or logged in users will occasionally get the default MediaWiki:Globalblocking-ipblocked in place of Wikipedia's modified version of that message, when an attempt to edit from a globally blocked IP address is made. This is because that the MediaWiki software is retrieving the default text from sister project Meta-Wiki (m:MediaWiki:Globalblocking-ipblocked), and the MediaWiki software is not set to display the modified version. The PHP files should be related.

Event Timeline

Which of the Wikipedias was this tested with? Where/how to see "that the MediaWiki software is retrieving the default text from sister project Meta-Wiki"? Please see https://mediawiki.org/wiki/How_to_report_a_bug and provide steps to reproduce. Thanks!

Which of the Wikipedias was this tested with? Where/how to see "that the MediaWiki software is retrieving the default text from sister project Meta-Wiki"?

Mainly 'enwiki' (the English Wikipedia). It has the modified text, but is being rerouted to the default: m:MediaWiki:Globalblocking-ipblocked. As I stated earlier, when the 'Edit' or 'Edit this page' tab is clicked, and the IP address is globally blocked, the "View source for ..." page loads, bypasses the custom MediaWiki:Globalblocking-ipblocked system message to have the /qqq switch and displays the text differently, which looks identical to the original text for MediaWiki:Blockedtext:

View source for <page>

You do not have permission to edit this page, for the following reason:

Your IP address has been blocked on all wikis. The block was made by <steward> (<wiki>). The reason given is <reason>.

  • Start of block: <block began on>
  • Expiration of block: <date or infinite>
  • Intended blockee: <IP>

You can contact <steward> or another administrator to discuss the block. You cannot use the "Email this user" feature unless a valid email address is specified in your account preferences and you have not been blocked from using it. Your current IP address is <IP>. Please include all above details in any queries you make.

Also, it's technically not possible to request a global unblock via m:Steward requests/Global since the globally blocked IP address cannot edit on all Wikimedia wikis, including Meta-Wiki.

Thanks for clarifying. That sounds like the default text is displayed, and no text from Meta-Wiki is pulled here.

Aklapper renamed this task from Default MediaWiki:Globalblocking-ipblocked being shown on Wikipedia instead of modified version to Default MediaWiki:Globalblocking-ipblocked text shown on English Wikipedia instead of locally modified version.Sep 9 2018, 7:15 AM
taavi subscribed.

I believe (but am not 100% sure) that this is a weird side-effect of the message override logic in WikimediaMessages. You should be able to specify that message in https://en.wikipedia.org/wiki/MediaWiki:Wikimedia-globalblocking-ipblocked (note the Wikimedia- prefix).

JJMC89 claimed this task.