UESPWiki:Upgrade History/2018

30 November 2018
extensions/UespCustomCode/SiteCustomCode.php and SiteCustomCode_body.php: Added argument support to  .  &ndash;       06:48, 30 November 2018 (UTC)
Fixed a problem in onGetDefaultSortkey() that was breaking category pages and partially breaking image uploads. Some pages may need hard-refreshes or purges as a result of the back-and-forth.  &ndash;       22:19, 30 November 2018 (UTC)

27 November 2018
Fixed https support on blog.uesp.net (made primary site the HTTPS version). -- Daveh   18:33, 27 November 2018 (UTC)
Removed SSLv2 and SSLv3 support from content1/2/3 and files1. -- Daveh   18:33, 27 November 2018 (UTC)

24 November 2018
includes/MediaWiki.php (content3 only): Implemented most of these changes to eliminate some HTTP 301 errors with cron jobs in debug log file and perhaps also help with stuck jobs.  &ndash;       05:53, 24 November 2018 (UTC)

23 November 2018
includes/jobqueue/JobQueueDB.php (content3 only): Implemented this change to see if number of jobs getting stuck in job queue will be reduced.  &ndash;       22:05, 23 November 2018‎ (UTC)

10 November 2018
extensions/UespCustomCode/SiteCustomCode.php and SiteCustomCode_body.php: Commented out old implementation of DEFAULTSORT override and updated it to MW 1.19+ version. This restores    as the default sortkey, as it was prior to the update to MW 1.19 back in January 2013. Also running updateCollations.php as recommended here.  &ndash;       05:26, 10 November 2018 (UTC)

2 November 2018
Removed check from config/Permissions.php that prevented non-bots from accessing the API edits. This permits the mobile skin to perform edits. -- Daveh   17:44, 2 November 2018 (UTC)

26 October 2018
extensions/MetaTemplate/MetaTemplateCategoryPage.php: Reverted change of 16 January 2016 and now checking   to see if it's blank before returning plain title. The purpose of using   is to correctly default the   value to be equal to the visible text in a   (e.g., Tes3Mod-Tamriel Rebuilt-Quests). See Template categories error for details of the original issue behind the Jan 16 change. Testing :Category:Templates and :Category:Marked for Deletion now both appear to be correct.  &ndash;       00:22, 27 October 2018 (UTC)

17 October 2018
Added the  domain which serves a modified MobileFrontEnd display for use with the UESP app. Currently this is being soley served by content3 but will eventually be moved to squid1/content1/content2. -- Daveh   17:08, 17 October 2018 (UTC)
Fixed the prefix search on the mobile skin (namespaces needed to be manually specified). -- Daveh   17:08, 17 October 2018 (UTC)

16 October 2018
Installed Comodo intermediate SSL certificates from  on squid1. This fixes the issue that all HTTPS sites using squid1 had with a "broken SSL chain" or similar errors. -- Daveh   01:15, 17 October 2018 (UTC)

15 October 2018
Changed all explicit CSS and JS head entries into resource loader modules. -- Daveh   19:39, 15 October 2018 (UTC)
Explicitly made the server use "https" to fix an issue with Squid not caching the https verison of pages (due to default of http when ``$wgServer`` is not using a prefix). -- Daveh   20:46, 15 October 2018 (UTC) 

14 October 2018
config/CommonSettings.php: Set default thumbnail size to 200px ( ).  &ndash;       22:44, 14 October 2018 (UTC)

11 October 2018
Cleared all pages in the cache that had a TCP_NEGATIVE_HIT/500 in the logs (15k different pages, probably much less 'real' pages with the issue currently).  -- Daveh   23:41, 11 October 2018 (UTC)
Set negative_ttl to 0 on squid1 9was previously 1 second). -- Daveh   23:41, 11 October 2018 (UTC)
Added check for a null $title on line 151 of MetaTemplate.php which was causing 500 errors when loading articles that have invalid titles. Note that this may have been the/a root cause of the random error page issue happening lately. -- Daveh   23:57, 11 October 2018 (UTC)

8 October 2018
extensions/MetaTemplate/MetaTemplate_body.php: Added   to efMetaTemplateImplementLoad() and efMetaTemplateImplementTemplateName() on content3 only. Holding off on making same changes to live servers, as it seems they may no longer be needed. (Explanation: Templates like   or  , which often have no parameters in the template call, are supposed to be cached and thus return the same result throughout an entire page, even though they shouldn't. When I started testing, I discovered that this template caching no longer seems to be happening on any server, apparently eliminating the need to use setVolatile(). It's unclear why this is no longer happening, though.)  &ndash;       01:14, 8 October 2018 (UTC)

2 October 2018
extensions/UespCustomCode/SiteSpecialSearch.php: Tweaked layout per Dillon's suggestions. Removed all references to redirects, which were removed back in 1.23.  &ndash;       22:36, 2 October 2018 (UTC)

1 October 2018
extensions/UespCustomCode/SiteSpecialSearch.php: Added Blades namespace to search.  &ndash;       04:10, 2 October 2018 (UTC)

30 September 2018
Re-did changes from 15 and 17 September 2018.  &ndash;       03:58, 1 October 2018 (UTC)

28 September 2018
extensions/UespCustomCode/SiteCustomCode.php: Commented out   lines for both Search and Preferences.  &ndash;       21:49, 28 September 2018 (UTC)

17 September 2018
extensions/UespCustomCode/files/search-icon.png: Replaced with version from Dillonn241 which has better edge smoothing with the transparency.  &ndash;       16:09, 17 September 2018 (UTC)

15 September 2018
config/CommonSettings.php: Set   so transparency works. This was done previously after this discussion, but was converted back to a jpg at some point, perhaps inadvertently, as I can't find any further discussion about it.  &ndash;       00:34, 16 September 2018 (UTC)

4 August 2018
config/CommonSettings.php: Set  , paralleling Wikia to allow larger images to be handled correctly.  &ndash;       18:57, 4 August 2018 (UTC)

30 July 2018
config/Extensions.php: Set   and deleted related job queue entries, since it was clogging up the job queue with jobs that couldn't run. (Needs FFMPEG, I believe.)  &ndash;       06:39, 30 July 2018 (UTC)

29 July 2018
config/CommonSettings.php: Update ImageMagick conversion for SVG files to support transparency per this change. (Note: the added   line can be removed whenever we upgrade to a version that has the fix built-in.)  &ndash;       05:04, 29 July 2018 (UTC)

20 June 2018
Updated interwiki table so "en" actually points to "en" instead of "www". ;)
Also set iw_local for all three interwikis, so typing "pt:Skyrim:Skyrim" in the sidebar now brings you to PT.  &ndash;       07:17, 20 June 2018 (UTC)

18 June 2018
Reduced query cache size on db1/db2 to 500MB to test potential fix to random database lockups (may be due to query cache purging with large caches). See here and here. -- Daveh   13:01, 18 June 2018 (UTC)

11 June 2018
Gave bots   permission so HnB can add full protection to pages.  &ndash;       22:20, 11 June 2018 (UTC)
Added Blades/BL namespace.  &ndash;       06:04, 11 June 2018 (UTC)

4 June 2018
extensions/MobileFrontend/less/common/common.less, hacks.less: Commented out several lines that were causing formatting issues on Mobile (tagged each with RH70).  &ndash;       23:47, 4 June 2018 (UTC)

25 May 2018
UespCustomCode/SiteSpecialSearch.php: Backed out search term substitution of "eso" with "(eso OR Online)" from 10 April 2014 by removing entire custom showResults() function. It was now more of a nuisance than a benefit.  &ndash;       04:01, 25 May 2018 (UTC)

18 May 2018
extensions/MobileFrontend/less/modules/toggle.less: Commented out   which was causing sections to disappear entirely on mobile.  &ndash;       19:02, 18 May 2018 (UTC)

12 Apr 2018
CommonSettings.php: Set   to allow for large transclusions from a single template like .  &ndash;       23:44, 12 April 2018 (UTC)

25 Mar 2018
Changed wikis to use db1 as primary read database to prevent slave replication lag on db2 from causing issues. Will keep it like this will I diagnose and test the solution to reduce the replication lag. -- Daveh   01:36, 26 March 2018 (UTC)

12 Mar 2018
Updated all SSL certificates to a new multi-domain wildcard. This, in theory, should fix the issue with the *.m.uesp.net domains had with the prior SSL setup. -- Daveh   23:45, 12 March 2018 (UTC)

6 Mar 2018
Restarted Memcached on content1. -- Daveh   13:19, 6 March 2018 (UTC)

3 Mar 2018
Permissions.php: Reinstate   group changes from 13 July 2017.  &ndash;       01:48, 3 March 2018 (UTC)

16 Feb 2018
Temporarily set $wgMasterWaitTimeout = 6000; and changed the main read database to db1 on content1/2/3 due to high slave lag on db2 caused by a full disk. -- Daveh   16:05, 16 February 2018 (UTC)

26 Jan 2018
Fixed the mobile sites pt.m, it.m, and www.m to point to content2 instead of squid1 to fix serving of https pages. Squid doesn't handle multiple https certificates. -- Daveh   22:38, 26 January 2018 (UTC)

25 Jan 2018
Fixed directory permissions of a few thumbnail folders on files1. They should have the apache:uespadmin ownership. -- Daveh   15:26, 25 January 2018 (UTC)
Note on nobody:nobody file permission issue for NFS shares. Make sure the client hostname is first on the 127.0.0.1 line in /etc/hosts.conf.
::* Fix hosts.conf
::* nfsidmap -c
::* service rpcidmapd restart
::* umount /mnt/uesp/wikiimages
::* mount /mnt/uesp/wikiimages
:: -- Daveh   15:26, 25 January 2018 (UTC)