Hi! Your access is limited. Please log in or contact us at info@agentive.org to create an account.


Agency toolbox: Difference between revisions

From agency
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Reverted
Line 1: Line 1:
=[[/Wiki and web|Wiki and web]]=
=[[/Wiki and web|Wiki and web]]=
=Main categories=
=[[/Structure|Structure]]=
The wiki is divided in multiple categories. The main ones are :
=[[/Visualisations|Visualisations]]=
* [[:Category:Assembly|assembly]] - the assemblies organized by Agency ;
=[[/Wiki basics|Wiki basics]]=
* [[:Category:Jurisprudence|jurisprudence]] - the jurisprudences linked to things ;
=Didn't find what you were looking for?=
* [[:Category:Library document|library document]] - the documents of the library ;
* [[:Category:People|people]] - authors, assembly participants, ... ;
* [[:Category:Questions|questions]] - questions raised by the things, the library and the assemblies ;
* [[:Category:Things|things]] - the boundary-things.
 
To have a deeper understanding of what these different categories mean for Agency, see our [[Glossary|glossary]].
 
To have a look at all the categories, see the special page [[Special:Categories|categories]], and the wiki structure below.
 
=Wiki structure=
 
On this day (24/07/25) the structure of the wiki is as follow:
 
It has four main different components:
* forms (in green);
* categories (in blue);
* templates (in yellow);
* tables (in pink).
 
Each form populates a template, whose data is stored in one or more tables. Each category is defined by a template.
 
To manage the tables, we are using the Cargo extension, see [https://www.mediawiki.org/wiki/Extension:Cargo Help about Cargo] and [https://workingwithmediawiki.com/book/chapter16.html Working with MediaWiki chapter 16 : Cargo and Semantic MediaWiki].
 
To manage the forms, we are using the PageForm extension, see [https://www.mediawiki.org/wiki/Extension:Page_Forms Help about PageForm] and [https://workingwithmediawiki.com/book/chapter17.html#magicparlabel-5527 Working with MediaWiki chapter 17 : Page Forms].
 
[[File:structure_wiki.jpg|1300px]]
 
=Tables=
 
On this day (24/07/25) the structure of the tables is as follow:
 
[[File:datatableswiki.jpg|1200px]]
 
=Visualisations=
 
==Map==
 
[[File:mapSpace.png|1200px]]
 
==Status of the library inventory==
We roughly estimated that the library contains 4,000 documents.
 
Each shelf of the library received a number. The shelves in green have been encoded, the orange one is the one we are currently working on.
 
Status on 24/07/25 : 500 encoded documents
 
[[File:2025.03.18 inventoried shelves.jpg|500px]]
 
==Boxes==
 
An inventory of the boxes that are on the shelves has been started, but is not finished.
Status on 05/12/25 :
[[File:Boxes page-0001.jpg|1000px]]
 
=Wiki basics [tbc]=
 
==How to write text in Wikitext==
 
This is a summary based on the [https://en.wikipedia.org/wiki/Help:Wikitext Help about Wikitext] page.
 
===Bold and italic===
{| class="wikitable" style="width:55%"
! you write !! renders as
|- style=height:9em;
|<code><nowiki> To ''italicize text'', put two consecutive apostrophes on each side of it. Note that these must be straight apostrophes; curly apostrophes (‘ and ’) will not work.</nowiki></code> || To ''italicize text'', put two consecutive apostrophes on each side of it. Note that these must be straight apostrophes; curly apostrophes (‘ and ’) will not work.
|- style=height:7em;
| <code><nowiki>Three apostrophes each side will '''bold the text'''.</nowiki></code> || Three apostrophes each side will '''bold the text'''.
|- style=height:9em;
|<code><nowiki>Five consecutive apostrophes on each side (two for italics plus three for bold) produces '''''bold italics'''''.</nowiki></code> || Five consecutive apostrophes on each side (two for italics plus three for bold) produces '''''bold italics'''''.
|- style=height:7em;
|<code><nowiki>'''''Italic and bold formatting''''' works correctly only within a single line.</nowiki></code> || '''''Italic and bold formatting''''' works correctly only within a single line.
|}
 
===Line breaks===
{| class="wikitable" style="width:55%"
! you write !! renders as
|-
|<code>A single newline here
has no effect on the layout.</code>
 
 
 
<code>But an empty line starts a new paragraph.</code>
|A single newline here has no effect on the layout.
 
But an empty line starts a new paragraph.
|- style=height:5em;
|<code>I can also use a tag, like this <nowiki><br></nowiki> to break the line.</code>
|I can also use a tag, like this <br> to break the line.
|}
 
===Highlighting text===
 
{| class="wikitable" style="width:55%"
! you write !! renders as
|-
|<code><nowiki>I'm setting the background to a specific color, here #FAFAD2 which is a light yellow, and putting my word inside <span> tags, <span style="background:#FAFAD2">just like this.</span></nowiki></code>
|I'm setting the background to a specific color, here #FAFAD2 which is a light yellow, and putting my word inside <nowiki><span></nowiki> tags, <span style="background:#FAFAD2">just like this.</span>
|}
 
===Headings===
 
{| class="wikitable"
! you write !! renders as
|-
| <code><nowiki>= Heading 1 =</nowiki></code>
| rowspan=6 | [[File:Wikitext headings.png |130px]]
|-
|<code><nowiki>== Heading 2 ==</nowiki></code>
|-
|<code><nowiki>=== Heading 3 ===</nowiki></code>
|-
|<code><nowiki>==== Heading 4 ====</nowiki></code>
|-
|<code><nowiki>===== Heading 5 =====</nowiki></code>
|-
|<code><nowiki>====== Heading 6 ======</nowiki></code>
|}
 
===Quotes===
 
{| class="wikitable" style="width:55%"
! you write !! renders as
|-
|
<code>Normal text
 
<nowiki>
<blockquote>
The '''blockquote''' tag will indent both margins when needed instead of the left margin only as the colon does.
</blockquote>
</nowiki>
 
Normal text
</code>
|Normal text
<blockquote>
The '''blockquote''' tag will indent both margins when needed instead of the left margin only as the colon does.
</blockquote>
Normal text
|}
 
===Links===
{| class="wikitable" style="width:55%"
! you write !! renders as
|- style=height:3em;
|<code><nowiki> I'm reading an interesting [[book]].</nowiki></code>
|I'm reading an interesting [[book]].
|- style=height:8em;
|<code> The target is different than the pagename, so I put the text I'd like to use after a pipe, like this : the library is full of <nowiki>[[book|books]].</nowiki></code>
|The target is different than the pagename, so I put the text I'd like to use after a pipe, like this : the library is full of [[book|books]].
|- style=height:9em;
| <code>I want to link to the <nowiki>[[:Category:Assembly]]</nowiki>.
 
Don't forget the ':' before 'Category', otherwise you're putting the page in this category instead of making a hyperlink.</code>
|I want to link to the [[:Category:Assembly]].
 
Don't forget the ':' before 'Category', otherwise you're putting the page in this category instead of making a hyperlink.
|- style=height:8em;
|<code> I don't want the 'Category:' showing when I refer to the category <nowiki>[[:Category:Assembly|]]</nowiki>, so I'm adding a pipe.</code>
| I don't want the 'Category:' showing when I refer to the category [[:Category:Assembly|Assembly]], so I'm adding a pipe.
|- style=height:8em;
|<code>I don't want to talk about <nowiki>[[:Category:Assembly|]]</nowiki>, but about <nowiki>[[:Category:Assembly|assemblies]]</nowiki> so I put the text I'd like to use after a pipe.</code>
|I don't want to talk about [[:Category:Assembly|Assembly]], but about [[:Category:Assembly|assemblies]] so I put the text I'd like to use after a pipe.
|}
 
===Lists===
{| class="wikitable" style="width:55%"
! you write !! renders as
|-
|<code>* Item1</code><br>
<code>* Item2</code><br>
<code>* Item3</code><br>
<code>* Item4</code><br>
<code>** Sub-item 4 a)</code><br>
<code>*** Sub-item 4 a) 1.</code><br>
<code>**** Sub-item 4 a) 1. i)</code><br>
<code>**** Sub-item 4 a) 1. ii)</code><br>
<code>** Sub-item 4 b)</code><br>
<code>* Item5 </code>
|
* Item1
* Item2
* Item3
* Item4
** Sub-item 4 a)
*** Sub-item 4 a) 1.
**** Sub-item 4 a) 1. i)
**** Sub-item 4 a) 1. ii)
** Sub-item 4 b)
* Item5
|-
| <code># Item1</code><br>
<code># Item2</code><br>
<code># Item3</code><br>
<code># Item4</code><br>
<code>## Sub-item 1</code><br>
<code>### Sub-sub-item</code><br>
<code>#### Sub-sub-sub-item</code><br>
<code>## Sub-item 2</code><br>
<code># Item5 </code>
|
# Item1
# Item2
# Item3
# Item4
## Sub-item 1
### Sub-sub-item
#### Sub-sub-sub-item
## Sub-item 2
# Item5
|}
 
===Comments in the code===
 
{| class="wikitable" style="width:55%"
! you write !! renders as
|-
| <pre><!--This is a comment--></pre>
| <!--This is a comment-->
|-
| <pre>Here is me writing a text and then here<!--This is a comment--> I'm adding a comment in the wikitext, but you can't see it.</pre>
| Here is me writing a text and then here<!--This is a comment--> I'm adding a comment in the wikitext, but you can't see it.
|}
 
===Escaping wikitext===
 
{| class="wikitable" style="width:55%"
! you write !! renders as
|-
| <pre>I want to write text as it shows in wikitext.
For example, I want to explain how to write in bold, but if I use '''those symbols''', it shows in bold.
So I put my text inside nowiki tags, <nowiki><nowiki>'''like this'''</nowiki></nowiki>.</code>
| I want to write text as it shows in wikitext.<br>
For example, I want to explain how to write in bold, but if I use '''those symbols''', it shows in bold.<br>
So I put my text inside nowiki tags, <nowiki>'''like this'''</nowiki>.
|}
 
===Colors===
 
{| class="wikitable" style="width:55%"
! you write !! renders as
|- style=height:7em;
|Change the '''text''' color using this:<br>
<code><nowiki><span style="color:#009999">I'm writing in cyan.</span></nowiki></code>
| <span style="color:#009999">I'm writing in cyan.</span>
|- style=height:7em;
| Change the '''background''' color using this:<br>
<code><nowiki><span style="background:#00FF00">Background is lime.</span></nowiki></code>
| <span style="background:#00FF00">Background is lime.</span>
|- style=height:7em;
| Adjust both the '''text''' and '''background''' colors using this:<br>
<code><nowiki><span style="color:#FFFFFF; background:#FF69B4">I'm writing in white on a Hot Pink background.</span></nowiki></code>
|<span style="color:#FFFFFF; background:#FF69B4">I'm writing in white on a Hot Pink background.</span>
|}
 
The following sixteen named colors are defined by the HTML 4.01 specification:
 
{| class="wikitable" border="0"
|+
!Color
!Hexadecimal
!Color
!Hexadecimal
|-
|black
| style="background:#000000; color:#ffffff; font-family:monospace;" |#000000
|silver
| style="background:#c0c0c0; color:#000000; font-family:monospace;" |#c0c0c0
|-
|gray
| style="background:#808080; color:#ffffff; font-family:monospace;" |#808080
|white
| style="background:#ffffff; color:#000000; font-family:monospace;" |#ffffff
|-
|maroon
| style="background:#800000; color:#ffffff; font-family:monospace;" |#800000
|red
| style="background:#ff0000; color:#000000; font-family:monospace;" |#ff0000
|-
|purple
| style="background:#800080; color:#ffffff; font-family:monospace;" |#800080
|fuchsia
| style="background:#ff00ff; color:#000000; font-family:monospace;" |#ff00ff
|-
|green
| style="background:#008000; color:#ffffff; font-family:monospace;" |'''#008000'''
|lime
| style="background:#00ff00; color:#000000; font-family:monospace;" |#00ff00
|-
|olive
| style="background:#808000; color:#ffffff; font-family:monospace;" |#808000
|yellow
| style="background:#ffff00; color:#000000; font-family:monospace;" |#ffff00
|-
|navy
| style="background:#000080; color:#ffffff; font-family:monospace;" |#000080
|blue
| style="background:#0000ff; color:#ffffff; font-family:monospace;" |#0000ff
|-
|teal
| style="background:#008080; color:#000000; font-family:monospace;" |#008080
|aqua
| style="background:#00ffff; color:#000000; font-family:monospace;" |#00ffff
|}
 
===Tables===
See [https://en.wikipedia.org/wiki/Help:Advanced_table_features Help: Advanced table features].<br>
Zebra table : class="wikitable zebra"
 
===Cite===
To cite a reference, simply put it between <code><ref></code> tags, and add <code><nowiki><references /></nowiki></code> where you want your list of references to show.
 
==How to edit a page==
 
To edit a page, click on the 'edit' button on the top right.<br>
If a page uses a form, it will open the editable form.<br>
On those pages, using the 'edit source' button is not recommended because it doesn't show the form, only the raw code, which is harder to apprehend and an error is more likely to occur.
 
==How to create a new template/table/category/form/query==
coming soon...
===Tips and tricks===
====Cargo queries====
See [https://www.mediawiki.org/wiki/Extension:Cargo/Common_problems Extension:Cargo/Common_problems]<br>
<blockquote>If the "where" clause contains something like <code><nowiki>_pageName = '{{PAGENAME}}'</nowiki></code>, the query will break for pages that contain a single quote/apostrophe (') in their name. There are a few potential fixes for this: the easiest is to change the query to <code><nowiki>_pageID = {{PAGEID}}</nowiki></code>, which should always work. Another option is to change it to <code><nowiki>_pageName='{{#replace:{{PAGENAME}}|&#39;|\'}}'</nowiki></code>. (You could also consider replacing the single quotes around <code><nowiki>{{PAGENAME}}</nowiki></code> with double quotes, but single quotes are generally preferred for SQL literals, plus this formulation will itself break if the page name contains double quotes.)</blockquote>
 
==Didn't find what you were looking for?==
You can always go to [https://www.mediawiki.org/wiki/Help:Contents Help about MediaWiki].<br>
You can always go to [https://www.mediawiki.org/wiki/Help:Contents Help about MediaWiki].<br>
There are also interesting informations on [https://river.me this blog], and  
There are also interesting informations on [https://river.me this blog], and  

Revision as of 14:47, 2 June 2026

Wiki and web

Structure

Visualisations

Wiki basics

Didn't find what you were looking for?

You can always go to Help about MediaWiki.
There are also interesting informations on this blog, and

For help about the database, go to Help about Cargo and Working with MediaWiki - Chapter 16 Cargo and Semantic MediaWiki.
Interesting informations can also be found on the dragon mania legend wiki.

For help about the forms, go to Help about PageForm.

Also, please feel free to edit our toolbox ! This is meant to be our collective way of finding solutions and help each other in this wiki adventure.

Known bugs

This wiki is a work in progress, so there's some things we still need to work around.
You will find current issues we're encountering on the page Known bugs.

FAQ

If you have any questions, please refer to our FAQ and edit it if needed.

Other interesting tools

Manual:FAQ
ISO 639 languages codes
editing the sidebar: Manual:Interface/Sidebar, Manual:Hook/SidebarBeforeOutput
Manual:Interface/IDs and classes
Wikipedia:Manual of Style/Accessibility