User:ReyBrujo/Tools

From Wikipedia, the free encyclopedia

Tools

phs (short for Pretty Helpful Summaries) is a personal project to help less experienced users with suggestions. Summaries are extremely useful for newbies, especially when reverting their modifications. A novice who had had his edition reverted with a "rv", "reverted to xxx using yyy", "reverted due vandalism", or similar aren't useful for them. They don't learn why their edits were deleted.

With phs I try to solve that. When using it, a combo appears near the summary box, with a list of the different valid Wikipedia reasons. In example, guidelines from WP:NOT, WP:DATE, WP:EL, etc. When you have reverted or deleted something, you just need to choose the guideline that applies. In example, if you have deleted an external link to a blog, you can choose "WP:EL Blogs and forums" in the phs combo, which would automatically add "Clean up: blogs, social networking sites and forums are not good external links per 10th guideline." to your summary box. This way, the user who has added the forum link will read a valid reason, and by clicking the wikilink, he will be able to confirm about what has been said.

phs tries to determine if you are editing the latest version of the page, or a previous one. If you are editing a previous version, the heading text will state that you are reverting. In the previous forum link, it would look like "Reverted to version as of 23:44, 26 May 2006, blogs, social networking sites and forums are not good external links per 10th guideline."

[edit] Usage

Just include the following code somewhere into your monobook.js. If you want, you can copy the contents directly into your monobook.js. However, I suggest just linking, as I will be updating it with new Wikipedia guidelines.

 document.write('<script type="text/javascript" src="'
              + 'http://en.wikipedia.org/w/index.php?title=User:ReyBrujo/Tools/phs.js'
              + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');