Difference between revisions of "User talk:Nad"

From Organic Design wiki
(5:30 ferry)
(Change source-code blocks to standard format)
 
(203 intermediate revisions by 24 users not shown)
Line 1: Line 1:
 +
==Exploring Wiki==
 +
 +
Hey Aran,
 +
 +
is this the place where you make contact with other users then? 
 +
 +
Ahhh, Bach.  --[[User:The Duncan|The Duncan]] 06:20, 6 September 2010 (NZST)
 +
 +
 +
== Mediawiki programming help ==
 +
Dear Nad,
 +
I have been taking a look at your work and you seem to have an impressive handle on mediawiki programming. I am working on a corporate project and we are looking for help with user interface/skinning and mediawiki extensions. We have a project deadline to meet over the next 6 weeks. If you would be interested and available for payable contract work, please contact me at organicdesign@jenandi.com
 +
 +
Kind Regards,
 +
Andi
 +
 +
== Templates and passing vars==
 +
Nad, trying to get the [http://www.mediawiki.org/wiki/Extension:Google_Maps google map] extension to work with vars in a template, such that:
 +
<pre>{{Test
 +
|FULL_NAME = Ashfield
 +
|FULL_NAME_ND = Ashfield
 +
|LAT = -33.8833333
 +
|LONG = 151.1166667
 +
}}
 +
 +
<googlemap width="400" height="300" zoom="16" type="hybrid" controls="medium">
 +
{{{LON}}},{{{LAT}}}, {{{FULL_NAME}}}
 +
</googlemap>
 +
</pre>
 +
 +
would work. It appears to be a problem:
 +
https://bugzilla.wikimedia.org/show_bug.cgi?id=2257
 +
::and this appears to be somebody's solution?? http://blog.w-nz.com/archives/2005/08/23/using-template-variables-in-extension-tags-with-mediawiki/
 +
 +
what are your 2 cents? --[[User:Phalseid|Phalseid]] 06:39, 3 April 2008 (NZST)
 +
:I think installing an extension to generically process all variables in tags is a bit extreme, why not just hack your google maps extension in the tag function, or do an official patch on it which allows it to process the variables, eg
 +
<php>$text = $parser->replaceTemplateVariables($text);</php>
 +
:You could make it do it based on a global such as ''$egGoogleMapsReplaceVariables'' --[[User:Nad|Nad]] 09:09, 3 April 2008 (NZST)
 +
 +
== Treeview 5 ==
 
Yo,
 
Yo,
my sidebar has completely disappeared will reset my browser to see if it persists, anyone been changing code to do with that? --[[User:Sven|Sven]] 08:18, 10 July 2007 (NZST)
+
Ive just put a suggestion up for [http://www.mediawiki.org/w/index.php?title=Extension_talk%3ATree_view&diff=178118&oldid=177287 this] post. I suggest we may need to convert windows backslashes to forward slashes in extensions if this is a continuing problem --[[User:Sven|Sven]] 13:05, 3 April 2008 (NZST)
:Sidebar seems to be missing on safari and firefox --[[User:Sven|Sven]] 08:22, 10 July 2007 (NZST)
+
 
::See changes, I've been working on it and then got tired and went to bed before it was finished. --[[User:Nad|Nad]] 10:10, 10 July 2007 (NZST)
+
== [[Extension:Treeview5.php]] ==
----
+
 
I think i've alsmost got the blog comments working. The only thing is the #request variables don't get substituted.*[[Template:BlogComments]]
+
That fix for windows/unix paths was unbelievably obvious, why didn't I think of it... --[[User:Sven|Sven]] 14:18, 15 April 2008 (NZST)
*[[Sandbox]]
+
:Yea, that's what I was meaning about it only being an issue for the regex operating on the backslashes, not with the backslashes themselves. I only just got round to reading the treeview talk page and checking it out. You need four backslashes though because the regex expects it to be doubled so its not treated as escaping the following square bracket, and each of those two need to be escaped themselves since they're inside PHP quotes. --[[User:Nad|Nad]] 14:57, 15 April 2008 (NZST)
--[[User:Rob|Rob]] 23:25, 7 July 2007 (NZST)
+
 
----
+
== Simplesecurity glitch? ==
Check this out,
 
class properties [[Sandbox|transcluded]] as [[Template:Sandbox|templates]] --[[User:Sven|Sven]] 23:07, 3 July 2007 (NZST)
 
----
 
This extension may be of interest, it is installed on the dpl site [[MW:Extension:StackFunctions]] --[[User:Sven|Sven]] 20:09, 30 June 2007 (NZST)
 
----
 
I think the radio problem I was having is fixed now by wrapping  [http://www.organicdesign.co.nz/wiki/index.php?title=Sven%2FSandbox&diff=72489&oldid=72486 <nowiki>{</nowiki>{#form: ...}}] around them. --[[User:Sven|Sven]] 11:18, 30 June 2007 (NZST)
 
:What was the problem, they seemed fine to me - I don't see why an input should require a form around it except for the actual posting of ata which the sandbox example shouldn't need --[[User:Nad|Nad]] 11:24, 30 June 2007 (NZST)
 
:: Just that radio buttons only work inside forms --[[User:Sven|Sven]] 20:09, 30 June 2007 (NZST)
 
----
 
Was meaning to catch up this weekend but I've been feeling a ill. So i stayed in bed all weekend instead.--[[User:Firebreather|Firebreather]] 15:03, 24 June 2007 (NZST)
 
:Bugger :-( catch ya another time - don't forget to drink plenty of water!
 
----
 
Yo, I would like to use the article to email facility so can you check what groups I need to be able to do this please. I want to email one person only [[User:Mik]], and append another external address to it (plus mine to check it is working ok). --[[User:Sven|Sven]] 10:30, 13 June 2007 (NZST)
 
:I've changed the allowed-to-email group to sysop so you should be able to send stuff now --[[User:Nad|Nad]] 11:47, 13 June 2007 (NZST)
 
::Great, It works for me now --[[User:Sven|Sven]] 11:58, 13 June 2007 (NZST)
 
----
 
Aran, a while back I talked to you about building a bootable disk that only got on the internet, in breathless anticipation of peerix. well, anyway, found this and thought you would like to see it, http://webconverger.com, you can build Webconverger with the Debian Live tools and modifying the LIVE_BOOTAPPEND parameter to distribute with your own custom URL... --[[User:Phalseid|Phalseid]] 06:40, 13 June 2007 (NZST)
 
:Yeah that's damn useful, especially since it's Debian too. Peerix wasn't designed for that because it doesn't include any of the fat xwindow layer, so wouldn't have been useful until we had our interface, but all that's on the back-burner now anyway :-( --[[User:Nad|Nad]] 10:04, 13 June 2007 (NZST)
 
----
 
  
Check this out from [http://images.google.com/imagelabeler/ Google images], looks like they are wanting people to add value to their images game style --[[User:Sven|Sven]] 20:05, 12 June 2007 (NZST)
+
Aran, on my user page, which I want to start using a bit more again, there is a security setting and I can't figure out where that has been created. "Every action requires the user to be Milan". It was inheriting from '''cat:Milan/XMLWiki user pages''' and had security on the user page as well but I removed both settings and it's still locked down. Can you check it out please when you have minute? Cheers --[[User:Milan|Milan]] 11:04, 27 April 2008 (NZST)
:those evil "do no evil" bastards!
+
:Not a glitch, its getting it from Milan/Tree which must be transcluded onto the user page. You could remove the security from the tree page or not transclude it - but then I just thought, wrapping it in noinclude's should work I'll do it now and see. --[[User:Nad|Nad]] 12:20, 27 April 2008 (NZST)
----
+
::Thanks, that looks to be working fine. I'm getting a little rusty on transclusion stuff it seems :-/--[[User:Milan|Milan]] 14:47, 27 April 2008 (NZST)
WX got hit by a spambot last night. what is interesting is the [http://www.wikiexpert.com/Special:Recentchanges articles that got edited]...only a few existed, but the rest were "OD" articles that i didn't have...just curious as to why it would pick out those names unless it was coded into the bot???? --[[User:Phalseid|Phalseid]] 00:21, 12 June 2007 (NZST)
+
:::The templates an article uses are listed at the bottom of the page when editing --[[User:Nad|Nad]] 15:00, 27 April 2008 (NZST)
:Yeah peerix got hit too, who knows what their pseudo-AI is doing? I've installed the [[MW:Extension:ConfirmEdit|ConfirmEdit extension]] so the bots can't create logins so it shouldn't happen again --[[User:Nad|Nad]] 00:42, 12 June 2007 (NZST)
+
==Collaboration==
::many thanks. --[[User:Phalseid|Phalseid]] 03:30, 12 June 2007 (NZST)
+
Hello Nad, I am trying to set up a number of intranets for NGO's that I am involved in and I would like to chat with about potential help/collaboration. Should we email each other or skype?
----
+
Thanks, --[[User:Apap|Apap]] 06:40, 12 May 2008 (NZST)
if i tag a category with the nuke template, will that take care of all the child articles? --[[User:Phalseid|Phalseid]] 10:48, 10 June 2007 (NZST)
+
:You can email me on aran at this domain or skype id organicdesign (text only) --[[User:Nad|Nad]] 09:31, 12 May 2008 (NZST)
:I made [[MW:Extension:NukeDPL]] for that which allows you to select the items to nuke with a DPL query so you could select all items using the nuke template, or all items in a cat etc. For some strange reason it won't run on OD but does on the other wiki's and I haven't had time to figure it out yet. --[[User:Nad|Nad]] 11:26, 10 June 2007 (NZST)
 
----
 
I wrote a [http://en.wikinews.org/wiki/Woman_disclosed_by_newspaper_in_sex_tape_found_dead wikinews] article based on that death I was telling you about. Then I found an [http://tumeke.blogspot.com/2007/04/steven-cook-of-herald-must-go.html article] on Tim Selwins blog on the topic.  --[[User:Sven|Sven]] 22:30, 8 June 2007 (NZST)
 
----
 
Got the email ok! [[User:Rob|Rob]] 16:12, 8 June 2007 (NZST)
 
:ditto --[[User:Phalseid|Phalseid]] 16:51, 8 June 2007 (NZST)
 
----
 
Aran, if you leave the german lang code there I will fill it in but I need to see the messages in context (in the working form) to come up with the proper words for translation, otherwise the grammar would be wrong.--[[User:Milan|Milan]] 13:53, 8 June 2007 (NZST)
 
:Just use the sen to email in "this article" on the left to see the form --[[User:Nad|Nad]] 14:09, 8 June 2007 (NZST)
 
::sweet --[[User:Phalseid|Phalseid]] 15:28, 8 June 2007 (NZST)
 
----
 
Will be over around 10am --[[User:Sven|Sven]] 21:46, 7 June 2007 (NZST)
 
:Fuckanelle that week went quick! --[[User:Nad|Nad]] 22:42, 7 June 2007 (NZST)
 
----
 
Looks like wikimedia is turning down your request for OD to be added to the interwiki map, you might like to swing by and argue :)
 
[http://meta.wikimedia.org/wiki/Talk:Interwiki_map#OD_alternative_for_OrganicDesign here]
 
  
Also, is there something wrong with the OD site? I can't see the recent changes swf in the top LHS anymore
+
== Extension:NewUserMessage ==
  
Thanks for the fix on WikiChat.php
+
Hi could you please check http://www.mediawiki.org/wiki/Extension_talk:NewUserMessage. I got a problem with my bot showing up in Recent Changes. Thanks!
--[[User:Firebreather|Firebreather]] 22:19, 6 June 2007 (NZST)
 
:There's a lot wrong with OD! the changes in the corner are one of many functions that used XmlWiki and so won't be available again until all the current extension development is done. I can't be bothered discussing the OD: shortcut thing, but I added a comment re months of lost wiki changes in [[08 April 2007|the host failure incident]] since it was only 5 hours of [[12_April_2007|changes that were lost]] --[[User:Nad|Nad]] 22:38, 6 June 2007 (NZST)
 
----
 
Ok some links of interest;
 
*[http://www.slimsearch.com/index.php?option=com_frontpage&Itemid=1 slim searching *10000x* faster]
 
*[http://www.bestgrid.org/index.php/ Best grid - NZ grid project]
 
Ironic that the best grid *collaboration* project is a locked down wiki where nobody can make a login or edit articles. I tried accessing an article http://www.bestgrid.org/index.php/Wiki_extensions and couldn't access it, fortunately I can use the search facility and read the content bit by bit...
 
  
--[[User:Sven|Sven]] 19:27, 29 May 2007 (NZST)
+
== [[Extension:CSS]] ==
  
Yo,
+
I noticed your above extension only partially works with MW1.12 after a fresh upgrade. Any idea why, or what could be blocking part of the <nowiki>{{#css}}</nowiki> from printing? As it is, only some of the specified elements are visible, as through templates used on a page, but not the page elements, as if they're being overridden by Common/Monobook.css. If you ever upgrade to 1.12 you might see what I mean. -- [[User:Sasoriza|Sasoriza]] 06:41, 1 June 2008 (NZST)
Can you add scheme to the allowable hack in;
+
:I have it running on 1.12 with no problems. The extension does not prevent other CSS's such as Common.css or Monobook.css from loading, it simply adds another CSS which is loaded '''before''' the main ones which means you will have to ensure that your CSS rules are more specific than the existing ones to prevent them being overridden ([http://www.w3.org/TR/REC-CSS2/cascade.html#specificity this] is what I mean by "specific"). --[[User:Nad|nad]] 08:53, 1 June 2008 (NZST)
<php>
+
::Also I've made a few changes to the code to allow files or in-line rules to be included, see [[MW:Extension:CSS]]. --[[User:Nad|nad]] 09:35, 1 June 2008 (NZST)
include('extensions/GeSHiCodeTag.php');
+
 
$wgHooks['ParserBeforeStrip'][] = 'GeSHi';
+
== User Registration==
function GeSHi(&$parser, &$text, &$strip_state) {
+
nad, i have poked around MW and don't see any extensions to extend the fields that are collected on new account creation. any ideas? --[[User:Phalseid|Phalseid]] 10:08, 7 June 2008 (NZST)
  if (preg_match('/\\{\\{(php|perl|c|actionscript|javascript|css)\\}\\}/i',$text,$m)) $text = "<$m[1]>\n$text\n</$m[1]>";
+
:I think there are hooks to extend that pretty easily, you need something done? --[[User:Nad|nad]] 14:01, 7 June 2008 (NZST)
  return true;
+
 
}
+
== MediaWiki parser ==
</php>  
+
 
please. I can't access the server from here to do it at the moment. I will use that for the moment for R highlighting untill I can get the R GeSHi higlighting rules (which didn't appear to be available on the R website) --[[User:Sven|Sven]] 14:27, 29 May 2007 (NZST)
+
thought you might be interested in this article - [[M:Migration to the new preprocessor]] which provides information about the changes to [http://svn.wikimedia.org/doc/classParser.html parser.php] --[[User:Sven|Sven]] 14:16, 9 June 2008 (NZST)
----
 
Yo,
 
Ive just added a working version of [[Extension:Fasta]].
 
Any editor I use struggles to format your way, expecially with comments,
 
it is driving me nuts, will have to get configs going. --[[User:Sven|Sven]] 12:13, 22 May 2007 (NZST)
 
:What kind of editors are you using, it's formatted completly normally - is it braces? tabs? or what?! get something decent like textpad or ultraedit...
 
:: Both in vi and emacs, they struggle to move any comments in with tabs, and tab distance is an issue --[[User:Sven|Sven]] 12:18, 22 May 2007 (NZST)
 
----
 
See [[Sandbox]] for a tracelog of errors occuring now the symantic database is being used --[[User:Sven|Sven]] 22:22, 18 May 2007 (NZST)
 
: What did you change to get the symantec extension working? --[[User:Sven|Sven]] 22:30, 18 May 2007 (NZST)
 
::You need to go to [[Special:SMWAdmin]] to update the db tables (see [http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/SemanticMediaWiki/INSTALL INSTALL]), but I was backing up the db first --[[User:Nad|Nad]] 22:50, 18 May 2007 (NZST)
 
----
 
hey aran, couple of things...
 
# have been putting a few more lines in the elance and linkedin seas for work, so im trying to get some content on wikiexpert....to that end, feel free to adjust the text on http://www.wikiexpert.com/WikiExpert:About or wherever...hopefully this will turn into a good avenue of exposure for the project.
 
:No worries, I just added the MW: prefix so they link to the mediawiki.org pages about them --[[User:Nad|Nad]] 18:30, 18 May 2007 (NZST)
 
as you can see, iv'e snagged it from a few of your pages. I don't intend to imply that this is "me". I hope to build a good reputation out in the elance field with the work that we all do together....the intrawiki transculsion  would be nice here, obviously.
 
:I'm going to set up interwiki transclusion soon, so we can trasnclude templates etc into any od/wikia from mediawiki or od. Also I'm upgrading the livelets transclude to be able to handle any URL not just wiki ones. --[[User:Nad|Nad]] 18:30, 18 May 2007 (NZST)
 
# status on the search accumulator....?
 
:I'm a bit snowed under at the moment but I'm chipping away at it in [[Extension:SearchLog.php]], I'm making it log all information from every search into a file, then will probably make a special-page giving the totals in a sortable table. I'll probably add a drop down to filter the totals to a specific month which would make it a fair bit more useful I think. --[[User:Nad|Nad]] 18:30, 18 May 2007 (NZST)
 
thanks!
 
  
--[[User:Phalseid|Phalseid]] 16:40, 18 May 2007 (NZST)
+
== [https://wiki.toolserver.org/view/Main_Page Wikimedia Toolserver] ==
  
 +
Check out your edits on wikimedia projects e.g. [http://toolserver.org/~interiot/cgi-bin/count_edits?user=Nad&dbname=enwiki_p Nad on 'pedia].
 +
We need to check out useful tools and ideas from this, some documentation available [[Meta:Toolserver|here]] and [https://wiki.toolserver.org/view/Main_Page here]. --[[User:Sven|Sven]] 11:42, 11 June 2008 (NZST)
 +
:Test to see what the edit summary looks like --[[User:Sven|Sven]] 12:59, 11 June 2008 (NZST)
 +
::Yea I'd really like to tie bots and scraping (like that svn-commits chart or oil-price monitor etc) in to our workflow system so we can define streams of process-driven content similar to the toolserver idea. --[[User:Nad|nad]] 16:30, 11 June 2008 (NZST)
  
Howdy,
+
== Wiki.pl ==
I have been having some trouble logging with $wgSiteNotice. If it is assigned at the beginning of [[Extension:Fasta]], I have no problems, if I declare it as a global in the constructor method 'Fasta'  , it executes, as the constuctor is executed when the class is declared. If I put it in any other method function $wgSiteNotice is not written to --[[User:Sven|Sven]] 00:17, 13 May 2007 (NZST)
 
:I've been having similar trouble, nothing seems to echo either when executed from inside the parser, I think it will have to be logged to article or file when inside the parser. I can understand $wgSiteNotice not working from there - the notice is probably already built and rendered by then, but no echo is weird --[[User:Nad|Nad]] 08:54, 13 May 2007 (NZST)
 
:: Yeah i tried using echo aswell, file logging sounds like a good idea for the moment. --[[User:Sven|Sven]] 09:04, 13 May 2007 (NZST)
 
----
 
yo nad, how can we dynamically copy the news/main page over to wikiexpert.com? --[[User:Phalseid|Phalseid]] 08:42, 11 May 2007 (NZST)
 
:The usual way to do that kind of thing id with [[MW:Manual:$wgEnableScaryTranscluding|Scary Transclusion]], but enabling that is a bit scary. I think a slight modification to [[livelets.php]] would do the trick, I'll have a look at it soon. --[[User:Nad|Nad]] 09:06, 11 May 2007 (NZST)
 
----
 
  
Theres three versions of treeview kicking around, [[Treeview3.php]], [[MediaWiki treeview.php]], and [[Extension:Treeview.php]], I assume the first two can be deleted --[[User:Sven|Sven]] 19:01, 10 May 2007 (NZST)
 
: When you deleted one, you made a comment that ones a redirect, [http://www.organicdesign.co.nz/wiki/index.php?title=Treeview3.php&redirect=no Treeview3.php], [http://www.organicdesign.co.nz/wiki/index.php?title=Extension:Treeview.php&redirect=no Extension:Treeview.php] (don't look like redirects), are they different versions? --[[User:Sven|Sven]] 19:45, 10 May 2007 (NZST)
 
:: Ok, I have fixed the links on MW as they were refering to [[Treeview3.php]]. there was some code differences with [[Extension:Treeview.php]] so I hope it was the right one --[[User:Sven|Sven]] 20:42, 10 May 2007 (NZST)
 
:::No it was the wrong one it should be linking to [[Extension:Treeview.php]] which I've changed it to now --[[User:Nad|Nad]] 20:50, 10 May 2007 (NZST)
 
----
 
 
Yo,
 
Yo,
in [[Talk:Extension:Example]] I put a question regarding the use of $wgExampleVersion and version in $wgExtensionCredits['parserhook'][]. Can you put the $wgExampleVersion  variable as input to the associative array key 'Version'? --[[User:Sven|Sven]] 12:26, 10 May 2007 (NZST)
+
Ive successfully added a wikiDelete method, it may need a bit of work around capturing the correct $err message if a user does not have rights to access the page. The restore method is almost there but unfortunately I am working off line mostly this weekend if you see something obvious I am doing wrong. You can specify a specific revision, or all revisions to restore, will get the latest revision restoring first.
----
 
Is the latest version of [[Extension:Example]] installed on OD, I cannot get it to work on my local wiki here, get a blank page --[[User:Sven|Sven]]
 
:oops, yip there was a bug in it, it's fixed and latest installed on OD --[[User:Nad|Nad]] 23:23, 7 May 2007 (NZST)
 
----
 
Yo,
 
on mediaWiki I noticed this version control of an extension using transclusion, [[MW:Template:Google Maps Extension Latest]], I wonder if there is a better way to do this where versioning using history information somehow to increment, a minor edit would increment the 0.0.0 to 0.0.1, and a major edit 0.0.0 to 0.1.0, and reverts decrement. Maybe it is not a good idea as some editors would be lazy and not use the minor edits check box. --[[User:Sven|Sven]] 22:03, 6 May 2007 (NZST)
 
----
 
Yo,
 
Zenia will find this wikipeida article interesting on [http://en.wikipedia.org/wiki/Vioxx Vioxx], oh and I accidentally picked up their sissors, will get them back ASAP. --[[User:Sven|Sven]] 07:44, 5 May 2007 (NZST)
 
----
 
Yo,
 
coming over tomorrow morning. I can't find what is causing the underlines in the lnks which have not yet been viewed, I expected it to have been [http://www.organicdesign.co.nz/wiki/index.php?title=MediaWiki%3AWikiskin.css&diff=69360&oldid=69359 this] difference --[[User:Sven|Sven]] 23:09, 3 May 2007 (NZST)
 
----
 
On http://starwars.wikia.com/wiki/Special:Version]] there is an extension that goes with dpl, http://meta.wikimedia.org/wiki/DPLforum. Might be worth checking out --[[User:Sven|Sven]] 19:58, 2 May 2007 (NZST)
 
:Could have some good code to check out, I wouldn't want to use it as part of our extension collection though as forks are a pain in the arse --[[User:Nad|Nad]] 22:25, 2 May 2007 (NZST)
 
----
 
Yo,
 
Check out [[MW:Extension:Nuke]], why use nuke.php when you can do it in the wiki? --[[User:Sven|Sven]] 11:49, 2 May 2007 (NZST)
 
:We already have that installed, see [[special:nuke]] - it's not quite what we want as it only works for pages created by a certain ip, not an arbitrary list - also I tested that ''nukePage.php'' and it seems like it was about to nuke thousands of pages, but luckily it generated invalid SQL and bailed. --[[User:Nad|Nad]] 12:07, 2 May 2007 (NZST)
 
:: How come [[special:Nuke]] is not listed in the [[Special:Version]]? - There is also ''maintenance/deleteBatch.php'' for multiple pages --[[User:Sven|Sven]] 13:57, 2 May 2007 (NZST)
 
:::Dunno, just depends if they add to the credit hash in their code, it's listed as "mass delete" at the bottom of [[Special:Specialpages]] tho --[[User:Nad|Nad]] 14:28, 2 May 2007 (NZST)
 
----
 
  
Is the variable <nowiki>{</nowiki>{CURRENTUSER}} one that yourve defined on this wiki in [[LocalSettings.php]]? -looks like it --[[User:Sven|Sven]] 16:12, 1 May 2007 (NZST)
+
I also managed in the process of testing to submit incorrect token content which has stuffed up the local instance of the database when restoring one particular article, so I may have found a mediaWiki bug in 1.12.0 but need to document further. I want to create a test script which can do a pile of test actions so we can loop it through a set of wiki versions to test wiki.pl on. Here is the error message I managed to create;
:There some info on adding CURRENTUSER on [http://en.wikipedia.org/wiki/Help:Variable#Adding_new_variables 'Pedia] --[[User:Sven|Sven]] 16:16, 1 May 2007 (NZST)
 
::Yip it's added by [[Wikiskin.php]]. The 'pedia code you're referring to was added by me too --[[User:Nad|Nad]] 16:22, 1 May 2007 (NZST)
 
::: While were on the subject, the [[MW:Extension:Simple_Calendar]] extension example uses <nowiki>{</nowiki>{CURRENTUSER}} which is not generally available on mediaWiki --[[User:Sven|Sven]] 22:03, 1 May 2007 (NZST)
 
::::Good point, I added a note and link to [[MW:Extension:Variables]] which explains how to add it. --[[User:Nad|Nad]] 22:09, 1 May 2007 (NZST)
 
::::: Also, [[MetaWikipedia:VariablesExtension]] documentation suggests putting it in a directory called Variables aswell. Could rename your extansion to ''AddVariables'' to avoid confusion --[[User:Sven|Sven]] 08:53, 2 May 2007 (NZST)
 
::::::My one doesn't go in any directory, it's just example code explaining how to do it so the name doesn't really matter --[[User:Nad|Nad]] 09:50, 2 May 2007 (NZST)
 
----
 
Regarding DPL, there  is active development in the versions, they are now up to [http://semeb.com/dpldemo/index.php/DPL_source_as_a_ZIP_archive V1.1.4]
 
  
I get an sql error on my system trying to run dpl;
+
<source lang="mysql">
<mysql>
+
Database error manually identified when attempting restore
 +
Database error
 
A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:
 
A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:
(SQL query hidden)
+
 
from within function "". MySQL returned error "1064: You have an error in your SQL syntax. Check the manual
+
    (SQL query hidden)
that corresponds to your MySQL server version for the right syntax to use near
+
 
'select rev_user_text from `revision` where `revision`.rev_page= (localhost)".
+
from within function "Revision::insertOn". MySQL returned error "1062: Duplicate entry '12' for key 2 (localhost)".
</mysql>
+
</source>
Seems to be to do with the (localhost) part, this should be an integer refering to the particular user. I wonder whether this is because of the mysql version I am using (V 4.0.21) --[[User:Sven|Sven]] 12:12, 1 May 2007 (NZST)
+
 
:I doubt it's the MySQL version, more likely the dpl version - maybe try the dpl version we're running before changing mysql --[[User:Nad|Nad]] 12:35, 1 May 2007 (NZST)
+
I think at the time I submitted only two name/value hidden fields <code>my %form = (wpEditToken => $1, target => $title,</code>. Anyway, I want to add a couple of other functions to upload/delete/restore files. The file restoration function may be covered by the generic wikiRestore function.--[[User:Sven|Sven]] 10:49, 15 June 2008 (NZST)
:: I tried that first, used V1.1.0 and I still get the message --[[User:Sven|Sven]] 12:50, 1 May 2007 (NZST)
+
:That's pretty heinous if you can construct a query that can stuff the db. Is it fixed by deleting the article again? --[[User:Nad|nad]] 12:39, 15 June 2008 (NZST)
::: It was the version of mysql, it needs to be V4.1.x not 4.0.x --[[User:Sven|Sven]] 15:57, 1 May 2007 (NZST)
+
:: Just for the article [[Sandbox]] on my localhost is the restore stuffed, and only when I try to restore '''all''' revisions, restoring the latest revision is fine. However when I created the problem I had posted fields that were incorrect, so I think it is likely to be a MediaWiki bug that I found, hopefully if I have time I can trace and document it. I still havent got the restore functionality going yet. --[[User:Sven|Sven]] 13:06, 15 June 2008 (NZST)
----
+
== Extension:Marketresearch‎ ==
 +
[[Extension:Marketresearch‎]] and talk. --[[User:Phalseid|Phalseid]] 05:59, 11 July 2008 (NZST)
 +
== bug in csv2wiki ==
 +
see http://www.organicdesign.co.nz/Talk:Csv2wiki.pl#bug --[[User:Phalseid|Phalseid]] 08:35, 12 July 2008 (NZST)
 +
 
 +
== Wiki.pl Stability ==
 +
 
 
Yo,
 
Yo,
saw your download template, DPL have wiped my stuff and added a media:zip [http://semeb.com/dpldemo/index.php?title=Manual_-_Source_and_Installation&diff=3889&oldid=3851 download].
+
I've made [http://www.organicdesign.co.nz/wiki/index.php?title=Wiki.pl&diff=89604&oldid=89356 changes] to [[Wiki.pl]] to try to make the WikiEdit function a bit more stable. The issue has been the large conditional regex attempting to grab all relevant hidden key/value pairs on about line 114. As the interface changes subtly the regex occasionally fails. The modified approach just searches for the wpEDitToken key;
--[[User:Sven|Sven]] 08:47, 1 May 2007 (NZST)
+
<source lang="php">
:Cool, that's much better than links which require the files to then be edited --[[User:Nad|Nad]] 09:10, 1 May 2007 (NZST)
+
if ($response->is_success and (
:: You probably need to purge the files still, do they actually get deleted? --[[User:Sven|Sven]] 12:12, 1 May 2007 (NZST)
+
$response->content =~ m|<input type='hidden' value="(.+?)" name="wpEditToken" />|g
----
+
)) {
Theres also a couple of GeShi highlighters,
+
</source>
*[http://meta.wikimedia.org/wiki/GeSHiCodeTag_Extension GeSHiCodeTag_Extension (Paul Nolasco)]
+
 
*[http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi Extension:SyntaxHighlight_GeSHi (Brion Vibber)]
+
then (inefficiently) tests and saves the other wanted keys. It has not been tested across multiple MW versions yet but should be much more stable. --[[User:Sven|Sven]] 08:43, 19 December 2008 (NZDT)
We are uing the first one with your hack --[[User:Sven|Sven]] 13:53, 30 April 2007 (NZST)
+
:Cool thanks ;-) --[[User:Nad|nad]] 08:44, 19 December 2008 (NZDT)
:Yeah I checked out both, the second one didn't work straight out of the box and the first one did, so that's what we're using ;-)
+
 
:: Ive just got Paul Nolascos version going, its a bit non standard putting his script in extensions, rather than a sub directory geshi. I am not sure what effect putting
+
== MindMap ==
<php>include("extensions/GeSHiCodeTag.php"); </php> before $wgSiteName in LocalSettings.php, seems to work with the code at the end of the file for me. Will try adding your bit--[[User:Sven|Sven]] 15:18, 30 April 2007 (NZST)
+
nad, could you please 1) add the freemind mind map to tmp.peerix.org, and 2) tell me why it is not working any longer on wx? thx! --[[User:Phalseid|Phalseid]] 00:39, 2 January 2009 (NZDT)
:::It makes no difference whether its in a subdir or not, I've put all our geshi stuff in extensions/geshi --[[User:Nad|Nad]] 15:32, 30 April 2007 (NZST)
+
:I don't know why thats not working, I'll have another look later --[[User:Nad|nad]] 09:17, 2 January 2009 (NZDT)
----
+
 
Yo,
+
::here is why it is not working....same on tmp...http://www.mediawiki.org/wiki/Extension_talk:FreeMind#.C2.BBFlash_plugin_or_Javascript_are_turned_off._Activate_both_and_reload_to_view_the_mindmap.C2.AB
it appears that DynamicPageList2 is and older extension for wikinews;
+
 
*http://www.mediawiki.org/wiki/Extension:DynamicPageList2#DynamicPagelist2_vs._DynamicPageList
+
== MindMap II==
*http://www.mediawiki.org/wiki/Extension:DynamicPageList
+
please add this as well http://www.mediawiki.org/wiki/Extension:MindMeister I think this will satisfy my Red Eye needs for now... --[[User:Phalseid|Phalseid]] 03:28, 3 January 2009 (NZDT)
*http://www.mediawiki.org/wiki/Extension:DynamicPageList2
+
 
--[[User:Sven|Sven]] 09:13, 30 April 2007 (NZST)
+
== where to put stuff ==
:It says in [[special:version]] that we have 1.1.0, so that's ok I think --[[User:Nad|Nad]] 09:34, 30 April 2007 (NZST)
+
i want to put up info on the platform regarding intentional community. should it go here or on tmp?  im not clear as to "why the difference", i guess --[[User:Phalseid|Phalseid]] 00:41, 2 January 2009 (NZDT)
::Yeah thats probably ok, I notice [http://www.mediawiki.org/wiki/Extension:DynamicPageList DynamicPageList] is 1.1.1, have you checked out the extension [http://meta.wikimedia.org/wiki/Help:Inputbox Inputbox], how does this differ from your [http://www.mediawiki.org/wiki/Extension:Simple_Forms Simple forms]? --[[User:Sven|Sven]] 13:20, 30 April 2007 (NZST)
+
::an example is 1) the MW training material i am working with milan on and 2) this community mindmap governance issue. --[[User:Phalseid|Phalseid]] 00:43, 2 January 2009 (NZDT)
:::Yip I looked at the existing ones before starting. Inputbox is designed to work with CreateAction and isn't really a general purpose forms solution. And CreateArticle doesn't do the actual creation process, it just goes to edit like a red link, but allows default content in the textarea. SimpleForms is an overall forms solution with ways of handling form construction, processing and results. --[[User:Nad|Nad]] 13:54, 30 April 2007 (NZST)
+
:::I'm not sure if these things belong in platform (check [[Documentation]] for a brief description of what role each document should be playing). Basically everything goes on OD except things which need to be kept completely private such as the coffee projects. The training material probably should be going into [[MediaWiki workshop]] or its talk. --[[User:Nad|nad]] 09:22, 2 January 2009 (NZDT)
----
+
 
Also,
+
== Project red eye ==
I think either the [[metawikipedia:Interwiki map]] or our interwiki table is out of date, a few links were missing in [[MediaWiki Documentation]] --[[User:Sven|Sven]] 21:54, 27 April 2007 (NZST)
+
nad: im hoping you have some down time waiting for decaf stuff, please check out http://tmp.peerix.org/Red_Eye and let me know $/clarification. thx --[[User:Phalseid|Phalseid]] 00:49, 2 January 2009 (NZDT)
----
+
:I'll need a lot of clarification for this one, some mockups would be good... I can't really know $ until I know exactly what needs to be done, but off the top of my head it looks difficult, probably $500-$1000 --[[User:Nad|nad]] 09:24, 2 January 2009 (NZDT)
Hi Aran,
+
 
 +
forget this for now...see http://www.mediawiki.org/wiki/Extension:MindMeister above.. --[[User:Phalseid|Phalseid]] 03:29, 3 January 2009 (NZDT)
 +
 
 +
==widgets on demo==
 +
aran, plese create and set Folder permissions /extensions/Widgets/compiled_templates/ folder should be made writable by web server (this is where Smarty stores pre-compiled template.) please verify by checking http://demo.organicdesign.co.nz/Google_Calendar (scroll to bottom)  thx! --[[User:Phalseid|phalseid]] 13:44, 9 February 2009 (NZDT)
 +
:But I thought you had agreed that Milan was now developing the demo, is he planning on implementing these widgets as part of his presentation? does he know this? what are you planning here? --[[User:Nad|nad]] 20:09, 9 February 2009 (NZDT)
 +
 
 +
== Extension:NukeDPL.php ==
 +
Hi Nad, your new version of this extension has overwritten a couple of things I had added to it:  
 +
*a couple of bug fixes (two minor ones, corrected with a replace, and one major: the list of results was always showing one less result than the total returned by the DPL query), and
 +
*a text suggestion for the query window (redirects = exclude | include| only)
 +
Here[http://www.organicdesign.co.nz/wiki/index.php?title=Extension%3ANukeDPL.php&diff=91586&oldid=85145] you can check the differences I introduced. As I'm not sure if you left them out on purpose, I'd like to wait for a confirmation from you; feel free to reintroduce them if you agree. Your extension is being used at CPDL.org, that has a lot of titles with accented characters, that's why these bugs could be discovered. Needless to say how much we appreciate this extension, thanks a lot for it. [[User:Capmo|Capmo]] 22:57, 19 March 2009 (UTC)
 +
:Sorry about that, not sure how your str_replace fix works, but I'll take your word for it! re-implemented it just now, thanks ;-) --[[User:Nad|nad]] 02:03, 20 March 2009 (UTC)
 +
 
 +
== Integration ==
 +
 
 +
Hi Nad,
 +
I saw your [http://www.mediawiki.org/wiki/Extension:Recent_changes Recent Changes extension]. I agree that fragmentation is a big problem in the wikisphere. Recently I created the (experimental) [http://www.mediawiki.org/wiki/Extension:RPED RPED extension] to help address that very concern. Let me know if you want to collaborate on other projects for data exchange among wikis. Regards, [[User:Tisane|Tisane]] 09:09, 26 March 2010 (UTC)
 +
 
 +
== SimpleSecurity ==
 +
I just downloaded the SimpleSecurity svn. And it's not handling Images, as in it's allowing them to be put into pages. It's also allowing their thumbnails to show up in searches. [[User:Smile Lee|Smile Lee]] 13:28, 26 March 2010 (UTC)
  
Congrats on getting the skin and other bits and pieces functional again, it's looking quite tidy around here :-) I was hoping you could check out this dpl stuff for me when you get a chance, the error is displayed under [[Milan/Contacts]]. I did end up catching that 19:45 ferry with two minutes to spare but it took a fair amount of determination, heh.
+
== Chloe in the snow ==
  
I will begin getting some templates and forms in there now, nice to see that the form can be tied into the template with that "noinclude" trick that you wrote down today, I was wondering about that. My first milestone with forms will be to get the functionality of a simple CRM happening and then to get csv imports from vtiger or sugarcrm.  
+
http://www.flickr.com/photos/rebba/4386885783/in/set-72157604564573252/
  
I'll just start with rough'n'ready forms and templates and hope you and "sven" can smooth 'em out as you go :-)--[[User:Milan|Milan]] 23:01, 26 April 2007 (NZST)
+
==AGI Manhattan==
----
+
I read the whole thing today (could not watch the videos due to lack of BW)... holy crap! But did you see this? [http://ignoranceisfutile.wordpress.com/2010/07/23/using-automated-untelligence-to-fight-artificial-intelligence Automated Unintelligence] I love it! --[[User:Infomaniac|Infomaniac]] 13:45, 13 August 2010 (NZST)
Hi Aran,
 
  
I will be on the 15:30 ferry to devonport, see you then--[[User:Milan|Milan]] 09:30, 24 April 2007 (NZST)
+
== mail problems ==
  
== Implexant ==
+
Having a bit of trouble connecting to my od mail account in the last few days. On further investigation this looks a bit fishy:
Nad,
 
The company I'm working for would be interested in hiring you to modify your Simply Security plugin to meet our needs. Please [mailto:&#99;&#104;&#114;&#105;&#115;&#106;&#64;&#112;&#114;&#101;&#99;&#105;&#115;&#105;&#111;&#110;&#101;&#115;&#116;&#105;&#109;&#97;&#116;&#105;&#110;&#103;&#46;&#99;&#111;&#109; contact me]. --[[User:Implexant|Implexant]] 11:53, 11 July 2007 (NZST)
 
: Nad, Still haven't heard from you yet. I did reply to your email with specifications. Let me know! --[[User:Implexant|Implexant]] 08:10, 14 July 2007 (NZST)
 
::I sent the following message a few days ago,
 
 
<pre>
 
<pre>
I plan on adding an #ifgroup parser-function for testing if a user belongs
+
Rob-MacBookPro:~ rcar004$ host organicdesign.co.nz
to a group at some stage because that requirement keeps cropping up. It's
+
organicdesign.co.nz has address 69.64.87.188
only a small job of under an hour, a small donation on our paypal form on
+
organicdesign.co.nz mail is handled by 5 mail.organicdesign.co.nz.
organicdesign would be much appreciated and would allow me to make it high
+
Rob-MacBookPro:~ rcar004$ ping mail.organicdesign.co.nz
priority.
+
PING mail.organicdesign.co.nz (69.64.87.188): 56 data bytes
 +
Request timeout for icmp_seq 0
 +
64 bytes from 69.64.87.188: icmp_seq=1 ttl=50 time=326.814 ms
 +
64 bytes from 69.64.87.188: icmp_seq=2 ttl=50 time=247.202 ms
 +
Request timeout for icmp_seq 3
 +
Request timeout for icmp_seq 4
 +
64 bytes from 69.64.87.188: icmp_seq=5 ttl=50 time=318.341 ms
 +
Request timeout for icmp_seq 6
 +
Request timeout for icmp_seq 7
 +
64 bytes from 69.64.87.188: icmp_seq=8 ttl=50 time=285.733 ms
 +
64 bytes from 69.64.87.188: icmp_seq=9 ttl=50 time=308.877 ms
 +
64 bytes from 69.64.87.188: icmp_seq=10 ttl=50 time=332.087 ms
 +
^C
 +
--- mail.organicdesign.co.nz ping statistics ---
 +
11 packets transmitted, 6 packets received, 45.5% packet loss
 +
round-trip min/avg/max/stddev = 247.202/303.176/332.087/29.139 ms
 
</pre>
 
</pre>
 +
Dropped packets and the server doesn't seem to be accepting my password (same as od unix login 'rob').
 +
--[[User:Rob|Rob]] 00:52, 17 October 2010 (PDT)
 +
:We've done a major server move, see [[News]], I didn't realise you were using OD mail, I'll set up your account now, but you'll need to either email/skype/IRC/TXT your pwd, or email me your pub RSA key so you can shell in yourself and set your pwd. --[[User:Nad|nad]] 01:04, 17 October 2010 (PDT)
  
----
+
== Selenium extension ==
They've been doing some reorganizing of extensions on mediawiki and [[mw:Extension:Chat]] isn't showing up on the mediawiki Category:Extensions page any more. I have no I why as its in the category. Any ideas?
 
--[[User:Firebreather|Firebreather]] 14:20, 12 July 2007 (NZST)
 
:Ok, totally weird, its back again.
 
 
 
== SWF, FreeMind & YouTube on WX ==
 
hey, any chance you can embed flash (e.g. google video or youtube content) into the wikia WX ssite? i saw you can do it by moding  /includes/Sanitizer.php
 
      'embed' => array( ’style’, ‘id’, ‘type’, ’src’, ‘width’, ‘height’ )
 
also may need to add embed to $htmlpairs.  thanks --[[User:Phalseid|Phalseid]] 00:39, 19 July 2007 (NZST)
 
:I'm not sure about that setting, but modding includes is a no no, whatever needs doing, it should be able to be done from LocalSettings.php --[[User:Nad|Nad]] 09:40, 19 July 2007 (NZST)
 
::sounds good, just would like to be able to embed flash objects again....--[[User:Phalseid|Phalseid]] 06:38, 20 July 2007 (NZST)
 
::could you also add this quasi-extension to allow mindmaps from freemind?  I have found it very useful, and would like it on WX and OD to work with sven on the WX business plan. [http://freemind.sourceforge.net/wiki/index.php/Embedded_Mind_Maps?#How_to_download_the_Freemind_Extension_for_MediaWiki Freemind howto]
 
:::I've got a lot of stuff I need to get done today but I'll check it out as soon as I can --[[User:Nad|Nad]] 09:40, 19 July 2007 (NZST)
 
  
== Using SimpleForms with DPL ==
 
 
Hi Nad,
 
Hi Nad,
  
I tried to follow your suggestion and created a GUI for DPL using SimpleForms. Have a look at [http://semeb.com/dpldemo/DPL]. I noticed some problems when I tried to use a wikitable within the body of a #form to arrange the fields in nicer way. Can you help? The preferred way would be to create a copy of [http://semeb.com/dpldemo/DPL:Catlist] which demonstrates how to do it correctly. Or ist there a known bug which prevents the use of tables? I ran into strange layouts with double quotes at various places.
+
Thanks for the interesting link. I'm specifically interested in running Selenium tests from the wiki, i.e. using the wiki as a selenium test archive.
  
Second, I observed that the standard edit form of the dpldemo wiki is now cluttered with a row of empty boxes. As this appeared right after the installation of SimpleForms and the moo lib, the reason must come from there. Is there a way to get rid of them again?
+
Is it likely that the Selenium Extension still works?
  
Third, I could not get the Ajax calls working. It simply happens nothing althoug the path setting to the lib (I placed it under /dpldemo/javascript) should be set correctly in LocalSettings.php. Is there a  debug switch or a simple test?
 
  
Thanks, Gero
+
Cheers,
:I've had trouble with tables when trasncluded too, <s>I think maybe you should change the pipes to <nowiki>{{!}}</nowiki> like on mediawiki and wikipedia where [[Template:!]] is just a pipe character - or</s>  currently html table syntax is required, I don't quite know how to change that currently. I don't have a clue how it might be stuffing up the edit page - maybe its conflicting with another extension...?
+
--[[User:Dan Bolser|Dan Bolser]] 01:10, 4 April 2011 (PDT)
:The Ajax itself is working fine, I've added the [[Ajax links example]] and [[Ajax form example]] to my use page on [[DPL:User:Nad]] and most of it is working but not quite (example 3 of ajax links doesn't work). I'll definately be keen to help sort this out though because I love DPL and would like SimpleForms to work nicely with it. --[[User:Nad|Nad]] 09:32, 27 July 2007 (NZST)
+
:The last state it was in it was working, we had some test tests running in this site, but the extension and framework are no longer installed. --[[User:Nad|nad]] 19:50, 7 April 2011 (PDT)
::I found a problem [http://semeb.com/dpldemo/index.php?content=foobar&action=render this URL] should be sending no-cache headers, but isn't. A recent upgrade of the software fixed the problem on my server, but you're running the latest version which includes the nocache code... I'll have to think about why it's not sending them...? --[[User:Nad|Nad]] 14:26, 27 July 2007 (NZST)
 
  
:::Thanks for your effort! Ajax is not really the problem because the DPL GUI currently uses a normal forms 'action'. But it was obviously mootools that cluttered the edit dialogue with icons and made loading the editor SLOW, so I disabled Ajax for the moment. Nevertheless (while Ajax was still on) I could find a small bug in the page you had created: It used "/wiki/index.php" instead of "/dpldemo/index.php".
+
== Private work for adeft ==
:::What would be helpful is (a) checkboxes, (b) radiobuttons and (c) being able to use tables for formatting...
 
:::I will be on holiday for two weeks now, so there is no hurry.
 
:::[[User:Algorithmix|Algorithmix]] 21:47, 27 July 2007 (NZST)
 
::::You can do checkboxes and all other normal form elements, see [[SimpleForms cheatsheet]] and tables with html syntax. I'll have a look at the path problem soon. Have a good holiday ;-) --[[User:Nad|Nad]] 23:43, 27 July 2007 (NZST)
 
  
== Livelets ==
+
#why is http://www.sebokwiki075.org/wiki/and http://www.sebokwiki075.org/wiki/ so slow? Extensions? DPL? Caching? Server?
Aran- seems that wikilets are not working on WX? what is the best way to compare data side by side, do you think? --[[User:Phalseid|Phalseid]] 18:51, 10 August 2007 (NZST)
+
#how to get http://www.sebokwiki075.org/dev/index.php?title=Mediawiki:NavTree to show up on the left hand navigation. I thought I did it right. Once we get that, need to figure out some basic style stuff, and get it working on /wiki (same domain as above)
:You mean livelets? I'd forgotten to include mootools which it uses for ajax - fixed now. I don't know why you need those lists to be transcluded live though, just a normal transclude would probably be fine... --[[User:Nad|Nad]] 19:47, 10 August 2007 (NZST)
+
#backup script- TBD
::thanks! needed it live because andrew and i might be working on it simultaneously to figure out how to port stuff over to vtiger. about the transclude, im confused about the syntax...it seems to want the ":" after the "{{"...is that normal behavior? not how it works on default MW, as far as i could see... --[[User:Phalseid|Phalseid]] 01:29, 11 August 2007 (NZST)
+
#update star menu with transparency layers
::::Livelets are not live, no work has been done on livelets as I've had to focus only on paid work, they are still only working as a secondary request after page load but do not update when content is changed. They use colon because it's a parser function, not a template. --[[User:Nad|Nad]] 09:32, 11 August 2007 (NZST)
+
#I added http://www.mediawiki.org/wiki/Extension:BreadCrumbs to /dev above. They want the navigation to appear ABOVE the article title. I screwed around with http://www.sebokwiki075.org/dev/index.php?title=MediaWiki%3ACommon.css&action=historysubmit&diff=28551&oldid=28545
:::and why did you/we change to conversations to be at the bottom instead of top...trying to be compliant there too, eh? ;) i think it is worth a news item.... --[[User:Phalseid|Phalseid]] 01:31, 11 August 2007 (NZST)
+
and got it to look right, but when you edit with the above, it screws up the tabs and looks shitty. i read the talk page on http://www.mediawiki.org/wiki/Extension:BreadCrumbs and it was talking about hooks, so i bailed. Basically, what would it take to get this extension to work in Vector with the breadcrumbs showing up ABOVE the title and not overwriting stuff like in
::::I started putting talk items at the bottom separated by headings to start conforming to same way as mediawiki/wikipedia, but it doesn't really matter. --[[User:Nad|Nad]] 09:32, 11 August 2007 (NZST)
 
  
==Political wiki project==
+
--[[User:Phalseid|phalseid]] 09:13, 23 February 2012 (PST)
http://www.wikiexpert.com/Political_wikis
 
--[[User:Phalseid|Phalseid]] 08:49, 12 August 2007 (NZST)
 
----
 
Check this [[W:User:GrooveDog|user page]] out. He has some nice simple templates similar to ours. --[[User:Sven|Sven]] 09:06, 12 September 2007 (NZST)
 
----
 
Looking through the offset 10-20 items of the [[News]] article, I noticed some funny rendered output in [http://organicdesign.co.nz/wiki/index.php?title=News&offset=10 News 10-20]. Any ideas what it is? --[[User:Sven|Sven]] 14:01, 13 September 2007 (NZST)
 
:Yeah that's the price we pay for removing the expensive regexp query and replacing it with a ''uses=news''. Since some other non-news articles use news they end up in there too. --[[User:Nad|Nad]] 14:07, 13 September 2007 (NZST)
 
----
 
Looks like there is a small bug on line 219 of [[Extension:SimpleForms.php]], <code>$argv['onClick'] .= "f = $('{$this->id}');$template</code>, the $template shouldn't be there. --[[User:Sven|Sven]] 11:33, 24 September 2007 (NZST)
 
===EmaiToWiki===
 
I've moved this conversation to [[MW:Extension talk:EmailToWiki#Emails not showing up in wiki]]
 
===misc===
 
I'll be on 5:30 ferry --[[User:Rob|Rob]] 16:41, 26 September 2007 (NZST)
 

Latest revision as of 18:11, 22 May 2015

Exploring Wiki

Hey Aran,

is this the place where you make contact with other users then?

Ahhh, Bach. --The Duncan 06:20, 6 September 2010 (NZST)


Mediawiki programming help

Dear Nad, I have been taking a look at your work and you seem to have an impressive handle on mediawiki programming. I am working on a corporate project and we are looking for help with user interface/skinning and mediawiki extensions. We have a project deadline to meet over the next 6 weeks. If you would be interested and available for payable contract work, please contact me at organicdesign@jenandi.com

Kind Regards, Andi

Templates and passing vars

Nad, trying to get the google map extension to work with vars in a template, such that:

{{Test
|FULL_NAME = Ashfield
|FULL_NAME_ND = Ashfield
|LAT = -33.8833333
|LONG = 151.1166667
}}

<googlemap width="400" height="300" zoom="16" type="hybrid" controls="medium">
{{{LON}}},{{{LAT}}}, {{{FULL_NAME}}}
</googlemap>

would work. It appears to be a problem: https://bugzilla.wikimedia.org/show_bug.cgi?id=2257

and this appears to be somebody's solution?? http://blog.w-nz.com/archives/2005/08/23/using-template-variables-in-extension-tags-with-mediawiki/

what are your 2 cents? --Phalseid 06:39, 3 April 2008 (NZST)

I think installing an extension to generically process all variables in tags is a bit extreme, why not just hack your google maps extension in the tag function, or do an official patch on it which allows it to process the variables, eg

<php>$text = $parser->replaceTemplateVariables($text);</php>

You could make it do it based on a global such as $egGoogleMapsReplaceVariables --Nad 09:09, 3 April 2008 (NZST)

Treeview 5

Yo, Ive just put a suggestion up for this post. I suggest we may need to convert windows backslashes to forward slashes in extensions if this is a continuing problem --Sven 13:05, 3 April 2008 (NZST)

Extension:Treeview5.php

That fix for windows/unix paths was unbelievably obvious, why didn't I think of it... --Sven 14:18, 15 April 2008 (NZST)

Yea, that's what I was meaning about it only being an issue for the regex operating on the backslashes, not with the backslashes themselves. I only just got round to reading the treeview talk page and checking it out. You need four backslashes though because the regex expects it to be doubled so its not treated as escaping the following square bracket, and each of those two need to be escaped themselves since they're inside PHP quotes. --Nad 14:57, 15 April 2008 (NZST)

Simplesecurity glitch?

Aran, on my user page, which I want to start using a bit more again, there is a security setting and I can't figure out where that has been created. "Every action requires the user to be Milan". It was inheriting from cat:Milan/XMLWiki user pages and had security on the user page as well but I removed both settings and it's still locked down. Can you check it out please when you have minute? Cheers --Milan 11:04, 27 April 2008 (NZST)

Not a glitch, its getting it from Milan/Tree which must be transcluded onto the user page. You could remove the security from the tree page or not transclude it - but then I just thought, wrapping it in noinclude's should work I'll do it now and see. --Nad 12:20, 27 April 2008 (NZST)
Thanks, that looks to be working fine. I'm getting a little rusty on transclusion stuff it seems :-/--Milan 14:47, 27 April 2008 (NZST)
The templates an article uses are listed at the bottom of the page when editing --Nad 15:00, 27 April 2008 (NZST)

Collaboration

Hello Nad, I am trying to set up a number of intranets for NGO's that I am involved in and I would like to chat with about potential help/collaboration. Should we email each other or skype? Thanks, --Apap 06:40, 12 May 2008 (NZST)

You can email me on aran at this domain or skype id organicdesign (text only) --Nad 09:31, 12 May 2008 (NZST)

Extension:NewUserMessage

Hi could you please check http://www.mediawiki.org/wiki/Extension_talk:NewUserMessage. I got a problem with my bot showing up in Recent Changes. Thanks!

Extension:CSS

I noticed your above extension only partially works with MW1.12 after a fresh upgrade. Any idea why, or what could be blocking part of the {{#css}} from printing? As it is, only some of the specified elements are visible, as through templates used on a page, but not the page elements, as if they're being overridden by Common/Monobook.css. If you ever upgrade to 1.12 you might see what I mean. -- Sasoriza 06:41, 1 June 2008 (NZST)

I have it running on 1.12 with no problems. The extension does not prevent other CSS's such as Common.css or Monobook.css from loading, it simply adds another CSS which is loaded before the main ones which means you will have to ensure that your CSS rules are more specific than the existing ones to prevent them being overridden (this is what I mean by "specific"). --nad 08:53, 1 June 2008 (NZST)
Also I've made a few changes to the code to allow files or in-line rules to be included, see MW:Extension:CSS. --nad 09:35, 1 June 2008 (NZST)

User Registration

nad, i have poked around MW and don't see any extensions to extend the fields that are collected on new account creation. any ideas? --Phalseid 10:08, 7 June 2008 (NZST)

I think there are hooks to extend that pretty easily, you need something done? --nad 14:01, 7 June 2008 (NZST)

MediaWiki parser

thought you might be interested in this article - M:Migration to the new preprocessor which provides information about the changes to parser.php --Sven 14:16, 9 June 2008 (NZST)

Wikimedia Toolserver

Check out your edits on wikimedia projects e.g. Nad on 'pedia. We need to check out useful tools and ideas from this, some documentation available here and here. --Sven 11:42, 11 June 2008 (NZST)

Test to see what the edit summary looks like --Sven 12:59, 11 June 2008 (NZST)
Yea I'd really like to tie bots and scraping (like that svn-commits chart or oil-price monitor etc) in to our workflow system so we can define streams of process-driven content similar to the toolserver idea. --nad 16:30, 11 June 2008 (NZST)

Wiki.pl

Yo, Ive successfully added a wikiDelete method, it may need a bit of work around capturing the correct $err message if a user does not have rights to access the page. The restore method is almost there but unfortunately I am working off line mostly this weekend if you see something obvious I am doing wrong. You can specify a specific revision, or all revisions to restore, will get the latest revision restoring first.

I also managed in the process of testing to submit incorrect token content which has stuffed up the local instance of the database when restoring one particular article, so I may have found a mediaWiki bug in 1.12.0 but need to document further. I want to create a test script which can do a pile of test actions so we can loop it through a set of wiki versions to test wiki.pl on. Here is the error message I managed to create;

Database error manually identified when attempting restore
Database error
A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:

    (SQL query hidden)

from within function "Revision::insertOn". MySQL returned error "1062: Duplicate entry '12' for key 2 (localhost)".

I think at the time I submitted only two name/value hidden fields my %form = (wpEditToken => $1, target => $title,. Anyway, I want to add a couple of other functions to upload/delete/restore files. The file restoration function may be covered by the generic wikiRestore function.--Sven 10:49, 15 June 2008 (NZST)

That's pretty heinous if you can construct a query that can stuff the db. Is it fixed by deleting the article again? --nad 12:39, 15 June 2008 (NZST)
Just for the article Sandbox on my localhost is the restore stuffed, and only when I try to restore all revisions, restoring the latest revision is fine. However when I created the problem I had posted fields that were incorrect, so I think it is likely to be a MediaWiki bug that I found, hopefully if I have time I can trace and document it. I still havent got the restore functionality going yet. --Sven 13:06, 15 June 2008 (NZST)

Extension:Marketresearch‎

Extension:Marketresearch‎ and talk. --Phalseid 05:59, 11 July 2008 (NZST)

bug in csv2wiki

see http://www.organicdesign.co.nz/Talk:Csv2wiki.pl#bug --Phalseid 08:35, 12 July 2008 (NZST)

Wiki.pl Stability

Yo, I've made changes to Wiki.pl to try to make the WikiEdit function a bit more stable. The issue has been the large conditional regex attempting to grab all relevant hidden key/value pairs on about line 114. As the interface changes subtly the regex occasionally fails. The modified approach just searches for the wpEDitToken key;

if ($response->is_success and (
			$response->content =~ m|<input type='hidden' value="(.+?)" name="wpEditToken" />|g
			)) {

then (inefficiently) tests and saves the other wanted keys. It has not been tested across multiple MW versions yet but should be much more stable. --Sven 08:43, 19 December 2008 (NZDT)

Cool thanks ;-) --nad 08:44, 19 December 2008 (NZDT)

MindMap

nad, could you please 1) add the freemind mind map to tmp.peerix.org, and 2) tell me why it is not working any longer on wx? thx! --Phalseid 00:39, 2 January 2009 (NZDT)

I don't know why thats not working, I'll have another look later --nad 09:17, 2 January 2009 (NZDT)
here is why it is not working....same on tmp...http://www.mediawiki.org/wiki/Extension_talk:FreeMind#.C2.BBFlash_plugin_or_Javascript_are_turned_off._Activate_both_and_reload_to_view_the_mindmap.C2.AB

MindMap II

please add this as well http://www.mediawiki.org/wiki/Extension:MindMeister I think this will satisfy my Red Eye needs for now... --Phalseid 03:28, 3 January 2009 (NZDT)

where to put stuff

i want to put up info on the platform regarding intentional community. should it go here or on tmp? im not clear as to "why the difference", i guess --Phalseid 00:41, 2 January 2009 (NZDT)

an example is 1) the MW training material i am working with milan on and 2) this community mindmap governance issue. --Phalseid 00:43, 2 January 2009 (NZDT)
I'm not sure if these things belong in platform (check Documentation for a brief description of what role each document should be playing). Basically everything goes on OD except things which need to be kept completely private such as the coffee projects. The training material probably should be going into MediaWiki workshop or its talk. --nad 09:22, 2 January 2009 (NZDT)

Project red eye

nad: im hoping you have some down time waiting for decaf stuff, please check out http://tmp.peerix.org/Red_Eye and let me know $/clarification. thx --Phalseid 00:49, 2 January 2009 (NZDT)

I'll need a lot of clarification for this one, some mockups would be good... I can't really know $ until I know exactly what needs to be done, but off the top of my head it looks difficult, probably $500-$1000 --nad 09:24, 2 January 2009 (NZDT)

forget this for now...see http://www.mediawiki.org/wiki/Extension:MindMeister above.. --Phalseid 03:29, 3 January 2009 (NZDT)

widgets on demo

aran, plese create and set Folder permissions /extensions/Widgets/compiled_templates/ folder should be made writable by web server (this is where Smarty stores pre-compiled template.) please verify by checking http://demo.organicdesign.co.nz/Google_Calendar (scroll to bottom) thx! --phalseid 13:44, 9 February 2009 (NZDT)

But I thought you had agreed that Milan was now developing the demo, is he planning on implementing these widgets as part of his presentation? does he know this? what are you planning here? --nad 20:09, 9 February 2009 (NZDT)

Extension:NukeDPL.php

Hi Nad, your new version of this extension has overwritten a couple of things I had added to it:

  • a couple of bug fixes (two minor ones, corrected with a replace, and one major: the list of results was always showing one less result than the total returned by the DPL query), and
  • a text suggestion for the query window (redirects = exclude | include| only)

Here[1] you can check the differences I introduced. As I'm not sure if you left them out on purpose, I'd like to wait for a confirmation from you; feel free to reintroduce them if you agree. Your extension is being used at CPDL.org, that has a lot of titles with accented characters, that's why these bugs could be discovered. Needless to say how much we appreciate this extension, thanks a lot for it. Capmo 22:57, 19 March 2009 (UTC)

Sorry about that, not sure how your str_replace fix works, but I'll take your word for it! re-implemented it just now, thanks ;-) --nad 02:03, 20 March 2009 (UTC)

Integration

Hi Nad, I saw your Recent Changes extension. I agree that fragmentation is a big problem in the wikisphere. Recently I created the (experimental) RPED extension to help address that very concern. Let me know if you want to collaborate on other projects for data exchange among wikis. Regards, Tisane 09:09, 26 March 2010 (UTC)

SimpleSecurity

I just downloaded the SimpleSecurity svn. And it's not handling Images, as in it's allowing them to be put into pages. It's also allowing their thumbnails to show up in searches. Smile Lee 13:28, 26 March 2010 (UTC)

Chloe in the snow

http://www.flickr.com/photos/rebba/4386885783/in/set-72157604564573252/

AGI Manhattan

I read the whole thing today (could not watch the videos due to lack of BW)... holy crap! But did you see this? Automated Unintelligence I love it! --Infomaniac 13:45, 13 August 2010 (NZST)

mail problems

Having a bit of trouble connecting to my od mail account in the last few days. On further investigation this looks a bit fishy:

Rob-MacBookPro:~ rcar004$ host organicdesign.co.nz
organicdesign.co.nz has address 69.64.87.188
organicdesign.co.nz mail is handled by 5 mail.organicdesign.co.nz.
Rob-MacBookPro:~ rcar004$ ping mail.organicdesign.co.nz
PING mail.organicdesign.co.nz (69.64.87.188): 56 data bytes
Request timeout for icmp_seq 0
64 bytes from 69.64.87.188: icmp_seq=1 ttl=50 time=326.814 ms
64 bytes from 69.64.87.188: icmp_seq=2 ttl=50 time=247.202 ms
Request timeout for icmp_seq 3
Request timeout for icmp_seq 4
64 bytes from 69.64.87.188: icmp_seq=5 ttl=50 time=318.341 ms
Request timeout for icmp_seq 6
Request timeout for icmp_seq 7
64 bytes from 69.64.87.188: icmp_seq=8 ttl=50 time=285.733 ms
64 bytes from 69.64.87.188: icmp_seq=9 ttl=50 time=308.877 ms
64 bytes from 69.64.87.188: icmp_seq=10 ttl=50 time=332.087 ms
^C
--- mail.organicdesign.co.nz ping statistics ---
11 packets transmitted, 6 packets received, 45.5% packet loss
round-trip min/avg/max/stddev = 247.202/303.176/332.087/29.139 ms

Dropped packets and the server doesn't seem to be accepting my password (same as od unix login 'rob'). --Rob 00:52, 17 October 2010 (PDT)

We've done a major server move, see News, I didn't realise you were using OD mail, I'll set up your account now, but you'll need to either email/skype/IRC/TXT your pwd, or email me your pub RSA key so you can shell in yourself and set your pwd. --nad 01:04, 17 October 2010 (PDT)

Selenium extension

Hi Nad,

Thanks for the interesting link. I'm specifically interested in running Selenium tests from the wiki, i.e. using the wiki as a selenium test archive.

Is it likely that the Selenium Extension still works?


Cheers, --Dan Bolser 01:10, 4 April 2011 (PDT)

The last state it was in it was working, we had some test tests running in this site, but the extension and framework are no longer installed. --nad 19:50, 7 April 2011 (PDT)

Private work for adeft

  1. why is http://www.sebokwiki075.org/wiki/and http://www.sebokwiki075.org/wiki/ so slow? Extensions? DPL? Caching? Server?
  2. how to get http://www.sebokwiki075.org/dev/index.php?title=Mediawiki:NavTree to show up on the left hand navigation. I thought I did it right. Once we get that, need to figure out some basic style stuff, and get it working on /wiki (same domain as above)
  3. backup script- TBD
  4. update star menu with transparency layers
  5. I added http://www.mediawiki.org/wiki/Extension:BreadCrumbs to /dev above. They want the navigation to appear ABOVE the article title. I screwed around with http://www.sebokwiki075.org/dev/index.php?title=MediaWiki%3ACommon.css&action=historysubmit&diff=28551&oldid=28545

and got it to look right, but when you edit with the above, it screws up the tabs and looks shitty. i read the talk page on http://www.mediawiki.org/wiki/Extension:BreadCrumbs and it was talking about hooks, so i bailed. Basically, what would it take to get this extension to work in Vector with the breadcrumbs showing up ABOVE the title and not overwriting stuff like in

--phalseid 09:13, 23 February 2012 (PST)