DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:querychangelog

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:querychangelog [2009-10-20 11:29] 217.150.175.2plugin:querychangelog [2021-01-23 16:25] (current) Aleksandr
Line 1: Line 1:
-====== querychangelog plugin ======+====== querychangelog Plugin ======
  
 ---- plugin ---- ---- plugin ----
Line 12: Line 12:
 similar    : userhistory, recent, editor similar    : userhistory, recent, editor
 tags       : changelog, listing, users, spam tags       : changelog, listing, users, spam
 +
 +downloadurl: https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/querychangelog/querychangelog-1.0.tar.gz
 +bugtracker : https://code.google.com/archive/p/querychangelog/issues
 +sourcerepo : 
 +donationurl: 
 +
 +screenshot_img: https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/querychangelog/querychangelog_interface_sc.png
 ---- ----
  
 ===== Download and Installation ===== ===== Download and Installation =====
  
-Download and install the plugin using the [[plugin:plugin|Plugin Manager]] using the following URL. Refer to [[:Plugins]] on how to install plugins manually.+Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
-  * http://querychangelog.googlecode.com/files/querychangelog-1.0.tar.gz+  * [[https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/querychangelog/querychangelog-1.0.tar.gz|querychangelog-1.0.tar.gz]]
  
 ===== Description ===== ===== Description =====
Line 27: Line 34:
  
 It displays a page with the parameters you've chosen and the changelog as it is displayed in the "Recent changes". It displays a page with the parameters you've chosen and the changelog as it is displayed in the "Recent changes".
- 
  
 ===== Screenshot ===== ===== Screenshot =====
  
-{{http://querychangelog.googlecode.com/files/querychangelog_interface_sc.png?500|The admin interface}}+{{ https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/querychangelog/querychangelog_interface_sc.png |The admin interface}}
  
 ===== Discussion ===== ===== Discussion =====
Line 37: Line 43:
 My first plugin, the code is still quite dirty, I'll fix that :-) My first plugin, the code is still quite dirty, I'll fix that :-)
  
-Thanx a lot to the authors of the [[userhistory]] and [[pagemove]] plugin from whom I took a lot of code!+Thanks a lot to the authors of the [[userhistory]] and [[pagemove]] plugin from whom I took a lot of code!
  
 --- //[[vincent@delagabbe.com|Vincent de Lagabbe]] 2009-05-06// --- //[[vincent@delagabbe.com|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:
 +<code>        $ns = trim( $ns, ':' );''</code>
 +and change it to:
 +<code>        $ns = rawurlencode(trim( $ns, ':' ));</code>
 ---- ----
 Thank you so much for the plugin! I guess I'll find it very useful..^_^ Thank you so much for the plugin! I guess I'll find it very useful..^_^
Line 54: Line 67:
 Plugin is very useful. Thanks!\\ Plugin is very useful. Thanks!\\
 --- //[[kusz@mplus.pl|Kusz]] 2009-10-20// --- //[[kusz@mplus.pl|Kusz]] 2009-10-20//
 +
 +
 +----
 +
 + Very good plugin,  \\
 + Can you add function that get users from LDAP?  \\
 + Or get users from metadata ?  \\
 + Thank you  \\
 +--- //[[lordrak007@seznam.cz|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/;
 +
 +--- //[[k.croset[aro]laposte.net|Jarode]] 2010-05-08//
 +
 +I changed the User(s) selection, because i have >1000 users:
 +<code>
 +        // 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>');
 +</code>
 +
 +
 +==== plugin.info.txt missing ====
 +The file ''plugin.info.txt'' is missing.
 +
 +<code |plugin.info.txt>
 +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
 +</code>
 +--- //[[coastgnu@gmail.com|coastGNU]] 2019-02-19//
plugin/querychangelog.1256030948.txt.gz · Last modified: 2009-10-20 11:29 by 217.150.175.2

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