Last modified: 2010-05-15 14:36:14 UTC
This patch will add two new text boxes which allow a task to be assigned to a
The first box appears under the "Comments" field and allows a new task to be
assigned to someone.
The second box appears in the "Assignment/Actions/Page" column for a task if not
This required adding one additional string to en.php which contains "Assign to".
I have attempted a French translation ("AssignÃ©e Ã") using other text and what
little I remember from high school.
Created attachment 1309 [details]
Patches Tasks extension
This patches the HEAD version of Tasks.php, en.php, and fr.php
Component => Tasks
Created attachment 1310 [details]
Apply patch to HEAD of Tasks extension, take 2
Changes suggested by Ævar Arnfjörð Bjarmason
- Encode ?title= value to prevent injection (real big mistake, sorry)
- Handle usernames which may be '0' or other flavors of "empty"
- Removed French translation of "Assign to"
- Removed commented line which could print "Assigned to no one"
Fails to apply to current CVS HEAD, also looks like you're using Windows
newlines which mess up the patch
Created attachment 1314 [details]
Apply patch to HEAD of Tasks extension, take 3
Editor removed trailing whitespace so it was not able to match surrounding
text. This even happened when I tested the patch. It should work this time.
Sorry for the trouble.
Reproduced modifications from scratch (with trailing space maintained),
regenerated patch, tested patch against HEAD, tested patched file in wiki.
Closing, since Phil says this has been committed.