User talk:Erig

Can't protect articles?
Why I can't protect articles? I tried protecting the spoiler template but when I press the Confirm button, it just sends me back to the page and it stills unprotected.
 * --Lord de los Druidas«|»Talk«|»«|» Contributions«|» 19:01, 12 May 2007 (PDT)

No idea, I've removed and re-added your sysop flag. See if that helps? --Erig 20:13, 12 May 2007 (PDT)

I think that worked. Thanks
 * --Lord de los Druidas«|»Talk«|»«|» Contributions«|» 20:36, 12 May 2007 (PDT)

Update Issues
Hey Erig, with this new update you have forgotten to include the permalink system in your house userscript, so it points to a blank page saying "Invalid house id.". Plus, I would like to know if you want me to do what I did in the Summer update of 2006 to give you the commands so you can copypaste into your servers to update the exp so your level script can be changed accordingly.

-- Maverick the hunter 15:24, 5 July 2007 (PDT)

Translations
Hey I was just wondering, Do you want me to translate the sites into French, Spanish, German, Portuegese or Italian? If You do Just drop a Message on my Discussion Site //Soldier of the Senate.

Tip of the Month
Hi Erig, I just saw you deleting the tip of the month about the TibiaCam. A question occured to me, is it actually illigal? I mean, doesn't the Tibia Rules say something about using programs which is illigal?

 Wie niet slim is moet slim zijn  ^^  &ordm; Bennie &ordm;  &curren; Talk &curren; ^^ 02:51, 18 August 2007 (PDT)

Hello, TibiCam is not illegal, however it isn't supported by CipSoft either. I haven't seen the content of the article so I don't know why it was removed, however that it's just not supported/maybe not safe should be enough reason for doing so. -- Xellos φ Contributions φ Talk 09:26, 18 August 2007 (PDT)

Like Xellos said, TibiCam does not violate Tibia rules, but Erig removed it because the source is not freely available. It is for everyone's protection, to prevent people using the wiki to promote or distribute hacks or cheats.

-- Da mihi sis crustum Etruscum cum omnibus in eo  --  Whitelaces &dagger;  Talk &dagger; -- 06:21, 21 August 2007 (PDT)

@ Sub-pages
Hello Erig. I have a question, concerning sub pages (e.g. my character subpage User:Pudd Knight/Pudd Knight).

The fact is, every time I want to open a sub page, it takes a lot of time. It may look like I'm lagged or something, but I can always keep browsing the wiki in other tabs, while the sub page keep loading forever. I through it was just lag, but it happen to me everytime, and I'm sure it's not lag. I think it's something with the wiki, I'm not sure what. But normal pages load very fast, sub pages, for me, take a lot of time. You know what could it be?

--  &dagger; Pudd Knight &dagger;  Talk  Contribs  -- 13:24, 11 October 2007 (PDT)

This is actually due to the content of your user sub-page, especially if you are using the character and/or Equips Set templates. I had the same problem loading your page. To fix it, you will need to use the Equips Set Basic template or maybe split the damage calculator onto a separate page, etc.

--'' Salve! Crepidas meas per clavos ad solum adfixinte? '' --  Whitelaces &dagger;  Talk &dagger; -- 12:02, 15 October 2007 (PDT)

Thank you, Whitey. The problem is solved, I didn't imagined that the problem was that template. It's fixed now =)

--  &dagger; Pudd Knight &dagger;  Talk  Contribs  -- 21:46, 21 October 2007 (PDT)

DPL Uncategorized Articles
There seems to be a small DPL issue. On The Old Widow page, it seems that the DPL list is attempting to list uncategorized pages?

I'm not sure of the root cause yet, but the documentation suggests creating the optional DB view to overcome this problem. I'll try to see if I can figure out the real problem, but here's the SQL to create the DB view. Be sure to change "prefix_" appropriately, and double-check the table names if they are non-standard in the wiki's database.

CREATE VIEW prefix_dpl_clview AS SELECT IFNULL(cl_from, page_id) AS cl_from, IFNULL(cl_to, '') AS cl_to, cl_sortkey FROM `prefix_page` LEFT OUTER JOIN `prefix_categorylinks` ON page_id=cl_from

Thanks Erig!

--'' Magister Mundi sum! '' --  Whitelaces &dagger;  Talk &dagger; -- 12:05, 1 November 2007 (PDT)

Nevermind... I think I figured it out.

The problem appears to have been blank input parameters that DPL interpreted as "uncategorized articles".

Creating that view wouldn't hurt anything, but it's probably unnecessary.

-- Labra lege  --  Whitelaces &dagger;  Talk &dagger; -- 12:44, 1 November 2007 (PDT)

Respawn map extension
Erig,

I wrote a MediaWiki extension to use for making simple respawn maps. I posted the code to Template:Respawn Map.

It's obviously up to you if you want to install it or not, but you should be warned that I have not been able to test it at all, so I'm guessing it probably won't even work at first. Anyway, here's the quick way to install it if you want to:


 * 1) copy/paste the code into a new file "respawnmap.php" and place it in the MediaWiki /extensions/ folder.'''
 * 2) put the following line in the LocalSettings.php:
 * require_once("$IP/extensions/respawnmap.php");

Let me know if you install it so that I can test it and make any changes necessary.

Thanks!

--'' Re vera, potas bene. '' --  Whitelaces &dagger;  Talk &dagger; -- 08:52, 2 November 2007 (PDT)

Extension added. --Erig 16:25, 9 November 2007 (PST)

Well, I can't say I'm surprised, but it doesn't work. There is some kind of PHP error, but the error information is hidden (for obvious security reasons).

I spent some time looking through the code, and I cannot find any syntactical errors. It might be something with one of the MediaWiki objects I'm using, but I can't tell from what I know. I'm guessing that MediaWiki logged the php error somewhere. Erig, can you get the error information for me?

Based on when it occurs, the error is a runtime error in the renderRespawnMap function. To reproduce it, simply copy the example from the code comments, add it to a wiki page and preview it.

If the error is benign enough, you can just post it here, or you can email it to me if you prefer. If you don't even want to do that, then I would request you take a look at the code and see if you can fix it for me, then update Template:Respawn Map with the corrected code.

Thanks, Erig!

-- Stultus est sicut stultus facit  --  Whitelaces &dagger;  Talk &dagger; -- 06:35, 12 November 2007 (PST)

mage constructor given bogus title.

Backtrace:


 * 1) 0 includes/Image.php(75): Image->Image('Image:Island Gr...')
 * 2) 1 extensions/RespawnMap/RespawnMap.php(36): Image::newFromTitle('Image:Island Gr...')
 * 3) 2 [internal function]: renderRespawnMap('?Troll=310px,50...', Array, Object(Parser))

Alright, I think I found and fixed that problem. I updated the code here.

I've had a hard time finding good examples for these MediaWiki functions. Anyway, I hope this one works ;)

--'' Non curo. Si metrum non habet, non est poema. '' --  Whitelaces &dagger;  Talk &dagger; -- 06:49, 13 November 2007 (PST)

Code updated. --Erig 03:48, 15 November 2007 (PST)

Thanks, Erig.

I'm sorry to be such a bother, but there's still a problem. I assume that it will once again show up in the php logs. I'm going to do some more reading about the MediaWiki php classes, but it would be helpful if you could let me know what the new error is.

I added a page to the playground that you can use to re-create the problem: TibiaWiki:Playground/RespawnMap.

If you want to, you can see/edit the wikitext of that page by clicking here

Thanks for being such a good sport about this. I really need to install a mediawiki instance somewhere so I can test this stuff more efficiently without bothering you.

-- non compos mentis  --  Whitelaces &dagger;  Talk &dagger; -- 05:47, 15 November 2007 (PST)

Okay, Erig, I finally got my hands on a server that I can use to play around with MediaWiki. My server is MediaWiki version 1.11, so there may be some obscure differences, but I'm pretty confident that it will be close enough.

Anyway, I tested and fixed the respawn map extension that I was working on before. The updated code is here. I also updated the test page, so after you install the latest code, you should be able to see it in action right away on this page.

--'' Caesar si viveret, ad remum dareris. '' --  Whitelaces &dagger;  Talk &dagger; -- 13:28, 16 November 2007 (PST)

Code updated. --Erig 20:03, 22 November 2007 (PST)

Concerning moving to wikia
Hi erig, I have a few questions about the moving of TibiaWiki to tibia.wikia.com -What will happen to static.erig.net? I mean, will the pictures also be moved to another server? -How can you be so sure there will be less lag during tibia updates? Is it just a guess or do you know how many broadwidth you need and how much they provide? -When is it gonna take place? I hope you can help me out :)

 Wie niet slim is moet slim zijn  ^^  &ordm; Bennie &ordm;  &curren; Talk &curren; ^^ 04:34, 18 December 2007 (PST)

The images will be moved. Wikia host bigger wikis than ours without problems, so it's an educated guess. They also have the resources to add or upgrade more servers unlike me. It will take place when it takes place.. you'll know when you visit tibia.erig.net and it redirects you to tibia.wikia.com. ;) --Erig 12:43, 19 December 2007 (PST)

Do you have any prevision of the date? Just curious to see the new server working :)

--  &dagger; Pudd Knight &dagger;  Talk  Contribs  -- 19:46, 19 December 2007 (PST)

Just a note, Erig. Will private.* still work in the new wikia domain or will there be a new kind of page?

-- Maverick the hunter 20:40, 19 December 2007 (PST)

I've been told the migration will most likely happen this week.

private.* will not work in the new domain, but that's okay because it shouldn't be needed, either. ;) --Erig 12:35, 20 December 2007 (PST)

"Gaming" skin
It seens that the skin is a little bugged. Not bugged at all, but the font color is the same as the BG color, making it impossible to read almost everything. I just liked that skin, and maybe hopefully this issue could be fixed..?

--  &dagger; Pudd Knight &dagger;  Talk <span style="small-caps; border: 0px solid #186fc8; background-color:White; color:#186fc8" title="My Contributions"> Contribs  -- 06:38, 23 December 2007 (UTC)

Hi, it looks like we will have to alter some of the CSS in our templates to better fit the new skins.. perhaps ask Whitelaces about this, since I have almost no idea how the current templates were set up. :P --Erig 07:27, 23 December 2007 (UTC)

Problem reports list
I've seen there're a lot of new features on Wikia, and I see now the problem report list. Some of them are only a "minor problem" (like #4946, missing a furry club on rashid).

It's only possible to administrators to change the status of the report tickets? Like, for example, I've "solved" rashid problem (just added the furry club) and I could just change it to "solved" status, saving some time work for what is really a problem that can only be solved by the staff.

--  &dagger; Pudd Knight &dagger; <span style="font-variant: small-caps;border: 2px solid #186fc8;background-color:#3f98ed; color:white" title="My Talk"> Talk <span style="small-caps; border: 0px solid #186fc8; background-color:White; color:#186fc8" title="My Contributions"> Contribs  -- 22:18, 23 December 2007 (UTC)

Yeah, only Administrators can close them. If you put a note in the "Discuss" section that you've fixed it, it would make it easy to come along and flag them all as solved where needed. --Erig 22:35, 23 December 2007 (UTC)

Regarding the Change
Hey Erig, I see that there are many things that are missing or misconfigured. Is there anywhere you would like me to focus my work? I'm available to do that. -- Maverick the hunter 01:54, 24 December 2007 (UTC)