Difference between revisions of "WikiDB"

From TestWiki
Jump to: navigation, search
(News: Change version number, as I immediately found another bug that needed fixing!)
m (Fix redirect)
(14 intermediate revisions by the same user not shown)
Line 14: Line 14:
 
<span style="font-size: 0.8em;">[[/Installation/|Installation instructions]] &bull; [[/CHANGELOG/|CHANGELOG]] &bull; [[:Image:WikiDB.zip|Older versions]]</span>
 
<span style="font-size: 0.8em;">[[/Installation/|Installation instructions]] &bull; [[/CHANGELOG/|CHANGELOG]] &bull; [[:Image:WikiDB.zip|Older versions]]</span>
  
=== v4 (r971) released. ===
+
=== v5.0.4 released ===
  
This update fixes some issues with the way field variables were handled in custom &lt;repeat&gt; tagsThanks to [[User:Okino]] for the bug report and detailed test-case which helped diagnose/test the problem.
+
WikiDB v5.0.4 is a compatibility release, to fix some issues introduced by MediaWiki 1.36There are no changes that will affect users of MediaWiki 1.35 or below.
  
--[[User:HappyDog|HappyDog]] 23:03, 21 April 2015 (UTC)
+
-- [[User:HappyDog|HappyDog]] ([[User talk:HappyDog|talk]]) 17:52, 17 July 2021 (BST)
  
=== v4 (r937) released. ===
+
=== v5.0.3 released ===
  
WikiDB now supports PostgreSQL! It also now runs correctly on MediaWiki 1.23.  As ever, see the [[WikiDB/CHANGELOG#r937|CHANGELOG]] for full details.
+
WikiDB v5.0.3 has just released, which fixes a number of long-standing issues that affect more recent MediaWiki versions. It is anticipated that the extension will now work on all MediaWiki versions up to 1.35, but please [[/Bugs|let me know]] if you encounter anything I've missed.  There are no new features introduced in this release.
  
--[[User:HappyDog|HappyDog]] 21:17, 8 December 2014 (UTC)
+
See the [[/CHANGELOG#5.0.3|release notes]] for full details.
  
=== v4 (r906) released! ===
+
-- [[User:HappyDog|HappyDog]] ([[User talk:HappyDog|talk]]) 00:38, 8 April 2021 (BST)
  
I have just released v4 (r906) of WikiDB. This includes a massive rewrite of the internal code to improve parsing, and to allow you to use the WikiDB features within templates. This massively increases WikiDB's potential, and fixes nearly all reported bugs!
+
=== v5.0.0 released ===
  
I have also added tentative SQLite support, <s>and even-more-tentative PostgreSQL support</s>.
+
I am pleased to announce the release of WikiDB v5.0.0.  This is the first release to use the new [[/Versioning|versioning scheme]].
  
To make use of these enhancements, I now recommend a minimum MediaWiki version of 1.16. Older versions will continue to work but most of the new features are unsupported.
+
See the [[/CHANGELOG#5.0.0|release notes]] for full details.
  
For the full list of changes in this release, please see the [[/CHANGELOG#906|CHANGELOG]].
+
One major change is that this release drops support for MediaWiki < 1.16.  I have always striven to maximise the compatibility of my extensions, and up until now WikiDB has proudly supported all MediaWiki versions back to v1.7.  However, some of the features of WikiDB have been impossible to support in older MediaWiki versions, so for some time now there has been a minimum requirement of MediaWiki 1.16 in order to experience the full set of features that WikiDB provides.
  
All feedback (good or bad) is, as ever, greatly appreciated!
+
As I continue to add features to the extension, I am increasingly finding that there are things which are not possible without the parser rewrite that came in MediaWiki 1.16.  Therefore, rather than spending my energies trying to wring as much functionality as possible out of these older versions, I decided to raise my minimum version requirement for the extension to 1.16 and above.
  
-- [[User:HappyDog|HappyDog]] 20:06, 2 November 2014 (UTC)
+
This is a very conservative step - MediaWiki 1.16 was released in 2010 and is no longer officially supported.  However, as yet, I have not encountered any features that I need for WikiDB which are not supported by this version of MediaWiki, and therefore I see no reason to raise the bar any higher at this time.
 +
 
 +
If there are any users of MediaWiki < 1.16 who are unable to upgrade, the [[/Legacy versions|older versions of WikiDB]] remain available.
 +
 
 +
Thank you for your understanding and support.
 +
 
 +
--[[User:HappyDog|HappyDog]] ([[User talk:HappyDog|talk]]) 20:57, 30 March 2019 (GMT)
  
 
== Documentation ==
 
== Documentation ==
Line 48: Line 54:
 
** '''[[/Installation/]] - Everything you need to know to get the extension working.'''
 
** '''[[/Installation/]] - Everything you need to know to get the extension working.'''
 
** [[/Versioning/]] - What the version numbers mean.
 
** [[/Versioning/]] - What the version numbers mean.
** [[/License/|License]] - CC-BY-SA 2.0
+
** [[/License/|License]] - CC BY-SA 2.0 UK
 
* '''Using WikiDB:'''
 
* '''Using WikiDB:'''
 +
** [[/Defining data/]]
 +
** [[/Defining tables/]]
 +
** [[/Querying data/]]
 +
* '''Reference:'''
 
** [[/Syntax/]] - Current syntax for all elements of the extension.
 
** [[/Syntax/]] - Current syntax for all elements of the extension.
 
** [[/Data types/]] - A list of currently supported data types.
 
** [[/Data types/]] - A list of currently supported data types.
Line 60: Line 70:
 
** [[/Bugs/|Bugs]] - Please report any bugs here.
 
** [[/Bugs/|Bugs]] - Please report any bugs here.
 
** [[/Feature requests/]] - Add any suggestions for new features to this page.
 
** [[/Feature requests/]] - Add any suggestions for new features to this page.
** [[/ToDo/|ToDo List]] - My list of planned features, and general (non-bug) issues that need fixing.
+
** [[/Roadmap|Roadmap]] - My list of planned features, and general (non-bug) issues that need fixing.
 
* '''[[/Index/]]'''
 
* '''[[/Index/]]'''
 
<br clear="right">
 
<br clear="right">
  
 
== Technical Info ==
 
== Technical Info ==
* [[/Tables/]] - Details about the new tables that are required by the extension.
+
 
* [[/Files/]] - Listings of all the files required by the extension.
+
* [[/Unit testing/]] - Information about the unit tests included in the extension, including how to run them on your own wiki.
 +
* [[/Tables/]] - Details about the database tables that will be created by the extension.
  
 
__NOTOC__
 
__NOTOC__

Revision as of 18:24, 9 August 2021

This extension is currently installed on this wiki. Feel free to experiment with it!
WikiDB icon.png

WikiDB is a MediaWiki extension which can be used to add database functionality to your wiki. Its core principal is to do this whilst still following a wiki-like workflow for creating and managing data. Data is therefore defined in-page via the standard editing process and, just as you can create links to pages that don't exist, you can put data into a table that doesn't exist, and you are able to display and query that data without requiring any formal structure to be defined.

By creating a table definition, however, you get to force fields to a certain data-type, define fields as aliases of each other (e.g. if different articles use a different name to refer to the same field) and easily flag up unexpected fields that may have been added in error. Changing the field definition instantly updates all data output on the wiki, however the original data is left unmodified. This means that schema changes will never result in data being lost or corrupted.

Because WikiDB allows you to define data on any page, the data can be located directly within the article it relates to. It is therefore easy to find, and there is no problem ensuring it stays up-to-date as the article changes. By default, WikiDB hides the raw data at the point that it is defined, on the assumption that you will output it in aggregated form elsewhere. However you also have the option of outputting it in a standard tabular form or to pass the fields as parameters to a template for in-line display (so if your wiki makes extensive use of infoboxes, it will be easy to update it so this data goes into a table as well).

For more information, see the documentation, below.

News

Download WikiDB Here!
Installation instructionsCHANGELOGOlder versions

v5.0.4 released

WikiDB v5.0.4 is a compatibility release, to fix some issues introduced by MediaWiki 1.36. There are no changes that will affect users of MediaWiki 1.35 or below.

-- HappyDog (talk) 17:52, 17 July 2021 (BST)

v5.0.3 released

WikiDB v5.0.3 has just released, which fixes a number of long-standing issues that affect more recent MediaWiki versions. It is anticipated that the extension will now work on all MediaWiki versions up to 1.35, but please let me know if you encounter anything I've missed. There are no new features introduced in this release.

See the release notes for full details.

-- HappyDog (talk) 00:38, 8 April 2021 (BST)

v5.0.0 released

I am pleased to announce the release of WikiDB v5.0.0. This is the first release to use the new versioning scheme.

See the release notes for full details.

One major change is that this release drops support for MediaWiki < 1.16. I have always striven to maximise the compatibility of my extensions, and up until now WikiDB has proudly supported all MediaWiki versions back to v1.7. However, some of the features of WikiDB have been impossible to support in older MediaWiki versions, so for some time now there has been a minimum requirement of MediaWiki 1.16 in order to experience the full set of features that WikiDB provides.

As I continue to add features to the extension, I am increasingly finding that there are things which are not possible without the parser rewrite that came in MediaWiki 1.16. Therefore, rather than spending my energies trying to wring as much functionality as possible out of these older versions, I decided to raise my minimum version requirement for the extension to 1.16 and above.

This is a very conservative step - MediaWiki 1.16 was released in 2010 and is no longer officially supported. However, as yet, I have not encountered any features that I need for WikiDB which are not supported by this version of MediaWiki, and therefore I see no reason to raise the bar any higher at this time.

If there are any users of MediaWiki < 1.16 who are unable to upgrade, the older versions of WikiDB remain available.

Thank you for your understanding and support.

--HappyDog (talk) 20:57, 30 March 2019 (GMT)

Documentation

MediaWiki logo.png
This extension is also documented at
Extension:WikiDB
on MediaWiki.org.

If the pages are not in sync. then this version on my test wiki is always the most up-to-date.


Technical Info

  • Unit testing - Information about the unit tests included in the extension, including how to run them on your own wiki.
  • Tables - Details about the database tables that will be created by the extension.