User talk:Lelouch Di Britannia

Welcome
Welcome to Bleach Wiki! Thanks for joining our community! There's a lot to do around here, so I hope you'll stay with us and make many more improvements.


 * Recent changes is a great first stop, because you can see what pages other people have been editing, and where you can help.


 * Questions? You can ask on the "discussion" page associated with each article, or post a message on my talk page!


 * Need help? You can find it right here! You can also find a full list of help pages here.


 * Don't know what to do? The Community Portal has an outline of the site, and has links to pages to get you started!


 * Here are some more pages you might find useful:


 * Policy - follow this to ensure harmony on the wiki
 * Manual of Style - a guide to how articles here are organized and written
 * Spoiler Policy - follow this to not ruin upcoming stories for those yet to read or watch the new chapter or episode


 * Sign your name in discussions by typing ~ , which automatically adds your signature and the date, so we know who's talking!

Please leave a message on my talk page if I can help with anything! -- Arrancar109 (Talk) 06:51, 26 October 2011

Images
Do not arbitrarily change images. They can only be changed when they have been agreed upon, and only administrators can make the change once an agreement has been reached. Arrancar109 (Talk)  06:50, October 26, 2011 (UTC)

Arcs
First, please sign your posts on Talk pages with four tilds ( ~ } at the end of your post!! Second, I can see why you would think that but we manage with the Manga over the Anime here and the Anime has different arcs to the Manga because the Anime breaks off with Filler Arcs so they need to differentiate a lot!! Hope that helps!! SunXia   (Chat)  12:59, January 14, 2012 (UTC)

Re:Code Geass Wiki
Hi, I saw your question to Salubri earlier. I think you need to add the following code to the MediaWiki:Common.js page on your wiki before it will work. Hopefully that'll get it working for you. 13:40, March 29, 2012 (UTC)

var hasClass = (function {    var reCache = {};    return function (element, className) {        return (reCache[className] ? reCache[className] : (reCache[className] = new RegExp("(?:\\s|^)" + className + "(?:\\s|$)"))).test(element.className);   }; }); function getElementsByClass (node, className, tagName) { if (node.getElementsByClassName && (tagName == undefined || tagName == null || tagName == '*')) return node.getElementsByClassName(className); var list = node.getElementsByTagName(tagName?tagName:'*'); var array = new Array; var i = 0; for (i in list) { if (hasClass(list[i], className)) array.push(list[i]); }	return array; } /* Creates the method getElementsByClass, if unsupported from the browser */ if(!document.getElementsByClass) document.getElementsByClass = function(className) { return getElementsByClass(document, className, '*'); }; function getElementsByName (name, root) { if (root == undefined) root = document; var e = root.getElementsByTagName('*'); var r = new Array; for (var i = 0; i < e.length; i++) { if (e[i].getAttribute('name') == name) r[r.length] = e[i]; } return r; }

And

/**        Toggles the display of elements on a page Author/contact: Austin Che http://openwetware.org/wiki/User:Austin_J._Che See http://openwetware.org/wiki/OpenWetWare:Toggle for examples and documentation */ // indexed array of toggler ids to array of associated toggle operations // each operation is a two element array, the first being the type, the second a class name or array of elements // operation types are strings like "_reset" or "" for the default toggle operation var togglers = new Array; var allClasses = new Object; // associative map of class names to page elements function toggler(id) {   var toBeToggled = togglers[id]; if (!toBeToggled) return; // if some element is in list more than once, it will be toggled multiple times for (var i = 0; i < toBeToggled.length; i++) {       // get array of elements to operate on        var toggles = toBeToggled[i][1]; if (typeof(toggles) == "string") {           if (toggles.charAt(0) == '-') {               // treat as an element ID, not as class toggles = document.getElementById(toggles.substring(1)); if (toggles) toggles = new Array(toggles); }           else toggles = allClasses[toggles]; }       if (!toggles || !toggles.length) continue; var op = toBeToggled[i][0]; // what the operation will be       switch (op) {           case "_reset": for (var j in toggles) toggles[j].style.display = toggles[j]._toggle_original_display; break; case "_show": for (var j in toggles) toggles[j].style.display = ''; break; case "_hide": for (var j in toggles) toggles[j].style.display = 'none'; break; case "": default: // Toggle for (var j in toggles) toggles[j].style.display = ((toggles[j].style.display == 'none') ? '' : 'none'); break; }   } } function createTogglerLink(toggler, id) {   var toggle = document.createElement("a"); toggle.className = 'toggler-link'; toggle.setAttribute('id', 'toggler' + id); toggle.setAttribute('href', 'javascript:toggler("' + id + '");'); var child = toggler.firstChild; toggler.removeChild(child); toggle.appendChild(child); toggler.insertBefore(toggle, toggler.firstChild); } function toggleInit {   var togglerElems = new Array; var toggleGroup = new Array; // initialize/clear any old information togglers = new Array; allClasses = new Object; allClasses.watch = undefined; allClasses.unwatch = undefined; // make list of all document classes var elems = document.getElementsByTagName("*"); var numelems = elems.length; for (var i = 0; i < elems.length; i++) {       var elem = elems[i]; if (!elem.className) continue; elem._toggle_original_display = elem.style.display; var togglerID = -1; var elemClasses = elem.className.split(' '); // get list of classes for (var j = 0; j < elemClasses.length; j++) {           var elemClass = elemClasses[j]; if (! allClasses[elemClass]) allClasses[elemClass] = new Array; allClasses[elemClass].push(elem); // all the special classes begin with _toggle if (elemClass.substring(0, 7) != "_toggle") continue; if (elemClass == "_togglegroup") toggleGroup = new Array; else if (elemClass == "_toggle") toggleGroup.push(elem); else if (elemClass.substring(0, 12) == "_toggle_init") {               // set initial value for display (ignore the original CSS set value) // understands _toggle_initshow and _toggle_inithide var disp = elemClass.substring(12); if (disp == "show") elem.style.display = ''; else if (disp == "hide") elem.style.display = 'none'; elem._toggle_original_display = disp; }           else if (elemClass.substring(0, 8) == "_toggler") {               if (togglerID == -1) {                   togglerID = togglers.length; togglers[togglerID] = new Array; togglerElems[togglerID] = elem; }               // all classes are of form _toggler_op-CLASS // figure out what class we're toggling // if none is specified, then we use the current toggle group var toBeToggled; var hyphen = elemClass.indexOf('-'); if (hyphen != -1) toBeToggled = elemClass.substring(hyphen+1); else {                   toBeToggled = toggleGroup; hyphen = elemClass.length; }               var op = elemClass.substring(8, hyphen); togglers[togglerID].push(new Array(op, toBeToggled)); }       }    }    // add javascript links to all toggler elements for (var i = 0; i < togglerElems.length; i++) createTogglerLink(togglerElems[i], i); } function owwsitesearch(f){ f.q.value='site:http://openwetware.org/wiki/'+ f.base.value+'++'+f.qfront.value } addOnloadHook(toggleInit);

I'm not sure how to fix that unfortunately, but maybe someone else looking in on it could. If not, asking on Community Central might be your best bet. 14:32, March 29, 2012 (UTC)

As stated above, you need to put the code above here in order for the templates to work.--

Banner
Lelouch how do you put a banner on your wiki

World of Bleach
The World of Bleach categories contains general concepts of the bleach universe, not specific characters.--

Re:Bot
The chat bot is an assortment of different JS codes. User:Godismebot/ChatLogger.js is what you will need for the actual chat bot. If you would like to use my framework, you can do so by placing the following code in the User:Username/wikia.js page on your wiki where Username is equal to the username of the account you will use to log the chat. importScriptPage('User:Godismebot/ChatHacks.js', 'bleach'); var logInterval = (1200000); importScriptPage('User:Godismebot/ChatLogger.js', 'bleach');

The 1200000 controls the log interval, how long between each save in milliseconds. I have it set for 20 minutes but you can change that to anything you want. Once you have that code in there, just hit ctrl+f5 and then enter chat through the blue join chat button in the sidebar.--

Depends what you are looking for it to do. What are you looking for a bot to do?--

Bots aren't good for doing automated edits for maintenance reports, but if you look into AWB or Pybot, you can feed those frameworks lists of pages to edit and then plug in what it is that you want it to correct. A bot is only an automated machine though, remember that. If you are looking to have it categorize uncategorized pages, you need to tell it what pages to add to what category, it has no way of making that decision on its own. AWB is a little easier to use and can handle all you want it to do, provided you play around with it a little and learn how to operate it. Pybot is a lot more powerful and can run a lot faster than AWB but it is all command line input through the windows command prompt.--

Everything appears to be fine. Make sure you are entering chat from the "join chat" button in the sidebar.--

No, you can only be logged on to one account at a time. I use two separate browsers. Firefox for my main account, Chrome for my bot.--

Re:Buttons
The Random Page and Recent Changes/Wikia Activity button are part of the old navigation. The contribute button replaces them in the new expanded navigation bar. Wikia no longer offers the option to return from the new nav bar to the old nav bar.--