User talk:Magog the Ogre

From Wikimedia Commons, the free media repository
Jump to: navigation, search


Could you please help fix Drdoht's category creations? I've already fixed everything from his start up through the end of 2013. - Hoops gza (talk) 23:11, 30 November 2014 (UTC)

I see you haven't even bothered to respond. - Hoops gza (talk) 04:37, 7 December 2014 (UTC)

@Hoops gza: oops, sorry, I made a mistake. Could you consider asking at COM:VP? I'm not very good with category issues. Thanks. Magog the Ogre (talk) (contribs) 16:08, 7 December 2014 (UTC)


Hi Magog the Ogre. Could you please have a look at this edit I made using your TL script? There is a problem with #. --Leyo 16:27, 1 December 2014 (UTC)

@Leyo: could you please tell me which browser you're using and which language your browser is set to? I double checked the headers, and it's clearly transmitting:
Content-Type:text/html; charset=utf-8.
@Stefan2: could you please tell me if you're also having a problem on this page? Magog the Ogre (talk) (contribs) 03:02, 2 December 2014 (UTC)
Now it is Firefox 34.0 in German with Unicode selected. However, Firefox was updated automatically yesterday (after this edit). Is the browser also crucial for the TL version of your script? --Leyo 09:34, 2 December 2014 (UTC) PS. I tried to search for a typical pattern potentially caused by other similar edits, but I failed.
@Leyo: - according to this post, the character encoding is supposed to emulate the sending page, which is clearly marked as utf-8, so I do not know why you are experiencing that problem, unless perhaps you've chosen to override the default page encoding.
Instead, could you please add the following to your vector.js: addCleanupFunction("fast_cleanup", fast_cleanup, "fast cleanup TS (experimental)");? This will use the "fast" cleanup, which is a little faster. The UI isn't the prettiest thing, but it I've tested it extensively and the functionality is good. It should fix your problem. Magog the Ogre (talk) (contribs) 04:57, 3 December 2014 (UTC)
Can I change the code to addCleanupFunction("fast_cleanup", fast_cleanup, "fast cleanup TL (exp.)"); (TS → TL; shorter)? --Leyo 08:53, 3 December 2014 (UTC)
@Leyo: You can call it whatever you want. Only the first two parameters matter. Magog the Ogre (talk) (contribs) 02:40, 4 December 2014 (UTC)
Done, but I get the following error message: “ReferenceError: addCleanupFunction is not defined”. --Leyo 09:45, 4 December 2014 (UTC)

@Leyo: add this instead:

mw.hook('gadget.magog.cleanup').add(function() {
    addCleanupFunction("fast_cleanup", fast_cleanup, "fast cleanup TS (experimental)");

Magog the Ogre (talk) (contribs) 16:08, 6 December 2014 (UTC)

Done. It works in principle, meaning that I have not found a case yet, where it actually makes any change. It always says “No updates.”.
The other thing is that in the toolbox, it now looks as follows:
  • cleanup JS
  • cleanup TS
  • fast cleanup TL (exp.)
There is one empty bullet point. --Leyo 00:05, 7 December 2014 (UTC)
@Leyo: please clear your cache and try again. Neither of the above problems appears for me in either Firefox or Chrome when I try it. Magog the Ogre (talk) (contribs) 00:17, 7 December 2014 (UTC)
I did it again, but there is no change. BTW: I found this edit that is similar to the one reported in the title. --Leyo 00:34, 7 December 2014 (UTC)
Sorry, but  Works for me. Please check your other scripts for issues. Magog the Ogre (talk) (contribs) 00:42, 7 December 2014 (UTC)
No idea what could cause the problem. At least, I do not get any JS errors and the new script obviously does something (just not any changes to the source text). --Leyo 00:56, 7 December 2014 (UTC)
Which skin are you using? Magog the Ogre (talk) (contribs) 01:10, 7 December 2014 (UTC)
Monobook. I've done some more testing. The new cleanup does in fact work in some cases, but not in e.g. File:Miss Elsie Tydings, who had the distinction of purchasing the first ticket 3b44780u.tif (that uses {{Photograph}}), whereas the old version does.
The appearance is not correct when using the Vector skin either. However, since there are no bullet points, it's not clearly visible. The line spacing between “cleanup JS” and “cleanup TS” is only slightly greater than in the other cases. --Leyo 01:26, 7 December 2014 (UTC)
@Leyo: OK, I fixed the issue with the bad entry.[1] But the script didn't update your .tif file because there were no updates. Magog the Ogre (talk) (contribs) 01:36, 7 December 2014 (UTC)
The empty bullet point has disappeared. Thank you.
The old cleanup version adds two empty lines and (after having removed the square brackets) also changed the date format. The new version does not do any of those changes. --Leyo 01:48, 7 December 2014 (UTC)
That is intentional. The TS version is as conservative as possible because 99% of the edits are not human-reviewed. The JS version has someone's eyes to make sure it didn't make a mistake. Magog the Ogre (talk) (contribs) 02:25, 7 December 2014 (UTC)
OK. --Leyo 14:07, 7 December 2014 (UTC)

Categorized file marked as uncategorized[edit]

User:OgreBot 2 marked File:Medonosy Osinaličky, usedlost čp.6.jpg as uncategorized although ot was properly categorized in Category:Cultural monuments in Medonosy. --ŠJů (talk) 05:26, 2 December 2014 (UTC)

Something went wrong. If it happens again, I'll have to turn that functionality off. Magog the Ogre (talk) (contribs) 02:41, 4 December 2014 (UTC)

Media needing categories...?[edit]

Hi Magog. Please, have a look at my last uploads. Special:Contributions/Pequod76. Your bot marked 5 images that I uploaded on 30 November as uncategorized. But they ARE categorized... So what? Can you help? An example is media:Ethiopian coffee served in Stone Town, Zanzibar.JPG. Thank you! --pequod ..Ħƕ 03:35, 6 December 2014 (UTC)

Those files got also the Category:Images from Wiki Loves Africa without categories, but I cannot understand why. Any clue? Thank you again. --pequod ..Ħƕ 03:38, 6 December 2014 (UTC)

@Pequod76: I've disabled the uncat feature of OgreBot, because it appears to be malfunctioning (see above thread). As for the without categories category, that was part of the image when you uploaded it. Magog the Ogre (talk) (contribs) 15:47, 6 December 2014 (UTC)


Hi, can you please opt-out the Category:Knights in art? Thank you. --Nordlicht8 (talk) 20:58, 7 December 2014 (UTC)

@Nordlicht8: ✓ Done. In the future. you can place a message at User talk:OgreBot/gallery; if I don't see it very soon, you can {{ping}} me. Magog the Ogre (talk) (contribs) 22:57, 7 December 2014 (UTC)
Thank you, I will use it for the future. Can you please opt-out the Category:Horse riding in Christian art, too? (There are to many churches in it) --Nordlicht8 (talk) 22:46, 8 December 2014 (UTC)

2012 Nebraska US Senate election[edit]

Thanks for the caption on the map at the article on the 2012 US Senate election in Nebraska. The coloring of the map is nicer than the one it replaced; unfortunately, I had to revert your first addition, since it didn't explain the colors.

Could I ask you for a few additional tweaks? First, you've got colors "Fischer >=50%" and "Kerrey >=50%". If the two had happened to split a county evenly, which color would it have been? I'd suggest pulling the "=" on those two, at least.

I'd have done this myself (and probably the other ='s as well) had I been able to check the source data. Which brings us to my next request: could you add a citation to the SVG file, and to the article itself, in which you give the source of the numbers?

Thanks for your work on this, and I hope you don't mind my asking even more of you— Ammodramus (talk) 13:49, 11 December 2014 (UTC)

@Ammodramus: I've provided the data source on the file page; if you'd like, you can add the same source to the article itself. Personally I don't find that necessary, as the other sources in the article will reveal the same data. Also, neither candidate got exactly 50% of the vote in a county. Magog the Ogre (talk) (contribs) 22:55, 11 December 2014 (UTC)
Thanks! I see that the source uses ">" rather than ">=" or "≥", so I'll change the description accordingly. I think we should have a citation attached to the map in the article, so that readers can verify the numbers and make their own judgements about the quality of the source. I'll insert that as well. — Ammodramus (talk) 23:29, 11 December 2014 (UTC)
@Ammodramus: Yeah I spend so much of my time programming anymore that >= looks like ≥ to me. I forget other people don't see that. Magog the Ogre (talk) (contribs) 02:32, 12 December 2014 (UTC)

REː Block[edit]

hay, the block is good ? — Preceding unsigned comment added by KarlinhusANB (talk • contribs) 00:41, December 17, 2014‎ (UTC)

@KarlinhusANB: What are you asking me? ¿Qué cosa estás preguntándome? Magog the Ogre (talk) (contribs) 00:43, 17 December 2014 (UTC)