Browse Source

Add README and stub for script.

master
Ben Kurtovic 9 years ago
parent
commit
20070c5220
3 changed files with 50 additions and 8 deletions
  1. +5
    -8
      LICENSE
  2. +14
    -0
      README.md
  3. +31
    -0
      tfdclerk.js

+ 5
- 8
LICENSE View File

@@ -1,13 +1,11 @@
The MIT License (MIT)

Copyright (c) 2015 Ben Kurtovic
Copyright (C) 2015 Ben Kurtovic <ben.kurtovic@gmail.com>


Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
in the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:


The above copyright notice and this permission notice shall be included in all The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software. copies or substantial portions of the Software.
@@ -19,4 +17,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.


+ 14
- 0
README.md View File

@@ -0,0 +1,14 @@
This is a English Wikipedia
[user script](https://en.wikipedia.org/wiki/Wikipedia:User_scripts) to automate
common
[templates for discussion](https://en.wikipedia.org/wiki/Wikipedia:Templates_for_discussion)
operations, including closures and relisting.

It lives on-wiki at
[\[\[User:The Earwig/tfdclerk.js\]\]](https://en.wikipedia.org/wiki/User:The_Earwig/tfdclerk.js).

To install it, add the following to your
[common.js](https://en.wikipedia.org/wiki/Special:MyPage/common.js) or
[skin.js](https://en.wikipedia.org/wiki/Special:MyPage/skin.js) page:

importScript("User:The Earwig/tfdclerk.js"); // [[User:The Earwig/tfdclerk.js]]

+ 31
- 0
tfdclerk.js View File

@@ -0,0 +1,31 @@
// Templates for discussion clerk script by [[User:The Earwig]]

// Development and bug reports: https://github.com/earwig/tfdclerk

// To install, add:
// importScript("User:The Earwig/tfdclerk.js"); // [[User:The Earwig/tfdclerk.js]]
// to [[Special:MyPage/common.js]] or [[Special:MyPage/skin.js]]

/*
Copyright (C) 2015 Ben Kurtovic <ben.kurtovic@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/

// TODO

Loading…
Cancel
Save