User:Pathoschild/Scripts/Synchbot

From Meta, a Wikimedia project coordination wiki
< User:Pathoschild‎ | Scripts(Redirected from Synchbot)
Jump to: navigation, search

Synchbot

Part of wikimedia-contrib
report a bug or suggestion

Synchbot synchronises user pages across Wikimedia projects in every language. This allows users to create user pages on every wiki, or to have global JavaScript and CSS (see an example global.js and a local common.js importing it). Users may place a request below; previous requests are archived.

The bot is operated by Pathoschild and Quentinv57.

Contents

Instructions [edit]

Before requesting, you must:

Global page edits [edit]

Place this template at the bottom of the Request global page edits section:

===[[User:USERNAME|]]===
{{/Request
 |username      = 
 |action        = replace
 |title         = 
 |text          = 
 |skip wikis    = 
 |skip existing = no
 |status        =
}}~~~~
  • Change USERNAME in the first line to your username, and fill in the template values:
username
Your user account name.
action
What you want the bot to do:
  • replace the existing text 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 the page.
title
The title of the page you want edited on every wiki. The recommended values are "User:username" for global user pages, "User:username/common.js" for global JavaScript, or "User:username/common.css" for global CSS.
text
The text you want placed on the edited pages.
  • For a user page, use something simple and informative. Don't include categories or templates, because they probably don't exist on most wikis. Prefix all interwiki links with "m:" so they will work on all wikis (for example, use [[m:w:fr:Article]] instead of [[w:fr:Article]]). Most people provide a few sentences about themselves with a link to their main user page.
  • For global JavaScript, use mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:username/global.js&action=raw&ctype=text/javascript');
  • For global CSS, use @import "//meta.wikimedia.org/w/index.php?title=User:username/global.css&action=raw&ctype=text/css";
(The URLs above are protocol-relative: they will use either https or http, as appropriate.)
skip wikis
A list of wikis to skip. (The bot will automatically skip wikis where you don't have an account, and the English Wikinews by request.) You can use a wildcard, like pt.* to skip all Portuguese wikis.
skip existing
Whether to skip pages that already exist.

Global settings change [edit]

Place this template at the bottom of the Request global settings change section:

===[[User:USERNAME|]]===
{{/Request-settings
 |username      = 
 |set language  =
 |set skin      =
 |set signature =
 |set timezone  =
 |check boxes   =
 |uncheck boxes =
 |skip wikis    = 
 |status        =
}}~~~~

Dialog-warning.svg Please consider that the script changing settings globally is not stable yet. Some settings can be accidentally erased on wikis you did not skip. So it would be best to skip each wiki where you have some preferences that you don't want to lose, and to report it here if the bot does something wrong.
Projects where accounts do not exist will be auto-created by default (if you don't want to just leave a note).

username
Your user account name.
set setting
It will change the language to the defined value. If empty or not defined, the setting won't be changed.
A summary of the settings that can be changed is in the table below. But theoretically, all settings that can be changed through Special:Preferences can be changed here. More generally, every action that you can perform can be performed by the bot (for example adding a page to the watchlist, etc.). So feel free to ask if you want to change something that was never requested.
check / uncheck boxes
Please provide a list (with *) of checkboxes you want to be checked/unchecked. If empty or not defined, the setting won't be changed. Checkboxes that are not specified in any of these two lists will remain like they were before.
skip wikis
A list of wikis to skip. (The bot will automatically skip wikis where you don't have an account, and the English Wikinews by request.) You can use a wildcard, like pt.* to skip all Portuguese wikis.
Summary of user settings that can be changed by this script
Command Type Example
language lang code en
skin defined skin monobook
signature text [[User:Quentinv57|Quentinv57]]
timezone defined Tz Africa/Brazzaville
check boxes list
  • Group changes by page in recent changes and watchlist (requires JavaScript)
  • Search in all namespaces
uncheck boxes list
  • Do not show page content below diffs

Request global page edits [edit]

Der Naturfreund [edit]

request queued:
Der Naturfreund (stalktoy · activity)

Der Naturfreund (talk) 19:43, 25 March 2013 (UTC)

Justincheng12345-bot [edit]

request on hold:
Justincheng12345-bot (stalktoy · activity)
  • go to User:Justincheng12345-bot on every wiki (except on wikibooks; and pages that already exist)
  • and replace the text with:
    <center> {|class=wikitable |- |rowspan=2| *Okay, that is what this bot looks like.... |[[File:Pitsilemu command line.png|center|250px]] |- |<center>[[CMD]]+[[Python|Python™]]</center> |- |rowspan=2| *So this bot only used to fixed interwiki links. *And it use pywikipedia's interwiki.py. |[[File:Bundesarchiv Bild 101I-220-0634-12, Russland, Laden eines Nebelwerfers.jpg|center|250px]] |- |style="text-align:center;"| Just like [[Nebelwerfer]],<br />It hit with several things at once. |- |colspan=2| *You can go to [[w:zh:User talk:Justincheng12345]] if you need anything. *And you may also [[w:zh:User:Justincheng12345-bot/request|request]] for updating interwiki links for your user pages. *Also, it is better to contact me at IRC. **For both [irc://irc.freenode.net/zh-wikipedia <span style="white-space:nowrap;">#zh-wikipedia</span>] and [irc://irc.freenode.net/##JC1 <span style="white-space:nowrap;">##JC1</span>]. |- |colspan=2| {| style="background-color: transparent; text-align: center;" align="center" class="plainlinks" |style="text-align: center; font-size: 2em; line-height:normal"|'''!Emergency Stop!''' |- |style="text-align: center; font-size: 100%; padding: .2em;" class="nounderlines plainlinksneverexpand"| <br /> [[File:Crystal Clear action exit.svg|128px|link={{fullurl:Special:Blockip|wpBlockAddress={{PAGENAMEE}}&wpBlockExpiry=indefinite&wpAnonOnly=0&wpEnableAutoblock=0&wpCreateAccount=0&wpBlockReason=机器人失灵: }}]]</div> <br /> |- |} *'''Before doing this, please contact me at IRC first.''' **This bot is only run when I'm online, as I will then appear at IRC. |- |} </center>

Justincheng12345 (talk) 05:11, 12 November 2012 (UTC)

Hello Justincheng12345. I changed your request so the links will always point to your Wikipedia talk page, and tweaked the grammar. Also note that the article links will break on most wikis (especially non-Wikipedia wikis). Are these changes okay? —Pathoschild 00:02, 18 February 2013 (UTC)

Lukas²³ [edit]

request queued:
Lukas²³ (stalktoy · activity · previous requests)

Lukas²³ (talk) 13:50, 21 March 2013 (UTC)

Faux [edit]

request queued:
Faux (stalktoy · activity)
  • go to User:Faux on every wiki (except on wikidata de.wikipedia)
  • and replace the text with:
    {{#babel:de|en-3|es-1}}
    I am from Vienna, Austria and most active on [[wikidata:|Wikidata]].
    
    If you want to contact me, please leave a note on my [[wikidata:User_talk:Faux|talk page on Wikidata]] or use [[m:Special:EmailUser/Faux|the e-mail feature]].
    
    <small>If you find this page on any site other than [{{subst:fullurl:{{subst:FULLPAGENAME}}}} {{subst:SITENAME}}], you are viewing a mirror site.</small>
    

I hope it's okay, that I put the text into pre-tags.Faux (talk) 15:59, 23 March 2013 (UTC)

Kolega2357 [edit]

request queued:
Kolega2357 (stalktoy · activity)
  • go to User:Kolega2357/common.js on every wiki (except pages that already exist)
  • and replace the text with:
    mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Kolega2357/global.js&action=raw&ctype=text/javascript');

I am a member of the team SWMT and working on Serbo-Croatian Wikipedia, Commons, Wikidata, and report here the vandals on META. --Kolega2357 (talk) 19:46, 24 March 2013 (UTC)

FrigidNinja [edit]

request queued:
FrigidNinja (stalktoy · activity)
  • go to User:FrigidNinja/common.js on every wiki (except pages that already exist)
  • and replace the text with:
    mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:FrigidNinja/global.js&action=raw&ctype=text/javascript');

FrigidNinja (talk) 00:01, 30 March 2013 (UTC)

Andrew Dalby [edit]

request queued:
Andrew Dalby (stalktoy · activity)
  • go to User:Andrew Dalby/common.js on every wiki
  • and replace the text with:
    mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Andrew_Dalby/global.js&action=raw&ctype=text/javascript');

Andrew Dalby (talk) 10:44, 8 April 2013 (UTC)

Southparkfan [edit]

request queued:
Southparkfan (stalktoy · activity)
  • go to User:Southparkfan" on every wiki (except pages that already exist)
  • and replace the text with:
    Hi, I am Southparkfan. I am mostly active on wikipedia-nl where I try to do my best to help to keep Wikipedia a vandalism-free encyclopedia. If you have a question for me, please post that question on my wikipedia-nl talk page.

Southparkfan (talk) 19:54, 18 April 2013 (UTC)

Knopfkind [edit]

request queued:
Knopfkind (stalktoy · activity)
  • go to User:Knopfkind/common.js on every wiki (except on de.wikipedia)
  • and prepend this text:
    mw.loader.load("//de.wikipedia.org/w/index.php?title=Benutzer:Knopfkind/global.js&action=raw&ctype=text/javascript");

Knopfkind (talk) 09:11, 28 April 2013 (UTC)

Knopfkind [edit]

request queued:
Knopfkind (stalktoy · activity)
  • go to User:Knopfkind/common.css on every wiki (except on de.wikipedia)
  • and prepend this text:
    @import "//de.wikipedia.org/w/index.php?title=Benutzer:Knopfkind/global.css&action=raw&ctype=text/css";

Knopfkind (talk) 09:14, 28 April 2013 (UTC)

Vogone [edit]

request queued:
Vogone (stalktoy · activity · previous requests)
  • go to User:Vogone on every wiki (except on LTR wikis, large wikis)
  • and replace the text with:
    <div class="mw-content-ltr"> Hello! I am '''Vogone'''. I was probably here reverting or fixing unhelpful edits or helping out with administrative tasks, being an [[:m:SWMT|SWMT member]] and a [[:m:GS|global sysop]], and won't be staying long. If you have any problems or questions, feel free to contact me on my Meta-Wiki [[:m:User talk:Vogone|user talk page]]. Regards, [[:m:User:Vogone|<span style="color:#0E0;font-weight:bold;">Vogone</span>]] <small><small>[[:m:User talk:Vogone|<span style="color:#1E90FF">'''talk'''</span>]]</small></small>16:22, 29. Apr 2013 (UTC) {{#babel:de-N|lt-3|en-3|fr-2|nl-1}} </div>

Vogone talk 16:22, 29 April 2013 (UTC)

The Illusive Man [edit]

request queued:
The Illusive Man (stalktoy · activity)
  • go to User:The Illusive Man/common.js on every wiki (except pages that already exist)
  • and replace the text with:
    mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:The Illusive Man/global.js&action=raw&ctype=text/javascript');

The Illusive Man(Contact) 00:53, 1 May 2013 (UTC)

Hahc21 [edit]

request queued:
Hahc21 (stalktoy · activity · previous requests)
  • go to User:Hahc21/common.css on every wiki (except on enwiki, eswiki, commons, eswikivoyage, metawiki, eswikibooks, wikidatawiki)
  • and replace the text with:
    @import "//meta.wikimedia.org/w/index.php?title=User:Hahc21/global.css&action=raw&ctype=text/css";

ΛΧΣ21 04:07, 14 May 2013 (UTC)

Glaisher [edit]

request queued:
Glaisher (stalktoy · activity)
  • go to User:Glaisher/common.js on every wiki (except pages that already exist)
  • and replace the text with:
    mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Glaisher/global.js&action=raw&ctype=text/javascript');

Glaisher (talk) 16:01, 15 May 2013 (UTC)

Bellayet [edit]

request queued:
Bellayet (stalktoy · activity)
  • go to User:Bellayet/common.js on every wiki (except pages that already exist)
  • and replace the text with:
    mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Bellayet/global.js&action=raw&ctype=text/javascript');

Bellayet (talk) 17:55, 19 May 2013 (UTC)

Request global settings change [edit]

Back
This kind of requests are currently in pause. You can list your request below, but be aware that they won't be handled before 2013, July. Thanks for your understanding.

Antonorsi [edit]

request queued:

Antonorsi (stalktoy · activity · previous requests)

Change the following preferences on every wiki (except on es*, meta) :

-Antonorsi (talk) 01:54, 31 July 2012 (UTC)

Hello Antonorsi. I'm waiting for your temporary password to proceed the request. Regards, -- Quentinv57 (talk) 11:28, 25 October 2012 (UTC)

MBisanz [edit]

request queued:

MBisanz (stalktoy · activity · previous requests)

Change the following preferences on every wiki  :

  • set language to (en)
  • set skin to MonoBook
  • set signature to : MBisanz talk

Updating to pickup more recent wikis. MBisanz talk 17:11, 17 December 2012 (UTC)

Ralgis [edit]

request queued:

Ralgis (stalktoy · activity · previous requests)

Change the following preferences on every wiki  :

  • set language to (es)
  • set skin to Vector
  • set timezone to : UTC
  • check the following boxes :
    • Disable browser page caching
    • Show hidden categories
    • Enable section editing by right clicking on section titles (requires JavaScript)
    • Edit pages on double click (requires JavaScript)
    • Add pages I create and files I upload to my watchlist

RalgisWM-CR 21:36, 6 February 2013 (UTC)

If possible, please remove personalized signature. Ralgis (talk) 18:09, 30 April 2013 (UTC)

Addshore [edit]

request queued:

Addshore (stalktoy · activity)

Change the following preferences on every wiki (except on en-wikipedia) :

  • set language to (en)
  • set skin to MonoBook
  • set signature to : '''[[User:Addshore|<span style="color:black">·Add§hore·</span>]]''' <sup>[[User_talk:Addshore|<span style="color:black;">Talk To Me!</span>]]</sup>
  • check the following boxes :
    • Show hidden categories

·Add§hore· Talk/Cont 21:11, 10 February 2013 (UTC)

Knopfkind [edit]

request queued:

Knopfkind (stalktoy · activity)

Change the following preferences on every wiki (except on de.wikipedia) :

  • set language to (de)

  • set timezone to : Europe/Berlin
  • check the following boxes :
    • Send me copies of emails I send to other users
    • Email me when a page or file on my watchlist is changed
    • Show hidden categories
  • uncheck the following boxes :
    • Warn me when I leave an edit page with unsaved changes

Knopfkind (talk) 09:36, 28 April 2013 (UTC)

FAQ [edit]

Which wikis are edited? [edit]

The bot edits open content wikis in every language where your account is registered (but not specialized wikis like wikimediafoundation.org or test wikis). The following wikis have special exceptions:

wikis edits deletions  
ar.wikipedia okay skipped by request
en.wikinews skipped skipped pending request for permission
fr.wiktionary okay skipped by request
mr.wikipedia skipped okay restricted by filter

Can the bot delete pages? [edit]

The bot can delete your CSS and JavaScript subpages, but not your primary user or talk pages due to policy on several wikis.

See also [edit]