Page MenuHomePhabricator

Disable old XTools cron jobs
Closed, ResolvedPublic

Description

I have been recievining emails every day at midnight UTC, saying

Your job 2262633 ("enwiki_update1") has been submitted

As far as I'm aware, XTools doesn't run any cron jobs like this. So this is probably from the old XTools and should be disabled.

Related Objects

Event Timeline

Matthewrbowker created this task.
Restricted Application added a subscriber: OldUser02. · View Herald Transcript

I think this builds the "textshare" data for the WikiHistory tool. Pinging @APPER ... are you still using this?

I know there is a working WikiHistory gadget, but it might be connecting to https://tools.wmflabs.org/wikihistory (and not /xtools/wikihistory).

Either way, XTools is now using WikiWho for attribution data, so as long as APPER doesn't need the cron job, we should kill it, and I guess redirect https://tools.wmflabs.org/xtools/wikihistory/ to the main WikiHistory, or ArticleInfo.

I think, this was a copy of the "normal" wikihistory tool for english wikipedia. I think this isn't used anymore.

@APPER Thanks, I have disabled the cron job.

My next question... the XTools Wikihistory script has been writing to the table s51187_xtools.enwiki_data. I assume you have your own database, and the one for s51187 can be dropped? Nevermind, see below

I see... https://tools.wmflabs.org/xtools/wikihistory/ is specifically for English, while https://tools.wmflabs.org/wikihistory/ is just for German. I thought the language selectors at the top-right changed the wiki.

It's probable people are still using this. It wasn't long ago that I recall someone mentioning the WikiHistory gadget for the English Wikipedia, which must mean it ran against the XTools version.

So, I have turned the cron jobs back on for now. They only run once a day, but they still use up quota for production XTools, and we've been having issues with that (T188355). My thoughts are to either move the enwiki WikiHistory to its own account, or make it forward to XTools ArticleInfo. What do you think @Matthewrbowker ?

I personally am not that interested in maintaining this app. I don't think we should kill it unless we have to, but it should not operate with the XTools database user.

APPER, maybe you'd like to maintain the enwiki version of WikiHistory, too? Or @Cyberpower678 perhaps?

I am currently not actively maintaining the tool. @Wurgl is doing this. I think he started adding the en.wikipedia, but maybe not for the web front end but only for the Wikipedia javascript tool.

@Wurgl how it the current status on this?

enwiki works the same way as dewiki does. There is just an additional parameter "wiki=", example: https://tools.wmflabs.org/wikihistory/wh.php?wiki=enwiki&page_title=Crooked+House Okay, I did not change the frontend https://tools.wmflabs.org/wikihistory/ this is still the same as before and works for the german WP only.

I have not touched anything with xtools, no idea what this is.

Alright then it's settled. The XTools version can go! I'm going to kill it and make it redirect to https://tools.wmflabs.org/wikihistory/ ... &wiki=enwiki

If the user tried to browse to https://tools.wmflabs.org/xtools/wikihistory/ (without parameters) they will be redirected to https://tools.wmflabs.org/wikihistory/ (without parameters), which means it will only function for German, but so be it.

@MusikAnimal … If you redirect to https://tools.wmflabs.org/wikihistory?wiki=enwiki I will try to enhance that tool.

Update: Implemented. I hope it works fine.

And sorry, but I did not even know anything about the existence of wikihistory in xtools. And even if, I have not enough unix-rights to change anything.