Nekochan Net

New Nekochan Wiki! - Page 2

I kinda like the big red spray paint look. :)
squeen wrote:
I kinda like the big red spray paint look. :)


Hehe :) Well it was the product of a graphics tablet and probably more than a bit of annoyance - the captcha extension was a pain in the butt to configure/install and then I found (what I perceived) to be gripes about things "other than captcha" and it torqued me more than it should have. I've had a night's sleep since and I apologize if I offended anyone.

_________________
私のホバークラフト は鰻が一杯です。
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.
Pete, is there a chance to install or remove a better captcha? I was unable to modify a wiki article. I wast a lot of time and its very frustrating and YES iam already logged in.

Image
Image
Image

After 20 tries it began from the start. But there is no chance to insert the right text because its unreadable for a human. My whole company was very amused :)

After 742236955 tries i have success with a lowercase phrase. (But the Captcha is UPPERcase?)

regards
Joerg

_________________
http://www.irixworld.net
Image Image
Like joerg, it took me a bit to get the hang of reading the captch, but once I did it wasn't really a huge bother. I even got familiar with some of the phrases, and was happy when "an old friend" popped up that I knew I could decipher.

If, as Neko says above, it was a massive pain to install, I'd say he should save his time for better (and more fun!) things. After all, I believe that wiki page authoring is still an infrequent event for most of us.

My two-cents. (sorry joerg :) )

Here let me try my skills....

puxecoral
rangsales
milkyorbit

...what did I WIN?!?!?
joerg wrote:
After 742236955 tries i have success with a lowercase phrase. (But the Captcha is UPPERcase?)


Yep - I've mentioned that captcha responses must be lowercase; it's even on the front page of the wiki. Bottom line - I'm not changing it. If you don't like it, don't use it; doesn't bother me any which way, but I'm not dealing with the spam problems a weaker captcha generates. I just don't have time for that crap.

_________________
私のホバークラフト は鰻が一杯です。
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.
nekonoko wrote:
joerg wrote:
After 742236955 tries i have success with a lowercase phrase. (But the Captcha is UPPERcase?)


Yep - I've mentioned that captcha responses must be lowercase; it's even on the front page of the wiki. Bottom line - I'm not changing it. If you don't like it, don't use it; doesn't bother me any which way, but I'm not dealing with the spam problems a weaker captcha generates. I just don't have time for that crap.


Who reads the frontpage when during editing an article a captcha comes up? Even on the captcha helppage this info is missing.

regards
Joerg

_________________
http://www.irixworld.net
Image Image
Saw that one coming. :)
joerg wrote:
Who reads the frontpage when during editing an article a captcha comes up?

Same guy who watches the mantel while he's stoking the fire :P
Hi Pete, it is possible that you can open the
http://www.nekochan.net/wiki/index.php? ... ge=2678400
page? Otherwise it would be fine if you can take a look if it contains the table.prettytable CSS class. But it looks like the page is empty except the comment. I also not knowing if the system use the file.

The original one which was used by wikipedia is here:
http://en.wikipedia.org/w/index.php?tit ... ge=2678400

Another question was does anyone know how to deal with the Templates? I would like to use the Template:Infobox_Software thing but i dont get it to work. See http://simple.wikipedia.org/wiki/Templa ... x_Software .

I would like to use this template and CSS stuff on http://www.nekochan.net/wiki/index.php/Setup_neko_apache2 but iam totally lost :)

Edit:
I have found http://www.mediawiki.org/wiki/Template and start playing with it

regards
Joerg

_________________
http://www.irixworld.net
Image Image
Pete, thank you for the CSS. The table now looks much better.

regards
Joerg

_________________
http://www.irixworld.net
Image Image
Not a problem. The template at the top of your new page is really scrambled though - is that due to the CSS or something else?

_________________
私のホバークラフト は鰻が一杯です。
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.
nekonoko wrote:
Not a problem. The template at the top of your new page is really scrambled though - is that due to the CSS or something else?


That have nothing todo with the new CSS. The advanced templates which i have copied from the wikipedia doesnt work in our nekochan wiki. I get simple templates to work with and i also understand the basic stuff.

I have installed current mediawiki-1.11.0 here at home to mess around with it and i get the same errors. The parser went mad when using the original templates from wikipedia. Maybe the used a tweaked version?

Chances are very high that i just make a simple thing wrong because one of my first question was how to create a new page in the wiki :)

regards
Joerg

_________________
http://www.irixworld.net
Image Image
Ok i got it working. I visit the mediawiki IRC channel on freenode and some guys point me into the right direction. Before i installed the wiki software (latest svn) on 2 local machines to see if there are differents between the current version or just platform specific issues.

1. For the more advanced Template stuff an extra extension needs to be installed.
2. The help of "tidy" is needed when the Template should generate HTML tables.

Installing of the ParserFunction Extension see http://meta.wikimedia.org/wiki/Help:ParserFunctions#Installation :
    Create the subdirectory "ParserFunctions" under /extensions
    Download the 3 PHP files Expr.php, ParserFunctions.php and ParserFunctions.i18n.php with wget into the new created ParserFunctions directory

Note:
Its the normal behavior that mediawikis PHP scripts doesnt use the PHP Close tag (aka ?>).

Add the following to the "LocalSettings.php" config file:
Code:
require_once( "$IP/extensions/ParserFunctions/ParserFunctions.php" );


For installing tidy a similar step is needed but instead of using a PHP script or the ext/tidy from PHP the tidy binary is used. So install neko_tidy first.
    Create the subdirectory "tidy" under /extensions
    Create a "tidy.conf" file with the following content within the new created tidy directory

Code:
show-body-only: yes
force-output: yes
tidy-mark: no
wrap: 0
wrap-attributes: no
literal-attributes: yes
output-xhtml: yes
numeric-entities: yes
enclose-text: yes
enclose-block-text: yes
quiet: yes
quote-nbsp: yes
fix-backslash: no
fix-uri: no


    Add the following to the LocalSettings.php
Code:
$wgUseTidy=true;
$wgTidyBin = '/usr/nekoware/bin/tidy';
$wgTidyConf = $IP.'/extensions/tidy/tidy.conf';


My missing step was the "$wgUseTidy=true;" because the docs only referrers to "$wgUserHtml " which was removed in one of the previous versions of mediawiki.

If all goes right you can see something like that http://wiki.irixworld.net/index.php/Setup_neko_apache2 (see all the foobars at the right :)

Pete, it is possible for you to make the changes and see if it works? I cant see a reason that something breaks. If so i can be fix by uncommented in the LocalSettings.php.

If you set PHPs open_basedir you have to add "/usr/nekoware/bin". But before do that drop a note because i dont want to open a securityhole.

regards
Joerg

_________________
http://www.irixworld.net
Image Image
joerg wrote:
Pete, it is possible for you to make the changes and see if it works?


Done - looks like it's working.

_________________
私のホバークラフト は鰻が一杯です。
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.
nekonoko wrote:
joerg wrote:
Pete, it is possible for you to make the changes and see if it works?


Done - looks like it's working.


Thx.

_________________
http://www.irixworld.net
Image Image
I added articles on 'Defining Non-Standard Tape Drives Under IRIX' and 'Using the Octane Compression w/ VPro Graphics' to the "How To" section of the wiki.

_________________
***********************************************************************
Welcome to ARMLand - 0/0x0d00
running...(sherwood-root 0607201829)
* InfiniteReality/Reality Software, IRIX 6.5 Release *
***********************************************************************
recondas wrote:


Looks good - thanks!

_________________
私のホバークラフト は鰻が一杯です。
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.
Pete,

can you please add the following to http://www.nekochan.net/wiki/index.php?title=MediaWiki:Common.js ?

Code:
/* Any JavaScript here will be loaded for all users on every page load. */

/** Collapsible tables *********************************************************
*
*  Description: Allows tables to be collapsed, showing only the header. See
*               [[Wikipedia:NavFrame]].
*  Maintainer on Wikipedia: [[User:R. Koot]]
*/

var autoCollapse = 2;
var collapseCaption = "hide";
var expandCaption = "show";

function hasClass( element, className ) {
var Classes = element.className.split( " " );
for ( var i = 0; i < Classes.length; i++ ) {
if ( Classes[i] == className ) {
return ( true );
}
}
return ( false );
}

function collapseTable( tableIndex )
{
var Button = document.getElementById( "collapseButton" + tableIndex );
var Table = document.getElementById( "collapsibleTable" + tableIndex );

if ( !Table || !Button ) {
return false;
}

var Rows = Table.getElementsByTagName( "tr" );

if ( Button.firstChild.data == collapseCaption ) {
for ( var i = 1; i < Rows.length; i++ ) {
Rows[i].style.display = "none";
}
Button.firstChild.data = expandCaption;
} else {
for ( var i = 1; i < Rows.length; i++ ) {
Rows[i].style.display = Rows[0].style.display;
}
Button.firstChild.data = collapseCaption;
}
}

function createCollapseButtons()
{
var tableIndex = 0;
var NavigationBoxes = new Object();
var Tables = document.getElementsByTagName( "table" );

for ( var i = 0; i < Tables.length; i++ ) {
if ( hasClass( Tables[i], "collapsible" ) ) {
NavigationBoxes[ tableIndex ] = Tables[i];
Tables[i].setAttribute( "id", "collapsibleTable" + tableIndex );

var Button     = document.createElement( "span" );
var ButtonLink = document.createElement( "a" );
var ButtonText = document.createTextNode( collapseCaption );

Button.style.styleFloat = "right";
Button.style.cssFloat = "right";
Button.style.fontWeight = "normal";
Button.style.textAlign = "right";
Button.style.width = "6em";

ButtonLink.setAttribute( "id", "collapseButton" + tableIndex );
ButtonLink.setAttribute( "href", "javascript:collapseTable(" + tableIndex + ");" );
ButtonLink.appendChild( ButtonText );

Button.appendChild( document.createTextNode( "[" ) );
Button.appendChild( ButtonLink );
Button.appendChild( document.createTextNode( "]" ) );

var Header = Tables[i].getElementsByTagName( "tr" )[0].getElementsByTagName( "th" )[0];
/* only add button and increment count if there is a header row to work with */
if (Header) {
Header.insertBefore( Button, Header.childNodes[0] );
tableIndex++;
}
}
}

for ( var i = 0;  i < tableIndex; i++ ) {
if ( hasClass( NavigationBoxes[i], "collapsed" ) || ( tableIndex >= autoCollapse && hasClass( NavigationBoxes[i], "autocollapse" ) ) ) {
collapseTable( i );
}
}
}

addOnloadHook( createCollapseButtons );


This is needed for the current standard of creating a hide/show element called "collapsible table" which is discribed under http://meta.wikimedia.org/wiki/Help:Collapsing . For all other methods extra extensions are needed which i want to avoid. I leave away the JS code for the sorted tables.

regards
Joerg

_________________
http://www.irixworld.net
Image Image
joerg wrote:
Pete,

can you please add the following


Done.

_________________
私のホバークラフト は鰻が一杯です。
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.
hi all

i can dedicate some of my (holiday) time to do some write up on the wiki, how should we structure tips/info from the o2 diagnostics thread?

under How To? ie How To-->J-->Jumpstart the o2?

under Workstations-->o2-->Jumpstart the o2?