Synchbot

From Meta, a Wikimedia project coordination wiki
(Redirected from Syncbot)
Jump to navigation Jump to search

Synchbot is a maintenance service that creates, edits, or deletes your user pages across Wikimedia wikis. To request changes to your user pages on all wikis, see How do I make a request?. For more info about the bot, see the FAQs.

Synchbot is run on the first weekend of each month. Next scheduled run: 4–5 December 2021.

Requests[edit]

See previous requests.

Onwa[edit]

request done:
Onwa (global account · recent activity · user pages)
  • go to every wiki (except on en.wikipedia.org, subpages in es.wikipedia.org and meta.wikimedia.org)
  • and delete the page.
request_user = u'Onwa',
request_title = u'None',
request_action = lambda bot: bot.delete(),
skip_existing = False,
skip_new = True,
skip_unregistered = False,
skip_wikis = ['en.wikipedia.org', 'subpages in es.wikipedia.org and meta.wikimedia.org'],
only_wikis = [],
delete_summary = None,
edit_summary = None,

Onwa (talk) 22:08, 7 October 2021 (UTC)

Hi Onwa! You request is incomplete, but if I understand correctly you only want to delete User:Onwa on eswiki and User:Onwa/common.css on wikidatawiki (see a list of your pages)? —Pathoschild 16:57, 06 November 2021 (UTC)
@Pathoschild: Please delete as you said. Also delete vector.* in enwiki. --Onwa (talk) 00:16, 7 November 2021 (UTC)
Done! Deleted one user page:
The following log shows what the bot did on each wiki. You can click the columns to sort the log.
summary:
timewikilogged action
06:34en.wikipedia.orgskipped (in skip list).
06:34es.wikipedia.orgdeleted (was 1752 bytes).
And one common.css page:
The following log shows what the bot did on each wiki. You can click the columns to sort the log.
summary:
timewikilogged action
06:40www.wikidata.orgdeleted (was 84 bytes).
And one vector.css page:
The following log shows what the bot did on each wiki. You can click the columns to sort the log.
summary:
timewikilogged action
06:45en.wikipedia.orgdeleted (was 16 bytes).
And one vector.js page:
The following log shows what the bot did on each wiki. You can click the columns to sort the log.
summary:
timewikilogged action
06:49en.wikipedia.orgdeleted (was 15 bytes).
Pathoschild 06:52, 08 November 2021 (UTC)

@Pathoschild: Hi. It seems that the link to User:Onwa/Why? was not urlencoded by your userpages tool and therefore "?" became the start of query string. Would you mind fixing that? Thanks in advance. Unnamed UserName me 19:12, 12 November 2021 (UTC)

@NguoiDungKhongDinhDanh: Fixed. Thanks for reporting it! —Pathoschild 02:50, 13 November 2021 (UTC)

Jonathan5566 (migrate to global user page)[edit]

request done:
Jonathan5566 (global account · recent activity · user pages)
  • go to User:Jonathan5566 on every wiki (except on zhwiki, meta)
  • and delete the page.
request_user = u'Jonathan5566',
request_title = u'User:Jonathan5566',
request_action = lambda bot: bot.delete(),
skip_existing = False,
skip_new = True,
skip_unregistered = False,
skip_wikis = ['zhwiki', 'meta'],
only_wikis = [],
delete_summary = None,
edit_summary = None,

Jonathan5566(talk) 13:48, 9 October 2021 (UTC)

Done! Deleted 11 user pages.
The following log shows what the bot did on each wiki. You can click the columns to sort the log.
summary:
timewikilogged action
16:58meta.wikimedia.orgskipped (in skip list).
16:58test2.wikipedia.orgdeleted (was 3524 bytes).
16:58ab.wikipedia.orgdeleted (was 308 bytes).
16:58af.wikipedia.orgdeleted (was 302 bytes).
16:58as.wikipedia.orgdeleted (was 336 bytes).
16:59km.wikipedia.orgdeleted (was 310 bytes).
16:59ms.wikipedia.orgdeleted (was 279 bytes).
17:00ta.wikipedia.orgdeleted (was 310 bytes).
17:01tg.wikipedia.orgdeleted (was 302 bytes).
17:01th.wikipedia.orgdeleted (was 310 bytes).
17:01tt.wikipedia.orgdeleted (was 302 bytes).
17:01tyv.wikipedia.orgdeleted (was 303 bytes).
17:01zh.wikipedia.orgskipped (in skip list).
Pathoschild 17:05, 06 November 2021 (UTC)
Thanks! Jonathan5566(talk) 03:31, 13 November 2021 (UTC)

Flyplanevn27[edit]

request not done:
Flyplanevn27 (global account · recent activity · user pages)
  • go to User:Flyplanevn27/mylinks on every wiki (except on meta.wikimedia.org, vi.wikivoyage.org)
  • and prepend this text:
    <small>
    *[[m:Special:GlobalWatchlist|GlobalWatchlist]]
    *[[Special:BlankPage/globalsul|Globalize SUL]]
    *[[Special:mypage/common.js|My common.js]] ([[Special:mypage/common.css|css]])
    *[[m:special:mypage/global.js|My global.js]] ([[m:Special:mypage/global.css|css]])
    *[[translatewiki:|Translatewiki.net]]
    </small>
    

request_user = u'Flyplanevn27', request_title = u'User:Flyplanevn27/mylinks', request_action = lambda bot: bot.save(u"""...""" + "\n\n" + bot.text()), skip_existing = False, skip_new = False, skip_unregistered = True, skip_wikis = ['meta.wikimedia.org', 'vi.wikivoyage.org'], only_wikis = [], delete_summary = None, edit_summary = None,

Flyplanevn27 (talk) 07:19, 10 October 2021 (UTC)

Hi Flyplanevn27! You can put this in your global.js instead to have the links in your sidebar on every wiki automatically:
/**
 * TemplateScript adds configurable templates and scripts to the sidebar.
 * @see https://meta.wikimedia.org/wiki/TemplateScript
 * @update-token [[File:Pathoschild/templatescript.js]]
 */
mw.config.set('userjs-templatescript', { regexEditor: false });
$.ajax('//tools-static.wmflabs.org/meta/scripts/pathoschild.templatescript.js', { dataType:'script', cache:true }).then(function() {
	pathoschild.TemplateScript.add([
		{ name: 'GlobalWatchlist', script: () => window.open("https://meta.wikimedia.org/wiki/Special:GlobalWatchlist") },
		{ name: 'Globalize SUL', script: () => window.open("/wiki/Special:BlankPage/globalsul") },
		{ name: 'common.js', script: () => window.open("/wiki/Special:MyPage/common.js") },
		{ name: 'common.css', script: () => window.open("/wiki/Special:MyPage/common.css") },
		{ name: 'global.js', script: () => window.open("https://meta.wikimedia.org/wiki/Special:MyPage/global.js") },
		{ name: 'global.css', script: () => window.open("https://meta.wikimedia.org/wiki/Special:MyPage/global.css") },
		{ name: 'Translatewiki.net', script: () => window.open("https://translatewiki.net/") },
	], { category: 'useful links', forActions: '*' });
});
Do you want to continue with the request as-is anyway? —Pathoschild 15:43, 06 November 2021 (UTC)
@Pathoschild It does not work in your sidebar after I copy this to my global,js page, although I bypass your browser's cache. I want to continue with the request. Flyplanevn27 (talk) 05:52, 7 November 2021 (UTC)
Flyplanevn27 Oh sorry, I just changed the script so it'll work in view mode too. Does it work for you now, or still want to create all the pages? —Pathoschild 07:08, 07 November 2021 (UTC)
@Pathoschild It does not work again. Can you check? Flyplanevn27 (talk) 07:21, 7 November 2021 (UTC)
@Flyplanevn27 I just tested with your global.js, and the links appeared on the sidebar for me. You should see a new "useful links" section, right under "in other languages" section on the left sidebar. If you don't see them, are you using the default Vector skin or a different one? —Pathoschild 05:29, 08 November 2021 (UTC)
@Pathoschild I use MonoBook skin, but I have moved to Vector skin. However, it still doesn't work and also crashes other scripts contained in my global.js page. You can see screenshot here (before I install script and sidebar in en.wikipedia after I install script) --Flyplanevn27 (talk) 09:32, 8 November 2021 (UTC)
@Flyplanevn27 It works for me in MonoBook too, so not sure what the issue is. You can try this simpler code instead, it'll add the links to the "Tools" section on the sidebar:
$.when(mw.loader.using('mediawiki.util'), $.ready).then(function() {
	mw.util.addPortletLink('p-tb', 'https://meta.wikimedia.org/wiki/Special:GlobalWatchlist', 'GlobalWatchlist');
	mw.util.addPortletLink('p-tb', '/wiki/Special:BlankPage/globalsul', 'Globalize SUL');
	mw.util.addPortletLink('p-tb', '/wiki/Special:MyPage/common.js', 'common.js');
	mw.util.addPortletLink('p-tb', '/wiki/Special:MyPage/common.css', 'common.css');
	mw.util.addPortletLink('p-tb', 'https://meta.wikimedia.org/wiki/Special:MyPage/global.js', 'global.js');
	mw.util.addPortletLink('p-tb', 'https://meta.wikimedia.org/wiki/Special:MyPage/global.css', 'global.css');
	mw.util.addPortletLink('p-tb', 'https://translatewiki.net/', 'Translatewiki.net');
});
Pathoschild 16:09, 08 November 2021 (UTC)
Thanks, this works for me. Maybe I don't need this request anymore. Flyplanevn27 (talk) 10:21, 9 November 2021 (UTC)

AyBars (delete all pages)[edit]

request done:
AyBars (global account · recent activity · user pages)
  • go to User:AyBars on every wiki
  • and delete the page.
request_user = u'AyBars',
request_title = u'User:AyBars',
request_action = lambda bot: bot.delete(),
skip_existing = False,
skip_new = True,
skip_unregistered = False,
skip_wikis = [],
only_wikis = [],
delete_summary = None,
edit_summary = None,

All user page and user subpages will be deleted. AYBARS 10:55, 20 October 2021 (UTC)

Done! Deleted 19 user pages:
The following log shows what the bot did on each wiki. You can click the columns to sort the log.
summary:
timewikilogged action
17:09commons.wikimedia.orgmarked for deletion (was 28 bytes).
17:09www.mediawiki.orgdeleted (was 28 bytes).
17:09meta.wikimedia.orgskipped (cannot delete global user page).
17:09species.wikimedia.orgdeleted (was 28 bytes).
17:10tr.wikibooks.orgdeleted (was 40 bytes).
17:10www.wikidata.orgdeleted (was 28 bytes).
17:10de.wikipedia.orgdeleted (was 37 bytes).
17:10en.wikipedia.orgdeleted (was 75 bytes).
17:10es.wikipedia.orgdeleted (was 35 bytes).
17:10fr.wikipedia.orgdeleted (was 38 bytes).
17:10it.wikipedia.orgdeleted (was 28 bytes).
17:10ja.wikipedia.orgdeleted (was 31 bytes).
17:11tr.wikinews.orgdeleted (was 40 bytes).
17:11tr.wikiquote.orgdeleted (was 40 bytes).
17:12tr.wikisource.orgdeleted (was 40 bytes).
17:12tr.wikipedia.orgdeleted (was 40 bytes).
17:12war.wikipedia.orgdeleted (was 33 bytes).
17:12zh.wikipedia.orgdeleted (was 80 bytes).
17:13tr.wiktionary.orgdeleted (was 40 bytes).
17:13yi.wiktionary.orgdeleted (was 54 bytes).
And 19 Homepage subpages:
The following log shows what the bot did on each wiki. You can click the columns to sort the log.
summary:
timewikilogged action
17:17commons.wikimedia.orgmarked for deletion (was 37 bytes).
17:17www.mediawiki.orgdeleted (was 37 bytes).
17:17meta.wikimedia.orgdeleted (was 37 bytes).
17:17species.wikimedia.orgdeleted (was 37 bytes).
17:18tr.wikibooks.orgdeleted (was 49 bytes).
17:18www.wikidata.orgdeleted (was 37 bytes).
17:18en.wikipedia.orgdeleted (was 84 bytes).
17:18es.wikipedia.orgdeleted (was 44 bytes).
17:18fr.wikipedia.orgdeleted (was 47 bytes).
17:18it.wikipedia.orgdeleted (was 37 bytes).
17:19ja.wikipedia.orgdeleted (was 40 bytes).
17:19tr.wikinews.orgdeleted (was 49 bytes).
17:19tr.wikiquote.orgdeleted (was 49 bytes).
17:20tr.wikisource.orgdeleted (was 49 bytes).
17:20tr.wikipedia.orgdeleted (was 50 bytes).
17:20war.wikipedia.orgdeleted (was 42 bytes).
17:20zh.wikipedia.orgdeleted (was 89 bytes).
17:21tr.wiktionary.orgdeleted (was 49 bytes).
17:21yi.wiktionary.orgdeleted (was 63 bytes).
There's just two sets of pages left:
  • The bot can't normally delete your main talk page. If you want to delete those too, you can ask on Steward requests/Miscellaneous (or optionally a steward can ask for Synchbot to do it on their behalf).
  • You have some individual pages on trwiki and yiwiki (see a list of your subpages). The bot is optimized for changing one page across all wikis though, so it's very slow at deleting one page on one wiki. You can ask on Steward requests/Miscellaneous for those too, or you can add {{delete}} to those pages since both wikis have active admins.
Pathoschild 17:30, 06 November 2021 (UTC)

Aqchampion (migrate to global user page)[edit]

request done:
Aqchampion (global account · recent activity · user pages)
  • go to User:Aqchampion on every wiki
  • and delete the page.
request_user = u'Aqchampion',
request_title = u'User:Aqchampion',
request_action = lambda bot: bot.delete(),
skip_existing = False,
skip_new = True,
skip_unregistered = False,
skip_wikis = [],
only_wikis = [],
delete_summary = None,
edit_summary = None,

Aqchampion (talk) 08:14, 21 October 2021 (UTC)

Done! Deleted two user pages.
The following log shows what the bot did on each wiki. You can click the columns to sort the log.
summary:
timewikilogged action
17:42meta.wikimedia.orgskipped (cannot delete global user page).
17:43en.wikipedia.orgdeleted (was 80 bytes).
17:43kw.wikipedia.orgdeleted (was 577 bytes).
Pathoschild 17:45, 06 November 2021 (UTC)

Johannes Jooste (migrate to global user page)[edit]

request done:
Johannes Jooste (global account · recent activity · user pages)
  • go to User:Johannes Jooste on every wiki
  • and delete the page.
request_user = u'Johannes Jooste',
request_title = u'User:Johannes Jooste',
request_action = lambda bot: bot.delete(),
skip_existing = False,
skip_new = True,
skip_unregistered = False,
skip_wikis = [],
only_wikis = [],
delete_summary = None,
edit_summary = None,

Johannes Jooste (talk) 10:40, 6 November 2021 (UTC)

Done! You don't have any user pages except your global page on Meta though, which Synchbot doesn't delete. —Pathoschild 17:51, 06 November 2021 (UTC)

WKPDA3 (migrate to global user page)[edit]

request done:
WKPDA3 (global account · recent activity · user pages)
  • go to User:WKPDA3 on every wiki
  • and delete the page.
request_user = u'WKPDA3',
request_title = u'User:WKPDA3',
request_action = lambda bot: bot.delete(),
skip_existing = False,
skip_new = True,
skip_unregistered = False,
skip_wikis = [],
only_wikis = [],
delete_summary = None,
edit_summary = None,

WKPDA3 (talk) 18:29, 7 November 2021 (UTC)

Done! Deleted three user pages.
The following log shows what the bot did on each wiki. You can click the columns to sort the log.
summary:
timewikilogged action
06:54meta.wikimedia.orgskipped (cannot delete global user page).
06:55www.wikidata.orgdeleted (was 88 bytes).
06:55en.wikipedia.orgdeleted (was 34 bytes).
06:55fr.wikipedia.orgdeleted (was 299 bytes).
Pathoschild 07:04, 08 November 2021 (UTC)

BureibuNeko (migrate to global user page)[edit]

request queued:
BureibuNeko (global account · recent activity · user pages)
  • go to User:BureibuNeko on every wiki (except on zhwiki, meta, zhquote)
  • and delete the page.
request_user = u'BureibuNeko',
request_title = u'User:BureibuNeko',
request_action = lambda bot: bot.delete(),
skip_existing = False,
skip_new = True,
skip_unregistered = False,
skip_wikis = ['zhwiki', 'meta', 'zhquote'],
only_wikis = [],
delete_summary = None,
edit_summary = None,

BureibuNeko (talk) 13:36, 8 November 2021 (UTC)

Jelican9 (migrate to global user page)[edit]

request queued:
Jelican9 (global account · recent activity · user pages)
  • go to User:Jelican9 on every wiki (except on trwiki, meta)
  • and delete the page.
request_user = u'Jelican9',
request_title = u'User:Jelican9',
request_action = lambda bot: bot.delete(),
skip_existing = False,
skip_new = True,
skip_unregistered = False,
skip_wikis = ['trwiki', 'meta'],
only_wikis = [],
delete_summary = None,
edit_summary = None,

Jelican9 (talk) 20:57, 30 November 2021 (UTC)

FAQs[edit]

How do I make a request?[edit]

Here's how to submit a Synchbot task. If you're not sure how to fill in the template, just choose one below and add a comment explaining what you want. There's no approval process; your request will be handled in the next batch! Make sure you watch this page in case of questions.

To migrate to your global user page (delete your local User pages):
  1. Add this text at the bottom of the Requests section:
    ==={{subst:REVISIONUSER}} (migrate to global user page)===
    {{#invoke:synchbot|request
     |user          = {{subst:REVISIONUSER}}
     |action        = delete
     |title         = User:{{subst:REVISIONUSER}}
     |text          = 
     |skip wikis    =
     |skip existing = no
     |status        = <!-- don't change this line -->
    }}
    ~~~~
  2. Optional: add a comment before ~~~~ or edit the template with any specifics (e.g. pages to skip).
To migrate to your global CSS and JavaScript pages (delete your local *.css and *.js pages):
  1. Add this text at the bottom of the Requests section:
    ==={{subst:REVISIONUSER}} (migrate to global CSS/JS)===
    {{#invoke:synchbot|request
     |user          = {{subst:REVISIONUSER}}
     |action        = delete
     |title         = User:{{subst:REVISIONUSER}}/*.css, User:{{subst:REVISIONUSER}}/*.js
     |text          = 
     |skip wikis    = 
     |skip existing = no
     |status        = <!-- don't change this line -->
    }}
    Please delete all local CSS and JS pages. ~~~~
  2. Optional: add a comment before ~~~~ or edit the template with any specifics (e.g. pages to skip).
For a custom request:
  1. Add this text at the bottom of the Requests section:
    ==={{subst:REVISIONUSER}}===
    {{#invoke:synchbot|request
     |user          = {{subst:REVISIONUSER}}
     |action        = replace
     |title         = 
     |text          = 
     |skip wikis    = 
     |skip existing = yes
     |status        = <!-- don't change this line -->
    }}~~~~
  2. Edit the template values:
    field how to edit it
    user The name of the user who owns the pages. The default is your current username.
    action What you want the bot to do. This can be replace (overwrite pages with the new text), prepend (insert the new text at the top of the page), append (insert the new text at the bottom of the page), or delete (delete all pages).
    title The title of the page you want edited on every wiki.
    text The text you want placed on the edited pages. A few guidelines:
    • Don't add categories or templates, because they probably don't exist on most wikis.
    • Use interwiki links to link to a specific wiki (like [[m:Article]] for a page on Meta). Don't use interlanguage links (like [[en:Article]] instead of [[w:en:Article]]), unless you really want to link to a different wiki depending on the current project.
    • For a user page, use something simple and informative. Most people provide a few sentences about themselves with a link to their main user page. Consider using your global user page instead.
    skip wikis A list of wikis to skip (in addition to auto-skipped wikis). You can use a wildcard (like pt.* to skip all Portuguese wikis). The format doesn't really matter.
    skip existing Whether to skip pages that already exist.
  3. Watch this page in case I have questions. Otherwise it will be done soon! :)

How long will it take?[edit]

The 'next scheduled run' date at the top of the page shows when requests will be handled. All open requests are typically handled within one day of that date.

Which wikis are edited?[edit]

The bot edits almost all Wikimedia wikis in every language. It only skips private wikis, fishbowl wikis, and loginwiki.

Can the bot delete pages?[edit]

The bot can delete any of your user pages or subpages (except your main talk page). When deleting your user page, you must have a global user page and the bot will skip wikis where you have a block history. On arwiki and on commons, the bot will place the appropriate speedy-deletion template instead.

Can the bot do X?[edit]

The bot can create, edit, or delete pages (but protecting/renaming/etc are outside its remit). The bot is very flexible to support custom requests. For example, some custom requests in the past have involved checking for a specific text, page size, and even page history. For text changes the bot can prepend/append, replace the whole page, search & replace a regex pattern, etc. If you have a custom requirement, feel free to ask Pathoschild (the bot operator) whether it's possible.

What is Synchbot?[edit]

Synchbot is a bot which makes an automated change to a specific page title on all matching wikis. It's been run by Pathoschild since 2008. The bot uses the global deleter and global editinterface permissions, and runs under a web of permissions, exceptions, and special cases negotiated with local communities.

Historically this was used to support global user pages from 2008 to 2015 (now part of global user pages), global CSS/JS from 2008 to 2014 (now available via your global.css or your global.js), and crosswiki account creation from 2009 to 2011 (now part of unified login). Now it's mainly used to delete local pages that are no longer needed due to the new global user page features.

See also[edit]