Form talk:Document

From Wikispooks
Revision as of 09:47, 30 December 2013 by Robin (talk | contribs) (→‎Change about dates: new section)
Jump to navigation Jump to search

Dates - current behaviour on existing pages

When the 'Date' parameter is used there are 3 cases: yyyy only, yyy mon, yyy mon dd. When form editing, if the page is saved when either or both mon, dd are not present, the form adds '01' to the blanks. I think we can live with this. At least there is no error returned. May be necessary to add a note to that effect on the form intro or somewhere.

Where the DateYear, DateMonth and DateDay parameter are used, the form uses the values, deletes the 3 existing parameter names and saves with the 'Date' parameter properly completed. We can live with this too. Just need to find a way to edit every document with the form and save without making any changes - a bot is needed! --Peter P (talk) 18:11, 2 December 2013 (GMT)

Correction, Re second para above: the form does NOT use any of the existing DateYear, DateMonth and DateDay parameters. If you try to save or review the page without altering anything a 'blank date not allowed' error is returned. If you manually enter the date on the form, the page saves OK and the pre-existing parameters are overwritten. Also, on pages where any other parameters already exist as links, the corresponding form field is blank and entering the non-bracketed text does not overwrite the pre-existing parameter. It seems the only way to correct those at present is by not using the form. Can live with all of that though. Give me a heads up when you think you're reasonably complete and I'll start a systematic look/edit of every documents and file of category 'Doc' - Big job but we can maybe allocate that work by alphabet or something. --Peter P (talk) 11:42, 3 December 2013 (GMT)

Change about dates

I just removed the mandatory date, since this is annoying when using this to edit documents without dates. Ideal would be an option to make it mandatory when creating files, but otherwise not. Robin (talk) 09:47, 30 December 2013 (GMT)