Error when editing articles

Thought it might be handy to post it here, have send PM to Peter as well.

Yes, definitely related to the sleepbot. It was affecting articles that didn't have a city linked yet - of course country articles don't. The error happened just before the change was logged that shows up on the recent changes page.

Should be all fixed now.

On the top of the edit section, all the buttons have disappeared. Most of them are in code under the section as well but maybe for some people less understandable.

As it occurs together with the introduction of the sleepbot, I assume it is related to that as well.

Another question about the sleepbot, would be if it can recognise neighbourhoods. I saw that in Belgium: Anderlecht has one hotel, but it is a neighbourhood of Brussels. I added this hotel to Brussels recently (manualy). I don't know if the sleepbot, would throw that one out again, as it doesn't match with Brussels. Also I don't know if there are more of these cases. (Kaprun and Zell am See, could be added together as well, although there are a few kilometres between the two towns.)

Agree with HerrBert, but be careful not to merge to many places, mostly they can have both accoms within their towns boundaries and just having two articles is better.

Still, another thing, as we are talking about it: yesterday I mad the article Isla Margarita. When matching the accom table with Isla Margarita, it was empty, but matching it with Margartia Island did work. I think it's undoable to prevent it totally, but in this case, just one of the two could be deleted.

Before, I just checked both when adding the accom table and just added the largest one which had most accoms. Isn't there any way anymore to check before saving how many there are? Mainly when a comparison like mentioned above (Isla Margarita versus Margarita Island) is the case.

He..I just noted that in my original post the Nigeria and Niger articles link just like it would for anyone. It thought I could see the whole url

[ 18-Feb-2010, at 00:11 by Utrecht ]

On the top of the edit section, all the buttons have disappeared. Most of them are in code under the section as well but maybe for some people less understandable.

Probably a browser bug. It's showing for me on Firefox 3.6. I did make some changes to the javascript on that page, so I'll run some tests on IE and see what the problem might be.

Another question about the sleepbot, would be if it can recognise neighbourhoods. I saw that in Belgium: Anderlecht has one hotel, but it is a neighbourhood of Brussels. I added this hotel to Brussels recently (manualy). I don't know if the sleepbot, would throw that one out again, as it doesn't match with Brussels. Also I don't know if there are more of these cases. (Kaprun and Zell am See, could be added together as well, although there are a few kilometres between the two towns.)

I don't really think this is something I can achieve. Not without some serious messing around in any case. If you have copied a property from another city into the Brussels list, then yes, it will be removed the first time Sleepbot comes around. This is an inevitable sacrifice I had to make to make this work.

However, if you then add it in again, the system will know what you were the one who put it there and from then on will never touch that specific property. That means no automatic updates for that property in that article, but also no removals. It will also recognise that someone has manually removed the property from the Anderlecht article and will not attempt to put it back in again. The problem will basically be fixed for edits from here on in - just not for the old ones. It's a shame a few edits will be lost, but considering the bot should be able to keep these property lists much more accurate and up-to-date than we would ever be able to, I think it's worth it.

Still, another thing, as we are talking about it: yesterday I mad the article Isla Margarita. When matching the accom table with Isla Margarita, it was empty, but matching it with Margartia Island did work. I think it's undoable to prevent it totally, but in this case, just one of the two could be deleted.

Will have a look. It shouldn't be showing all the cities that don't have properties. And I can probably quite easily put in a property count next to the accommodation name in the drop down as well.

It thought I could see the whole url

For moderators, there is a bit of code that will reveal the full url - this is just so you can quickly know where it's pointing without actually having to click on it or hover over it.

Ok, have fixed the cities list problem (might be some are still cached for a little while). It will now only show those cities with accommodation. Shouldn't have ever shown ones without - thanks for pointing it out.

Also resolved the missing toolbar. Be sure to hit refresh - the javascript might be cached for you.

Thanks Peter!

Will have a look, I remember that especially the USA had like a list of hundreds, if not a couple of thousand places from which you can choose, while just like a few dozen who actually have accoms (like mentioned in the project popular places) are actually there.

Regarding the url: I can't see it now, while I should in this travelguide forum. I used to see the full url, but now only the link like any other.

Cheers
Michael.

Toolbar is back in IE (at work and at home)

I don't really think this is something I can achieve. Not without some serious messing around in any case. If you have copied a property from another city into the Brussels list, then yes, it will be removed the first time Sleepbot comes around. This is an inevitable sacrifice I had to make to make this work.

However, if you then add it in again, the system will know what you were the one who put it there and from then on will never touch that specific property. That means no automatic updates for that property in that article, but also no removals. It will also recognise that someone has manually removed the property from the Anderlecht article and will not attempt to put it back in again. The problem will basically be fixed for edits from here on in - just not for the old ones. It's a shame a few edits will be lost, but considering the bot should be able to keep these property lists much more accurate and up-to-date than we would ever be able to, I think it's worth it.

The thing is that there is no article for Anderlecht, and in my view there shouldn't be one, as it is a neighbourhood of Brussels. I don't know why it is listed under Anderlecht in the hotel database as all. If that is a choice of the hotel themselves, it is their own loss.

I don't really think this is something I can achieve. Not without some serious messing around in any case. If you have copied a property from another city into the Brussels list, then yes, it will be removed the first time Sleepbot comes around. This is an inevitable sacrifice I had to make to make this work.

However, if you then add it in again, the system will know what you were the one who put it there and from then on will never touch that specific property. That means no automatic updates for that property in that article, but also no removals. It will also recognise that someone has manually removed the property from the Anderlecht article and will not attempt to put it back in again. The problem will basically be fixed for edits from here on in - just not for the old ones. It's a shame a few edits will be lost, but considering the bot should be able to keep these property lists much more accurate and up-to-date than we would ever be able to, I think it's worth it.

The thing is that there is no article for Anderlecht, and in my view there shouldn't be one, as it is a neighbourhood of Brussels. I don't know why it is listed under Anderlecht in the hotel database as all. If that is a choice of the hotel themselves, it is their own loss.

You could always start a Brussels/Anderlecht article, like there are of neighbourhoods of Chicago, NY or London.


Error when editing articles

Error when editing articles

Error when editing articles

Subscribe to receive free email updates:

0 Response to "Error when editing articles"

Post a Comment