Sherurcij
You're likely here for one of three reasons, so let's keep things tidy.
Debatepedia.org launch press release - "the Wikipedia of debate"
editThought you might be interested in this as a reporter for Wikinews
For Immediate Release The International Debate Education Association Launches Debatepedia.org
Debatepedia calls on citizens to take a stand as editors on the “Wikipedia of debate”
Main Page: http://wiki.idebate.org/index.php/Welcome_to_Debatepedia%21
NEW YORK, NY (October 12, 2007) – The International Debate Education Association (IDEA) announced today its launch of Debatepedia.org, a wiki with the ambitious mission of becoming the world’s "Wikipedia of debate and reason". On Debatepedia, at www.idebate.org, people can help edit and co-create an encyclopedia of debates by adding pro and con arguments and compiling bodies of supporting evidence within a unique pro/con “logic tree” structure. Debatepedia is also a place for documenting the positions of leaders and organizations. The potential range of debates on Debatepedia is limitless and includes topics that are international, national, and local in scope. It also intends to offer different language versions. Its ambitious mission will have a major impact on the way citizens engage in pressing debates, draw personal conclusions, and even influence their representatives and leaders.
Debatepedia is the product of over a year-and-a-half of work by a dedicated team of individuals. It was founded by Georgetown students and alumni in the Winter of 2006, who then outsourced a software project to India in the Spring and Summer of 2007, creating software that enables users to easily use and manipulate the original and essential “logic-tree” pro/con structure of debates. Debatepedia merged with IDEA in the summer of 2007, joining a talented international team, and benefiting from the migration of roughly 500 refined debate articles from IDEA’s existing Debatabase (the product of over 8 years of work). The merger of these teams under the umbrella of IDEA and its network has made the new Debatepedia into a powerful force of effort, vision, and potential.
With Debatepedia’s launch, the focus moves to building a vibrant wiki community of volunteer editors. Like Wikipedia, such a community is fundamental to its mission. Debatepedia’s launch is a call to debaters, students, experts, and citizens to register on Debatepedia and become active editors and members of its community. It encourages editors to engage for personal reasons in the issues they care most about, using Debatepedia as a tool to gather and weigh pros and cons, and back up the positions they take. For debaters, its the ultimate forum for gathering and depositing evidence.
Debatepedia founder and chief editor Brooks Lindsay says, “I am incredibly lucky to be the chief editor of Debatepedia because the process and structure pushes me to read widely on the most important issues of the day, inquire in areas of uncertainty, gather and organize arguments, deliberate on them, and determine where I stand. It’s the ultimate personal philosophical tool, and a great tool for debaters.”
In the coming year, Debatepedia’s focus is squarely on the hottest debates in the world today. For those living in or interested in the United States, it will be featuring roughly 50 essential debates that surround the 2008 US presidential and congressional elections.
Press Contact:
Brooks Lindsay
Founder and chief editor of Debatepedia, President of Debatemedia, Inc.
(Phone) 206-406-7558, (Email) brooks@debatepedia.org.
Based in Washington, DC.
David Shankbone's talk page
editTalk page's are the user's to do as they wish with (within limt). While it is a bit rude to remove another's coments it is allowed on his talk page. --Cspurrier 02:43, 3 October 2007 (UTC)
Blocked
editYou've been blocked for violating the Three revert rule. If someone does not want your comments on their talk page, it's appropriate for them to remove your comments. I've done so with certain people on my talk page. Never the less, it's inappropriate for you to revert those changes over and over again.
Please don't take this personally. irid t i e 14:57, 3 October 2007 (UTC)
- I should point out Wikinews:Three revert rule's "In the cases where multiple parties violate the rule, admins should treat all sides equally." and the equally relevant "This exception does not apply to reversions of well-established users just because you consider their edits to be "vandalism." Simple vandalism is indisputable—don't confuse it with edits which you simply disagree with." ;) Sherurcij 17:54, 3 October 2007 (UTC)
- Addressing the first point, I blocked you both for 24 hours. What other admins do is at their discretion. On your second point, are you saying that he was vandalizing his own talk page? Or that you're well-established and therefore should be treated specially? irid t i e 01:44, 4 October 2007 (UTC)
- No, my point was that neither of us were "vandals", so 3RR did still apply - but since it appears I misunderstood and thought he went away free (blanking his talk page again) - I do apologise. Sherurcij 02:12, 4 October 2007 (UTC)
irid may say don't take this personally, but this is the second time in a week I've had to deal with you making problems with David Shankbone. Your comments qualify as what I was once blocked for, namely "great incivility". Drop the issue, move on, and consider that some people are more sensitive to criticism than others and tact pays dividends. --Brian McNeil / talk 15:14, 3 October 2007 (UTC)
- I believe my only issues with Shankbone have been with him using shaky legal foundations to use another author's words to describe somebody other than who he was using the quote to describe - and his biased reporting talking about the "horrific" Ahmadinejad and his "denials of reality" in what is supposed to be an unbiased news piece. He then attacked me, claiming I was an anti-semite and "talking out of my ass" - but guess what, I'm not an insecure 14-year old drama queen, I can handle it, unlike some others. Sherurcij 17:54, 3 October 2007 (UTC)
- Have proof of your accusations? And if you continue your rampage, despite being warned mor than enough times, then expect to be banned. I will not tolerate you or anyone else acting the way you are. I warned you to be civil. So this is your last warning. Be civil or be banned. And thats final. DragonFire1024 (Talk to the Dragon) 17:57, 3 October 2007 (UTC)
- You're so awesome, every time I look at you, you're threatening to ban somebody if they don't shut up and listen to you. The most amusing was on the very topic of "Are admins bullies?" when you threatened to ban Ed if he didn't shut up and agree with you. Stop being a pissant.
- As for "proof", it's in the edit histories - learn to use them. Sheesh, her e you go; His article gets tagged as POV and using weasel words, falsely claiming that Ahmadinejad didn't address his country's nuclear program despite admitting he never actually watched the speech, muchless attended it. He used "quotation marks" to attribute statements that were never actually made when he meant to summarise, he claimed "The Iranian President echoed writer and Bush critic Sunsara Taylor (a communist protester that Shankbone met)", and then he defended himself [[1]] stating that "I had taken three hours off work to go photograph an event, without pay, go back to work, go home at night and then spend another four hours trying to write an article, upload photos, etc. That the article wasn't in pristine condition when I was finished doesn't deserve some of the ruler-slapping-my-hand", frankly, yes it does. If the article "wasn't in pristine condition", and had major POV, weasel words and similar issues, he shouldn't have published it. You can see w:2006_Iranian_sumptuary_law_controversy#Apology for a good reason why media outlets have to actually proofread everything before publishing it. He then called me a jerk, and said I was a two bit reporter who liked to "talk out of your ass". He then asked YOU to threaten to ban me, and you complied. See how awesome it is? Sherurcij 18:14, 3 October 2007 (UTC)
- Actually I am not threatening you. I am telling you what will happen, not just by me, but other admins if you continue to be uncivil. And I am saying this without the request of anyone regardless of what David asked me to do. If he were not intentionally being provoked, then I would understand. But you continue to be uncivil and I would not blame anyone for defending themselves. I along with you, david and everyone else have rules and policies to follow. If you, David, me or anyone else cannot do that, then there are consequences. Period. End of story.
- Have proof of your accusations? And if you continue your rampage, despite being warned mor than enough times, then expect to be banned. I will not tolerate you or anyone else acting the way you are. I warned you to be civil. So this is your last warning. Be civil or be banned. And thats final. DragonFire1024 (Talk to the Dragon) 17:57, 3 October 2007 (UTC)
- I believe my only issues with Shankbone have been with him using shaky legal foundations to use another author's words to describe somebody other than who he was using the quote to describe - and his biased reporting talking about the "horrific" Ahmadinejad and his "denials of reality" in what is supposed to be an unbiased news piece. He then attacked me, claiming I was an anti-semite and "talking out of my ass" - but guess what, I'm not an insecure 14-year old drama queen, I can handle it, unlike some others. Sherurcij 17:54, 3 October 2007 (UTC)
- In regards to your accusations, I DID watch the entire speech, and I would say he avoided every single question he was asked and answered only one question. No one had to be at the speech to hear what he was saying. This is all a matter of POV. And everyone everywhere will interprate the speech differently, but that's NOT an excuse to go off and calling people names and provoking them...intentionally. DragonFire1024 (Talk to the Dragon) 19:37, 3 October 2007 (UTC)
- You also said that the LED in the shape of a star shoudl say "fake bomb", not "device resembling a bomb", and that the article should give the impression that the student entered the airport specifically with the intention of commiting a crime (false statement to panic). Your opinions are so noted - but really, irrelevant to the case at hand. Sherurcij 02:12, 4 October 2007 (UTC)
- In regards to your accusations, I DID watch the entire speech, and I would say he avoided every single question he was asked and answered only one question. No one had to be at the speech to hear what he was saying. This is all a matter of POV. And everyone everywhere will interprate the speech differently, but that's NOT an excuse to go off and calling people names and provoking them...intentionally. DragonFire1024 (Talk to the Dragon) 19:37, 3 October 2007 (UTC)
Hrmph!
editRTFM! And yes, I will post this on David's page too. --Brian McNeil / talk 18:50, 3 October 2007 (UTC)
Didn't he say it wasn't done?
editDidn't David say specifically about this article that it wasn't done, he was tiring, and that others could work on it. If so, then why the constant attacks on David? Lyellin 19:13, 3 October 2007 (UTC)
RE: Benoit
editThis is Benoit: Death of Nancy Benoit rumour posted on Wikipedia hours prior to body being found. I published that article...had it been PD, then no one on Wikinews would have gotten credit for this article, which Wikinews was responsible for breaking. By 7am the same day, as it was published in early AM (eastern time), this was on every major news network in the world. I certainly would not have like my edits, (or publish) go unnoticed, or anyone else's because FOX News copied our article posted an exclusive on it and or sold it to someone (which FOX News did try to do). So unless everyone who edits the article agrees that they want their edits in the Public Domain, then you cannot claim an entire article as PD once the edits are edited or changed, because they are no longer your edits and your edits alone. To simply change the wording of another users edits to fit back with your own, does not change the fact that they are and were not your edits, regardless of how bad they are (setting aside vandalism). DragonFire1024 (Talk to the Dragon) 00:33, 19 October 2007 (UTC)
- So did I...and i was around online 24/7 for several days following that incident too. And FOX News was the only one I and several other saw that did what they did. And they paid for it anyways. But that is not an excuse to say all edits are PD because they aren't. only yours are. Wikinews had their highest ratings when that went on...because we were credited. Not to mention, they can change any aspect or our article, PD or not, so long as they say one word: Wikinews. But this is a Wiki and anyone can edit it, within policy. And if they don't want their edits in the PD then that is their right, based on policy and our license. So unfortunately, if others, even one disagrees with PD, then you simply cannot have it. DragonFire1024 (Talk to the Dragon) 02:15, 19 October 2007 (UTC)
Hey there!
editHi Sherurcij. Nice to see you back! Cheers, --Jcart1534 03:54, 15 January 2008 (UTC)
reply
editfine by me... Geo Swan 23:48, 11 February 2008 (UTC)
I, and another Wikinews editor, have raised some issues on the collaboration page. I would be grateful if you respond/address these issues. --SVTCobra 00:44, 12 February 2008 (UTC)
My user pages
editPlease do not edit my user pages unless you find something that is overtly a copyright violation or otherwise violates policy. --SVTCobra 02:10, 11 March 2008 (UTC)
Whilst I appreciate it is a long time ago but this image needs details of its source and an appropriate licence. Adambro - (talk) 17:59, 22 March 2008 (UTC)
- What NASA satellite image? Where from? Adambro - (talk) 20:00, 1 April 2008 (UTC)
You had mentioned that Wikinews could use some more coverage on topics related to Africa. I'd like to collaborate with you on an article related to that topic - can you think of something that could use some coverage? If you don't particularly want to work on an article yourself at the moment - could you suggest something related to Africa that would be a good potential article, or a sub-topic related to Africa that could use some coverage, and I'll try to write some articles on that topic? Cirt - (talk) 08:32, 1 April 2008 (UTC)
- Well, meanwhile I think I'll take a look at Portal:Africa and see which subtopics in particular could use some more coverage. Cirt - (talk) 09:28, 1 April 2008 (UTC)
- interested?(also [2]) it's a wee bit dated, but still doable, i think. –Doldrums(talk) 19:49, 1 April 2008 (UTC)
- Thanks Doldrums (talk · contribs), those both look like good sources. More generally, Stevenfruitsmaak (talk · contribs) suggested areas such as environment in Africa, health issues, and urban culture, so I am going to begin to look at those areas for potential sources/articles as well. Cirt - (talk) 19:54, 1 April 2008 (UTC)
- interested?(also [2]) it's a wee bit dated, but still doable, i think. –Doldrums(talk) 19:49, 1 April 2008 (UTC)
I am very interested in writing articles on Zimbabwe if you ever want to collaborate. --Anonymous101 (talk · contribs) (Note I have no link with the organization anonymous) 19:52, 1 April 2008 (UTC)
- Thanks for the offer Anonymous101 (talk · contribs), I was more thinking of other areas that haven't gotten as much coverage as Zimbabwe, but after a couple articles on other Africa stuff, I'll look into it - collaboration in that area would be nice. Cirt - (talk) 19:54, 1 April 2008 (UTC)
- I actually think Zimbabwe is one of the most underreported ares. There has just been an election yet there has been only one recent article not written by me. --Anonymous101 (talk · contribs) (Note I have no link with the organization anonymous) 19:57, 1 April 2008 (UTC)
- Okay, well after I work on maybe one other idea for an article, that could be something to work on. Any particular topic in mind for an article, perhaps unrelated to the recent elections, but related to Zimbabwe? Cirt - (talk) 20:00, 1 April 2008 (UTC)
- I actually think Zimbabwe is one of the most underreported ares. There has just been an election yet there has been only one recent article not written by me. --Anonymous101 (talk · contribs) (Note I have no link with the organization anonymous) 19:57, 1 April 2008 (UTC)
How about some collaborative work on this story about African nations banning Cluster Bombs? Sherurcij 20:31, 1 April 2008 (UTC)
Notations
editI really think this section makes the article look silly and is contrary to the Style adopted by other articles, both in Wikinews and other news/media sources. For comparison, see the AFP article, cited in this article. Cirt - (talk) 21:28, 1 April 2008 (UTC)
You think it's okay now as is? (I guess so, you changed it to publish, hehe.) Cirt - (talk) 20:55, 3 April 2008 (UTC)
- Other than the "Notations" thing I agree with you that it is ready to publish. And I do think it went really well and was fun collaborating. But I still have to disagree and I don't think it should be published with the "Notations" formatting, and SVTCobra (talk · contribs) and DragonFire1024 (talk · contribs) said similar comments on the talk page of the article. Other than that, looks great. Cirt - (talk) 21:00, 3 April 2008 (UTC)
- We have been through this at great length on the article's talk page already. The information is not needed in the article - readers can consult the sources for additional information. If there were more text in the article to make room for some sort of sidebar we could have added it - but at this point it is sort of too late. I do not feel that the article should be published in its present form, with the "Notations" formatting. Cirt - (talk) 21:03, 3 April 2008 (UTC)
- Sure we can. We cited our sources at the bottom, no need to go into specifics for every number or statistic, it is all backed up by the sources. So you now have four Wikinews contributors that disagree with the "Notations" formatting: myself, DragonFire1024 (talk · contribs), SVTCobra (talk · contribs), and Markie (talk · contribs). I really think it is best to leave it at this version [3]. Cirt - (talk) 21:11, 3 April 2008 (UTC)
- "Please, do not use the Wikipedia style of inline references, this is not at all appropriate for a source of news where you are - usually - expected to read the entire article rather than scan for a fact and its reference." that bit --MarkTalk to me 21:13, 3 April 2008 (UTC)
- well what more of an answer do you want?? the above is the relevant section in policy which says not to use inline refs. --MarkTalk to me 21:21, 3 April 2008 (UTC)
- "Please, do not use the Wikipedia style of inline references, this is not at all appropriate for a source of news where you are - usually - expected to read the entire article rather than scan for a fact and its reference." that bit --MarkTalk to me 21:13, 3 April 2008 (UTC)
- Sure we can. We cited our sources at the bottom, no need to go into specifics for every number or statistic, it is all backed up by the sources. So you now have four Wikinews contributors that disagree with the "Notations" formatting: myself, DragonFire1024 (talk · contribs), SVTCobra (talk · contribs), and Markie (talk · contribs). I really think it is best to leave it at this version [3]. Cirt - (talk) 21:11, 3 April 2008 (UTC)
- We have been through this at great length on the article's talk page already. The information is not needed in the article - readers can consult the sources for additional information. If there were more text in the article to make room for some sort of sidebar we could have added it - but at this point it is sort of too late. I do not feel that the article should be published in its present form, with the "Notations" formatting. Cirt - (talk) 21:03, 3 April 2008 (UTC)
Thank you
editThank you for collaborating with me on African nations gather to support a ban on cluster bombs. You put out a good piece and it was fun working on it together. Cirt - (talk) 21:21, 3 April 2008 (UTC)
I've asked you previously about this but there is still two outstanding issues with this image. Firstly, where is the image from NASA that you've tweak from? Can you provide a URL? Also, what license is this image available under, presumably if it is NASA then its PD but we need a better idea of where it has come from in order to confirm this. Adambro - (talk) 16:00, 4 May 2008 (UTC)
- I spent a good twenty minutes searching for it, I may've used NASA's satellite software which was installed on my computer in the past, but other than that I really can't help you. I can obviously tell you it's NASA and I wouldn't have uploaded it otherwise - but beyond that, sadly I can't seem to find a url for it. Sherurcij 20:55, 8 May 2008 (UTC)
div tag
edit<laughs> Actually, the div is solely to float the table, which uses some silly styling to deek in the party colors (although I'm none too sure of the Liberal red there...) - Amgine | t 14:50, 15 September 2008 (UTC)
see comment
editSee comment here - [4]. 87.70.38.15 18:52, 15 September 2008 (UTC)
Horizontal infoboxes
editWith Bawolff not grokking my spec for a horizontal infobox I have done a mockup using PhotoShop. Since you initially proposed the idea, please comment. --Brian McNeil / talk 09:05, 18 October 2008 (UTC)
Let the groveling begin!
editYou dear, kind, handsome man; I have traveled these long wikilands in search of your guidance, because the good people of IRCdom informed me of your generous genius (and affinity for assertive alliteration?) (additional assonance in aforementioned asking?).
In short, I was trying to copy over {{Howdy}} to Wikisource, but ran into some JS troubles at s:Template:Welcome2 and hoped you might show me what I'm doing wrong, to get the tabs to work properly. It's probably something basic and simple, I'm just a dunce :) Sherurcij 23:07, 5 November 2008 (UTC)
- While since you asked so nicely, add the following to s:mediawiki:common.js:
/*
==Tabber code==
*/
/*
This was originally from http://www.barelyfitz.com/projects/tabber/
This has been modified very slightly for wikinews by [[user:Bawolff]] (you can use any of my modifications under the same license as the original author specified)
Please note, only the tabber code is under the MIT license. (the rest is probably either cc-by, GPL, or some combination thereof. its not really clear)
Note This depends on the hasClass wikifunc
At some point this should probably use html5 getElementsByClassName
for efficiency reasons on browsers that support it.
==================================================
$Id: tabber.js,v 1.9 2006/04/27 20:51:51 pat Exp $
tabber.js by Patrick Fitzgerald pat@barelyfitz.com
Documentation can be found at the following URL:
http://www.barelyfitz.com/projects/tabber/
License (http://www.opensource.org/licenses/mit-license.php)
Copyright (c) 2006 Patrick Fitzgerald, modifed by Bawolff
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation files
(the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of the Software,
and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
==================================================*/
function tabberObj(argsObj)
{
var arg; /* name of an argument to override */
/* Element for the main tabber div. If you supply this in argsObj,
then the init() method will be called.
*/
this.div = null;
/* Class of the main tabber div */
this.classMain = "tabber";
/* Rename classMain to classMainLive after tabifying
(so a different style can be applied)
*/
this.classMainLive = "tabberlive";
/* Class of each DIV that contains a tab */
this.classTab = "tabbertab";
/* Class to indicate which tab should be active on startup */
this.classTabDefault = "tabbertabdefault";
/* Class for the navigation UL */
this.classNav = "tabbernav";
/* add space between tabs to force line break. use class UseTabBreaks*/
this.spaceTabs = false;
/* When a tab is to be hidden, instead of setting display='none', we
set the class of the div to classTabHide. In your screen
stylesheet you should set classTabHide to display:none. In your
print stylesheet you should set display:block to ensure that all
the information is printed.
*/
this.classTabHide = "tabbertabhide";
/* Class to set the navigation LI when the tab is active, so you can
use a different style on the active tab.
*/
this.classNavActive = "tabberactive";
/* Elements that might contain the title for the tab, only used if a
title is not specified in the TITLE attribute of DIV classTab.
*/
this.titleElements = ['h2','h3','h4','h5','h6'];
/* Should we strip out the HTML from the innerHTML of the title elements?
This should usually be true.
*/
this.titleElementsStripHTML = true;
/* If the user specified the tab names using a TITLE attribute on
the DIV, then the browser will display a tooltip whenever the
mouse is over the DIV. To prevent this tooltip, we can remove the
TITLE attribute after getting the tab name.
*/
this.removeTitle = true;
/* If you want to add an id to each link set this to true */
this.addLinkId = false;
/* If addIds==true, then you can set a format for the ids.
<tabberid> will be replaced with the id of the main tabber div.
<tabnumberzero> will be replaced with the tab number
(tab numbers starting at zero)
<tabnumberone> will be replaced with the tab number
(tab numbers starting at one)
<tabtitle> will be replaced by the tab title
(with all non-alphanumeric characters removed)
*/
this.linkIdFormat = '<tabberid>nav<tabnumberone>';
/* You can override the defaults listed above by passing in an object:
var mytab = new tabber({property:value,property:value});
*/
for (arg in argsObj) { this[arg] = argsObj[arg]; }
/* Create regular expressions for the class names; Note: if you
change the class names after a new object is created you must
also change these regular expressions.
*/
this.REclassMain = new RegExp('\\b' + this.classMain + '\\b', 'gi');
this.REclassMainLive = new RegExp('\\b' + this.classMainLive + '\\b', 'gi');
this.REclassTab = new RegExp('\\b' + this.classTab + '\\b', 'gi');
this.REclassTabDefault = new RegExp('\\b' + this.classTabDefault + '\\b', 'gi');
this.REclassTabHide = new RegExp('\\b' + this.classTabHide + '\\b', 'gi');
/* Array of objects holding info about each tab */
this.tabs = new Array();
/* If the main tabber div was specified, call init() now */
if (this.div) {
this.init(this.div);
/* We don't need the main div anymore, and to prevent a memory leak
in IE, we must remove the circular reference between the div
and the tabber object. */
this.div = null;
}
}
/*--------------------------------------------------
Methods for tabberObj
--------------------------------------------------*/
tabberObj.prototype.init = function(e)
{
/* Set up the tabber interface.
e = element (the main containing div)
Example:
init(document.getElementById('mytabberdiv'))
*/
var
childNodes, /* child nodes of the tabber div */
i, i2, /* loop indices */
t, /* object to store info about a single tab */
defaultTab=0, /* which tab to select by default */
DOM_ul, /* tabbernav list */
DOM_li, /* tabbernav list item */
DOM_a, /* tabbernav link */
aId, /* A unique id for DOM_a */
headingElement; /* searching for text to use in the tab */
/* Verify that the browser supports DOM scripting */
if (!document.getElementsByTagName) { return false; }
/* If the main DIV has an ID then save it. */
if (e.id) {
this.id = e.id;
}
/* Clear the tabs array (but it should normally be empty) */
this.tabs.length = 0;
/* Loop through an array of all the child nodes within our tabber element. */
childNodes = e.childNodes;
for(i=0; i < childNodes.length; i++) {
/* Find the nodes where class="tabbertab" */
if(childNodes[i].className &&
hasClass(childNodes[i], this.classTab)) {
/* Create a new object to save info about this tab */
t = new Object();
/* Save a pointer to the div for this tab */
t.div = childNodes[i];
/* Add the new object to the array of tabs */
this.tabs[this.tabs.length] = t;
/* If the class name contains classTabDefault,
then select this tab by default.
*/
if (childNodes[i].className.match(this.REclassTabDefault)) {
defaultTab = this.tabs.length-1;
}
}
}
/* Create a new UL list to hold the tab headings */
DOM_ul = document.createElement("ul");
DOM_ul.className = this.classNav;
/* Loop through each tab we found */
for (i=0; i < this.tabs.length; i++) {
t = this.tabs[i];
/* Get the label to use for this tab:
From the title attribute on the DIV,
Or from one of the this.titleElements[] elements,
Or use an automatically generated number.
*/
t.headingText = t.div.title;
/* Remove the title attribute to prevent a tooltip from appearing */
if (this.removeTitle) { t.div.title = ''; }
if (!t.headingText) {
/* Title was not defined in the title of the DIV,
So try to get the title from an element within the DIV.
Go through the list of elements in this.titleElements
(typically heading elements ['h2','h3','h4'])
*/
for (i2=0; i2<this.titleElements.length; i2++) {
headingElement = t.div.getElementsByTagName(this.titleElements[i2])[0];
if (headingElement) {
t.headingText = headingElement.innerHTML;
if (this.titleElementsStripHTML) {
t.headingText.replace(/<br>/gi," ");
t.headingText = t.headingText.replace(/<[^>]+>/g,"");
}
break;
}
}
}
if (!t.headingText) {
/* Title was not found (or is blank) so automatically generate a
number for the tab.
*/
t.headingText = i + 1;
}
/* Create a list element for the tab */
DOM_li = document.createElement("li");
/* Save a reference to this list item so we can later change it to
the "active" class */
t.li = DOM_li;
/* Create a link to activate the tab */
DOM_a = document.createElement("a");
DOM_a.appendChild(document.createTextNode(t.headingText));
DOM_a.href = "javascript:void(null);";
DOM_a.title = t.headingText;
DOM_a.onclick = this.navClick;
/* Add some properties to the link so we can identify which tab
was clicked. Later the navClick method will need this.
*/
DOM_a.tabber = this;
DOM_a.tabberIndex = i;
/* Do we need to add an id to DOM_a? */
if (this.addLinkId && this.linkIdFormat) {
/* Determine the id name */
aId = this.linkIdFormat;
aId = aId.replace(/<tabberid>/gi, this.id);
aId = aId.replace(/<tabnumberzero>/gi, i);
aId = aId.replace(/<tabnumberone>/gi, i+1);
aId = aId.replace(/<tabtitle>/gi, t.headingText.replace(/[^a-zA-Z0-9\-]/gi, ''));
DOM_a.id = aId;
}
/* Add the link to the list element */
DOM_li.appendChild(DOM_a);
/* Add the list element to the list */
DOM_ul.appendChild(DOM_li);
/* add a space to get line breaks */
if (this.spaceTabs) {
DOM_ul.appendChild(document.createTextNode(" "));
}
}
/* Add the UL list to the beginning of the tabber div */
e.insertBefore(DOM_ul, e.firstChild);
/* Make the tabber div "live" so different CSS can be applied */
e.className = e.className.replace(this.REclassMain, this.classMainLive);
/* Activate the default tab, and do not call the onclick handler */
this.tabShow(defaultTab);
/* If the user specified an onLoad function, call it now. */
if (typeof this.onLoad == 'function') {
this.onLoad({tabber:this});
}
return this;
};
tabberObj.prototype.navClick = function(event)
{
/* This method should only be called by the onClick event of an <A>
element, in which case we will determine which tab was clicked by
examining a property that we previously attached to the <A>
element.
Since this was triggered from an onClick event, the variable
"this" refers to the <A> element that triggered the onClick
event (and not to the tabberObj).
When tabberObj was initialized, we added some extra properties
to the <A> element, for the purpose of retrieving them now. Get
the tabberObj object, plus the tab number that was clicked.
*/
var
rVal, /* Return value from the user onclick function */
a, /* element that triggered the onclick event */
self, /* the tabber object */
tabberIndex, /* index of the tab that triggered the event */
onClickArgs; /* args to send the onclick function */
a = this;
if (!a.tabber) { return false; }
self = a.tabber;
tabberIndex = a.tabberIndex;
/* Remove focus from the link because it looks ugly.
I don't know if this is a good idea...
*/
a.blur();
/* If the user specified an onClick function, call it now.
If the function returns false then do not continue.
*/
if (typeof self.onClick == 'function') {
onClickArgs = {'tabber':self, 'index':tabberIndex, 'event':event};
/* IE uses a different way to access the event object */
if (!event) { onClickArgs.event = window.event; }
rVal = self.onClick(onClickArgs);
if (rVal === false) { return false; }
}
self.tabShow(tabberIndex);
return false;
};
tabberObj.prototype.tabHideAll = function()
{
var i; /* counter */
/* Hide all tabs and make all navigation links inactive */
for (i = 0; i < this.tabs.length; i++) {
this.tabHide(i);
}
};
tabberObj.prototype.tabHide = function(tabberIndex)
{
var div;
if (!this.tabs[tabberIndex]) { return false; }
/* Hide a single tab and make its navigation link inactive */
div = this.tabs[tabberIndex].div;
/* Hide the tab contents by adding classTabHide to the div */
if (!div.className.match(this.REclassTabHide)) {
div.className += ' ' + this.classTabHide;
}
this.navClearActive(tabberIndex);
return this;
};
tabberObj.prototype.tabShow = function(tabberIndex)
{
/* Show the tabberIndex tab and hide all the other tabs */
var div;
if (!this.tabs[tabberIndex]) { return false; }
/* Hide all the tabs first */
this.tabHideAll();
/* Get the div that holds this tab */
div = this.tabs[tabberIndex].div;
/* Remove classTabHide from the div */
div.className = div.className.replace(this.REclassTabHide, '');
/* Mark this tab navigation link as "active" */
this.navSetActive(tabberIndex);
/* If the user specified an onTabDisplay function, call it now. */
if (typeof this.onTabDisplay == 'function') {
this.onTabDisplay({'tabber':this, 'index':tabberIndex});
}
return this;
};
tabberObj.prototype.navSetActive = function(tabberIndex)
{
/* Note: this method does *not* enforce the rule
that only one nav item can be active at a time.
*/
/* Set classNavActive for the navigation list item */
this.tabs[tabberIndex].li.className = this.classNavActive;
return this;
};
tabberObj.prototype.navClearActive = function(tabberIndex)
{
/* Note: this method does *not* enforce the rule
that one nav should always be active.
*/
/* Remove classNavActive from the navigation list item */
this.tabs[tabberIndex].li.className = '';
return this;
};
/*==================================================*/
function tabberAutomatic(tabberArgs)
{
/* This function finds all DIV elements in the document where
class=tabber.classMain, then converts them to use the tabber
interface.
tabberArgs = an object to send to "new tabber()"
*/
var
tempObj, /* Temporary tabber object */
divs, /* Array of all divs on the page */
i; /* Loop index */
if (!tabberArgs) { tabberArgs = {}; }
/* Create a tabber object so we can get the value of classMain */
tempObj = new tabberObj(tabberArgs);
/* Find all DIV elements in the document that have class=tabber */
/* First get an array of all DIV elements and loop through them */
divs = document.getElementsByTagName("div");
for (i=0; i < divs.length; i++) {
/* Is this DIV the correct class? */
if (divs[i].className &&
hasClass(divs[i], tempObj.classMain)) {
if (hasClass(divs[i], "UseTabBreaks")) {
tabberArgs.spaceTabs = true;
}
/* Now tabify the DIV */
tabberArgs.div = divs[i];
divs[i].tabber = new tabberObj(tabberArgs);
}
}
return this;
}
/*==================================================*/
function tabberAutomaticOnLoad(tabberArgs)
{
/* This function adds tabberAutomatic to the window.onload event,
so it will run after the document has finished loading.
*/
// var oldOnLoad;
if (!tabberArgs) { tabberArgs = {}; }
/* Taken from: http://simon.incutio.com/archive/2004/05/26/addLoadEvent */
/*oldOnLoad = window.onload;
if (typeof window.onload != 'function') {
window.onload = function() {
tabberAutomatic(tabberArgs);
};
} else {
window.onload = function() {
oldOnLoad();
tabberAutomatic(tabberArgs);
};
}*/
//Use the wiki onload
addOnloadHook(function() {
tabberAutomatic(tabberArgs);
})
}
/*==================================================*/
/* Run tabberAutomaticOnload() unless the "manualStartup" option was specified */
if (typeof tabberOptions == 'undefined') {
tabberAutomaticOnLoad();
} else {
if (!tabberOptions['manualStartup']) {
tabberAutomaticOnLoad(tabberOptions);
}
}
/*
End Tabber. Note, code after this line probably is not under the MIT license.
*/
And the following to s:mediawiki:common.css:
/*###################
##Tabber stuff. See code in mediawiki:common.js
################*/
/*===Wikinews specific==== */
/*horizTabBox*/
div.horizTabBox ul.tabbernav li a {
background-color:#7ec9fd;
margin-left: 15px;
border-bottom: solid 1px #7ec9fd;
padding-left:0.5em;
padding-right:0.5em;
-moz-border-radius:2em 2em 0 0; /* this should be replaced with images for browsers that don't support it*/
-webkit-border-radius:2em 2em 0 0;
border-radius:2em 2em 0 0;
}
div.horizTabBox ul.tabbernav li.tabberactive a
{
background-color: #bce1ff;
border-bottom: 3px solid #bce1ff;
margin-left:10px;
}
div.horizTabBox .tabbertab
{
border:solid 2px #7ec9fd;
padding:0;
}
div.horizTabBox ul.tabbernav li a:hover
{
color: #000;
background: #bce1ff;
border-bottom: 3px solid #bce1ff;
}
div.horizTabBox ul.tabbernav li.tabberactive a:hover
{
color: #000;
}
div.horizTabBox { width:80%;margin-left:auto;margin-right:auto;text-align:left;}
div.horizTabBox {min-width:41em;max-width:47em;} /* IMPORTANT: keep width:80% above or it will suck on IE*/
/*
===Generic defaults===
Copied from http://www.barelyfitz.com/projects/tabber/example.css used under mit license
see http://www.barelyfitz.com/projects/tabber/
*/
/* $Id: example.css,v 1.5 2006/03/27 02:44:36 pat Exp $ */
/*--------------------------------------------------
REQUIRED to hide the non-active tab content.
But do not hide them in the print stylesheet!
--------------------------------------------------*/
.tabberlive .tabbertabhide {
display:none;
}
/*--------------------------------------------------
.tabber = before the tabber interface is set up
.tabberlive = after the tabber interface is set up
--------------------------------------------------*/
.tabber {
}
.tabberlive {
margin-top:1em;
}
/*--------------------------------------------------
ul.tabbernav = the tab navigation list
li.tabberactive = the active tab
--------------------------------------------------*/
ul.tabbernav
{
margin:0;
padding: 3px 0;
border-bottom: 1px solid #CCC;
font: bold 12px Verdana, sans-serif;
}
ul.tabbernav li
{
list-style: none;
margin: 0;
display: inline;
}
ul.tabbernav li a
{
padding: 3px 0.5em;
margin-left: 3px;
border: 1px solid #ccc;
border-bottom: none;
background: #f2f7ff;
text-decoration: none;
}
ul.tabbernav li a:link { color: #448; }
ul.tabbernav li a:visited { color: #667; }
ul.tabbernav li a:hover
{
color: #000;
background: #fff9f2;
border-color: #CCC;
}
ul.tabbernav li.tabberactive a
{
background-color: #fff;
border-bottom: 1px solid #fff;
}
ul.tabbernav li.tabberactive a:hover
{
color: #000;
background: white;
border-bottom: 1px solid white;
}
/*--------------------------------------------------
.tabbertab = the tab content
Add style only after the tabber interface is set up (.tabberlive)
--------------------------------------------------*/
.tabberlive .tabbertab {
padding:5px;
border:1px solid #CCC;
border-top:0;
/* If you don't want the tab size changing whenever a tab is changed
you can set a fixed height */
/* height:200px; */
/* If you set a fix height set overflow to auto and you will get a
scrollbar when necessary */
/* overflow:auto; */
}
/* If desired, hide the heading since a heading is provided by the tab */
.tabberlive .tabbertab h2 {
display:none;
}
.tabberlive .tabbertab h3 {
display:none;
}
/* Example of using an ID to set different styles for the tabs on the page */
.tabberlive#tab1 {
}
.tabberlive#tab2 {
}
.tabberlive#tab2 .tabbertab {
height:200px;
overflow:auto;
}
Also if you want the pict changer ({{picture select}}) you need the following in the css as well:
/* pict box */
div.pictChanger ul.tabbernav {line-height: 2.4;}
div.pictChanger ul.tabbernav li a {border: #CCC 1px solid}
div.pictChanger {width:400px;}
div.pictChanger div.tabbertab {text-align:left;}
You may also wish to copy over {{Picture select}} and {{htab-box}}, but they aren't required. Leave me a message if you have any problems. (and you may need to do some hard refreshing of the raw js page before stuff works). Bawolff ☺☻ 01:39, 6 November 2008 (UTC)
- oh wait, it appears you already did that. <looking as to why it didn't work>. Bawolff ☺☻ 01:46, 6 November 2008 (UTC)
- hmm, appears all your js is broken... probably a minor error in copying. just a minute, looking Bawolff ☺☻ 01:47, 6 November 2008 (UTC)
- per irc, you need to change the line:
- hmm, appears all your js is broken... probably a minor error in copying. just a minute, looking Bawolff ☺☻ 01:47, 6 November 2008 (UTC)
==Tabber code== */
to:
/* ==Tabber code== */
or considering the style at which js is documented over there:
/* ==Tabber code== *** Allows a tabbeed box to be created *** use syntax <div class="tabber"><div class="tabbertab" title="tab title">...1st tab content...</div>[and so on] *** by http://www.barelyfitz.com/projects/tabber/ modified for (originally) wikinews by [[wikinews:user:Bawolff]] *** if something screwy- if you need something feel free to hunt him down. */
Bawolff ☺☻ 01:59, 6 November 2008 (UTC)
- Add the following code for hasClass:
/************
*****Description: Uses regular expressions and caching for better performance to determine if an element has a class.
*****original authors (stolen from wikipedia): w:User:Mike Dillon, w:User:R. Koot, w:User:SG
**********/
var hasClass = (function () {
var reCache = {};
return function (element, className) {
return (reCache[className] ? reCache[className] : (reCache[className] = new RegExp("(?:\\s|^)" + className + "(?:\\s|$)"))).test(element.className);
};
})();
Image source
editPlease supply a source for Image:Pak Taliban Militants in Self-Distributed Photo.jpg or it WILL be deleted. Its fair use rational is also questionable but hopefully the source will improve this situation. Regards --MarkTalk to me 00:26, 13 November 2008 (UTC)
Reminder
editAs a reminder, there is no self publishing. Thanks. --ShakataGaNai ^_^ 06:09, 13 November 2008 (UTC)
Thanks for your clean-up: now here is the best development - $ 5 million ransom
editHi, Talk:Gunmen abduct 3 ICRC representatives in the Philippines thanks for your clean-up. The article really is messy due to tons of developments amid Philippine news blackouts.[5]$ 5 million ransom. Cheers.--Florentino Floro (talk) 08:11, 18 January 2009 (UTC)
infobox
editThanks for creating the horizontal canadian infobox. Just as a note, please be careful with categories, The template was including the Country infoboxes category on all the articles it was on. (I fixed it though [6]). Thanks. `Bawolff ☺☻ 09:23, 19 January 2009 (UTC)
- Thanks for catching that. Sherurcij 15:03, 19 January 2009 (UTC)
Hi. Please don't forget to sight articles after you mark them with the publish template, otherwise they will not appear on the main page, and will be removed from the newsroom list of articles, effectively causing them to become lost. This article was left in limbo for an hour before I sighted it. Thanks, ♪TempoDiValse♪ 21:08, 12 February 2009 (UTC)
Revert infoboxes
editHi. Could you please revert the infoboxes? All the articles that use the vertical infoboxes look bad now. Also see my comments here. Thanks! Van der Hoorn (talk) 21:54, 15 April 2009 (UTC)
[8] = How is that sentence irrelevant? It adds extra info to the article, imho, and doesn't seem to be off-topic. Just wondering. Cheers, Tempodivalse [talk] 18:08, 23 October 2009 (UTC)
Courtesy notice
editHi Sherurcij, just a courtesy notice that i've reverted your recent edit to the Iran article. explanation Tempodivalse [talk] 04:52, 29 January 2010 (UTC)
privs
editNote! Your privileges on English Wikinews have been reduced.
- Under the Privilege expiry policy (enacted October 13, 2012) the rights held by your user account have been reduced due to inactivity, or lack of privilege use. You can view your user rights log here.
- Point 4 of the Privilege expiry policy provides for fast-tracking reacquisition of privileges. We all understand that real-life commitments can severely curtail the level of commitment you can give to Wikinews; the privilege reduction is in no way intended as a reflection on your past work, or to imply you are unwelcome. The aim in curtailing privileges is to address security risks, and concern that a long period of inactivity means you may not be up-to-date with current policy and practices.
Wikinews Writing contest 2013 is here. :) Please sign up to participate?
editWe've created the Wikinews:Writing contest 2013, which will start on April 1 and end on June 1. It is modeled on the successful 2010 contest. It would be a really great time for you, as an inactive Wikinews accredited reporter, to renew your credentials by doing some original reporting or conducting interviews. People should be around to interview to prevent a backlog, and several reviewers have access to scoop to make it easier to review any original reporting you do. If you are interested in signing up, please do so on Wikinews:Writing contest 2013/entrants. There is at least one prize on offer for the winner along with the opportunity to earn some barn stars as a way of thanking you for your participation. :D --LauraHale (talk) 10:24, 25 March 2013 (UTC)