Difference between revisions of "Form talk:Document"
m (add topic) |
m (reply to self) |
||
Line 1: | Line 1: | ||
==Removal of Document default== | ==Removal of Document default== | ||
What's the reasoning for this? The form is currently only suitable for Documents and Files and, since you can't create a 'File' page other than by uploading a file, I would have thought it better to retain the default in the initial form field to avoid accidentally creating Documents in the MAIN namespace. | What's the reasoning for this? The form is currently only suitable for Documents and Files and, since you can't create a 'File' page other than by uploading a file, I would have thought it better to retain the default in the initial form field to avoid accidentally creating Documents in the MAIN namespace. | ||
+ | |||
+ | :Sorry - got that need to test what effect it has on editing files though --[[User:Peter|Peter P]] ([[User talk:Peter|talk]]) 14:06, 22 January 2014 (GMT) | ||
Frankly, I'm leaning towards having additional namespaces for People, Events and maybe others too. A separate default form for each namespace would make it harder to avoid using forms + reasons already rehearsed. I'm not put off by having multiple forms either. There are issues with trying to make one size fit all (ie the 'local' field in the Document Form is potentially confusing when using the form to edit File pages | Frankly, I'm leaning towards having additional namespaces for People, Events and maybe others too. A separate default form for each namespace would make it harder to avoid using forms + reasons already rehearsed. I'm not put off by having multiple forms either. There are issues with trying to make one size fit all (ie the 'local' field in the Document Form is potentially confusing when using the form to edit File pages |
Revision as of 14:06, 22 January 2014
Removal of Document default
What's the reasoning for this? The form is currently only suitable for Documents and Files and, since you can't create a 'File' page other than by uploading a file, I would have thought it better to retain the default in the initial form field to avoid accidentally creating Documents in the MAIN namespace.
- Sorry - got that need to test what effect it has on editing files though --Peter P (talk) 14:06, 22 January 2014 (GMT)
Frankly, I'm leaning towards having additional namespaces for People, Events and maybe others too. A separate default form for each namespace would make it harder to avoid using forms + reasons already rehearsed. I'm not put off by having multiple forms either. There are issues with trying to make one size fit all (ie the 'local' field in the Document Form is potentially confusing when using the form to edit File pages
You've probably noticed I'm at an advanced stage of re-doing the form too. I know we may end up with comma-separated lists of authors, subjects etc, but rehashing it has got me back into coding a bit so, good practice. --Peter P (talk) 12:26, 22 January 2014 (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)
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)