Differences

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

Link to this comparison view

Next revision
Previous revision
wiki:patches [2012/06/01 01:03]
telliamed angua diffs
wiki:patches [2015/05/27 19:29] (current)
telliamed hrun
Line 1: Line 1:
 ====== TNH Patches for DokuWiki ====== ====== TNH Patches for DokuWiki ======
  
-This wiki runs on DokuWiki [[doku>​changes#​release_2012-01-25a_angua| "Angua"]] with some additional customization.+This wiki runs on DokuWiki [[doku>​changes#​release_2014-09-29b_hrun| "Hrun"]] with some additional customization. 
 + 
 +(The following patch was made against an earlier release.)
  
 <file diff dokuwiki-20120125-tnh.diff>​diff --git a/​.gitignore b/​.gitignore <file diff dokuwiki-20120125-tnh.diff>​diff --git a/​.gitignore b/​.gitignore
Line 358: Line 360:
 +     * @param ​  ​string ​ $start ​  ​Position to begin searching from. +     * @param ​  ​string ​ $start ​  ​Position to begin searching from.
 +     * @return ​ integer ​  ​Position of element if found, false otherwise +     * @return ​ integer ​  ​Position of element if found, false otherwise
-      * @author ​ Tom N Harris <​tnharris@whoopdedo.org>+      * @author ​ Tom N Harris <​tnharris ​[...]>
       */       */
 -    function findElementByType($type) { -    function findElementByType($type) {
Line 376: Line 378:
 +     * @param ​  ​string ​ $start ​  ​Position to begin searching from. +     * @param ​  ​string ​ $start ​  ​Position to begin searching from.
 +     * @return ​ integer ​  ​Position of element if found, false otherwise +     * @return ​ integer ​  ​Position of element if found, false otherwise
-      * @author ​ Tom N Harris <​tnharris@whoopdedo.org>+      * @author ​ Tom N Harris <​tnharris ​[...]>
       */       */
 -    function findElementById($id) { -    function findElementById($id) {
Line 394: Line 396:
 +     * @param ​  ​string ​ $start ​  ​Position to begin searching from. +     * @param ​  ​string ​ $start ​  ​Position to begin searching from.
 +     * @return ​ integer ​  ​Position of element if found, false otherwise +     * @return ​ integer ​  ​Position of element if found, false otherwise
-      * @author ​ Tom N Harris <​tnharris@whoopdedo.org>+      * @author ​ Tom N Harris <​tnharris ​[...]>
       */       */
 -    function findElementByAttribute($name,​ $value) { -    function findElementByAttribute($name,​ $value) {
Line 412: Line 414:
 +     * +     *
 +     * @return ​ integer ​  ​Position of last element +     * @return ​ integer ​  ​Position of last element
-+     * @author ​ Tom N Harris <​tnharris@whoopdedo.org>++     * @author ​ Tom N Harris <​tnharris ​[...]>
 +     */ +     */
 +    function findLastElement() { +    function findLastElement() {
Line 431: Line 433:
  }  }
 @@ -676,11 +696,7 @@ function form_hidden($attrs) { @@ -676,11 +696,7 @@ function form_hidden($attrs) {
-  * @author ​ Tom N Harris <​tnharris@whoopdedo.org>+  * @author ​ Tom N Harris <​tnharris ​[...]>
   */   */
  ​function form_wikitext($attrs) {  ​function form_wikitext($attrs) {
Line 516: Line 518:
 +++ b/​inc/​parserutils.php +++ b/​inc/​parserutils.php
 @@ -235,6 +235,7 @@ function p_cached_instructions($file,​$cacheonly=false,​$id=''​) { @@ -235,6 +235,7 @@ function p_cached_instructions($file,​$cacheonly=false,​$id=''​) {
-  * @author Andreas Gohr <andi@splitbrain.org>+  * @author Andreas Gohr <​andi ​[...]>
   */   */
  ​function p_get_instructions($text){  ​function p_get_instructions($text){
Line 545: Line 547:
 @@ -693,7 +693,7 @@ function tpl_searchform($ajax=true,​$autocomplete=true){ @@ -693,7 +693,7 @@ function tpl_searchform($ajax=true,​$autocomplete=true){
   *   *
-  * @author Andreas Gohr <andi@splitbrain.org>+  * @author Andreas Gohr <​andi ​[...]>
   */   */
 -function tpl_breadcrumbs($sep='&​bull;'​){ -function tpl_breadcrumbs($sep='&​bull;'​){
Line 645: Line 647:
 + * Files are removed after $conf[cachetime]*60 (or after 6 days, whichever is longer) + * Files are removed after $conf[cachetime]*60 (or after 6 days, whichever is longer)
 + * + *
-+ * @author Tom N Harris <​tnharris@whoopdedo.org>++ * @author Tom N Harris <​tnharris ​[...]>
 + */ + */
 +function cleanCache(){ +function cleanCache(){
Line 678: Line 680:
   * Just send a 1x1 pixel blank gif to the browser   * Just send a 1x1 pixel blank gif to the browser
   *   *
-  * @author Andreas Gohr <andi@splitbrain.org>+  * @author Andreas Gohr <​andi ​[...]>
 diff --git a/​lib/​images/​fileicons/​ac3.png b/​lib/​images/​fileicons/​ac3.png diff --git a/​lib/​images/​fileicons/​ac3.png b/​lib/​images/​fileicons/​ac3.png
 new file mode 100644 new file mode 100644
Line 836: Line 838:
 @@ -113,9 +113,28 @@ function createPicker(id,​props,​edid){ @@ -113,9 +113,28 @@ function createPicker(id,​props,​edid){
   *   *
-  * @author Andreas Gohr <andi@splitbrain.org>+  * @author Andreas Gohr <​andi ​[...]>
   */   */
 -function pickerInsert(text,​edid){ -function pickerInsert(text,​edid){