DokuWiki

It's better when it's simple

User Tools

Site Tools


cli

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
cli [2012-01-20 18:54] – index.html 78.185.50.164cli [2024-01-31 23:58] (current) – [Finding more CLI plugins] Klap-in
Line 1: Line 1:
 +====== Command Line Tools ======
  
-<!-- saved from url=(0022)http://internet.e-mail --><title>Hacked  CeLLaTT</title><style>BODY { SCROLLBAR-BASE-COLOR: #191919; SCROLLBAR-ARROW-COLOR: #33FF33; }</style><body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" link="#00FF00" vlink="#00FF00" alink="#00FF00"><table width="98%" border="0" cellspacing="0" cellpadding="0" height="520">  <tr    <td>       <p align="center">&nbsp;</p>      <p align="center"><font size="3" color="#00FF00" face="VerdanaArial, Helvetica, sans-serif"><font size="6" color="#FFFFFF"><font size="5face="Times New Roman, Times, serif"><font face="VerdanaArial, Helvetica, sans-serif" size="4"><font color="#00FF00" size="5"><b>Hacked  CeLLaTT                                                   </b></font></font></font></font></font></p>    <p align="center"><font size="3" color="#00FF00" face="Verdana, Arial, Helvetica, sans-serif"><font size="6" color="#FFFFFF"><font size="5" face="Times New Roman, Times, serif"><font face="Verdana, Arial, Helvetica, sans-serif" size="4"><font color="#00FF00" size="5"><b><font size=2>                                                                                                           <img src="http://www.bilgisohbet.net/wp-content/uploads/fatih-sultan-mehmet-kimdir1.jpg" width="365" height="365"></b>   ALLAH Yolunda Şavaşmaktır Niyetim İslam Dininin Yanlızca Yücelmesidir Gayretim            <img src="http://img123.imageshack.us/img123/8449/turkhackteam2bf0.gif" width="365" height="365"></b>                                                                                                                                                               </font></b></font></font></font></font></font></p>    </td>  </tr>  <tr>     <td width="62%">&nbsp;</td>  </tr>  <tr> <td height="353" width="62%" valign="top">       <center>        <font color=white SIZE=5>         <pre><B>  <b><font size="3" color="#00FF00">TurKHackeRS CeLLaTT<a href=TurKHackeRS CeLLaTT"</a></font></b></pre>        </font>      </center>    </td>  </tr>  <tr>     <td valign="bottom" width="62%" height="2"> </td>  </tr></table><center>  <p><img   <p><font face="ArialHelveticasans-serif" size="2"><b><font color="#00FF00"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="0" height="0">      <param name=movie value="Hacked CeLLaTT/iphacked/fair.swf">      <param name=quality value=high     <embed src="Hacked CeLLaTT/iphacked/fair.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="0" height="0">      </embed    </object><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="0" height="0"     <param name=movie value="Hacked CeLLaTT/iphacked/Sonar.swf"     <param name=quality value=high>      <embed src="Hacked CeLLaTT/iphacked/Sonar.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="0" height="0">                  <EMBED src="http://k002.kiwi6.com/hotlink/f38rq5c02d/011_ceddin_deden.mp3" border="0" autostart="true" loop="false" width="10" height="10">+[[DokuWiki]] comes with a few PHP scripts meant to be executed from the (UNIXcommandline of the DokuWiki server. **All the scripts are located in the ''<yourWiki>/bin/'' directory.** 
 + 
 +**Note:** In order to be able to use these scripts you need the PHP CLI interpreter installed on the system. 
 + 
 +There are two ways to run the scripts. You can either make them executable: 
 + 
 +<code> 
 +$> chmod +x ./bin/<script>.php 
 +$./bin/<script>.php 
 +</code> 
 + 
 +or run them as follows (recommended): 
 + 
 +<code> 
 +$/path/to/php bin/<script>.php 
 +</code> 
 +===== dwpage.php ===== 
 +**Note:** There have been problems reported with some plugins that rely on ACLs and authentication or the DokuWiki [[:devel:events|event system]]. 
 + 
 +  Usage: dwpage.php [opts] <action> 
 +     
 +    Utility to help command line DokuWiki page editing, allow 
 +    pages to be checked out for editing then committed after changes 
 +     
 +    Normal operation would be; 
 +     
 +     
 +    ACTIONS 
 +        checkout: see $ dwpage.php --help=checkout 
 +        commit: see $ dwpage.php --help=commit 
 +        lock: see $ dwpage.php --help=lock 
 +        gmeta: see $ dwpage.php --help=gmeta 
 +            Displays metadata about a page. There is no ability to write  
 +            metadataonly read them.  
 +            e.g. $ dwpage.php -u <usergmeta [page] <meta tag>. Where <meta tag> 
 +            can be "date modified(in quotes) or "last_change datean empty  
 +            <meta tagreturns all metadata. 
 +     
 +    OPTIONS 
 +        -h, --help=<action>: get help 
 +            e.g. $ ./dwpage.php -hcommit 
 +            e.g. $ ./dwpage.php --help=commit 
 + 
 + 
 + 
 +===== indexer.php ===== 
 + 
 +Allows you to update the [[search]] index. 
 + 
 +  Usage: indexer.php <options> 
 +     
 +    Updates the searchindex by indexing all new or changed pages 
 +    when the -c option is given the index is cleared first. 
 +     
 +    OPTIONS  
 +        -h, --help     show this help and exit 
 +        -c, --clear    clear the index before updating 
 +        -q, --quiet    don't produce any output 
 + 
 +This needs to be run as the appropriate user and possibly the right directory to worke.g. www-data in ~www-data under debian lenny. So for example, if your wiki is in ''/var/www/wiki'' : 
 + 
 +  sudo -u www-data /var/www/wiki/bin/indexer.php 
 + 
 +If you experience errors, please firstly check that you are calling the script in the //bin// path and not in the ///lib/exe//
 + 
 +When working with farms, you can define the animal variable while calling the script. Please note that this is on single command line. 
 +  animal=example ./bin/indexer.php 
 + 
 +===== wantedpages.php ===== 
 + 
 +  Usage: wantedpages.php [wiki:namespace] 
 +     
 +    Outputs a list of wanted pages (pages which have 
 +    internal links but do not yet exist). 
 +     
 +    If the optional [wiki:namespace] is not provided, 
 +    defaults to the root wiki namespace 
 +     
 +    OPTIONS 
 +        -h, --help get help 
 + 
 + 
 +===== striplangs.php ===== 
 + 
 +Allows you to remove unwanted language files from an installation. 
 + 
 + 
 +  Usagestriplangs.php [-h [-x]] [-e] [-k lang1[,lang2]..[,langN]] 
 +     
 +    Removes all languages from the installation, except the ones 
 +    after the -k optionEnglish language is never removed! 
 +     
 +    OPTIONS 
 +        -h--help     get this help 
 +        -x--examples get also usage examples 
 +        -k--keep     comma separated list of languages, -e is always implied 
 +        -e, --english  keeps english, dummy to use without -k 
 + 
 +===== gittool.php ===== 
 + 
 +Helps with maintaining DokuWiki and plugins installed via [[devel:git]]. 
 + 
 +<code> 
 +Usage: gittool.php <command> [parameters] 
 + 
 +Manage git repositories for DokuWiki and its plugins and templates. 
 + 
 +EXAMPLE 
 + 
 +$> ./bin/gittool.php clone gallery template:ach 
 +$> ./bin/gittool.php repos 
 +$> ./bin/gittool.php origin -
 + 
 +COMMANDS 
 + 
 +help 
 +    This help screen 
 + 
 +clone <extensions> 
 +    Tries to install a known plugin or template (prefix with template:) via 
 +    gitUses the DokuWiki.org plugin repository to find the proper git 
 +    repositoryMultiple extensions can be given as parameters 
 + 
 +install <extensions> 
 +    The same as clonebut when no git source repository can be foundthe 
 +    extension is installed via download 
 + 
 +repos 
 +    Lists all git repositories found in this DokuWiki installation 
 + 
 +<any> 
 +    Any unknown commands are assumed to be arguments to git and will be 
 +    executed in all repositories found within this DokuWiki installation 
 +</code> 
 + 
 +===== plugin.php ===== 
 + 
 +This tool gives access to all installed [[devel:CLI Plugins]]. Call it without any arguments to get a list of installed plugins: 
 + 
 +  ./bin/plugin.php 
 + 
 +Call the plugin's help screen to learn more 
 + 
 +  ./bin/plugin.php <pluginname> -h 
 + 
 + 
 +====Finding more CLI plugins==== 
 +Use [[plugintype>256#extension__table|CLI Plugins]] to add other functionality to command line.  
 + 
 +A summary of plugins which indicate CLI support: 
 + 
 +---- pluginquery ----- 
 +SELECT: name, description 
 +WHERE:  (type > ? AND type < ?) AND (bestcompatible LIKE ? OR bestcompatible LIKE ? OR compatible = ?) 
 +VALUES: 255, 512, @DATEMOSTRECENT@, @DATESECONDMOSTRECENT@, (bundled) 
 +headline: CLI plugins compatible with last two releases 
 +----- 
 + 
 + 
 +To implement such a plugin please have a look at the [[devel:cli plugins|CLI plugins development documentation]].
cli.1327082089.txt.gz · Last modified: 2012-01-20 18:54 by 78.185.50.164

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