User:Ashlux/RelatedChangesTab

No doubt this tool could use a better name and a better explanation to what exactly it does...

Related Changes Tab adds functionality to Wikipedia that allows one-click access to add to related changed lists and add templates to talk pages. This tool should help several WikiProjects that maintain a manual list of articles related to their topic and add templates to talk pages (for example Wikipedia:WikiProject Oklahoma, Wikipedia:WikiProject Wisconsin, Wikipedia:WikiProject Computer Science).

Let me try to clarify... Many WikiProjects like to add a template to talk pages for advertising as well as indicating that this page is looked after by the given project (like {{WikiProject Oklahoma}}. Several WikiProjects also like to maintain a list of pages related to their subject so that related changes may be seen easily (like Wikipedia:WikiProject_Oklahoma/Oklahoma_recent_changes). This tool should make those tasks easier.

Installation

edit

For now, this will only include abilities for the Arizona and Oklahoma WikiProjects. If you would like your project included in this alpha version, please contact Ash Lux.

  • Edit your monobook.css to include this CSS.
  • Edit your monobook.js to include:
 // [[User:Ashlux/relatedchangestab.js]] (please leave this).
 document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Ashlux/relatedchangestab.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

Usage guide

edit

Coming soon...

Browser problems

edit

This tool is designed for FireFox exclusively. If it works with other browsers, great. If not, sorry. I don't run Windows at home and cannot make it work with IE.

Development version

edit

Feeling brave?

Coming soon...

Todo

edit

Plenty of work that could be done to make this thing better, here's a small list:

  1. Make work with all Wikipedia languages (currently relies on " - Wikipedia, the free encyclopedia" text being in the document title)
  2. Work with other namespaces (currently only works with main article namespaces)
  3. Alphabetize related recent chanes list, not just dump at the bottom of the page.
  4. Do not add to recent changes if it already exists.
    • Works if spaces are not replaced with underscores or other misc. characters.
  5. Do not add template to talk page if it already exists.
    • Works if spaces are not replaced with underscores or other misc. characters.
  6. Support for multiple templates and related recent changes lists.
  7. Support to only add template. (necessary because of no dupes being implemented?)
  8. Support to only add recently changes. (necessary of no dupes beign implemented?)

There's no guarntee any of these todos will actually make it into the scripts in a timely manner (or at all).