Difference between revisions of "User talk:Nad"

From Organic Design wiki
(tasks done)
(Change source-code blocks to standard format)
 
Line 1: Line 1:
My script [[Sven Ubuntu post-install]] shows what I did, some downloaded packages need to run the README instructions, from memory
+
==Exploring Wiki==
:latex package.ins
 
creates the sty files which need to go into the appropriate
 
/usr/share/texmf/tex/latex/base/CONTRIBUTED/package directory
 
  
Todo (packages to download and install still):
+
Hey Aran,
*http://homepages.uni-tuebingen.de/beitz/txe.html
 
*http://homepages.uni-tuebingen.de/beitz/tte.html
 
*ftp://cam.ctan.org/tex-archive/macros/latex/contrib/concmath.zip
 
*<s>http://www.tug.org/tex-archive/fonts/amsfonts.zip</s>
 
*<s>ftp://ftp.ams.org/pub/tex/amslatex.zip</s>
 
  
Install R from [http://cran.stat.auckland.ac.nz/ source] e.g.
+
is this the place where you make contact with other users then? 
http://cran.stat.auckland.ac.nz/src/base/R-2/R-2.2.0.tar.gz
 
  
:[[User:Sven|Sven]] 21:11, 17 Nov 2005 (NZDT)
+
Ahhh, Bach.  --[[User:The Duncan|The Duncan]] 06:20, 6 September 2010 (NZST)
----
 
  
By the way the command to create ls-R databases on linux is: texhash where
 
/usr/bin/texhash -> mktexlsr
 
It updates any packages in
 
/usr/share/texmf/tex/latex/base/
 
  
I usually put a directory called CONTRIBUTED in there.
+
== 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
  
:[[User:Sven|Sven]]
+
Kind Regards,
----
+
Andi
  
ok as starters installing the first part
+
== 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
 +
}}
  
:apt-get -y install latex
+
<googlemap width="400" height="300" zoom="16" type="hybrid" controls="medium">
Just to see what exactly is installed.
+
{{{LON}}},{{{LAT}}}, {{{FULL_NAME}}}
 +
</googlemap>
 +
</pre>
  
Standard Latex usage
+
would work. It appears to be a problem:
The general method of running latex is like this
+
https://bugzilla.wikimedia.org/show_bug.cgi?id=2257
* latex file.tex (produces lots of files, now interested in the log file and the output file file.dvi
+
::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/
* xdvi file.dvi views the file with the dvi viewer.
 
* dvips file.dvi -o file.ps (or file.eps)
 
alternative usage
 
pdflatex file.tex (creates a pdf file anda log file directly
 
  
With bibTeX
+
what are your 2 cents? --[[User:Phalseid|Phalseid]] 06:39, 3 April 2008 (NZST)
* latex file (or file.tex - picks up extention automatically
+
: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
* bibtex file
+
<php>$text = $parser->replaceTemplateVariables($text);</php>
* latex file
+
:You could make it do it based on a global such as ''$egGoogleMapsReplaceVariables'' --[[User:Nad|Nad]] 09:09, 3 April 2008 (NZST)
* latex file
 
  
Modes like auctex mode in emacs do these steps seemlessly
+
== Treeview 5 ==
 +
Yo,
 +
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)
 +
 
 +
== [[Extension:Treeview5.php]] ==
 +
 
 +
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)
 +
 
 +
== 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 --[[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)
 +
 
 +
== 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 <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)
 +
 
 +
== 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)
 +
:I think there are hooks to extend that pretty easily, you need something done? --[[User:Nad|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 [http://svn.wikimedia.org/doc/classParser.html parser.php] --[[User:Sven|Sven]] 14:16, 9 June 2008 (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)
 +
 
 +
== Wiki.pl ==
  
no specific conventions.
 
:[[User:Sven|Sven]] 19:10, 17 Nov 2005 (NZDT)
 
----
 
Let me know when yourve got the base install done, so I can have a go at installing R and LaTeX. I will put a source install of R onto the linux box, ready for installation, probably in /tmp.
 
:[[User:Sven|Sven]] 18:47, 17 Nov 2005 (NZDT)
 
----
 
 
Yo,
 
Yo,
I can definately help with standard LaTeX installations. I've done it many times on Linux, Windoze, and  OS X. What I do is put all the extracted archives under a directory like ''CONTRIBUTED'' in the right global location depending on the OS. Then its just a matter of
+
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.
of running a cammand like ''mktexlsr'' ( mktexlsr - create ls-R databases) so latex knows of the new contributed packages. I will have a look at chess.
 
  
=== Installation LaTeX on OS X ===
+
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;
*Installation of tex-fat (Tex, and LaTeX backend)
 
*Installed the i-packages recommended defaults
 
*Tex-fat-README.rtf suggests dragging TeX-fat.iid over
 
i-packages icon to install Tex-fat.dmg
 
**tex.ii2, ghostscript-8.ii2
 
*Then installed Xaw3d dependency for Ghostview
 
**Xaw3d.ii2, gv.ii2
 
*Installation of TexShop
 
**texshop.dmg
 
  
*Installed contributed packages go in directory;
+
<source lang="mysql">
**/usr/local/teTeX/share/texmf.tetex/tex/latex/
+
Database error manually identified when attempting restore
**e.g. ctable, etc available from www.ctan.org
+
Database error
*sudo cp -R ctable /usr/local/teTeX/share/texmf.tetex/tex/latex/
+
A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:
  
*Now update the tree of packages;
+
    (SQL query hidden)
**sudo mktexlsr
 
:[[User:Sven|Sven]] 13:53, 17 Nov 2005 (NZDT)
 
----
 
  
It seems that about 99% of it's that simple, then there's a few hours of working out the other 1%. It's probably just that I'm unfamiliar with the env - like when I unpack chess, it complains that some files are missing (I thinks its some .mf's) but I don't know where they're supposed to go, or what needs to be compiled etc. Also I think I'd have to mod their php script to add new classes - but definately worth checking out. I'll give you root access to the new server when it's ready so you can experiment with that shit as well :-)
+
from within function "Revision::insertOn". MySQL returned error "1062: Duplicate entry '12' for key 2 (localhost)".
:[[User:Nad|Nad]] 12:57, 17 Nov 2005 (NZDT)
+
</source>
----
 
If the chemistry addition was as simple as grabbing a few contibuted packages for latex off [http://www.tug.org tug] then I should give you a list of other additional packages I think would be useful, for example, [http://homepages.uni-tuebingen.de/beitz/txe.html texshade and tex typo]. Textypo does kick arse protein topology [http://homepages.uni-tuebingen.de/beitz/tte.html picies] through membraines.
 
:[[User:Sven|Sven]] 12:16, 17 Nov 2005 (NZDT)
 
----
 
  
Was I right in having to setup another Wiki account to use Pollen Wiki (same name)?
+
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)
:[[User:Sven|Sven]] 10:26, 17 Nov 2005 (NZDT)
+
: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,
I would of thoughtthat the markup on my wiki should of recognised wikipedia bt it does not. I ported your articles from [[Help!]] and all the wikipedia links did not work until I added the wikipedia rowto the interwiki table. Will read the docie you suggested.
+
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]] 22:04, 16 Nov 2005 (NZDT)
+
<source lang="php">
----
+
if ($response->is_success and (
 +
$response->content =~ m|<input type='hidden' value="(.+?)" name="wpEditToken" />|g
 +
)) {
 +
</source>
 +
 
 +
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)
 +
:Cool thanks ;-) --[[User:Nad|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! --[[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)
  
Ahh, but does the sandbox get cleared every twelve hours?
+
::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:Sven|Sven]]
 
*I'll add it to the peer's job list! (by the way, [[peer.pl]] has his own email address, peer.pl@gmail.com - he doesn't pay much attention to it at the moment though)
 
----
 
Yes, I had my wires crossed, anyway most of the LaTeX dependencies come standard with <nowiki>*nix</nowiki>.
 
I was just having a look at the interwiki table in [http://www.mediawiki.org/wiki/Download mediawiki 1.5.2] and noticed that wikipedia is missing from the list. Did you add it in?
 
:[[User:Sven|Sven]] 17:51, 16 Nov 2005 (NZDT)
 
*You can do <tt><nowiki>[[Wikipedia::article]]</nowiki></tt> style links without changing anything if that's what you mean. I haven't ever looked a the local interwiki list, but I've added OrganicDesign to the central interwiki list, and its on my watchlist too, so I can see what's getting added to it.
 
----
 
Heres a possible bug, I can get the following a browser error if I envoke the <nowiki><math></nowiki> (without closure?)
 
tag in an edit window.
 
=== Server side error ===
 
Fatal error: Call to undefined function: rendermath() in /home/nad/public_html/wiki/includes/Parser.php on line 315
 
:It could just be because you havent enabled it yet on xmlwiki running on windows OS's
 
:[[User:Sven|Sven]] 15:59, 16 Nov 2005 (NZDT)
 
----
 
Yo,
 
maybe we need an article called [[Sandbox]] (as it doesnt already exist) as a play area for people to and practise markup, like mediawikis [http://www.mediawiki.org/wiki/Sandbox Sandbox]
 
:[[User:Sven|Sven]] 15:54, 16 Nov 2005 (NZDT)
 
----
 
the project to install LaTeX on a windows machine is available at http://www.miktex.org, as part of it you install [http://www.gnu.org/software/ispell/ispell.html ispell], [http://www.cs.wisc.edu/~ghost/ ghostscript], and gsview. These are some of the components required to get mathematical typesetting going for Mediawiki <nowiki><math></nowiki> markup
 
:[[User:Sven|Sven]] 15:18, 16 Nov 2005 (NZDT)
 
----
 
  
Had a quick look at the E page, its definately LaTeX markup. Will look some more.
+
== MindMap II==
:[[User:Sven|Sven]] 09:46, 16 Nov 2005 (NZDT)
+
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)
----
 
p.s. My collegue Clinton is going to start using this wiki too!
 
  
It looks as though you can currently see the directory structure of http://www.organicdesign.co.nz, your might want to get it locked down a bit
+
== where to put stuff ==
:[[User:Sven|Sven]] 09:33, 16 Nov 2005 (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)
 +
:::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)
  
Ok, thats interesting, why in the fourth column of [[Special:recentchanges|history]] do we not see the changes to [[User talk:Nad]]?
+
== Project red eye ==
:[[User:Sven|Sven]] 16:34, 15 Nov 2005 (NZDT)
+
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)
Nad,
 
I could of added something about the project, but was lazy about finding the relevant article :p
 
:[[User:Sven|Sven]] 16:31, 15 Nov 2005 (NZDT)
 
----
 
Solved used the <nowiki><pre></pre></nowiki> tags
 
:[[User:Sven|Sven]] 11:35, 15 Nov 2005 (NZDT)
 
----
 
On my [[User:Sven | personal page]] I've started an article on Apache installation for OSX, and managed to get the
 
text parsing some of the lines as monotype font, any ideas how it did it? I guess I can use xml/html markup to control it
 
:[[User:Sven|Sven]] 11:33, 15 Nov 2005 (NZDT)
 
----
 
Do you only get a messages popup if the dialog is in your [[User talk:Nad|own]] disussion area?
 
:[[User:Sven|Sven]] 09:54, 15 Nov 2005 (NZDT)
 
p.s. I could not get the link to go to your discussion page, that is <nowiki>[[User talk:Nad|own]]</nowiki> - Bug?
 
----
 
  
This white paper on GNU arch CVS system looks interesting too
+
forget this for now...see http://www.mediawiki.org/wiki/Extension:MindMeister above.. --[[User:Phalseid|Phalseid]] 03:29, 3 January 2009 (NZDT)
*[http://regexps.srparish.net/www/arch-tech.html  How arch works]  
 
  
Heres a couple of projects that look interesting if your not already heard of them
+
==widgets on demo==
*[http://venge.net/monotone/ monotone] State of the art cvs system.
+
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)
* [http://plone.org/ plone] web development content management system.
+
: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)
:[[User:Sven|Sven]] 13:29, 14 Nov 2005 (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)
  
nad,
+
== Integration ==
  
starting to read your suggestions.
+
Hi Nad,
One thought I had is that any error messages that you provide could be like they would be on a  
+
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)
unix/linux filesystem
 
, e.g.  
 
Traversing to an area or accessing a restricted article: ''Permission denied''
 
  
----
+
== 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)
  
:File permissions on articles.
+
== Chloe in the snow ==
Can you easily do something so you can see an "rw" like unix beside articles?
 
  
Maybe yourve got a way to quickly identify this that I havent seen yet.
+
http://www.flickr.com/photos/rebba/4386885783/in/set-72157604564573252/
:[[User:Sven|Sven]] 04 Oct 2005
 
  
----
+
==AGI Manhattan==
'''Nad'''
+
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)
  
I was looking at the [[peer.pl]] and wanting to look at the source by clicking ''edit''. I cant edit it as I dont have permissions. Is there any way I can view the source of the document? I would like to see how you did the perl syntax highlighting. I assume you have an xml style for that. Ive got some R (http://cran.stat.auckland.ac.nz) code I want to put into my [[User:Sven|User Page]]. It is very C/Perl like.
+
== mail problems ==
:[[User:Sven|Sven]] 5 Oct 2005
 
----
 
Blog #2
 
:Yo,
 
wondering what is the escape to override the wiki markup, e.g. if I want to describe a bullet point in text / help docie
 
* this is a bullet
 
You can create it in markup like this
 
  
\* this is a bullet
+
Having a bit of trouble connecting to my od mail account in the last few days. On further investigation this looks a bit fishy:
 +
<pre>
 +
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
 +
</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)
  
I get the escape backslash showing (as illustrated above)
+
== Selenium extension ==
  
:[[User:Sven|Sven]] 05 Oct 2005
+
Hi Nad,
----
 
It seems that ''emphasis'' either with double or triple quoting can effectvely escape *some* markup,
 
  
* this is a bullet
+
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.
  
created by:
+
Is it likely that the Selenium Extension still works?
  
'''*''' this is a bullet
 
  
:[[User:Sven|Sven]] 6 Oct 2005
+
Cheers,
----
+
--[[User:Dan Bolser|Dan Bolser]] 01:10, 4 April 2011 (PDT)
Anyway I can tell if your currently online?
+
: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)
  
:[[User:Sven|Sven]] 11:56, 5 Nov 2005 (NZDT)
+
== Private work for adeft ==
  
== test-ignore ==
+
#why is  http://www.sebokwiki075.org/wiki/and http://www.sebokwiki075.org/wiki/ so slow? Extensions? DPL? Caching? Server?
 +
#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)
 +
#backup script- TBD
 +
#update star menu with transparency layers
 +
#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
  
This is a test using + as the edit, notice that new content is added at the end
+
--[[User:Phalseid|phalseid]] 09:13, 23 February 2012 (PST)
----
 

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)