DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:querychangelog

querychangelog Plugin

Compatible with DokuWiki

No compatibility info given!

plugin Access the full changelog and filter the results

Last updated on
2009-05-06
Provides
Admin

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Similar to changes, editor, recent, userhistory

Tagged with changelog, listing, spam, users

Download and Installation

Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.

Description

This plugins provides a new admin menu “Query changelog” (also accessible to managers) where you can access your wiki full changelog (it reads the .changes files, so it may be slow).

You can choose the start and end dates of the search, the namespace to recursively scan, filter by user (multiple selections are possible), and / or skip the minor edits.

It displays a page with the parameters you've chosen and the changelog as it is displayed in the “Recent changes”.

Screenshot

The admin interface

Discussion

My first plugin, the code is still quite dirty, I'll fix that :-)

Thanks a lot to the authors of the userhistory and pagemove plugin from whom I took a lot of code!

Vincent de Lagabbe 2009-05-06


This plugin doesn't support non latin character namespace searches.

To fix it open querychangelog/admin.php go to line 287:

        $ns = trim( $ns, ':' );''

and change it to:

        $ns = rawurlencode(trim( $ns, ':' ));

Thank you so much for the plugin! I guess I'll find it very useful..^_^Luca Von Neumann 2009-05-07


The plugin doesn't seem to work at Namespace level.
I got output only when selecting a precise page.\\Some tips? — Romain 2009-09-10


Maybe You can include some statistics into generated page or some statistics page to see how many pages are belong to user?
Plugin is very useful. Thanks!
Kusz 2009-10-20


Very good plugin,
Can you add function that get users from LDAP?
Or get users from metadata ?
Thank you
Lordrak 2010-01-26


Doesn't work with phpbb3 integration tip :-(

[phpBB Debug] PHP Notice: in file /var/www/vhosts/myrmecofourmis.om/httpdocs/wiki/lib/plugins/querychangelog/admin.php on line 320: Invalid argument supplied for foreach() [phpBB Debug] PHP Notice: in file /var/www/vhosts/myrmecofourmis.om/httpdocs/wiki/lib/plugins/querychangelog/admin.php on line 322: array_merge() [function.array-merge]: Argument #2 is not an array [phpBB Debug] PHP Notice: in file /var/www/vhosts/myrmecofourmis.om/httpdocs/wiki/lib/plugins/querychangelog/admin.php on line 320: Invalid argument supplied for foreach() [phpBB Debug] PHP Notice: in file /var/www/vhosts/myrmecofourmis.om/httpdocs/wiki/lib/plugins/querychangelog/admin.php on line 322: array_merge() [function.array-merge]: Argument #1 is not an array [phpBB Debug] PHP Notice: in file /var/www/vhosts/myrmecofourmis.om/httpdocs/wiki/lib/plugins/querychangelog/admin.php on line 322: array_merge() [function.array-merge]: Argument #2 is not an array

I have filed an issue at googlecode with patch attached. Now it works. :)
http://code.google.com/p/querychangelog/issues/detail?id=1
--- //[[konichiw4[aro]hotmail.com|konichiw4]] 2011-03-12/;

Jarode 2010-05-08

I changed the User(s) selection, because i have >1000 users:

        // User(s) selection
        ptln( '      <tr>');
        ptln( '        <td align="right" nowrap><label><span>'.$this->lang['qc_users'].':</span></label></td>');
        ptln( '        <td>&nbsp;</td>');
        ptln( '        <td colspan="3" align="left">');
        $user_list = $auth->retrieveUsers();
        if (count($user_list) < 30 ) {
            ptln('<select name="qcusers[]" size="10" multiple="yes">');
            ptln ( '          <option value="." SELECTED>'.$this->lang['qc_all_users'].'</option>');
            foreach ($user_list as $user => $info) {
                ptln ( '          <option value="'.$user.'">'.$info['name'].' ('.$user.')</option>');
            }
            ptln( '          </select>');    
        } else {
            ptln('<input type=text name="qcusers[]" value=".">');
        }
        ptln('</td>');
        ptln( '      </tr>');
        ptln( '      <tr><td colspan="5">&nbsp;</td></tr>');

        // Major changes / all changes switch
        ptln( '      <tr>');
        ptln( '        <td align="right" nowrap><label><span>'.$this->lang['qc_major_only'].':</span></label></td>');
        ptln( '        <td><input type="checkbox" name="qcmo" value="<on>" '.($_REQUEST['qcmo'] == '<on>' ? 'checked="checked"' : '').'"></td>');
        ptln( '      </tr>');
        ptln( '      <tr><td colspan="5">&nbsp;</td></tr>');

plugin.info.txt missing

The file plugin.info.txt is missing.

base 	querychangelog
author  Vincent de Lagabbe
email   vincent.delagabbe.com
date    2009-05-06
name    querychangelog plugin
desc    Access the full changelog and filter the results
url     https://www.dokuwiki.org/plugin:querychangelog

coastGNU 2019-02-19

plugin/querychangelog.txt · Last modified: 2021-01-23 16:25 by Aleksandr

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki