★ Bharat Mitra
Tools for welcomes, warnings, speedy deletion nominations and reports

Bharat Mitra is an optional gadget that lets you do everyday editing and maintenance work from a single menu, in English dialogs, without leaving the page. It is built around English Bharatpedia's own policies and templates.

What it does[edit source]

Part Where it appears What it does
Welcome User and user talk pages Adds a welcome message at the end of a new user's talk page. For anonymous (IP) users the Welcome-anon template is used. There is also an option to add a personal message.
Warning User and user talk pages 10 types (vandalism, advertising, unsourced edits, personal attacks, harassment, copyright, test edits, point of view, page blanking, username), using the uw-* templates with levels 1, 2, 3, 4 and 4im where the series offers them. It reads the warnings already on the talk page and automatically suggests the next level. The warning goes under this month's section.
Speedy deletion Article, file, template, category and redirect pages Tags the page with a db-* template chosen from the speedy deletion criteria and also notifies the creator.
Delete page now Article, file, template, category and redirect pages (administrators only) Deletes the page at once under a chosen speedy deletion criterion, with an option to delete the talk page as well.
Report All pages Adds a report as a new section on the Bharatpedia:Administrators' noticeboard: vandalism, spam or advertising, offensive username, suspected sockpuppetry, a page protection request, or another administrator matter.
Revert / Undo All pages Reverts the most recent editor's consecutive edits with Rollback, or one chosen revision with Undo. A warning is sent to that editor automatically after the revert: the type and level are chosen in the same dialog (vandalism by default; the level is automatic by default, based on the warnings already on their talk page, and can be set to a specific level instead). The warning box can be unticked for a good faith revert, in which case no warning is sent. On a diff page, a red "revert and warn" link and a "revert only" link appear at the top of the page and open this dialog, with the warning box ticked or unticked. When an old revision is opened from the history, a "Restore this revision" bar appears by itself at the top of the page, from which that revision can be made current with one confirmation.
Deletion discussion Article, file, template, category and redirect pages Puts the deletion notice on the page, creates a discussion page at Bharatpedia:Articles for deletion, adds the nomination to the day's log and notifies the creator.
Vote / close discussion Discussion pages at Bharatpedia:Articles for deletion and Bharatpedia:Miscellany for deletion Adds a vote (Delete, Keep, Redirect, Merge, or a plain comment) in the standard format; the window shows only the boxes the chosen action needs. Administrators can also close the discussion from the same window: the closing templates are added, a Delete result deletes the page and its talk page, a Redirect result turns the page into the redirect, and on other results the deletion notice is removed from the page and the close is recorded on its talk page. Deletion sorting lists are cleaned and the nominator can be notified. Administrators can also relist an articles for deletion discussion to today's log.
Add maintenance tags Article pages Adds maintenance templates to the top of an article. Tick any of the 58 tags in the list, for example Unreferenced, Orphan or Cleanup; the current month and year are added automatically, and tags already on the page are skipped.
Protection request All pages Sends a page protection request, with the level and duration, to Bharatpedia:Requests for page protection.
Redirect tools All pages Fixes double redirects in one go, changes the target of a redirect, and shows the list of broken redirects.
Block and notify User pages (administrators only) Three kinds of action, each with its matching notice posted on the user's talk page. A full block covers the whole site and sends the Uw-block notice. A partial block covers only the specific pages listed and sends the Uw-pblock notice. A topic ban places no block at all: it only posts the Topic ban notice for the topic named, and the user must stay away from that topic; breaking the ban can lead to a block. The duration, reason, and options for account creation and talk page access are chosen in the same dialog.
Batch delete All pages (administrators only) Deletes the pages in a list one by one at a slow pace; a stop facility is included.
Settings All pages Your preferences: the default warning level, the default for creator notification, and whether a preview is always required. Preferences are saved under your user page.

Safety rules[edit source]

  • Nothing happens without a preview and a confirmation. The preview is shown first; the edit is made only when you press "Confirm".
  • Every edit carries a clear edit summary, so the history shows what was done and why.
  • The wrong option never appears on the wrong page: the menu only offers options suited to the type of page.
  • Speedy deletion only nominates; deleting the page remains an administrator's job.
  • On checking any edit diff:
Users can revert an edit and warn the editor, revert the edit only, or restore any earlier version of an article. Works the same on desktop and mobile.

How to enable it[edit source]

This gadget is not switched on automatically for every user. To enable it:

  1. Open your preferences.
  2. Choose the Gadgets tab at the top.
  3. In the editing tools section, tick the checkbox next to Bharat Mitra.
  4. Press Save at the bottom.
  5. Reload any page. The ★ Bharat Mitra button will appear in the toolbar at the top of the page.

To turn it off, untick the same box and save.

Keep it always on (optional): You can also keep Bharat Mitra on permanently for your own account, without the Preferences checkbox. Open your common.js page, add this one line and save:

mw.loader.load( 'ext.gadget.BharatMitra' );

The gadget will then load for you on every page. To stop, remove the line again.

How to use it[edit source]

  1. On any page, press the ★ Bharat Mitra button.
  2. Choose the task from the list (for example "Warn" on a user talk page).
  3. Fill in the details in the window that opens and press Show preview.
  4. If the preview looks right, press Confirm. The edit will be made and a notice will be shown.

On mobile, if the button is not in the toolbar, you will find the blue ★ Bharat Mitra button at the bottom right of the page.

  • On mobile:
  • On desktop:

Notes[edit source]