Template talk:Document
Contents
TODO List
A parameter |description- A parameter |Occasion = |ImmediateCause = |WhatPromptedThis for why these documents came about. e.g. A death certificate tied to a death event
- A parameter |Location, useful for speeches.
- A parameter |ProductionDate
- Rethinking the |see_also parameter - maybe replace by a set of "relates to" links
Date Format Standardisation
Description
A mandatory 3-4 sentence summary of posted documents could make browsing much easier while using automatically tables, e.g. using Property:Description. Robin (talk) 06:15, 21 December 2013 (GMT)
Production date
A separate parameter for when documents are made as opposed to when they are published may be needed (e.g. especially for leaked documents). However property:Creation date already exists - a special property for when pages were created on this wiki. Robin (talk) 06:15, 21 December 2013 (GMT)
SeeAlso
This is currently freeform text, but where it is used, it tends to be a bulleted list of links. This suggests that replacing text with a more tightly specified semantic markup may be a better way to go, combined with a new property, ~ "relates to". This would allow dynamically built lists and have the advantage that the data was available for other purposes. It might be a good idea to keep a human readable chunk, and make a threesome such as we use for source e.g. |related, |relatedURL, |relatedDetail Robin (talk) 06:15, 21 December 2013 (GMT)
Date Format Standardisation
Semantic wiki seems to parse dates OK for its own purposes, but I'm not entirely happy with its handling of incomplete dates. "2013" =/= "Dec 2013" =/= "1 Dec 2013" and it should be possible to input on of the two former ones if one doesn't know a specific day and or month. It would be convenient and tidy if SMW were good enough at date processing, but at the moment I'm still not sure it is. If we could highlight specific deficiencies (e.g. in Semantic Forms input capabilities?) we could forward these concerns to the developers. Robin (talk) 06:15, 21 December 2013 (GMT)
Form lagging a bit
I hesitate to mention this with all the stuff you're doing but 'Form:Document' needs to reflect all these additions sometime soon aswell. --Peter P (talk) 18:31, 24 December 2013 (GMT)
Comma separated lists
I'm aware that Form:Document is lagging. My first priority is to get the underlying data format straight. I see one more technological upgrade for this template on the immediate horizon - the replacement of hardcoded (and limited) numbered lists with comma (or other character) separated lists - which potentially could make for cleaner code and an easier interface. |SeeAlso needs an upgrade to I'll try it with that. Robin (talk) 14:39, 30 December 2013 (GMT)
Dates issue following recent Forms upgrade to v2.6.1
I noticed an apparent bug soon after this upgrade. Tried to track the issue down a couple of times without success. Thought is was the form u-grade but it turns out that was only what made it apparent, in that the form no longer filled in a blank day as '1'. Briefly, if day is not completed, a weird 'expression >' error appears in bold-red, just below the DocProv section of the document. It does NOT happen if only the year is completed, neither if the date in entered in the form monthname/yyyy by non-form editing. Also, it does not happen if the alternative ISO date params are used with the day left out.
Not sure how best to deal with this because I reckon it is a pretty fundamental requirement that documents can be reliably created and edited using the form - In fact for new editors it probably ought to be mandatory.
I'm still a bit distracted with server issues - tearing my hair out trying to get TLS IMAP email working (Dovecot/Postfix). However, since I can still send and received domain.com email OK I intend to shelve it for a bit and spend some time tweeking the Documant form using tabs to separate the mandatory from the various optional/doctype-specific sections.
If you have any ideas on how to fix that damn bug please have ago. You'll probably get there a lot faster than me anyway. --Peter P (talk) 13:19, 21 January 2014 (GMT)
Reinstatement of FileProv
I propose to reinstate Template:FileProv
and create a separate form for it. This is in anticipation of moving to a few more dedicated namespaces. Both the form and template will be very similar to the existing ones but a couple of annoying anomalies can be removed - like the 'local copy' parameter and use of the Document Namespace variable doing odd things to 'File' namespace page edits which bother me and may be storing up trouble. I've put off editing loads of files whilst cogitating about this and would like to get on with them using a dedicated form. I think it would be good to deprecate all those extra subjects in favour of the comma-delimited list approach too. That way a single 'additional info for the entire subject group can be used. It will be much easier to use the form and should produce a clearer display too - though there are pitfalls, notably where existing page names contain commas. That will have to be addressed I guess. Thoughts? --Peter P (talk) 16:42, 4 February 2014 (GMT)
- Namespaces - Probably a good move.
- Commas in titles - The current technology (#arraymap) doesn't actually require use of commas as separators, though it is the most natural character to me, another sequence could be used. How many pages are there with commas in the title? Unless it's more than a handful, I say keep commas as separators and just botch the titles to exclude that character.
- Separate template - I see no benefit from this. Instead I suggest vary behaviour by namespace with a #if block. This is not hard, and will prevent having multiple copies of code, which is not a good road to go down. What's needed to move forward with this is a list of the stuff to vary by namespace. Robin (talk) 22:37, 4 February 2014 (GMT)
- OK I guess the 'document' issue is pretty much a legacy one-off anyway. So the principal to adopt is that a template can (in general theoretically and in this case practically) be used for pages in more than one namespace; any differences in usage to be noted against template parameters + conditional display code blocks and reflected in separate form design elements. Form differences in this case will be minor too, since the localcopy field is required in both - just treated slightly differently but using separate forms will address the red-link auto-form-use issue which I reckon is a big plus. I doubt the Comma issue is much of an issue at all, especially since pages so listed are likely to be a relatively small sub-set, so we'll stick with commas and see what happens. The template will need another field though - ie a generic description for the subject list. I'll work on all this over the next few days. --Peter P (talk) 07:21, 7 February 2014 (GMT)
Differences between file and document use of this template
- |localCopy = Only needed for the document: namespace, should link to an item in the file: namespace.
Serious Problem
I've just noticed that editing existing documents doesn't work - it was broken by the rename because the form system is not redirect aware. This would be a trivial fix if Special:ReplaceText were working, but it's not. I may see whether I can press User:MaintenanceBot into service - else we should probably revert back to the old name. Robin (talk) 22:43, 30 May 2014 (IST)
- I have grandchildren staying today and tommorow, so limited time. After I will have a good look at why 'Text-Replce' is not working and upgrade to latest releases (There have been 3 x MW Mainenance releases since the system was last u/graded - also there is a more recent SMW release) --Peter P (talk) 06:22, 31 May 2014 (IST)
AORAN change issue
The last template edit (adding template:AORAN) has caused failure of the document type to display. --Peter P (talk) 09:12, 31 August 2015 (IST)
Question comment
Robin I see that the Wikispooks comment is put out of use. I would have liked to use it on two documents of the II, cyberwarfare related. If I put the whole text in the description it becomes a pretty big box (not looking nice) and I think that from a certain size on problems start to appear (refs missing, text is getting displayed two times). Can you think of something that will work smoothly here? This imo would have been the perfect use-case for the Wikispooks comment thing, but please help me out. Text that I planned to leave there is:
The shortage of qualified personnel to dominate the cyber realm has been noted in the last decade.[1] It appears that from the proposal of the II an encompassing recruiting effort is now underway by the British government through programs like the: "Cyber Schools Hub programme", which is meant to get children interested in hacking and related skills for cyberwar.[2][3]
Sunvalley (talk) 23:59, 4 September 2020 (UTC)
- I deprecated |comment since I think Template:Rate is superior for a number of reasons:
- transparency -- rather than "Wikispooks' comment", it belongs to whoever made it.
- variety -- anyone who wants to chip in a rating can do so, there's no need to give one opinion paricular weight
- simplicity -- together with the rating comes a number (1-5), which facilitates navigation somewhat
- So far, so theory. In practice, ratings are more complex, not working 100% and not yet widely used. However, a fix is probably not so hard, and I still recommend them, for the above reasons. -- Robin (talk) 17:03, 6 September 2020 (UTC)
References
- ↑ https://www.rand.org/pubs/research_reports/RR430.html
- ↑ https://www.dailymaverick.co.za/article/2020-06-02-revealed-the-uks-largest-intelligence-agency-is-infiltrating-british-schools/ saved at Archive.org saved at Archive.is
- ↑ https://www.dailymaverick.co.za/article/2020-06-04-revealed-veterans-of-the-uk-militarys-cyber-warfare-unit-are-teaching-school-children-how-to-launch-cyber-attacks/ saved at Archive.org saved at Archive.is