Page MenuHomePhabricator

Unique Identifier on [[MediaWiki:Readonlytext]] and WMF Error.html
Closed, DeclinedPublic

Description

Is it possible to get a unique identifier rolled out on [[MediaWiki:Readonlytext]], and one on the WMF Error page (http://svn.wikimedia.org/viewvc/mediawiki/trunk/debs/squid/debian/errors/error.html?view=markup)

Much like the "<DIV id=spamprotected>" that was added to the spam notification page...

Thanks


Version: 1.13.x
Severity: enhancement

Details

Reference
bz14791

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 10:12 PM
bzimport set Reference to bz14791.

Added one for Mediawiki in r40761. Still need the WMF one done.

Hmm, this might need to be updated separately for squids and the patched PHP error display.

Tim, can you check out what the current procedure for updating these error pages is?

  • where to update in SVN
  • if packages need to be updated/rebuilt
  • if packages need to be upgraded/reinstalled

https://wikitech.leuksman.com/view/Squid_error_pages has some old notes for squid, but isn't too clear on how one actually goes about rebuilding the packages. :)

Updating the squid error pages is bizarrely complicated and error prone. You have to update the squid-common package. This means you have to change the release number, but the squid binary package depends on the exact squid-common release, so you have to upgrade that too. So you have to recompile it on a suitable x86_64 server, update the package in APT, then upgrade every squid server. Upgrading will restart the squid daemon, so it needs to be done progressively unless you want the whole site to go down. Experience has shown that it's quite easy to accidentally take down the whole site during such an operation, due to a reduction in performance and cache hit ratio post-restart, leading to a backend overload.

Changing the PHP error messages is thankfully much easier, and I have documented it at https://wikitech.leuksman.com/view/PHP_error_pages.

Closing as wontfix

No need for this for AWB (original purpose)