This file contains a list of changes that affect someone upgrading or
considering whether to upgrade the skin, and any other significant externally
visible changes.

20251003 (3 October 2025) [VERSION 1.7.0]
* Updated for compatibility with MediaWiki 1.44.
* Otherwise updated the file structure, in particular moving READMEs and help
  articles to the root directory, and placing all installable files under the
  new to-upload-to-your-mediawiki-directory/ directory.

Between 23 December 2017 and 3 October 2025, the skin was regularly updated on
clc-wiki.net so as to maintain compatibility with the latest version of
MediaWiki on each upgrade, but none of those updates were publicly released,
simply because it didn't seem worth the effort given that nobody else seemed to
be using the skin. I finally decided to remedy that situation.

20171223 (23 December 2017) [VERSION 1.6.8]
* Updated for compatibility with MediaWiki 1.29.2 and 1.30.
* Removed the small grey/green LED which hid a drop-down menu for logging in,
  creating accounts, as well as for the user links when logged in. These links
  are now displayed across the top of the page, as they originally were in the
  Monobook skin on which this skin is based. This was requested and is much
  more user-friendly.

20141129 (29 November 2014) [VERSION 1.6.7 beta]
* Updated for compatibility with MediaWiki 1.24.0. Note that skins/treeview has
  become skins/Treeview, and that Treeview.php is now located at
  skins/Treeview/Treeview.php rather than skins/Treeview.php as originally.

20140203 (3 February 2014) [VERSION 1.6.6 beta]
* Fixed a major IE 7 display glitch.
* Fixed a few minor bugs in the generation of treeview node links.
* Added a "showpages" parameter to CATEGORY directives.
* Fixed a bug with CATEGORY directives whereby if the top-level category had no
  content (had not been edited) then sub-categories would not be shown in the
  tree.

20120814 (14 August 2012) [VERSION 1.6.5 beta]
* Capitalised the 'Treeview' key as current versions of MediaWiki seem to
  auto-capitalise articles in the MediaWiki namespace.
* Added a few checks for whether keys are set to avoid E_STRICT warnings.
* Corrected the code so that node images (if defined) are once again output.

20120703 (3 July 2012) [VERSION 1.6.4 beta]
* Upgraded the skin for compatibility with MediaWiki 1.19.* and 1.18.*.
* Added a rel="nofollow" attribute to links in the treeview to stop search
  engines (esp. Google) from retrieving the page's content many times -
  once for each permutation of expanded and collapsed nodes (passed in the
  URL's query parameters).
* Made various other minor fixes.

20110907 (7 September 2011) [VERSION 1.6.3 beta]
* Fixed a bug with image uploads (a method name changed in newer versions of
  MediaWiki).
* Added static declarations as appropriate to avoid E_STRICT warnings about
  non-static methods being called statically.

20110607 (7 June 2011) [VERSION 1.6.2 beta]
* Fixed a fatal bug with the wrong declaration of the argument to initPage() in
  Treeview.php.
* Added static declarations as appropriate to avoid E_STRICT warnings about
  non-static methods being called statically.

20101030 (30 October 2010) [VERSION 1.6.1 beta]
* Fixed a fatal bug: parameter one of wfHierarchy_SkinTemplateTabsHook() should
  not have had a preceding ampersand; this caused the skin to break on
  MW 1.16.0.

20100929 (29 September 2010) [VERSION 1.6 beta]
* Fixed a few small bugs.
* Made some changes for compatibility with the latest stable MediaWiki version
  (1.16.0).

20100316 (16 March 2010) [VERSION 1.5 beta]
* Fixed display glitches on both Internet Explorer 8 and Google Chrome.
* Made some changes for compatibility with the latest stable MediaWiki versions
  (1.15.x).


20080922 (22 September 2008) [VERSION 1.4 beta]
* Added the "showtitle" and "showthis" parameters to the <treeview> tag.
* Added conditional styling for IE7.
* Bug-fix: when $wgCapitalLinks was true, the treeview page actions wouldn't
  run, even when the page was correct.
* Bug-fix: when a category followed an import at the same level, only the top
  level of the category would be shown.
* Bug-fix: the tree did not recognise when content was added to a previously
  empty sub-category: it remained red and its link always brought you to
  the edit page.

20070506 (6 May 2007) [VERSION 1.3 beta]
* Added support for the <treeview> tag.
* Bug-fix: converted the 'Treeview', 'Treeview.css' and 'Treeview.js' messages
  to lower-case-first-letter due to new Mediawiki 1.9 requirements.
  NB NB NB!!  This means that if you have edited the default configuration page
  at 'Mediawiki:Treeview' then you need to move it to 'Mediawiki:treeview'.

20070328 (28 March 2007) [VERSION 1.2 beta]
* Bug-fix: load-on-demand was failing for nodes using extended character-sets
  such as Cyrillic.

20070322 (22 March 2007) [VERSION 1.1 beta]
* Bug-fix: nodes were unsorted when setting the 'merge' attribute to 'sort'.
* Bug-fix: the edit box formatting buttons were not being shown.
* Bug-fix: the css include files for Opera and KHTML were not being included.

20070201 (1st February 2007) [VERSION 1.0 beta]
Made available the first beta that adds:
* The CATEGORY directive to allow for a category hierarchy in the treeview.

20060821 (21st August 2006) [VERSION 0.1 alpha 4]
Made available this fourth alpha pre-release that adds:
* Actions to view configuration parse diagnostics, view the treeview's cache
  status and to rebuild the treeview in cache.  These are accessible through
  tabs on the page action menu when viewing the hierarchy configuration page
  (for MediaWiki version >= 1.6.x) and through Special:Hierarchy, to those who
  hold the associated rights 'parsetreeview', 'treeviewcachestatus' and
  'rebuildtreeview', as described against $wgGroupPermissions under "Variables
  and settings" in README.Treeview.
* Treeview configuration syntax changes:
  New conditions: always, never, ifnodeidmatches, ifnotnodeidmatches,
   iftitlematches, ifnottitlematches, ifurlextramatches, ifnoturlextramatches,
   ifurlcontainsextra, ifnoturlcontainsextra, ifurlquerycontains,
   ifnoturlquerycontains.
  New parameter: selected, which specifies the conditions under which a
   node is determined to be "currently selected" in the treeview.
  Deleted parameter: nohighlight, which is replaced by selected(never).
  Enhanced parameters: the <right> string of ifhasright and ifnothasright now
   has variable replacements performed on it and is optionally quotable.
  [documentation in help-articles/Help.Treeview_skin.Syntax.wiki]
* Dutch translations courtesy Birger.
* A new wiki-formatted help page for the Treeview skin as a whole, for import
  as "Help:Treeview_skin": skins/treeview/help-articles/Help.Treeview_skin.
* A new restriction to ensure treeview cache-consistency: per-user translations
  are disabled when a cache manager is enabled (described under "Limitations" in
  README.Treeview).
* Fixes for two bugs in the treeview configuration parser, based around PRUNE
  directives, especially when child NODEs were present.  Symptoms were that
  imported child nodes did not appear and/or that the specified sub-context(s)
  was displayed as a full-title red-link.
* Fixes for two javascript bugs that:
  1. Caused edit-links to non-existent pages uncovered by an expand-on-demand
     load to be coloured blue instead of red when displayed in Internet
     Explorer 6.0 (and other versions?).
  2. Caused the synchronisation option to remain unset when the cookie
     persisting it was set to an invalid value (due to upgraded code).
* A fix for the broken iftalkpageexists_predir and ifnottalkpageexists_predir
  conditions.
* Adjustments to avoid warnings when PHP is run with error level E_NOTICE
  (other warnings may be lurking).
* A fix for Internet Explorer 6.0 (and other versions?) so that the invisible
  right-justified question-mark image (linking to the treeview help page) in the
  treeview menu-bar appears again.
* Changes to the default treeview configuration so that:
  * "This article"->"Edit article" is selected in situations where there
     is a preload= parameter as well as the expected action=edit parameter.
  * "This article"->"Purge cache" and "This article"->"Discussion"->"Purge
     cache" instead read "Purge cache (primary)" when viewing an alias
     (redirect).
* Various other small fixes/improvements.

20060804 (4th August 2006) [VERSION 0.1 alpha 3]
Made available this third alpha pre-release that adds:
* Treeview display improvements when viewed using Internet Explorer 6.0:
  scrollbars are now avoided and overlength node text now wraps, indented,
  rather than being fixed to a single line.  The essence of this solution was
  CSS contributed by Birger.
* A fix to prevent ill-formed XML and the appearance of a load-on-demand
  diagnostic, by escaping html characters in the tooltip title text.

20060718 (18th July 2006) [VERSION 0.1 alpha 2]
Made available this second alpha pre-release that provides:
* fixes for some configuration page parsing problems.

20060716 (16th July 2006) [VERSION 0.1 alpha]
Briefly made available this first alpha pre-release.  The main addition over
the changeset of the preceding day was:
* compatibility with MediaWiki 1.7.1.

20060715 (15th July 2006) A commit to CVS of a large changeset adds (this is
 partly a shared commit message and lists some internal changes):
* a new syntax supporting:
 + sorting and merging through the "BLOCK" directive and the "merge" parameter
 + a new "GRAFT" directive as a shortcut for NODE-IMPORT pairs
 + a new tooltip parameter
 + messagekey-replacability for specifiers (i.e. node links or ranges) and
   tooltips
* the missing cache invalidations, supported by a couple of patches.
* i18n - all translatable messages are now in Hierarchy/languages/en.php
* automatic generation of nodeids; there's a new optional DB table to support
  consistency of ids across rebuilds.
* a default Treeview configuration in en.php, so there's no need for a separate
  manually imported file
* misc bugfixes, most of which duplicate those on the branch LIVE_BUGFIX_1
* wiki-format syntax documentation in Help.Treeview_skin.Syntax.wiki as split
  out of the default config and updated; intended for import as
  [[Help:Treeview skin:Syntax]]
* a directory, skins/treeview/help-articles/, containing the above file and the
  relocated Help.Treeview_skin.Treeview.wiki.
* a lot of $camelCase conversions for consistent variable naming
* updates to README.Treeview including some relocated Treeview.php comments
* javascript niceties including: re-try on collapse-then-re-expand if a
  load-on-demand error occurs, diagnostics with a full resync (of treeview-only)
  option when nodes or branches disappear from the server (presumably because
  of article deletion or Treeview config change subsequent to page load).
* detection of redirects in the TVState object and several new conditions
  and variable substitutions that use this: ifredirected,
  ifpreredirectisarticlepage, ifpreredirectistalkpage (and negations);
  {{PREDIR_ARTICLEPAGENAME}}, {{PREDIR_TALKPAGENAME}}, {{PREDIR_FULLPAGENAME}}
* all existing substitution variables renamed for compatibility with
  MediaWiki's naming scheme for similar variables in pages.
* split out a UtilityFunctions.php file for misc string/array/MediaWiki helpers.

Changes earlier than 15th July 2006 are undocumented here.  Coding began in
April 2006.
