Epte

From Organic Design wiki
Revision as of 20:34, 12 October 2006 by Epte (talk | contribs) (Added Alert.html)

This is the page where Erich has his notes he needs in order to operate in the Peder's wiki environment, and to accomplish projects having to do with this environment. Any discussions with Peder will be in the Discussion area. Erich needs this page to be his notes to himself for reference.

Peder, please, don't touch this page. If you do not respect my wishes in this, I will be forced to keep my notes elsewhere. I'm doing this for you, because you asked me to and because I trust you, and it might help you see why I find this environment so difficult. I am tracking my understanding as I learn this system for your benefit.

Displaying your inner thought processes to clients is being very vulnerable and usually unwise.

Quickbooks integration

Sites

Understanding Transclusion

Let's analyze the Demoscan page. Here's the text of it:

The code for Demoscan

{{refresh}}                           (Reload the page)
{{stamp_invoice_message}}             (isn't working.  intentionally so I don't commit?)

[[Demoscan/instructions]]
<br>
'''Note: Use only Firefox''' When you are done, click on Article to reload file list
<br>

[[*Picker.html|nowiki]]     
[[*Gen_validator2.html|nowiki.php]]   (nothing visible.  probably validates the data)
[[*popupdiv.html|nowiki.php]]         (displays "show" and "hide")
[[*demoscan.html|nowiki.php]]         (main form)
[[*requirefile.html|nowiki.php]]      (nothing visible)

{{change}}                            (the change dial for change requests)

And some links:

Learning

nowiki.php

  • Primarily a php page
  • You would feed another article to it to "protect it from the wiki parser" (regular wiki, or metawiki?)
  • Essentially nowiki.php seems to be setting variables and placing tokens, the interpretation of which (and explanation of their meaning) is elsewhere. The PHP code for nowiki.php is fairly incomprehensible as it stands alone.
  • That leads me to wonder, where is nowiki.php called from? What is the context? How do I find out exactly what this thing is doing, if I had to, and didn't have the source code to browse through using normal filesystem commands?
  • That leaves me with experimentation. We'll try transcluding an article with the double bracket/asterisk syntax with and without the nowiki transform. (Yes, Peder, I know we did this before, but I need to have it here for my reference).
  • I have to use http://div0.com/wiki/index.php/FOO in the transclusion from this page because I am not in the div0 context.
  • popupdiv may be a good candidate because it should have something visible.
but no. with nowiki again gives me a @make-raw-token-http://div0.com/wiki/index.php/popupdiv.html@ sort of tag. Without, nothing. Not a scrap of the popupdiv.html HTML code was included for either.

I can't use applies on div0 articles from the wikiexpert context. All experimentation will be done on the div0 level.

Transclusion syntax

  • You "transclude" another article with the double brackets, and can "pipe" them through "transforms"
  • Use + in trsnslucsion link to embed and pipe a heading
  • Use * in transclusion link to pipe thru transforms and embed the result
  • See talk:document.php and apply examples
  • Double braces is for a "template" transclusion. I'm still not clear on templates from having read the suggested reading.

URL Syntax Findings

Frustrations:

  • can't be logged into div0 and wikiexpert simultaneously
  • At least 12 theoretical URL permutations out of which 2 work. And I know I've seen ADEFT.com URLS... I don't feel I can trust my intuition.
  • I can't easily use vim as my native editor
  • Open fresh browser. Try to edit Demoscan. Login. Try to edit Demoscan. Have to login again. This has happened multiple times. I'm not that inable to type my password. Though maybe my b key is sticking... Hmm.. no. It just happened again.
  • If http://www.div0.com/wiki/index.php/Fcre is a "subdirectory", how can I do an "ls" at the index.php level to see all such "subdirectories"?
  • If http://www.div0.com/wiki/index.php/Fcre is a "subdirectory" how can I "grep -r" within just that subdirectory? I understand I can search the whole filesystem using the wiki search, but what if that isn't specific enough?
  • nowiki tags don't work -- I get xmcode tags and html comments. As a workaround, to render applies in the article, I know of two syntaxes, one is to use XwLink templates per apply and the other is to break the brackets with nowiki tags per apply. I want a code block sort of thing. That is, there should be a <noxmwiki></noxmwiki> pair.
  • Either there's a login timeout that is set very low, or logging into div0 logs me out of wikiexpert and vice versa.
  • MediaWiki template syntax allows for parameters and variables. However, doing [[Epte/UrlExperiment | foo=bar ]] just sets the title, inappropriately, IMHO