Epte

From Organic Design wiki
Revision as of 22:39, 30 September 2006 by Epte (talk | contribs) (nowiki.php: popupdiv.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 Operation Scan page. Here's the text of it, with some extra spaces... or not. Just a sec.

Hmm... understanding wiki notation

Normally in wikis, you can put nowiki and tt tags around code, but here you can't. You get wmcode div tags and html comments saying where the starts and ends are. If I put in nowiki tags, I should get no wiki processing. My guess is that the extra wiki stuff done by this platform is a preprocessor (not post) and is converting certain wiki commands to its own native commands.

There should be an equivalent nowiki-ish tag for the meta stuff, but I haven't a clue what it would be. Such a tag is desirable because then I can dissect a known working meta-wiki page without much hassle.

For now, the following will have to do:

The original

refresh (in double braces)

Gen_validator2.html|nowiki.php (in double brackets with preceding asterisk)

Picker.html|nowiki.php (ditto)

popupdiv.html|nowiki.php (ditto)

operationscan.html|nowiki.php (ditto)

requirefile.html|nowiki.php (ditto)

change (in double braces)

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).
  • Not using Picker.html -- that's a javascript library.
  • 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.

I should be able to interact with this, because this portion seems to have no form submission

Here's with nowiki:

nowiki.php

and without:

*http://div0.com/wiki/index.php/popupdiv.html

Transclusion syntax

  • You "transclude" another article with the double brackets, and can "pipe" them through "transforms"

Understanding URL conventions

In summary, all fcre stuff is in div0, not wikiexpert, but still confused as to ADEFT usage. Always use http://www.div0.com/wiki/index.php/foo or http://wiki.div0.com/wiki/index.php?title=foo

For Operationscan, the following do work:

The following dont work:

Frustrations:

  • Wikiexpert takes a long time to respond (maybe just my dumb laptop?)
  • need to login to both wikiexpert and div0
  • 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
  • Dang it. Shouldn't the tt tags respect line breaks?