./action.php.old 2009-09-18 13:32:00.000000000 +0400
+++ ./action.php 2013-05-30 12:29:47.000000000 +0400
@@ -55,7 +55,7 @@
$pos = $event->data->findElementByAttribute('type','submit');
if(!$pos) return; // no button -> source view mode
#echo "DEBUG: ".print_r($event->data,true).'
';
- if ( !empty($event->data->_hidden['prefix'])
+ if ( empty($event->data->_hidden['prefix'])
|| !empty($event->data->_hidden['suffix'])) return;
if ($event->data->findElementByType('wikitext')===false) return;
}elseif(!$event->data['writable']){
@@ -72,7 +72,7 @@
}
if ($this->getConf('tagsrc') == 'All tags' && $thlp) {
- $alltags=$this->_gettags($thlp);
+ $alltags=array_map('trim', idx_getIndex('subject', '_w'));
} else {
$alltags=$this->_getpages($tagns);
}
--- [[user>linvinus|Denis]] //2013/05/30 10:22//
>>>>>>>>> The last fix work fine on Dokuwiki 2013-12-08 "Binky" (after an update you have to empty all the cache)
==== PHP 7.0 Issue ====
Neither the old nor the new version of this plugins works with Dokuwiki 2017-02-19 “Frusterick Manners” on PHP 7.0. Error shown is this:
Got error 'PHP message: PHP Fatal error: Uncaught Error:
Call to undefined function split() in
/var/www/.../dokuwiki/lib/plugins/tagentry/action.php
...
I have no time to look into the code and fix it. \\
JohnG 2017/09/13 16:30 CET
Quick search shows that split() has been deprecated and removed from 7.0. It was replaced by preg_split() and explode(). The line in question is line 111 of action.php. Although making this change alone has not fixed the issue for me.\\
EvanC 2017/09/14 15:15 EST
Seems to work for me. I replaced the calls to split() with explode(). There are two calls, on line 111 and 125.\\
nuess0r 2018/01/01 16:28 CET
==== Plugin Installation Error - "Header does not match it's checksum" ====
Upon attempting to install this plugin via the Extension Manager, I receive the error mentioned above. The same also happens when I attempt to manually install it using the URL. I'm on DokuWiki Release 2017-02-19e "Frusterick Manners", Windows 10, PHP 7. Any ideas about what's going on?\\
--- [[user>riseup|RiseUp]] //2018/01/24 22:41:30//
<- Back to [[..:tagentry|Plugin tagentry]]