Charleswood Historical Society:Structure of this wiki: Difference between revisions
Jump to navigation
Jump to search
Ttenbergen (talk | contribs) |
Ttenbergen (talk | contribs) |
||
Line 55: | Line 55: | ||
== Remaining tasks == | == Remaining tasks == | ||
* make a way to find all images that are not annotated with description template | |||
{{#cargo_query: | |||
tables=_fileData, Image_description | |||
|fields=_fileData._pageName, _fileData._lastUploadDate | |||
|where=Image_description._pageName is null | |||
|join on=_fileData._pageName = Image_description._pageName | |||
}} | |||
* fix problem with [[St. Mary's Anglican Church]] and presumably other pages with apostrophes in hierarchies, need to escape those or find other solution. Using SMW instead of Cargo might be an option. Turning these into non-hierarchies and solving that elsewhere might be an option. | * fix problem with [[St. Mary's Anglican Church]] and presumably other pages with apostrophes in hierarchies, need to escape those or find other solution. Using SMW instead of Cargo might be an option. Turning these into non-hierarchies and solving that elsewhere might be an option. | ||
** Yaron replied that this is a parsing bug on Jun 7, hopefully that means he will fix | ** Yaron replied that this is a parsing bug on Jun 7, hopefully that means he will fix | ||
Line 60: | Line 68: | ||
**** Did a git pull to check if this is still a problem; it is. Updated documentation for Cargo to warn of this bug. [[User:Ttenbergen|Ttenbergen]] ([[User talk:Ttenbergen|talk]]) 22:25, 2023 October 6 (CDT) | **** Did a git pull to check if this is still a problem; it is. Updated documentation for Cargo to warn of this bug. [[User:Ttenbergen|Ttenbergen]] ([[User talk:Ttenbergen|talk]]) 22:25, 2023 October 6 (CDT) | ||
* check a replacetext for all "todo"s left anywhere | * check why replacetext isn't working, then do a a replacetext for all "todo"s left anywhere | ||
* automatic addition of template code to e.g. image uploads: https://www.mediawiki.org/wiki/Extension:NamespacePreload | * automatic addition of template code to e.g. image uploads: https://www.mediawiki.org/wiki/Extension:NamespacePreload | ||
** or it might be possible to build a pageform for this; asked for example at https://www.mediawiki.org/wiki/Extension_talk:Page_Forms#Special:UploadWindow_example? | ** or it might be possible to build a pageform for this; asked for example at https://www.mediawiki.org/wiki/Extension_talk:Page_Forms#Special:UploadWindow_example? | ||
* check if I can add the hierarchy definition to a template instead of editing it in the [[Template:CollectedIn]] - that would also allow turning new things into redlinks to start the new collection that way. | * check if I can add the hierarchy definition to a template instead of editing it in the [[Template:CollectedIn]] - that would also allow turning new things into redlinks to start the new collection that way. | ||
Line 74: | Line 77: | ||
* should the search automatically include the CHS namespace? Most users shouldn't actually see it, so likely not. But it should search the file namespace and now does. | * should the search automatically include the CHS namespace? Most users shouldn't actually see it, so likely not. But it should search the file namespace and now does. | ||
** we might want to take the project namespace back out of that, since kiosk visitors should not by default see that content. | ** we might want to take the project namespace back out of that, since kiosk visitors should not by default see that content. | ||
** we likely should have put the "editing" page into the "Charleswood Historical Society:" namespace so it won't show in user searches; can still do that once Eileen and Myron are more familiar with the wiki, don't want to cause confusion now | |||
[[Category:Kiosk wiki infrastructure]] | [[Category:Kiosk wiki infrastructure]] |
Revision as of 22:41, 2023 October 6
This wiki contains images and pages that are grouped in Collections. Collections form a hierarchy, so that anything that is e.g. in the "Churches/Religious" collection is also in the "Buildings" collection.
Useful Pages
Find all of the Special Pages at Special:SpecialPages
Upload files with Special:Upload
Find all pages at Special:AllPages
Create a wiki account at Special:CreateAccount
Find a list of all uploaded files at Special:ListFiles
Assigning a page to a collection
Option 1:
- enter the page name in the spot below and assign any relevant categories:
Option 2:
- go to the page
- click the edit link
- click the "insert" dropdown
- click "Template"
- start typing "CollectedIn" and choose that option
- type the collection you want to assign the page to
- click "insert"
- add additional collections the same way
- save
Option 3:
- edit the page
- add {{CollectedIn}}
- save the page
- click "edit with form" and use the dropdown to pick the collection
Adding a new collection
- Make a collection page by entering the name of the collection here:
- assign the new collection to a parent collection if applicable using the form:
- add the collection to the template hierarchy by editing Template:CollectedIn
- Re-create the table to update the hierarchy:
- in template, click the "Recreate data" tab
- uncheck the "Recreate data into a replacement table, keeping the old one for querying"
- click OK
- wait 1 minute for process to complete (you can click on "View replacement table" link to check progress
Some queries will not show a collection unless it has at least one item in it.
Adding an image
I wonder if there is a way to automatically add the template...
- Upload the image
- Add Template:Image description to annotate the image: add
{{Image description}}
to the description field - Save
- "Edit with form" to annotate the image and add it to relevant collections
Remaining tasks
- make a way to find all images that are not annotated with description template
No results
- fix problem with St. Mary's Anglican Church and presumably other pages with apostrophes in hierarchies, need to escape those or find other solution. Using SMW instead of Cargo might be an option. Turning these into non-hierarchies and solving that elsewhere might be an option.
- Yaron replied that this is a parsing bug on Jun 7, hopefully that means he will fix
- Asked if he is planning to fix... Ttenbergen bot (talk) 12:27, 2023 July 9 (CDT)
- Did a git pull to check if this is still a problem; it is. Updated documentation for Cargo to warn of this bug. Ttenbergen (talk) 22:25, 2023 October 6 (CDT)
- Asked if he is planning to fix... Ttenbergen bot (talk) 12:27, 2023 July 9 (CDT)
- Yaron replied that this is a parsing bug on Jun 7, hopefully that means he will fix
- check why replacetext isn't working, then do a a replacetext for all "todo"s left anywhere
- automatic addition of template code to e.g. image uploads: https://www.mediawiki.org/wiki/Extension:NamespacePreload
- or it might be possible to build a pageform for this; asked for example at https://www.mediawiki.org/wiki/Extension_talk:Page_Forms#Special:UploadWindow_example?
- check if I can add the hierarchy definition to a template instead of editing it in the Template:CollectedIn - that would also allow turning new things into redlinks to start the new collection that way.
- should the search automatically include the CHS namespace? Most users shouldn't actually see it, so likely not. But it should search the file namespace and now does.
- we might want to take the project namespace back out of that, since kiosk visitors should not by default see that content.
- we likely should have put the "editing" page into the "Charleswood Historical Society:" namespace so it won't show in user searches; can still do that once Eileen and Myron are more familiar with the wiki, don't want to cause confusion now