PDA

View Full Version : Rules and SOP


kirxklox
06-30-2009, 02:22 PM
Where are the rules and SOP for the WIKI?

What about the COPYRIGHTS?

Tom McIntyre
06-30-2009, 04:09 PM
The policies are in development and will be published for comment soon.

Tom McIntyre
07-15-2009, 10:50 AM
The operating rules for the NAWCC Encyclopedia have been published in the Tutorials section of the Encyclopedia.

The articles are:
Purpose of the NAWCC encyclopedia
Copyright of text in NAWCC Encyclopedia Articles
Copyright of images in the NAWCC Encyclopedia
Writing and Editing Encyclopedia Articles


Comments on the technical accuracy of the articles are welcome in the comments tab of the articles.

Comments and discussion of the implicit NAWCC business practices should be made in the NAWCC Members Only area.

kirxklox
07-18-2009, 01:25 AM
I would like to inform you that you are Shutting Down IE on the Wiki Articles.

Tom McIntyre
07-18-2009, 10:42 AM
Thanks for the bug report Sam. The problem is now fixed.

kirxklox
07-18-2009, 11:28 AM
I only crashed IE 20 times last night.

Tom McIntyre
07-18-2009, 12:45 PM
There is a bug in ie8 with larger Javascript execution. The Encyclopedia software has been modified to work around the bug.

It occurred when one clicked on the Java based tabs when viewing an article to post a comment, look at history, edit, etc.

We can run the software without Javascript, but the performance is generally better with it enabled.

kirxklox
07-18-2009, 12:52 PM
I do not have IE 8 installed only IE 7.

What JAVA?

Tom McIntyre
07-18-2009, 11:12 PM
special_reset.js

kirxklox
07-18-2009, 11:15 PM
That is not JAVA! Must be a syntax error.

Tom McIntyre
07-19-2009, 07:31 PM
Sam, did you read the file? It does not display particularly well here, but here it is.

/************************************************** **********************\
*
* CES Vault Wiki
* Version 2.3.1
*
* Copyright ©2008-2009 Cracked Egg Studios. All Rights Reserved.
* This file may not be redistributed in whole or significant part.
*
* VAULTWIKI IS NOT FREE SOFTWARE
* http://www.crackedeggstudios.com/vault/The-Arsenal:CES-VaultWiki
* http://www.crackedeggstudios.com/vault/VaultWiki-License-Agreement
*
\************************************************* ***********************/

// ################################################## ###########################
// vB_ResetHandler
// ################################################## ###########################
function vB_ResetHandler()
{
// handles adding of JS and CSS
};

/**
* Process HTML after a redirect
*
* @param ajax response
* @param string article URL
*/
vB_ResetHandler.prototype.parseRedirect = function(ajax_response, thread_url)
{
var splitter = thread_url.indexOf('?') != -1 ? '?' : '&';

var articleResponse = fetch_tags(ajax_response, "article")[0];
if (articleResponse.getAttribute("reload") == "1")
{
window.location = thread_url.split(splitter + "do")[0];
return true;
}

var tabResponse = fetch_tags(ajax_response, "tabs")[0];

if (!tabResponse || !tabResponse.firstChild)
{
return false;
}

this.insertPoll(ajax_response);

// we had an article redirect, destroy all tabs
YAHOO.util.Dom.get(tab_container).innerHTML = tabResponse.firstChild.nodeValue;

var tabId = articleResponse.getAttribute("tab_id");
YAHOO.util.Dom.get("collapseobj_" + tabId).innerHTML = articleResponse.firstChild.nodeValue;

// re-init tabs in case permissions or article status changed
ajax_load_url[tab_container] = thread_url;

if (vB_WikiTabs)
{
if (vB_WikiTabs[tab_container] && vB_WikiTabs[tab_container].overflow_tab)
{
var overflow_html = vB_WikiTabs[tab_container].overflow_tab.innerHTML;
}
else
{
var overflow_html = "»";
}

vB_WikiTabs[tab_container] = new vB_WikiTab(tab_container, tabId, overflow_html);
}

return false;
};

/**
* Dynamically parses Javascript
*
* @param object tab
* @param object popups
*/
vB_ResetHandler.prototype.parseScript = function(cobj, popups)
{
var dropdowns = cobj.getElementsByTagName("script");

var tabId = cobj.getAttribute("id");
if (tabId != "forum_header")
{
tabId = tabId.split("collapseobj_")[1];
}

if (popups)
{
var existpop = YAHOO.util.Dom.get("popups_" + tabId);
if (existpop)
{
existpop.parentNode.removeChild(existpop);
}

if (popups.firstChild)
{
var popdiv = document.createElement("div");
popdiv.setAttribute("id", "popups_" + tabId);
popdiv.innerHTML = popups.firstChild.nodeValue;
document.body.appendChild(popdiv);

// dropdowns.concat doesn't work?!
var drop2 = popdiv.getElementsByTagName("script");
if (drop2.length)
{
for (var p = 0; p < drop2.length; p++)
{
dropdowns[dropdowns.length] = drop2[p];
}
}
}
}

if (dropdowns.length)
{
var i, dropHTML;
for (var i = 0; i < dropdowns.length; i++)
{
if (dropdowns[i].getAttribute("type") != "text/javascript")
{
continue;
}

if (dropdowns[i].getAttribute("src"))
{
this.include(dropdowns[i].getAttribute("src"));
}
else if (dropdowns[i].innerHTML)
{
if (typeof PHP != "object")
{
return false;
}

dropHTML = PHP.trim(dropdowns[i].innerHTML);

if (dropHTML.substring(0, 4) == "<!--")
{
dropHTML = dropHTML.substring(4);
}

if (window.execScript)
{
window.execScript(dropHTML);
}
else
{
window.eval(dropHTML);
}
}
}
}
};

/**
* Dynamically includes a Javascript file
*
* @param string javascript HTTP-path
*/
vB_ResetHandler.prototype.include = function(scriptpath)
{
var oXML = this.getXMLHttpObj();

if (!oXML || !scriptpath)
{
return false;
}

oXML.open("GET", scriptpath, false);
oXML.send("");

if (window.execScript)
{
window.execScript(oXML.responseText);
}
else
{
window.eval(oXML.responseText);
}
};

/**
* Fetch the request object for a JS include.
*
* @return object XMLHttpRequest || ActiveXObject
*/
vB_ResetHandler.prototype.getXMLHttpObj = function()
{
if (typeof XMLHttpRequest != "undefined")
{
return new XMLHttpRequest();
}

var i,
axO = [
'Msxml2.XMLHTTP.6.0',
'Msxml2.XMLHTTP.3.0',
'Msxml2.XMLHTTP',
'Microsoft.XMLHTTP'
];

for (i = 0; i < axO.length; i++)
{
try
{
return new ActiveXObject(axO[i]);
}

catch (e)
{
}
}

return null;
};

/**
* Add stylesheets for new tabs.
* IMPORTANT: Only use absolute URLs in @imports!
*
* @param string CSS Text
*/
vB_ResetHandler.prototype.appendCSS = function(insertStyle, rulePos)
{
if (!YAHOO.util.Dom.get("vw-custom"))
{
var style2 = document.createElement("style");
style2.id = "vw-custom";
style2.type = "text/css";

if (style2.styleSheet && is_ie)
{
var importPaths;

while (importPaths = insertStyle.match(/@import url\(\"(.*)\"\);/))
{
document.styleSheets[document.styleSheets.length - 1].addImport(importPaths[1]);
insertStyle = insertStyle.replace(importPaths[0], '');
}

style2.styleSheet.cssText = insertStyle;
}
else
{
style2.appendChild(document.createTextNode(insertS tyle));
}

document.getElementsByTagName("head")[0].appendChild(style2);
}
};

/*
* Insert the HTML for a poll.
*
* @param ajax response
*/
vB_ResetHandler.prototype.insertPoll = function(ajax_response)
{
var pollResponse = fetch_tags(ajax_response, "poll")[0];
if (pollResponse)
{
var pollobj = YAHOO.util.Dom.get("collapseobj_ca-poll");
if (pollobj)
{
pollobj.innerHTML = (pollResponse.firstChild ? pollResponse.firstChild.nodeValue : "");
}
}
};

// ################################################## ###########################
// initialize the resetter

var vB_ResetHandle = new vB_ResetHandler();

/*================================================= =====================*\
* Downloaded: 20:59, Thu Jul 9th 2009
* Licensed to: http://mb.nawcc.org
\*================================================ ======================*/

kirxklox
07-19-2009, 07:36 PM
Tom: You called it JAVA, but it is JavaScript wich is an entirely dirfferent beast.

Tom McIntyre
07-19-2009, 08:52 PM
There is a bug in ie8 with larger Javascript execution. The Encyclopedia software has been modified to work around the bug.

It occurred when one clicked on the Java based tabs when viewing an article to post a comment, look at history, edit, etc.

We can run the software without Javascript, but the performance is generally better with it enabled.

Gee Sam, the term Javascript is used twice to make it clear what the tool is.

The file extension was .js, which I thought also made it clear.

kirxklox
07-19-2009, 09:00 PM
Gee, That is the KIND of nitpicking that is going on about my TYPO errors.