User talk:JohanTheGhost

Latest comment: 12 years ago by *Surak* in topic Extension:NiceCategoryList2 v2.3

just thought i would tell you that your wikipiedia page follows to a page that doesn't exist

Thanks, fixed it. JohanTheGhost 14:10, 29 June 2007 (UTC)Reply[reply]


I have a remark about your RigorousSearch extension (which is really useful for me). My mediawiki table "text" is from type InnoDB. The "old_text" field is stored as MEDIUMBLOB. But BLOBs are case-sensitive. So, I have to enter the search string with correct lower/upper case, which is - for me - not optimal. "Mediwiki" search string only finds "Mediawiki" but not "mediawiki".

I have changed the code by adding a CAST() funtion in order to search case-insensitive:

$queryTxt = "SELECT old_text FROM " . $db->tableName('text') .
                    " WHERE old_id = " . $text_id .
                    " AND CAST(old_text as CHAR) LIKE '%" . $pattern . "%'";

Maybe it's worth to add to the "official" extension. 09:27, 7 February 2008 (UTC)

<tab sep="bar">[edit]

Is there a way for me to edit the PHP file to make the sep="bar" type the default for your SimpleTable extension?--Sonjaaa 08:20, 27 August 2009 (UTC)Reply[reply]

Change line 83 in SimpleTable.php to your desired default separator. --WikiMichi 09:56, 13 November 2009 (UTC)Reply[reply]



Just tried to get this Extension to work, but failed. I get this error whenever using one of the three tags:

Class 'DateTimeZone' not found in /hp/al/aa/ly/www/wiki/extensions/TimeZoneInfo.php on line...

Using MW 1.15.1 - does TZI not work with this? I copied the *.php-Text to a file and copied it into /extensions and put the appropiate line in LocalSettings. Maybe you could give me a hint!?

Thanks in advance, --Bruder Lars 08:08, 29 January 2010 (UTC)Reply[reply]

SVN for Extension:SimpleTable[edit]

Is there a publicly available SVN repo for your Extension:SimpleTable Extension? If no, could you commit it to mediawikis SVN repo, or would you be willing that somebody else commits it? SVN Access would easen automatic upgrades. --RScheiber 08:38, 6 September 2010 (UTC)Reply[reply]

Extension:NiceCategoryList2 v2.3[edit]

I have updated the extension to use CSS styles and fixed some minor issues, like the duplicated list bullets. For now, you can find the updated extension page at User:*Surak*/Extension:NiceCategoryList and the code at User:*Surak*/Extension:NiceCategoryList/2.3. Since this is a major change, I did not activate it (extension templatemode=nocats), and I did not dare to save it in your extension namespace. Do you allow me saving it there, or do you suggest a different way to handle this? Thanks in advance, --SurakΔ 11:54, 1 May 2011 (UTC)Reply[reply]