Penguin
Diff: WantedWikiFeatures
EditPageHistoryDiffInfoLikePages

Differences between version 39 and predecessor to the previous major change of WantedWikiFeatures.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 39 Last edited on Monday, August 23, 2004 2:35:24 pm by PerryLorier Revert
Older page: version 33 Last edited on Friday, June 4, 2004 11:20:52 pm by ReiniUrban Revert
@@ -1,14 +1,18 @@
+You can't put a : in a line that starts with a ;. And in new markup, you can't put another: in the second line. Reini's links were all eaten when this page changed to new markup. -- CraigBox  
+-----  
+  
 Can someone tell me how to make a wiki page for [/dev/random | dev/random ]? I'd thought the page would be http://www.wlug.org.nz/%2Fdev%2Frandom, but the wiki doesn't like that. StuartYeates 
-;:''Just like that'' --PhpWiki:ReiniUrban  
  
-Your browser turns "/" insto "%2F", and apache (and/or php) will turn escapes such as "%2F" back into "/". I think due to the wiki 's mod_rewrite rules, Apache is treating leading multiple consecutive "/" chars as a single one (since it is treated as a filesystem path, I think) . If you do " ///dev/random", it will link to "//dev/random", which will link to "/dev/random", etc -- JohnMcPherson 
+;: ''Just like that '' -- ReiniUrban  
+  
+Turns out that there is a bug in our installed version of phpwiki that strips a leading "/". If/when we upgrade to a newer version this should be fixed. -- JohnMcPherson 
 ---- 
 A mode suitable for including [GPG] keys and other ascii armored texts would be nice. StuartYeates 
  
 New markup and < verbatim > - however remember by nature a Wiki is editable and there is no concept of page ownership. -- CraigBox 
  
-;: ''Latest PhpWiki releases support all that.'' --PhpWiki: ReiniUrban 
+;: ''Latest PhpWiki releases support all that.'' -- ReiniUrban 
 ---- 
  
 Using referrer.log do a nightly/hourly import of all sane looking (ie: not google or wlug.org.nz) /backlinks/ into the backlinks page from the web. This will give an interesting insite into who/where are linking to us and will be an automagic way to add 'content' to pages, in a backwards kinda way. 
  
@@ -19,38 +23,21 @@
 If there is a way to make apache do this in real-time, this would also be great, then just have a nightly SQL statement removing a token from each bucket, then removing empty links. --JamesSpooner 
  
 Wiki is already a target of referer spam, people who put a 1x1 img or iframe that links to the wiki so that they show up heaps on our referers. No idea why they're doing it, but a lot of our referers are from porn sites, so I'm not keen on encouraging this behaviour. -- PerryLorier 
  
-;:''Since 1.3.10 we allow size=w x h attributes for images. Should we disallow too small sizes, say below 8x8?'' --PhpWiki: ReiniUrban 
+;:''Since 1.3.10 we allow size=w x h attributes for images. Should we disallow too small sizes, say below 8x8?'' -- ReiniUrban 
  
 This simply means they're performing a denial of service, rather than some form of advertising. To say that it's not an option before exploring the possibilities is a little premature, the page with the links can be flagged no-crawl such that we don't 'link' to porn sites and can be linked off the main backlinks page such that only interested parties will view the links, with suitable disclaimers etc. This _will_ add considerable value to the wiki. -- JamesSpooner 
  
 ---- 
  
 Quoting CraigBox on refactoring link lists to Category pages: 
  
-;: ''I agree, with the same reservations (which I don't care about as much any more and won't care about at all if the OrphanedPages script could ignores pages with no backlinks if they have a ! CategorySomething footer... ;)'' 
+;: ''I agree, with the same reservations (which I don't care about as much any more and won't care about at all if the OrphanedPages script could ignores pages with no backlinks if they have a ~ CategorySomething footer... ;)'' 
  
-I would suggest a two-fold condition for ignoring apparent orphans: they should contain a ! CategoryFoo link and the ! CategoryFoo page should exist. 
+I would suggest a two-fold condition for ignoring apparent orphans: they should contain a ~ CategoryFoo link and the ~ CategoryFoo page should exist. 
  
 --AristotlePagaltzis 
-  
-----  
-  
-I've forever pined for a way to mark up fixed-width text like we mark up bold or italic text. Maybe a double equals sign? (Much the way double underscore is used for bold text.) This should be trivial to add, but would add a ''lot''.  
-%%% -- AristotlePagaltzis  
-  
-;:''fixed width is done with =text= in new markup'' --PhpWiki:ReiniUrban  
-  
-I'm having a case of Warnock's Dilemma here it seems. :/ --AristotlePagaltzis  
-  
-C'mon, Perry and crew. This isn't be very hard to enable but would allow much cleaner formatting of pages such as SysLinux and AccessingWindowsPartitions. :( --AristotlePagaltzis  
-  
-I think the problem with this is that it would take the wlug phpwiki source even further away from the vanilla phpwiki source, when Perry would like to eventually sync back to their tree. (I think that's the case, but I don't speak for him :p) Many of our changes are cosmetic and are in the easily customisable theme templates, rather than hacking up the internals. -- JohnMcPherson  
-  
-Actually, at least recent versions of vanilla PHPWiki already provide this, along with offering a configurable list of allowed HTML tags[1]. --AristotlePagaltzis  
-  
-[1] Something I don't personally like -- I prefer there to be wiki markup for anything you'd want to do. --AristotlePagaltzis  
  
 ---- 
  
 Links from [People]s' [PersonalWiki] to all the pages they're immedately responsible, or some number of their recent edits. 
@@ -74,22 +61,28 @@
 Maybe you want to use real fortune on php, instead of the simple taglines: http://www.aasted.org/quote/ 
  
 I use it like this: 
  
- define('FORTUNE_DIR',"/usr/share/fortune"); 
+<verbatim>  
+ define('FORTUNE_DIR',"/usr/share/fortune"); 
  
- if (empty($data['%content'])) {  
- include_once('lib/InlineParser.php');  
- // A feature similar to taglines at from http://www.wlug.org.nz/  
- // http://www.aasted.org/quote/  
- if (defined('FORTUNE_DIR') and is_dir(FORTUNE_DIR)) {  
- include_once("lib/fortune.php");  
- $fortune = new Fortune();  
- $quote = str_replace("\n<br>","\n", $fortune->quoteFromDir(FORTUNE_DIR));  
- return sprintf("<verbatim>\n%s</verbatim>\n\n"._("Describe %s here."),  
- $quote, "[" . WikiEscape($this->_pagename) . "]");  
- }  
- // Replace empty content with default value.  
- return sprintf(_("Describe %s here."),  
- "[" . WikiEscape($this->_pagename) . "]");  
- }  
- --ReiniUrban 
+if (empty($data[ ['%content'])) {  
+ include_once('lib/InlineParser.php');  
+ // A feature similar to taglines at from http://www.wlug.org.nz/  
+ // http://www.aasted.org/quote/  
+ if (defined('FORTUNE_DIR') and is_dir(FORTUNE_DIR)) {  
+ include_once("lib/fortune.php");  
+ $fortune = new Fortune();  
+ $quote = str_replace("\n<br>","\n", $fortune->quoteFromDir(FORTUNE_DIR));  
+ return sprintf("<verbatim>\n%s</verbatim>\n\n"._("Describe %s here."),  
+ $quote, "[ [" . WikiEscape($this->_pagename) . "]");  
+ }  
+ // Replace empty content with default value.  
+ return sprintf(_("Describe %s here."),  
+ "[ [" . WikiEscape($this->_pagename) . "]");  
+}  
+</verbatim>  
+  
+ --ReiniUrban  
+  
+----  
+CategoryMeta