MediaWiki talk:Pagetitle

Editprotected
You should change this to something like: Proof that "$1" is a lie - Conspiracy Wiki - your source of The Truth since 1807 And I just picked that number out of nowhere, maybe get someone to write some JS to change the 1807 to some random 4-digit number on pageload? —Airhogs777 (t • c) 17:01, September 2, 2011 (UTC)


 * Response--


 * Well in that case then I hereby reply to your response. —Airhogs777 (t • c) 04:52, September 3, 2011 (UTC)
 * What about this? --  Random Time  23:03, September 3, 2011 (UTC)

Grammar
I don't wanna sound like that guy but due to what Godisme said once about most of our articles are in plural form, this page is a huge grammatical error. For example it would say something like: Aliens is a lie - Conspiracy Wiki has the proof - America's source of The Truth since 1775 Of course, specific articles like Spongebob or Santa will be grammatically correct so it's kinda a double-edged sword here, y'know. Anyone got a reply? &mdash; Wattz  2000  00:02, September 10, 2011 (UTC)


 * Changing it to "are a lie" sounds fine by your reasoning, as long as we remember that the words SquarePants and Claus end in the letter s. —Airhogs777 (t • c) 01:43, September 10, 2011 (UTC)
 * How about trying to avoid the problem altogether? $1 - You guessed it, part of an evil plot to take away your freedom - Conspiracy Wiki: America's source of The Truth since 1775
 * --  Random Time  10:34, September 10, 2011 (UTC)


 * Better. &mdash; Wattz  2000  12:45, September 10, 2011 (UTC)


 * Can't Moncho js something that would tell when it should be are and when it should be is?--


 * I think the new pagetitle is a little long. In answer to God's question, IMO the English language is more complicated than my dear Grampa Joe's sour pickle recipe. Like I said before, SquarePants and Claus end in s. Although, I suppose it would be possible to change it to "is" whenever  or something like that is on the page. (like the title changer on Uncyclopedia) —Airhogs777 (t • c) 02:42, September 11, 2011 (UTC)

Does that Uncyc idea work on a regular Wikia wiki, though? &mdash; Wattz  2000  18:25, September 12, 2011 (UTC)


 * Depends who writes the JS. —Airhogs777 (t • c) 23:03, September 12, 2011 (UTC)


 * Depends on who, huh? Anyone got an idea as to who can help out with this? If you ask me, I'll go with Godisme's comment above - Tell Moncho to do it. :P &mdash; Wattz  2000  02:44, September 13, 2011 (UTC)


 * I am good at telling Moncho to do things, Ill leave him a message.--


 * Take the date off the end, and this will add a random date. It'll also replace ' are ' with ' is ' if it finds an element with.

 function TitleChanger { if(Math.random(0, 1000) == 9001) {var date = '9001';} else { var thousands = Math.random(0, 2); if(thousands == 0 || thousands == 1) {var date = thousands + Math.random(0, 9).toString + Math.random(0, 9).toString + Math.random(0, 9).toString;} else { var tens = Math.random(0, 1); if(tens == 0) {var date = thousands + '00' + Math.random(0, 9);} else {var date = thousands + '01' + Math.random(0, 1);} }	}

if(document.getElementById('singulartitle')) {document.getElementsByTagName('title')[0].innerHTML = document.getElementsByTagName('title')[0].innerHTML.replace(' are ', ' is ') + ' ' + date;} else {document.getElementsByTagName('title')[0].innerHTML += ' ' + date;} }

addOnloadHook(TitleChanger);
 * I hereby certify that this code will not kill kittens when run. ~ Monchoman45 ( Talk  |  Contribs  |  Central ) 13:06, September 9, 2011 (UTC)


 * Yay! Now, I'll create the id template and somebody add this to the site JS. —Airhogs777 (t • c) 22:19, September 13, 2011 (UTC)


 * Common.js right? Just want to make sure. &mdash; Wattz  2000  22:29, September 13, 2011 (UTC)


 * Well, I added it in and something has blown up. It now shows either nothing after the since or a large number code. &mdash; Wattz  2000  23:25, September 13, 2011 (UTC)


 * For me, it shows a couple dozen digits, all between 0 and 1. —Airhogs777 (t • c) 02:32, September 14, 2011 (UTC)


 * Can't fix it without an error message - I'm a bit technologically screwed right now, my normal computer can no longer find its hard drive, and our school macs are handled by idiots. ~ Monchoman45 ( Talk  |  Contribs  |  Central ) 12:22, September 9, 2011 (UTC)

Anyone notice the title on the main page? "Conspiracy Wiki 0.#####" —Airhogs777 (t • c) 13:04, September 16, 2011 (UTC)


 * Yes, I think that's a different MediaWiki page that controls it, but Moncho's broken code works with that page. In being so, it's slightly borked on the Main Page as well. We're looking into it... I think. &mdash; Wattz  2000  13:15, September 16, 2011 (UTC)


 * If the following doesn't work, I blame Godisme for being a walrus:

 function random(min, max) { return Math.floor(Math.random * max + min); }

function TitleChanger { if(wgIsMainPage) {return;} if(random(0, 10000) == 9001) {var date = '9001';} else { var thousands = random(0, 2); if(thousands == 0 || thousands == 1) {var date = thousands + random(0, 9).toString + random(0, 9).toString + random(0, 9).toString;} else { var tens = random(0, 1); if(tens == 0) {var date = thousands + '00' + random(0, 9);} else {var date = thousands + '01' + random(0, 1);} }	}

if(document.getElementById('singulartitle') || wgCanonicalNamespace != '') {document.getElementsByTagName('title')[0].innerHTML = document.getElementsByTagName('title')[0].innerHTML.replace(' are ', ' is ') + ' ' + date;} else {document.getElementsByTagName('title')[0].innerHTML += ' ' + date;} }

addOnloadHook(TitleChanger);
 * ~ Monchoman45 ( Talk  |  Contribs  |  Central ) 20:10, September 9, 2011 (UTC)


 * I blame Monchoman for it not working. This is a better version using regex to strip leading 0's.


 * Rappy 22:10, September 22, 2011 (UTC)


 * Requested...


 * Make sure you change MediaWiki:Pagetitle to the static date of 1775 before adding this. It may want to wait until the stupid JS bug gets ironed out though. Rappy 03:57, September 24, 2011 (UTC)