Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

User:Zenwhat/To Do List

From Wikipedia, the free encyclopedia
Emptiness is form, form is emptiness.
User:Zenwhat
User:Zenwhat
   
User talk:Zenwhat
User talk:Zenwhat
   
User:Zenwhat/Userboxes
User:Zenwhat/Userboxes
   
User:Zenwhat/Awards
User:Zenwhat/Awards
   
User:Zenwhat/To do list
User:Zenwhat/To do list
   
User talk:Zenwhat/Archives
User talk:Zenwhat/Archives
   
Special:Emailuser/Zenwhat
Special:Emailuser/Zenwhat
   
User talk:Zenwhat/References
User talk:Zenwhat/References
   
User talk:Zenwhat/Hall of shame
User talk:Zenwhat/Hall of shame
   
User:Zenwhat/Sandbox
User:Zenwhat/Sandbox
 
                                   

Project name: do script

Project idea: create an automated to-do list. As an example of a manual to-do list, see my main page.

Language: Probably javascript or whatever scripting language wikipedia uses

How it would work: A "create new task" button would be placed on the page which would generate a task template.

The task template would contain the following parameters:

  • Related article or link (if any)
  • Task description
  • Task priority (probably of about five or so options from high to medium to low)
  • Date the task began
  • Completion flag (checked or crossed off, set to null by default)
  • Reason the task was completed or not completed

When each task is generated, in addition to the above parameters, it will include the following functions:

  • A link to delete task
  • A link to change priority
  • A link to "complete task"

The tasks will also be sorted, first by priority, second by date added.


So, for example, to create a new task, the template might look something like this: {{TASK|DESCRIPTION|PRIORITY|DATE|COMPLETED?|COMPLETED WHY\HOW?}}

The parameters colored in red would not be set at the creation of the task object. They would set after the task was completed.

The template above would generate something like this:

  1. Vandalize Jimbo's userpage, lol. (delete) (change priority) (complete)

When the complete function is run, it would request whether the task succeeded or failed, and request a reason why.

Priority would be set to 0 and it would then output something like this:

  1. Vandalize Jimbo's userpage, lol. (delete) Failed. Apparently, that's against the rules! :(