User:Daveh/Custom Changes

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

Deals with custom changes to the MediaWiki code and how to eliminate them.

Modified Files[edit]

  • includes/PatrolLog.php
  • Custom patch to fix a patroller bug in 1.19. Not required in +1.20.
  • skins/MonoBook.php
  • Code for Google ads and statistics as well as sidebar indentation. Note that it won't be easy to extract the custom changes from this file. While it could theoretically be done in JavaScript after page load it probably would be better to use a custom skin based off of MonoBook or Vector with the necessary customizations.
  • extensions/Gadgets/Gadgets_body.php
  • One line fix for issue with memcached (change true for false in return value for Gadget::isValidList(). See the 37228 MediaWiki Bug Report.
  • maintenance/backup_uesp.inc
  • New file with two changes to use the MySQL database index of 1 (content3) instead of DB_SLAVE
  • maintenance/dumpBackup_uesp.php
  • Only modified to include backup_uesp.inc

Fixed Files[edit]

The following files previously were customized but changes have been moved elsewhere:

  • skins/monobook/main.css
  • includes/specials/SpecialSearch.php
  • Custom changes for SearchLog moved into that extension.
  • includes/OutputPage.php
  • Moved to UespCustomCode and an external file (/w/extensions/UespCustomCode/modules/uesp.js).