Skip to content

Instantly share code, notes, and snippets.

@negatendo
Created June 30, 2015 02:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save negatendo/39c9e706eaf90f88ac6a to your computer and use it in GitHub Desktop.
Save negatendo/39c9e706eaf90f88ac6a to your computer and use it in GitHub Desktop.
./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: <pre>".print_r($event->data,true).'</pre>';
- 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);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment