Charleswood Historical Society:Structure of this wiki: Difference between revisions

From Charleswood Historical Society
Jump to navigation Jump to search
(Updated information and added images)
Tag: visualeditor
No edit summary
Tag: visualeditor
Line 37: Line 37:


== Adding an image ==
== Adding an image ==
There are two main ways to add images to the wiki:
'''I wonder if there is a way to automatically add the template...'''
 
# Upload the image
* Using the Upload File page, and
# Add [[Template:Image description]] to annotate the image: add <code><nowiki>{</nowiki>{Image description}}</code> to the description field
* While editing a page
# Save
 
# "Edit with form" to annotate the image and add it to relevant collections
=== Using the Upload File page ===
 
* Go to [[Special:Upload]]
* Click the '''Browse''' button:[[File:FileUpload-01.png|border|left|thumb]]
 
 
 
 
 
* Select the image file you want to upload from the window that opens. This example uses a file called "CHSLogoTest.jpg".
* You should now see your image in the right-hand pane along with the dimensions of the image and a suggested Destination filename for the image on the wiki. It is usually best to leave the Destination filename as is.
* You can leave the "Licensing" and "Upload options" at their defaults.
* '''If you would like to provide a description or otherwise annotate this image at some point, you must put the following into the "Summary" field:'''
 
<code><nowiki>{</nowiki><nowiki>{Image description}}</nowiki></code>
 
* You should now see something similar to the following:
 
[[File:FileUpload-02a.png|left|thumb|632x632px]]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
* Once you're ready, click the '''Upload file''' button. Once the upload is complete, you should see a page showing the details of the file:
 
[[File:FileUpload-03a.png|left|thumb|648x648px]]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Note that the description fields are empty and there are no pages that use the file. To annotate the image and add it to relevant collections, go to the top of the page and click '''Edit with form''':
[[File:FileUpload-04.png|left|thumb|444x444px]]
 
 
 
 
 
 
 
 
 
 
 
 
 
* A page should now open called "Edit Image Description:" with the name of the image file. There are no required fields on this page - you can add as much or as little information as you want, and you can always come back and change it later. Please note that the map functionality will not work properly with an offline wiki.
 
[[File:FileUpload-05.png|left|thumb|508x508px]]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
[[File:FileUpload-06.png|left|thumb|400x400px]]
 
 
 
 
 
 
 
 
 
 
 
 
* To add the image to collections, click the '''Add another''' button under "Collections". A menu will appear that lists all of your collections, you can select as many as you would like but keep in mind that the more relevant the collection, the better organized and browseable the wiki will be. This example will add the image to the "Test Collection SL" collection:
 
[[File:FileUpload-07.png|left|thumb|600x600px]]
 
 
 
 
 
 
* Once you have selected the collections you want the image to be a part of and you are happy with the information in the rest of the fields, click the '''Save page''' button. The information will be added and you should now see an updated page:
 
[[File:FileUpload-08.png|left|thumb|657x657px]]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
== Special Pages ==
[[Special:SpecialPages]]


== Remaining tasks ==
== Remaining tasks ==
* fix logo so it doesn't have white background
* DONE - fix logo so it doesn't have white background


* 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.  

Revision as of 22:03, 2023 July 13

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" collection is also in the "Buildings" collection.

Assigning a page to a collection

Option 1:

  • enter the page name in the spot below and assign any relevant categories:


Option 2:

  1. go to the page
  2. click the edit link
  3. click the "insert" dropdown
  4. click "Template"
  5. start typing "CollectedIn" and choose that option
  6. type the collection you want to assign the page to
  7. click "insert"
  8. add additional collections the same way
  9. 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

  1. 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:

  1. add the collection to the template hierarchy by editing Template:CollectedIn
  2. Re-create the table to update the hierarchy:
    1. in template, click the "Recreate data" tab
    2. uncheck the "Recreate data into a replacement table, keeping the old one for querying"
    3. click OK
    4. 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...

  1. Upload the image
  2. Add Template:Image description to annotate the image: add {{Image description}} to the description field
  3. Save
  4. "Edit with form" to annotate the image and add it to relevant collections

Remaining tasks

  • DONE - fix logo so it doesn't have white background
  • 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
  • check a replacetext for all "todo"s left anywhere
  • If they really want events: event template (date, event_group (eg annual something parade), summary, description, location) - but that's dynamic content and I would recommend against it
  • possibly: location template (buildings, parks, etc) (Geocode?, summary, description, Address, put this on map? can that be offline?) review that map extension I tested earlier
  • possibly: family template (???) this might mostly be a lister of where the family is linked from, any person pages from the family, etc.
  • oral history... how would one best structure that? just hyperlinks after the fact? Does it need a "person" structure? which would interact with the family structure? That should probably be multiple oral histories per person. How would that correlate with event? In theory it would be nice to have these as one page per topic, but likely the conversations are more stream of consciousness than that. Ask Myron
  • possible consideration:

Artifact template/table with picture that can be linked to any of these, incl location in museum

  • 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.


index.php?title=Category:Kiosk wiki infrastructure