<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to DatabaseQuery</title><link>https://sourceforge.net/p/nikitools/wiki/DatabaseQuery/</link><description>Recent changes to DatabaseQuery</description><atom:link href="https://sourceforge.net/p/nikitools/wiki/DatabaseQuery/feed" rel="self"/><language>en</language><lastBuildDate>Sun, 12 Jul 2026 21:16:56 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/nikitools/wiki/DatabaseQuery/feed" rel="self" type="application/rss+xml"/><item><title>DatabaseQuery modified by Hendrik Brummermann</title><link>https://sourceforge.net/p/nikitools/wiki/DatabaseQuery/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v10
+++ v11
@@ -26,6 +26,6 @@


 # Release Notes
-## Version 0.3 released on 2026-07-12 (Security Update)
+## Version 0.3 released on 2026-07-12

-- Replaced `$dbr-&amp;gt;addSlashes` with `$dbr-&amp;gt;addQuotes `to prevent SQL injection. Thanks to Wuzzy for the report
+- Replaced `$dbr-&amp;gt;strencode` with `$dbr-&amp;gt;addQuotes` because the [MediaWiki-documentation](https://www.mediawiki.org/wiki/Manual:Database.php) wrongly claims that it uses the insecure addSlashes internally. This results in false positive security reports . Thanks to Wuzzy for the report
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hendrik Brummermann</dc:creator><pubDate>Sun, 12 Jul 2026 21:16:56 -0000</pubDate><guid>https://sourceforge.netd80a3bc1a5d483bf873435f183e792de44b822d7</guid></item><item><title>DatabaseQuery modified by Hendrik Brummermann</title><link>https://sourceforge.net/p/nikitools/wiki/DatabaseQuery/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v9
+++ v10
@@ -1,3 +1,5 @@
+# Usage
+
 &lt;div style="float: right;"&gt;[[img src="example-releaselist.png" alt="Example of release list"]]&lt;/div&gt;
 A simple wiki extension to query database table.

@@ -26,4 +28,4 @@
 # Release Notes
 ## Version 0.3 released on 2026-07-12 (Security Update)

-- Replaced $dbr-&amp;gt;addSlashes with $dbr-&amp;gt;addQuotes to prevent SQL injection. Thanks to Wuzzy for the report
+- Replaced `$dbr-&amp;gt;addSlashes` with `$dbr-&amp;gt;addQuotes `to prevent SQL injection. Thanks to Wuzzy for the report
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hendrik Brummermann</dc:creator><pubDate>Sun, 12 Jul 2026 21:06:19 -0000</pubDate><guid>https://sourceforge.netaed945c2d562511a15aa08891a5968a15527a819</guid></item><item><title>DatabaseQuery modified by Hendrik Brummermann</title><link>https://sourceforge.net/p/nikitools/wiki/DatabaseQuery/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v8
+++ v9
@@ -21,3 +21,9 @@
 The fourth parameter is the name of a template that is used for each row. The names of the columns from the result set are used as parameter names.

 The meaning of the last parameter depends on the query. For the recentreleased list, it is the number of entries to return. For the gamelist it is a filter on the game name (e. g. A% for a list of all games that start with the letter "A").
+
+
+# Release Notes
+## Version 0.3 released on 2026-07-12 (Security Update)
+
+- Replaced $dbr-&amp;gt;addSlashes with $dbr-&amp;gt;addQuotes to prevent SQL injection. Thanks to Wuzzy for the report
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hendrik Brummermann</dc:creator><pubDate>Sun, 12 Jul 2026 21:05:33 -0000</pubDate><guid>https://sourceforge.net78d13b22b8effdba293fa945a0b97a15db17771f</guid></item><item><title>DatabaseQuery modified by Hendrik Brummermann</title><link>https://sourceforge.net/p/nikitools/wiki/DatabaseQuery/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v7
+++ v8
@@ -1,7 +1,7 @@
 &lt;div style="float: right;"&gt;[[img src="example-releaselist.png" alt="Example of release list"]]&lt;/div&gt;
 A simple wiki extension to query database table.

-It is used by [LibreGameWiki](https://libregamewiki.org) to render the "recently released" ticker on the main page.
+It is used by [LibreGameWiki](https://libregamewiki.org) to render the "recently released" ticker on the main page and the [New games and releases](https://libregamewiki.org/New_games_and_releases) page.

 Database queries are inlucded into a wikipage by using the parser function {{#databasequery}}:

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hendrik Brummermann</dc:creator><pubDate>Thu, 10 Oct 2013 22:35:24 -0000</pubDate><guid>https://sourceforge.net2eed68445b3422a6cbebb2b8262f2403c92911c9</guid></item><item><title>DatabaseQuery modified by Hendrik Brummermann</title><link>https://sourceforge.net/p/nikitools/wiki/DatabaseQuery/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hendrik Brummermann</dc:creator><pubDate>Tue, 13 Aug 2013 12:30:55 -0000</pubDate><guid>https://sourceforge.net4dd6b1e51f8bbd5e900c4e23b9fe459d41463432</guid></item><item><title>DatabaseQuery modified by Hendrik Brummermann</title><link>https://sourceforge.net/p/nikitools/wiki/DatabaseQuery/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -1,4 +1,4 @@
-&lt;div style="float: right;"&gt;[[img src="example-releaselist.png" alt="Example of release list"]]&lt;/div&gt;
+&lt;div style="float: right;"&gt;[[img src="example-releaselist.png" alt="Example of release list"]]&lt;/div&gt;
 A simple wiki extension to query database table.

 It is used by [LibreGameWiki](https://libregamewiki.org) to render the "recently released" ticker on the main page.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hendrik Brummermann</dc:creator><pubDate>Tue, 13 Aug 2013 12:25:28 -0000</pubDate><guid>https://sourceforge.net215a9b3c72808a1c596d218e97fdfbb5297a99a4</guid></item><item><title>DatabaseQuery modified by Hendrik Brummermann</title><link>https://sourceforge.net/p/nikitools/wiki/DatabaseQuery/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -1,4 +1,4 @@
-&lt;div style="float: right;"&gt;[[img src=example-releaselist.png  alt=Example of release list]]&lt;/div&gt;
+&lt;div style="float: right;"&gt;[[img src="example-releaselist.png" alt="Example of release list"]]&lt;/div&gt;
 A simple wiki extension to query database table.

 It is used by [LibreGameWiki](https://libregamewiki.org) to render the "recently released" ticker on the main page.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hendrik Brummermann</dc:creator><pubDate>Mon, 12 Aug 2013 21:38:16 -0000</pubDate><guid>https://sourceforge.net22440a6506fbff8ec324679b4b5e59f5045806c9</guid></item><item><title>DatabaseQuery modified by Hendrik Brummermann</title><link>https://sourceforge.net/p/nikitools/wiki/DatabaseQuery/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -1,3 +1,4 @@
+&lt;div style="float: right;"&gt;[[img src=example-releaselist.png  alt=Example of release list]]&lt;/div&gt;
 A simple wiki extension to query database table.

 It is used by [LibreGameWiki](https://libregamewiki.org) to render the "recently released" ticker on the main page.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hendrik Brummermann</dc:creator><pubDate>Mon, 12 Aug 2013 21:36:29 -0000</pubDate><guid>https://sourceforge.netbfbe810af5039911c8c5b0e420eb5313b8930639</guid></item><item><title>DatabaseQuery modified by Hendrik Brummermann</title><link>https://sourceforge.net/p/nikitools/wiki/DatabaseQuery/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -10,8 +10,8 @@
 ~~~~

 The first parameter is the name of the query. In this alpha version, two queries are hard coded:
-* recentreleased
-* gamelist 
+- recentreleased
+- gamelist 

 The second parameter define the style for the table. `wikitable` and `sortable` are commonly used.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hendrik Brummermann</dc:creator><pubDate>Mon, 12 Aug 2013 21:34:14 -0000</pubDate><guid>https://sourceforge.net548a18fb49cdad0d4081de9281c9794bc10d9ebb</guid></item><item><title>DatabaseQuery modified by Hendrik Brummermann</title><link>https://sourceforge.net/p/nikitools/wiki/DatabaseQuery/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,3 +1,22 @@
 A simple wiki extension to query database table.

-It is used by [LibreGameWiki](https://libregamewiki.org) to render the "recently released" ticket on the main page.
+It is used by [LibreGameWiki](https://libregamewiki.org) to render the "recently released" ticker on the main page.
+
+Database queries are inlucded into a wikipage by using the parser function {{#databasequery}}:
+
+~~~~
+{{#databasequery:recentreleased|tablestyle|Column header template|Row template|count}}
+{{#databasequery:gamelist|tablestyle|Column header template|Row template|filter}}
+~~~~
+
+The first parameter is the name of the query. In this alpha version, two queries are hard coded:
+* recentreleased
+* gamelist 
+
+The second parameter define the style for the table. `wikitable` and `sortable` are commonly used.
+
+The third parameter is the name of a template that is used to render the column headers.
+
+The fourth parameter is the name of a template that is used for each row. The names of the columns from the result set are used as parameter names.
+
+The meaning of the last parameter depends on the query. For the recentreleased list, it is the number of entries to return. For the gamelist it is a filter on the game name (e. g. A% for a list of all games that start with the letter "A").
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hendrik Brummermann</dc:creator><pubDate>Mon, 12 Aug 2013 21:31:50 -0000</pubDate><guid>https://sourceforge.net0fd2519f0c522191ef383a3a30cb2bd047a128fc</guid></item></channel></rss>