Difference between revisions of "User talk:Nad"

From Organic Design wiki
(installator talk)
(Change source-code blocks to standard format)
 
Line 1: Line 1:
Regarding Debian flavour of linux. Its definately the way to go, apt-get installs are far better than rpms in ''redshat''. There is a gui interface apparently available from the pull down menu for gnome/kde which allows you to see all the dependency packages quickly (the command line version can probably give this also), which would help in the construction of [[Debian Post Install]] --[[User:Sven|Sven]] 10:39, 6 Apr 2006 (NZST)
+
==Exploring Wiki==
:Yeah that last install sold me on it once and for all :-) Rob and me were talking last night about how we could eventually get the peer to handle install using its new interactive-shell abilities. We could build trees of commands and matching rules for shell-interaction instead of just website-interaction. It could then do installs either on the local machine, or on remote machines over SSH. --[[User:Nad|Nad]] 10:49, 6 Apr 2006 (NZST)
 
:The ''redshat'' cracked me up! So anyway I have gotten hold of some script from the [[Geexbox|http://geexbox.org/en/index.html]] distro, that does a nice automated ''install to hardisc from scratch'' kind of thing. It's still a bit too interactive for my liking, but does a good job of detecting and configuring wifi/ethernet, existing partions/creating/detecting and a range of sound, video and hardware detection. It's in sh, but as far as shell scripts go this is pretty nice. They obviously know what they are doing. Here is the script: [[geexbox installator]].
 
  
----
+
Hey Aran,
Yo,
+
 
is there many other class attributes you can give to tables in MediaWiki/xmlwiki other than document-code? --[[User:Sven|Sven]] 13:40, 5 Apr 2006 (NZST)
+
is this the place where you make contact with other users then?
:Yes, there are infinite of them! just make up a class (probably use a namespace for them, eg ''document'' in document-code is meaning that it was generally to do with embedding which is [[document.php]]. An then put rules for your class in [[default-skin.css]] (or make another css to separate it out and add it to [[default-properties.xml]]). --[[User:Nad|Nad]] 13:52, 5 Apr 2006 (NZST)
+
 
::Ok I see. I cant quite find the code in the css for the document-code class, is that the following code in [[default-skin.css]]?
+
Ahhh, Bach.  --[[User:The Duncan|The Duncan]] 06:20, 6 September 2010 (NZST)
<table class=document-code><tr><td>
+
 
.xwcode {
+
 
    font-size: 90%;
+
== Mediawiki programming help ==
    font-family: courier new;
+
Dear Nad,
    line-height: 120%;
+
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
}
+
 
</table>
+
Kind Regards,
--[[User:Sven|Sven]] 07:38, 6 Apr 2006 (NZST)
+
Andi
:::Aw that's right, it's in [[document.css]] which is added ti the view stack by [[document.php]] --[[User:Nad|Nad]] 07:47, 6 Apr 2006 (NZST)
+
 
:::: Thats most helpful, so the code is actually
+
== Templates and passing vars==
<table class=document-code><tr><td>
+
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:
table.document-code {
+
<pre>{{Test
    width : 100%;
+
|FULL_NAME = Ashfield
    margin : 1em 1em 1em 1em;
+
|FULL_NAME_ND = Ashfield
    border : thin solid #999999;
+
|LAT = -33.8833333
    }
+
|LONG = 151.1166667
 +
}}
  
table.document-code tr td {
+
<googlemap width="400" height="300" zoom="16" type="hybrid" controls="medium">
    padding : 1em 1em 1em 1em;
+
{{{LON}}},{{{LAT}}}, {{{FULL_NAME}}}
    background-color : #d4d4d4;
+
</googlemap>
    }
+
</pre>
table.document-code h1.document {
 
    padding : 0;
 
    margin : 0;
 
    font-size : 9pt;
 
    font-weight : normal;
 
    text-decoration : underline;
 
    text-align : right;
 
    }
 
</table>
 
:::: and Ive found the data stack --[[User:Sven|Sven]] 09:07, 6 Apr 2006 (NZST)
 
----
 
1) Div0 is having some name server issues, sorry, should resolve itself now...<br>
 
2) And now for something completely different: (and no, im not confusing you kiwis with ausies ;)  '''[http://www.irregularwebcomic.net/polls/poll0155.html orange or yellow? depends where you live ]'''
 
[[User:Phalseid|Phalseid]] 11:40, 4 Apr 2006 (NZST)
 
  
----
+
would work. It appears to be a problem:
Aran, where is the page you've got the balls moving around in fake 3D?
+
https://bugzilla.wikimedia.org/show_bug.cgi?id=2257
: this might help: [[:Category:ACTIONSCRIPT]], also, remember to sign your name using 4 ''tildes'' (~) so we know who we are talking to without looking at history. [[User:Phalseid|Phalseid]] 11:40, 4 Apr 2006 (NZST)
+
::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/
:: [[Category:Examples]] also provides general examples in which many [[:Category:ACTIONSCRIPT| Actionscript]] ones are located, details of the transclusion operator used to create these swf's using ming is probably best mentioned in [[Apply examples]], although no examples for [[:Category:ACTIONSCRIPT| Actionscript]] are actually in there yet. --[[User:Sven|Sven]] 12:05, 4 Apr 2006 (NZST)
 
----
 
Nad,
 
Interestingly I have installed a certificate for organicdesign identical to meridian (certificate is now valid for 10 years) and it does not work. now I was thinking it may be something to do with the domain (www.organicdesign.co.nz versus meridian.organicdesign.co.nz). Ive put on the Apache2 files on both installs into the sandbox to diff the content, see [http://www.organicdesign.co.nz/wiki/index.php?title=Sandbox&diff=0&oldid=16257 difference between OD and MO installs]
 
Do you see anything else that may be missing, weird that https is not going on OD... --[[User:Sven|Sven]] 22:22, 2 Apr 2006 (NZST)
 
: grrr, still not sorted why OD is not using https properly, may be some open-ssl components missing. --[[User:Sven|Sven]] 10:34, 3 Apr 2006 (NZST)
 
:: What's the symptom of it not working, it's all been going fine for me...? - maybe its a www and non-www issue? --[[User:Nad|Nad]] 11:04, 3 Apr 2006 (NZST)
 
::: Are you saying port 443 on https://www.organicdsign.co.nz is working for you? i dont not get a dialog box coming up to offer the certificate... --[[User:Sven|Sven]] 12:03, 3 Apr 2006 (NZST)
 
::::Awwww mate - I just realised - I haven't opened a pinhole on 443!!! sorry, I'll just do it now :-|
 
  
::::I hadn't realised because I'm not going through the firewall... --[[User:Nad|Nad]] 12:10, 3 Apr 2006 (NZST)
+
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
--[[User:Dana|Dana]] 12:21, 2 Apr 2006 (NZST)Hi Aran. Was glad to catch up with you, as brief as it was! Hope you're feeling better about things now then when we last chatted! I'm  getting more interactive and into this process a bit more now and am getting more enthusiastic about it as days go by. Going to be a learning curve and will take time but I'm not stressing - it'll come when it's ready to come! How'd you get on at the ponsonby office? I don't speak geek so let me know in simple terms please! Have a great day!!--[[User:Dana|Dana]] 12:17, 2 Apr 2006 (NZST)
+
<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)
  
Regarding the content, I'm separating that out right now, cleaning up doubled-up content, etc. Dana wanted to talk about the stuff that goes beyond Meridian so I thought we could leave it on OD so that everyone can partake. Generally there will be a lot of stuff that will happen on OD, just as long as everyone is clear that OD is for project and development (and maybe even "big picture" stuff). I remeber Peder wanting to have this discussion too, so let's start it and see what happens.--[[User:Milan|Milan]] 15:45, 2 Apr 2006 (NZST)
+
== Treeview 5 ==
:Yip, Big Picure's best on OD. Sven's getting SSL happening now, so you might have an outage or two on meridian. Also I've got secure distributed backup pretty much sorted, so install is close to done :-) --[[User:Nad|Nad]] 15:53, 2 Apr 2006 (NZST)
 
----
 
Soz, phone battery went flat :( Will have a look at the talk pages etc tonite. --[[User:Sven|Sven]] 21:46, 31 Mar 2006 (NZST)
 
: Also just thinking, how does the filesync-ing reference files such as php.ini etc, are they hardcoded? Since their locations will be different on the source
 
wikiexpert install --[[User:Sven|Sven]] 21:48, 31 Mar 2006 (NZST)
 
:: [[Gir/fileSync]] has the list of articles to sync and their corresponding file locations --[[User:Nad|Nad]] 21:57, 31 Mar 2006 (NZST)
 
----
 
Looks like were in business, (''[http://www.wikiexpert.com/phpinfo.php see phpinfo()]'')
 
Just need to fix up the control and maybe wipe the old mysql rpm install (I hope theres not a damon setup on reboot (must do that for the new source install too) --[[User:Sven|Sven]] 11:46, 31 Mar 2006 (NZST)
 
:I can handle all the mediawiki part if you want a break from it after all that! [[User:Nad|Nad]]
 
::ok, you do it (wouldn't quite build), Ive cp'ed your mediawiki build in /var/www/html/wiki to /usr/local/apache2/htdocs/wiki.
 
::phpinfo() looking ok? --[[User:Sven|Sven]] 11:58, 31 Mar 2006 (NZST)
 
:::Oh yeah no password on mysql at the moment, can you lock it down pls --[[User:Sven|Sven]] 12:06, 31 Mar 2006 (NZST)
 
----
 
How do I rename an article?
 
:Click ''Move'' and create a new name for the article (link up the top). --[[User:Sven|Sven]] 21:22, 29 Mar 2006 (NZST)
 
----
 
Something else I need to start thinking about, is taking structured categorized wiki pages (for R code), and having an automated script that dumps them into a tar.gz file.
 
Any quick suggestions? The peer I guess could do this by traversing all sub categories with a category and making those into directories, and all article names into files using $article hooks etc--[[User:Sven|Sven]] 15:36, 29 Mar 2006 (NZST)
 
:The best way would be to make a new manually executable command for Gir which would read the cat article etc, but if you want to work on that you'd need to get your own peer running. --[[User:Nad|Nad]] 15:43, 29 Mar 2006 (NZST)
 
::I will be doing from work using MediaWiki :(, but I do think it would be good to get my own peer running sometime...
 
::Also, where can I see the content constraints for workspaces? I am missing something here --Sven 15:24, 29 Mar 2006 (NZST)--[[User:Sven|Sven]] 15:51, 29 Mar 2006 (NZST)
 
:::Peer doesn't care whether the wiki is MediaWiki or XmlWiki. That list-constraint stuff is simply that other articles are embedding that article and expect it to be a list. When you added all that stuff it fucked up the layout of the home page. --[[User:Nad|Nad]] 16:02, 29 Mar 2006 (NZST)
 
:::: omfg - God damn it, thats so obvious now. Should maybe categorize articles that are critical to the main page (I just didn't notice). Also found a MediaWiki extension that exports articles in a category,http://meta.wikimedia.org/wiki/Export_by_category --[[User:Sven|Sven]] 16:22, 29 Mar 2006 (NZST)
 
::::: I've just started categorising those article in [[:category:lists]] to show that they must stay in that format... --[[User:Nad|Nad]] 16:33, 29 Mar 2006 (NZST)
 
----
 
Nad,
 
do you remember off the top of your head how to lock down php so you cannot see the root directory structure on a webserver? I think it must be in php.ini... --[[User:Sven|Sven]] 10:47, 29 Mar 2006 (NZST)
 
:Yeah its in [[php.ini]] somewhere - I thought our was set to that - or maybe it can only write under htdocs, cos I couldn't save compiled SWF's directly into /home/nad/peer... --[[User:Nad|Nad]] 10:54, 29 Mar 2006 (NZST)
 
----
 
Also while i remember the recent changes system time does not appear to have compensated for Daylight Saving! --[[User:Jack|Jack]] 23:25, 28 Mar 2006 (NZST)
 
:In MediaWiki 1.4x you gotta go to your prefs page and hit "fill in from browser" cos it doesn't do it by itself --[[User:Nad|Nad]] 23:28, 28 Mar 2006 (NZST)
 
----
 
So a tilde has a special meaning then and is not to be used as a spacer. Four hyphens would appear to be a HR!
 
:Three tildes make a signiture, four a signiture+timestamp, --[[User:Nad|Nad]] 23:24, 28 Mar 2006 (NZST)
 
----
 
Yeah coolio I'll have a play tomorrow --23:18, 28 Mar 2006 (NZST)[[User:Jack|Jack]]
 
----
 
 
Yo,
 
Yo,
just used the IRD forms available to fill out my tax return. I remember talking to you about how you can do it online (which I didnt do). Well although pdf's are electronic and allow information to be added (tediously), they do not do the calculations for you, and once saved cannot be edited any furthur (pretty dumb). --[[User:Sven|Sven]] 11:01, 28 Mar 2006 (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)
:Yeah I know, but you can use the html of their forms to wikify one that does do those things! ;-) --[[User:Nad|Nad]] 11:26, 28 Mar 2006 (NZST)
+
 
:Good idea. [[User:Sven|Sven]] 11:41, 28 Mar 2006 (NZST)
+
== [[Extension:Treeview5.php]] ==
----
+
 
Are you familiar with TRIZ? I played around with it several years ago, and then realized just last night that this might apply to the project. I think you might find this fascinating, distracting, but eventually, helpful: [[wikipedia:40_Principles]] (check out the [[wikipedia:TRIZ]] article for bacground, the 40 Principles article has links at the bottom to applying contradictions to software develpment. [[User:Phalseid|Phalseid]] 10:38, 24 Mar 2006 (NZST)
+
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)
----
+
: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)
Think you might be interested on 'The Big Boy's" approach to this...<br>
 
nutshell: ''extend the clipboard user model to the web.''
 
  
http://spaces.msn.com/rayozzie/
+
== Simplesecurity glitch? ==
[[User:Phalseid|Phalseid]] 10:29, 24 Mar 2006 (NZST)
 
:In the peer interface clipboards are inherently distributed and have history --[[User:Nad|Nad]] 12:37, 24 Mar 2006 (NZST)
 
::zactly. why do you think im so jazzed about this? ;) [[User:Phalseid|Phalseid]]
 
----
 
  
 +
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)
 +
: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)
 +
:::The templates an article uses are listed at the bottom of the page when editing --[[User:Nad|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, --[[User:Apap|Apap]] 06:40, 12 May 2008 (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)
  
yep, its social bookmarking....
+
== Extension:NewUserMessage ==
  
<addictive>http://del.icio.us</addictive>
+
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!
  
they just got bought by yahoo
+
== [[Extension:CSS]] ==
[[User:Phalseid|Phalseid]] 03:51, 24 Mar 2006 (NZST)
 
  
----
+
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)
 +
: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)
 +
::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)
  
This is a great resource, http://www.rbnz.govt.nz/statistics/. --[[User:Sven|Sven]] 10:21, 24 Mar 2006 (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? --[[User:Phalseid|Phalseid]] 10:08, 7 June 2008 (NZST)
This flash stuff is realy good. It eleminates one of the main shit features of current interweb technology - the reload. Now the whole page can be dynamic and socketed swfs can publish information.
+
:I think there are hooks to extend that pretty easily, you need something done? --[[User:Nad|nad]] 14:01, 7 June 2008 (NZST)
--[[User:Rob|Rob]] 21:42, 16 Mar 2006 (NZDT)
 
:...and the coolest part of all is... no crapromedia! --[[User:Nad|Nad]] 21:50, 16 Mar 2006 (NZDT)
 
----
 
:: I think the text colour could fit nicely being the same colour as links
 
e.g.
 
<table class=document-code>><tr><td>
 
{{:Sandbox}}
 
</td></tr></table>
 
::--[[User:Sven|Sven]] 23:41, 16 Mar 2006 (NZDT)
 
----
 
Fixed the image upload problem by blasting all my instances of mediawiki and reinstalling. I had several versions under different directories,
 
wiki, wiki1.5.2 etc. I noticed that the image upload could be used from another instance, as it was also writing to the wikidb database, then things got really ballsed up
 
:[[User:Sven|Sven]] 21:13, 16 Mar 2006 (NZDT)
 
----
 
Nad:
 
  
off topic, but if i  do 
+
== MediaWiki parser ==
:<tt>[</tt><tt>[*alert.html|nowiki.php]]</tt>
 
in a page, it works. but if i do
 
:<tt>{</tt><tt>{stamp_invoice_message}}</tt>
 
instead (which contains <tt>[</tt><tt>[*alert.html|nowiki.php]]</tt>)
 
  
the article shows <font color=red>nowiki.php</font> instead....?
+
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)
i saw somebody was working on embedding messages, just want to know the "proper" way to do this
 
with other articles. 
 
  
where im headed is a div message that shows up until cleared by the user...
+
== [https://wiki.toolserver.org/view/Main_Page Wikimedia Toolserver] ==
  
[[User:Phalseid|Phalseid]] 11:35, 16 Mar 2006 (NZDT)
+
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].
:You can't really use xmlwiki embed/apply operators with mediawiki-transclusion operator. I'll have a bit of a think about your user-message - is it that you want it to work like when you edit a user's talk page, but the message is embedded at the top of the page until they click it or something? [[User:Nad|Nad]] 11:44, 16 Mar 2006 (NZDT)
+
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)
  
 +
== Wiki.pl ==
  
 
Yo,
 
Yo,
with my [[Rosaceae]] talk Ive installed Firefox on the windoze machines so I can alter the rendering size (infinitely) being able to deliver the material in a wiki - excellent! I am going to look into hacking my own mediawiki test server today to do something like the ''Printable Version'' link on xmlwiki. Is it the default-skin.css hardwired file I need to hack? --[[User:Sven|Sven]] 09:43, 16 Mar 2006 (NZDT)
+
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 don't remember the MW CSS setup, but they're all in /skins - best to adjust skins/common rather than a particular skin. But if you're wanting to do one that removes the stuff properly (ie not just making it display:none) then you'll need to do some PHP and attach it to one of their [http://meta.wikimedia.org/wiki/MediaWiki_Hooks_and_their_Parameters official hooks].
+
 
:[[User:Nad|Nad]] 09:58, 16 Mar 2006 (NZDT)
+
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;
----
+
 
 +
<source lang="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:
 +
 
 +
    (SQL query hidden)
 +
 
 +
from within function "Revision::insertOn". MySQL returned error "1062: Duplicate entry '12' for key 2 (localhost)".
 +
</source>
 +
 
 +
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)
 +
: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)
 +
:: 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,
with the picture rendering can you alter the size as on MediaWiki 1.5.x? e.g. <nowiki>[[Image:expt2.tiff|thumb|400px]]</nowiki>(400px controls size) --[[User:Sven|Sven]] 14:34, 14 Mar 2006 (NZDT)
+
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;
:Dunno about the syntax, haven't tried it, but I think that image resize can be done as long as it knows where to get ImageMagick (which it does, so it should) --[[User:Nad|Nad]] 14:36, 14 Mar 2006 (NZDT)
+
<source lang="php">
::Doesnt seem to be doing it :( &rarr; I put more appropriate sizes of images in instead :p --[[User:Sven|Sven]] 14:48, 14 Mar 2006 (NZDT)
+
if ($response->is_success and (
::: Yip works &rarr; now were in business! --[[User:Sven|Sven]] 15:02, 14 Mar 2006 (NZDT)
+
$response->content =~ m|<input type='hidden' value="(.+?)" name="wpEditToken" />|g
::::They're not working for me - my browsers can't render the TIFF or something - I thought it would use IM to convert them. I saw the large curtesy-of-mik-black image before, but now none show up. --[[User:Nad|Nad]] 15:08, 14 Mar 2006 (NZDT)
+
)) {
::::: My browser was rendering tif before you added the extension to the condig, now its not for me either. --[[User:Sven|Sven]] 15:39, 14 Mar 2006 (NZDT)
+
</source>
----
 
I started looking for where the actual html output is generated for each page request, I was thinking it might be good to remove all the carridge returns like google does to save on bandwidth (since your ISP has a 1 Gig limit for 128Kbit), but allow debug=1 to leave then in there. Just a thought...
 
:[[User:Sven|Sven]] 08:19, 11 Mar 2006 (NZDT)
 
::I wouldn't bother doing a bunch of work just to save some bandwidth - google do it because the CR removal saves them many GB/day, but we'll never be able to fall under the 1G/month no matter what.
 
::But also, Peder's given us that kick arse server on wikiexpert.com which has 100Mb connection to net and 1.2TB monthly traffic allowance! I just didn't want to do all the work of moving the site again - plus its on an unfamiliar linux and webserver.
 
::[[User:Nad|Nad]] 09:46, 11 Mar 2006 (NZDT)
 
::: thought you might say that... --[[User:Sven|Sven]] 10:05, 11 Mar 2006 (NZDT)
 
----
 
  
Whats the name of the script that generates the xml wiki flash logo now? Ive noticed that if you middle click with the mouse it doesnt recognise that as something different from left clicking a link. Might be nice if the text is light blue, the same as clickable links.
+
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)
:[[User:Sven|Sven]] 13:53, 10 Mar 2006 (NZDT)
+
:Cool thanks ;-) --[[User:Nad|nad]] 08:44, 19 December 2008 (NZDT)
:Ok Ive found your scripts from [[25 February 2006]] from your stuff on my talk page.
 
::[[User:Sven|Sven]] 14:26, 10 Mar 2006 (NZDT)
 
----
 
Nad:
 
after a FRUSTRATING day beating my head with IE and Firefox differences in CSS, i finally gave up and got this working. >in FF only.<  ;) http://www.div0.com/wiki/index.php?title=Operationscan&printable
 
You will see a nifty javascript implemetation for fill in the date (i think i asked out about that a LONG time ago...i had no idea it would be this easy to implement JS.) also got a cool floating div layer for my invoices so that folks don't have to scroll. This div layer for pdf's is the one that was killing me in IE. Havn't tried safari yet...  The next step is getting these forms to create articles/csv that i can export, as we have discussed. Then I'll have something here. Thanks for all your help on this. [[User:Phalseid|Phalseid]] 12:54, 10 Mar 2006 (NZDT)
 
----
 
Nad,
 
It appears that your new flash dynamic image doesnt list ''my'' edits, only other peoples - if so thats cool!
 
:[[User:Sven|Sven]] 08:31, 10 Mar 2006 (NZDT)
 
::You're edits are showing up on my logo...? maybe your edits may have been minor - I needed to save space so didn't show minor edits. [[User:Nad|Nad]] 20:21, 10 Mar 2006 (NZDT)
 
::: ok, thats what was happening. --[[User:Sven|Sven]] 08:19, 11 Mar 2006 (NZDT)
 
----
 
Thanks for your help with embedding the flickr badge. Looks pretty neat, huh? I got the bg colour right, it seems...[[User:Milan|Milan]] 09:33, 9 Mar 2006 (NZDT)
 
----
 
Gentlemen, any use out there for a SLA template? im looking at buying and wikifying [http://www.div0.com/wiki/index.php/SLA#reference | this one]... whatcha think?
 
[[User:Phalseid|Phalseid]] 06:39, 9 Mar 2006 (NZDT)
 
:I wouldn't persnoally have a use for it since I only deal with low-stress casual clients, but eventually we'll need templates of SLA's and other kinds of contracts for template-based organisations. So it would be good to start accumulating such material - but surely we can't just put in content from commercial template collections etc? what are the liscences on the templates you bought? or is it a tool which generates them?
 
:::I havn't bought it. I have emailed them to see what our rights would be... [[User:Phalseid|Phalseid]] 12:45, 10 Mar 2006 (NZDT)
 
::I've started a list of template classes in instances in [[:Category:Templates]]. [[User:Nad|Nad]] 20:20, 9 Mar 2006 (NZDT)
 
:'''SLA & Peer:''' I think the most key thing about SLA's is the feedback aspect arising from defining processes for assessing the current state of performance/quality (ie the "level of service"). The nodal-model inherently supports this idea because it's every classes job to asses the performance of its instances. [[User:Nad|Nad]] 18:51, 9 Mar 2006 (NZDT)
 
::Yes, this ties in exacly with what I am doing from the perspective of the enduser to create an improved workflow. Until now, broken processes were (im)practically unfixable. Now, I have the template <nowiki>{{Change}}</nowiki> on every procedure. I also added it to my left side navigation so you can actually do that to every article. [http://www.div0.com/wiki/index.php?title=Template:Change&action=edit Div0]. [[User:Phalseid|Phalseid]] 12:45, 10 Mar 2006 (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! --[[User:Phalseid|Phalseid]] 00:39, 2 January 2009 (NZDT)
 +
:I don't know why thats not working, I'll have another look later --[[User:Nad|nad]] 09:17, 2 January 2009 (NZDT)
  
Dude, that's "Calendar", not "Calender" - just thought I'd point that out
+
::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
[[User:Milan|Milan]] 15:45, 7 Mar 2006 (NZDT)
+
 
----
+
== MindMap II==
Will continue doing some security auditing. I'm gonna set up a dev box at uni with xmlwiki and migrate our current content onto it. That process will be good for ironing out any remaining bugs and security holes.
+
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)
--[[User:Rob|Rob]] 21:08, 27 Feb 2006 (NZDT)
+
 
----
+
== where to put stuff ==
Cheers, nice one! I keep forgetting about linking to the 'peeja! I'm a little nervous, about to negotiate my work arrangement with Somen and Kusum, trying to think about how to explain what I can do for them. "Organisation is good because..." but I guess if they don't want org then i'll just focus on the IT support business and rent here.[[User:Milan|Milan]] 16:27, 27 Feb 2006 (NZDT)
+
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)
----
+
::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)
Yo, I have a question about using the div tag on the cats page etc. What do the arguements class=portlet etc in
+
:::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)
<nowiki><div class=portlet id=p-nav></nowiki> do? How come they dont need quotes? I assume id=p-nav creates a unique tag for that div tag, but I can't find info on the options. --[[User:Sven|Sven]] 23:52, 25 Feb 2006 (NZDT)
+
 
:Those id's and classes match the CSS rules in [[default-skin.css]], there's no quotes etc because I'm being a casual wiki person and not caring about them ;-) (Actually they're the same id's and classes from the original MediaWiki CSS) [[User:Nad|Nad]] 09:16, 26 Feb 2006 (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 --[[User:Phalseid|Phalseid]] 00:49, 2 January 2009 (NZDT)
Yo,
+
: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)
at Justins? Im not doing anything this arvo and thought I might come round if your not doing anything? --[[User:Sven|Sven]] 11:41, 25 Feb 2006 (NZDT)
+
 
----
+
forget this for now...see http://www.mediawiki.org/wiki/Extension:MindMeister above.. --[[User:Phalseid|Phalseid]] 03:29, 3 January 2009 (NZDT)
Will have a go at the installation of peerd, from the [[Peer Installation|instuctions]], Ive slready failed step 1 by using the default wikidb database :(
+
 
:There's just a fair bit of hardwired stuff in there at the mo - I can't send peer-specific parameters to the scheduled functions yet to use different db name etc... (not urgent though just means it won't backup your db yet) [[User:Nad|Nad]] 22:33, 23 Feb 2006 (NZDT)
+
==widgets on demo==
--[[User:Sven|Sven]] 22:31, 23 Feb 2006 (NZDT)
+
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)
The image with moving clickable links (I assume using Ming) is so damn cool, you must get the peer logo doing it too...
+
 
--[[User:Sven|Sven]] 22:28, 23 Feb 2006 (NZDT)
+
== Extension:NukeDPL.php ==
:Yip it's Ming SWF compiler (not compiling onchange of the local *.as yet) - but there's no need to upgrade the peers logo since I'm changing the peers whole interface to SWF in the next few days :-) [[User:Nad|Nad]] 22:35, 23 Feb 2006 (NZDT)
+
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
ok, from what I could make out about [http://www.ultravnc.com UltraVNC], it runs on a windowz machine, but can run on OS X (or any other OS supporting Java), via the
+
*a text suggestion for the query window (redirects = exclude | include| only)
[http://ultravnc.sourceforge.net/features/javaviewer.html JavaViewer]. --[[User:Sven|Sven]] 22:23, 23 Feb 2006 (NZDT)
+
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)
:Aw shit - I forgot you were OSX again - maybe just check out the latest [[Peer Installation|peer install instructions]]... [[User:Nad|Nad]] 22:24, 23 Feb 2006 (NZDT)
+
: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)
----
+
 
Can we get a robot to do dummy edits of articles automatically if someone alters the category field only (especially in the xml properties)? I am finding it a pain in the arse...
+
== Integration ==
:[[User:Sven|Sven]] 17:20, 21 Feb 2006 (NZDT)
+
 
----
+
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)
 +
 
 +
== 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? [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)
  
Yo,
+
== mail problems ==
In [[Commands.pl]] I couldnt see if the wiki backup was also backing up the images directory. Do we need to? [[User:Sven|Sven]] 14:51, 21 Feb 2006 (NZDT)
 
:Images should be backed up too I guess - that's done now :-) [[User:Nad|Nad]] 16:46, 21 Feb 2006 (NZDT)
 
::Cool --[[User:Sven|Sven]] 17:20, 21 Feb 2006 (NZDT)
 
----
 
Something I noticed today about MediaWiki embedding, is that the embedded article does not update as new revisions are made (using <nowiki>{{:foo}}</nowiki> to embed foo into another article), you must do a dummy edit to update it, wheras xmlwiki <nowiki>[[+foo]]</nowiki> automatically updates the embedding revision - nice
 
:[[User:Sven|Sven]] 23:32, 10 Feb 2006 (NZDT)
 
----
 
 
I think Ive solved the syntax highlighting of DNA using the REGEXPS field,
 
  
    'REGEXPS' => array(
+
Having a bit of trouble connecting to my od mail account in the last few days. On further investigation this looks a bit fishy:
              1 => array (
 
                  GESHI_SEARCH => '(a*)',
 
                      ),
 
)
 
'STYLES' => array(
 
  1 => 'color: #FF0000;',
 
),
 
<s>Doh you can only cant have more than one element to modiy in REGEXPS!</s> [[User:Sven|Sven]] 16:38, 10 Feb 2006 (NZDT)
 
:The perl.php uses more than one:
 
 
<pre>
 
<pre>
'REGEXPS' => array(
+
Rob-MacBookPro:~ rcar004$ host organicdesign.co.nz
0 => '[\\$%@]+[a-zA-Z_][a-zA-Z0-9_]*',
+
organicdesign.co.nz has address 69.64.87.188
4 => '&lt;[a-zA-Z_][a-zA-Z0-9_]*&gt;',
+
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
 
</pre>
 
</pre>
----
+
Dropped packets and the server doesn't seem to be accepting my password (same as od unix login 'rob').
Personally I like sticking to a convention of naming peer processes after real androids, thats a nice way to do it, as they have User namespace.
+
--[[User:Rob|Rob]] 00:52, 17 October 2010 (PDT)
For some reason I cant yet get [[Category:GeSHi|GeSHi]] going on a default MediaWiki install. Still trying, the instruction information is a bit sparce. [[User:Sven|Sven]] 07:53, 10 Feb 2006 (NZDT)
+
: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)
:Did you <tt>require_once('extensions/geshi/geshi.php')</tt> from index.php? [[User:Nad|Nad]]
+
 
::No I didn't, I've now tried that and still have not got anything happening. There is also more that one [[MediaWiki/GeSHiHighlight.php|GeSHiHighlight.php]] kicking around and unofficial patches. Really need to sort this out with our own documentation which I am starting [[User:Sven|Sven]] 08:19, 10 Feb 2006 (NZDT)
+
== Selenium extension ==
:::Oops - no its the ''GeshiSyntaxHighlight.php'' that is included in index.php, and you must add all your classes like dna to that script. We don't use that file in xmlwiki as it includes geshi directly from [[LocalSettings.php]] instead. [[User:Nad|Nad]]
+
 
:::: Yes I noticed, in [[http://www.organicdesign.co.nz/wiki/index.php?title=MediaWiki/GeSHiHighlight.php&direction=prev&oldid=9771 MediaWiki/GeSHiHighlight.php]] comments they also recommend using '' include("extensions/GeSHiHighlight.php");'' in [[LocalSettings.php]] (theres also some pointers to prevent page caching when desired[[User:Sven|Sven]] 08:44, 10 Feb 2006 (NZDT)
+
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.
  
There definately seems to be a lag as to when GeSHi starts implementing the new colour schemes. This could be what you were experiencing when you tried the newer version.
+
Is it likely that the Selenium Extension still works?
Any ideas if anything could be causing this server side? See [[Talk:CS255988.nt]].
 
:[[User:Sven|Sven]] 08:34, 9 Feb 2006 (NZDT)
 
----
 
  
Have you checked out the [http://sourceforge.net/project/showfiles.php?group_id=93107 python wikipedia bot]? It may give you furthur ideas...
 
:[[User:Sven|Sven]] 16:53, 7 Feb 2006 (NZDT)
 
----
 
file in the /tmp directory should be there now.
 
:[[User:Sven|Sven]] 14:03, 7 Feb 2006 (NZDT)
 
----
 
As I mentioned about the logs for the bots, e.g. [[User:Gir]], under [[Gir/Log]], there could be a bot specific list of log files (conserving namespace), something like;
 
Gir/Log/process.log
 
Gir/Log/process.log.1.gz
 
Gir/Log/process.log.2.gz
 
Gir/Log/process.log.3.gz
 
:[[User:Sven|Sven]] 13:24, 7 Feb 2006 (NZDT)
 
----
 
  
Remember that molecular biology technique I was describing to use for copying DNA, see [http://en.wikipedia.org/wiki/PCR polymerase chain reaction] for an overview when you have time...
+
Cheers,
:[[User:Sven|Sven]] 11:05, 7 Feb 2006 (NZDT)
+
--[[User:Dan Bolser|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. --[[User:Nad|nad]] 19:50, 7 April 2011 (PDT)
Guide now at /home/nad
 
:[[User:Sven|Sven]] 10:06, 7 Feb 2006 (NZDT)
 
----
 
;talk page and a few points;
 
*where is the best place to discuss development?
 
:[[Talk:Current Development]]
 
**project management
 
:''no place for this yet''
 
**tracking hours
 
:can be discussed at [[Talk:Import-oo.pl]]
 
**etc
 
**I have used email, article talk pages, user talk pages, and made up my own articles. ideas?
 
**i suggest that we ban email and use this forumn exclusively.
 
:''I'm into that - we have the email-to-article working here, but it also appends the email headers which should be deleted''
 
::Personally I think email etc of articles is a feature. Users just need to be aware that email is decentralized, any content you want permanant record of should be somewhere within the xmlwiki framework. For highlighting an article to collegues who are not current users of xmlwiki it is ideal.  [[User:Sven|Sven]] 10:56, 7 Feb 2006 (NZDT)  
 
:::agreed. a bot to extricate or hide the headers would be nice. I have added this to [[Feature_Request#clean_up_headers_in_email]]
 
*i am finding it hard to keep track of so many talk pages. it seems to me some of you have
 
a way of seeing recent changes "live"? by keeping the recent change page open. how do you do this?  Maybe if someone suggested a watchlist, or if we could create a development watchlist.
 
:Yes the OD changes update each minute, but some of us use watchlists as well.
 
::You could also add talk pages of interest as bookmarks either on your own [[Bookmarks:Phalseid]], or within another article [[User:Sven|Sven]] 10:59, 7 Feb 2006 (NZDT)
 
*is there some form of statement that we can start to create that we all agree to as far as this being "owned" by everyone, etc.  Maybe im just missing this, if so, please inform me or i will get this started.  My concern is (speaking for myself)that we are all using this with our own twist on it. i would rather have one "centralized" development space, and i don't think im the only one that has client data mixed in with this.
 
:The main dev space is [[Current Development]], which is a page containing all the current strands and projects. I'm not sure what you mean about owned, but the project does not subscribe to the concept of intellectual property, since it considers it to be an anti-spiritual crime similar to [[Wikipedia:Usury|usury]].
 
::yes, i meant "owned" in the collective sense, hence the quotes. i agree with the philosphy espoused herein and practiced by Ghandi and his mentor, [http://www.humanistictexts.org/tolstoy.htm| Tolstoy]
 
*i would also be helpful to have guidlines for "creating a new node", and have people that would trade resources (i can give money) for moving client information OFF of div0 for example onto their own space. [[User:Phalseid|Phalseid]] 09:40, 7 Feb 2006 (NZDT)
 
:Such order would be good - we've been finding the "casual" nature of wiki a bit difficult to get under control too, but we're getting used to it, and also have some extreme organisational tools on the way - mainly regarding the accounting and time-management aspects. see [[Talk:Import-oo.pl]].
 
  
----
+
== Private work for adeft ==
  
Yo,
+
#why is http://www.sebokwiki075.org/wiki/and http://www.sebokwiki075.org/wiki/ so slow? Extensions? DPL? Caching? Server?
I've added dna.php into the correct path for GeShi. The file is currently out of sync with [[DNA.php]]. Can you see what is wrong with it, it doesnt seem to colorise yet for my example, [[CS255988.nt]] [[User:Sven|Sven]] 09:27, 7 Feb 2006 (NZDT)
+
#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)
:Already been checking it out, but can't see the problem yet... [[User:Nad|Nad]] 09:33, 7 Feb 2006 (NZDT)
+
#backup script- TBD
----
+
#update star menu with transparency layers
Gee, i would like to log in ''once'' and be authenticated across all peers/xmlwikis that trust me. is this possible? [[User:Phalseid|Phalseid]]
+
#I added http://www.mediawiki.org/wiki/Extension:BreadCrumbs to /dev aboveThey 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
:Unfortunately the authorisation is handled by the webserver and is linked to the domain and browser cookie/session. For the login to work globally we need the you know what... :  
+
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
[[User:Nad|Nad]] 18:19, 3 Feb 2006 (NZDT)
 
::what if we put the you know what in our User:Name properties. <password>sup3rs3r3t</password> [[User:Phalseid|Phalseid]] 09:47, 7 Feb 2006 (NZDT)
 
:::<font color="red"> am i crazy?</font>[[User:Phalseid|Phalseid]] 04:03, 8 Feb 2006 (NZDT)
 
<s>Was I right in having to setup another Wiki account to use Pollen Wiki (same name)? [[User:Sven|Sven]] 10:26, 17 Nov 2005 (NZDT)</s> (cut in by another user) [[User:Sven|Sven]] 11:47, 10 Feb 2006 (NZDT)
 
::see ?
 
:::No. don't set up any users in any other wiki's, the others are managed by bots. [[User:Nad|Nad]] 09:32, 8 Feb 2006 (NZDT)
 
----
 
X-Apparently-To: punk1729@yahoo.co.nz via 66.163.179.118; Mon, 13 Feb 2006 18:02:52 -0800
 
X-Originating-IP: [216.55.181.47]
 
Authentication-Results: mta232.mail.re2.yahoo.com
 
  from=organicdesign.co.nz; domainkeys=neutral (no sig)
 
Received: from 216.55.181.47 (EHLO mail5.zoneedit.com) (216.55.181.47)
 
  by mta232.mail.re2.yahoo.com with SMTP; Mon, 13 Feb 2006 18:02:52 -0800
 
Received: from grunt6.ihug.co.nz (grunt6.ihug.co.nz [203.109.254.46])
 
by mail5.zoneedit.com (Postfix) with ESMTP id BF0B44C25F5
 
for <User_talk&3ANad@organicdesign.co.nz>; Mon, 13 Feb 2006 21:03:36 -0500 (EST)
 
Received: from 203-109-236-49.bliink.ihug.co.nz (Aran) [203.109.236.49]
 
by grunt6.ihug.co.nz with smtp (Exim 3.35 #1 (Debian))
 
id 1F8pWh-0005my-00; Tue, 14 Feb 2006 15:02:48 +1300
 
Message-ID: <024401c6310a$c08f7960$6401a8c0@Aran>
 
From: <aran@organicdesign.co.nz>
 
To: <User_talk&3ANad@organicdesign.co.nz>
 
Subject: Hello changes people!
 
Date: Tue, 14 Feb 2006 15:02:44 +1300
 
MIME-Version: 1.0
 
Content-Type: text/plain;
 
format=flowed;
 
charset="iso-8859-1";
 
reply-type=original
 
Content-Transfer-Encoding: 7bit
 
X-Priority: 3
 
X-MSMail-Priority: Normal
 
X-Mailer: Microsoft Outlook Express 6.00.2900.2180
 
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
 
This is my edit content
 
this is another line.
 
[[User:Gir|Gir]] 15:10, 14 Feb 2006 (NZDT)
 
----
 
'''Email from [mailto:aran@organicdesign.co.nz aran@organicdesign.co.nz]''', [[User:Gir|Gir]] 00:25, 16 Mar 2006 (NZDT)
 
  
'''''testing'''''
+
--[[User:Phalseid|phalseid]] 09:13, 23 February 2012 (PST)
:rrtrfrtyttyu
 
:
 

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)