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


Known bugs: Difference between revisions

From agency
Jump to navigation Jump to search
 
(96 intermediate revisions by the same user not shown)
Line 1: Line 1:
Here is a page to exchange about bugs.
Here is a page to exchange about bugs.
=Modifying any page with a form creates a new entry for the same page in the Cargo table=
What we do now is use "group by" in every query, so that the doubles don't show, and periodically recreate the tables, but there should be a way to avoid it completely.


=Questions (again ... see 'fixed' below)=
=Uploading images lead to blank field=
For some questions, the list of documents referencing to the question doesn't show.<br>
When uploading a file in a form, the file is uploaded but the field stays empty after saving the page.<br>
See:
We need to open the form again and add the image (again) to display it on the page.<br>
*[[What if temporary things become included within art practices?]]
This seems to be a bug resolved in more recent versions, see [https://www.mediawiki.org/wiki/Extension_talk:Page_Forms/Archive_May_to_December_2021#Blank_field_after_uploading_media Blank field after uploading media].<br>
*[[What if collective things become included within art practices ?]]
To download a new pageForm version, go to [https://www.mediawiki.org/wiki/Special:ExtensionDistributor?extdistname=PageForms&extdistversion=REL1_43 Special:Extension distributor].
*[[What if collective things become included within art practices ? (Fans)]]
=Bugs in queries=
*[[What if common things become included within art practices ? (functionality)]]
==+==
*[[What if common things become included within art practices? (folklore)]]
As seen with [[Thing 001085 - IQ200+]] on the [[Assembly - Curiosity]] page, when a query encounters a "+" sign, it breaks.<br>
*[[What if common things would get mutually included within art practices ?]]
Same with a + in a people's name, it doesnt show when creating a new people using the form.
*[[What if objective things become included within art practices ?]]
=='==
*[[What if temporary things become included within art practices?]]
As seen with [[Curated visit ♯3 Séverine Dussolier]], showing the image of the book selected doesn't work, because of the apostrophe in the title. On the templates used for the event pages, we used "replace" but it doesn't seem to work. It's strange that the title of the book is showing as a list, but not the first part with the image.
 
But for others it works, for example:
*[[How can folklore and traditional knowledge be incorporated in the practice of art and science ?]]
*[[How can commons be included within art practices ?]]
*[[What if bodies become included within art practices ?]]
*[[What if other-than-humans become included within artistic practice? (9a)]]
* ...
 
The same template is used for all of them. This doesn't make sense at all, so I'm wondering if it simply is a real bug with no explanation.
 
It seems that the pages that don't work are the ones we originally created, and deleted multiple times.
 
The error message says 'Error: operator for the virtual field 'Generic.things' must be 'HOLDS', 'HOLDS NOT', 'HOLDS LIKE' or 'HOLDS NOT LIKE'.'<br>
As said on [https://community.fandom.com/wiki/Help:Cargo this page], it seems like the error message is often incorrect from the actual issue, which seems to be the case here, since the template doesn't use ''Generic.things'' but ''Generic.questions''.
 
It's not something related to the use of brackets or length of text, as both working and not working pages use brackets and are of different length.
 
I think I had something similar happening in the beginning when creating the first categories, and I had to delete the whole thing and change the spelling while keeping the code the same. It really seems like a big bug.
 
==Template==
Those three queries work for some, but not for others:
<blockquote><code><nowiki>{{#cargo_query:</nowiki>tables=Generic
 
|fields=<nowiki>_pageName</nowiki>
 
|where=questions HOLDS <nowiki>'{{#replace:{{PAGENAME}}|&#39;|\'}}'</nowiki>
 
|format=ul}}</code></blockquote>
<blockquote><code><nowiki>
 
==test2==
{{#cargo_query:
tables=Generic,Questions
|join on=Generic.questions HOLDS Questions._pageName
|where=Generic.questions HOLDS '{{#replace:{{PAGENAME}}|&#39;|\'}}'
|fields=Generic._pageName
|limit=5000
|format=ul
}}
</nowiki></code></blockquote><blockquote><code><nowiki>
==test4==
{{#cargo_query:
tables=Generic,Questions
|join on=Generic.questions HOLDS Questions._pageName
|where=questions HOLDS '{{PAGENAME}}'
|fields=Generic._pageName
|format=ul
}}
</nowiki></code></blockquote>


=Searching for a thing=
=Searching for a thing=
For now, the search bar doesn't allow partial word search [https://www.mediawiki.org/wiki/Help:Searching as explained here], meaning entering only the last digits of a thing won't show anything in the results.<br>
For now, the search bar doesn't allow partial word search [https://www.mediawiki.org/wiki/Help:Searching as explained here], meaning entering only the last digits of a thing won't show anything in the results.<br>
The six digits have to be entered to find the page.<br>
The six digits have to be entered to find the page.<br>
The best would be to modify the search so that it's allowed, maybe installing another search engine [https://workingwithmediawiki.com/book/chapter9.html see documentation here].
The best would be to modify the search so that it's allowed, maybe installing another search engine [https://workingwithmediawiki.com/book/chapter9.html see documentation here].<br>
Or use [https://en.wikipedia.org/wiki/Elasticsearch Elasticsearch]?<br>
See [https://www.mediawiki.org/wiki/Help:CirrusSearch Help:CirrusSearch] and [https://www.mediawiki.org/wiki/Help:Searching Help:Searching].


=Double redirects=
=Double redirects=
Line 86: Line 41:
* Sawing a women in half/in two
* Sawing a women in half/in two
** [[Thing 000809 - Sawing a Lady in Half, How is it Done?]]
** [[Thing 000809 - Sawing a Lady in Half, How is it Done?]]
* ?
** [[Thing 001370 - Célébration]]
** [[Thing 001864 - Think-a-Drink Count Maurice]]


=Other interesting categories to look at=
=Other interesting categories to look at=
Line 93: Line 51:


=Not bugs but needs some change=
=Not bugs but needs some change=
==No hyperlink for dates==
There is no possibility of making a research through dates.


==Access==
==Access==
We should have different accesses based on status of visitors, see [https://www.mediawiki.org/wiki/Extension:AccessControl Extension:AccessControl] and [https://www.mediawiki.org/wiki/Manual:Preventing_access#Restrict_viewing_of_all_pages Manual:Preventing access]
We should have different accesses based on status of visitors, see [https://www.mediawiki.org/wiki/Extension:AccessControl Extension:AccessControl] and [https://www.mediawiki.org/wiki/Manual:Preventing_access#Restrict_viewing_of_all_pages Manual:Preventing access]
see also:
* [https://workingwithmediawiki.com/book/chapter14.html Chapter 14 Protecting content]
* [https://www.mediawiki.org/wiki/Manual:User_rights Manual:User rights]
* [https://www.mediawiki.org/wiki/Extension:CategoryLockdown Extension:CategoryLockdown]
* [https://www.mediawiki.org/wiki/Extension:CrawlerProtection Extension:CrawlerProtection]
* [https://www.mediawiki.org/wiki/Manual:$wgWhitelistReadRegexp Manual:$wgWhitelistReadRegexp]
* [https://www.mediawiki.org/wiki/Manual:$wgWhitelistRead Manual:$wgWhitelistRead]
* [https://www.mediawiki.org/wiki/Extension:Whitelist_Pages Extension:Whitelist_Pages] maybe to use instead of editing the localSettings.php ?
* [https://www.mediawiki.org/wiki/Extension:GroupWhitelist Extension:GroupWhitelist] > interesting to look at maybe, regarding access to category people?
* [https://www.mediawiki.org/wiki/Extension:PageOwnership Extension:PageOwnership]


==Webdesign==
==Webdesign==
We need to make a custom skin for the wiki
We need to make a custom skin for the wiki.<br>
 
See:
==Footer==
* [https://www.mediawiki.org/wiki/Manual:How_to_make_a_MediaWiki_skin How to make a MediaWiki skin]
We need to mention our supports such as VGC etc. Seems like the easiest way is to edit the footer, see [https://www.mediawiki.org/wiki/Manual:Footer Manual:Footer].
* [https://www.mediawiki.org/wiki/Manual:CSS/en Manual:CSS]
 
See also:
Another solution would be to make a template but we would then have to apply it to every page. Directly editing the footer would be easier.
* [[MediaWiki:Common.js]]
* [https://www.mediawiki.org/wiki/Manual:Interface/JavaScript Manual:Interface/JavaScript]
* [https://www.mediawiki.org/wiki/Extension:Gadgets Extension:Gadgets]
* [https://www.mediawiki.org/wiki/Special:Gadgets Special:Gadgets]
* [https://www.hostknox.com/knowledgebase/31/MediaWiki hostknox/knowledgebase/MediaWiki]


==What is a document and what is a shelf==
==What is a document and what is a shelf==
Line 114: Line 83:


Edit: document is now [[:Category:Library document]], and shelf is now [[:Category:Library shelf]]. The category for 'thing document' hasnt been created yet.
Edit: document is now [[:Category:Library document]], and shelf is now [[:Category:Library shelf]]. The category for 'thing document' hasnt been created yet.
==Agency/Agentur/Agency Computer/...==
* Agency has been known under different names, depending on the language of the context.
* we should be able to link all spelling
* a redirect doesn't seem right because it then makes a mess in the table (the different spelling doesn't show, only the main page)
=Fixed!=
==Events links not showing in mail==
The character ♯ (sharp), not to be confused with # (hash), is not recognized by gmail when entering a link.<br>
For now, what we did was replace it by its percent code <code>%E2%99%AF</code>.<br>
For example, <code><nowiki>https://agentive.org/mw/index.php?title=Editathon_♯4</nowiki></code><br>
becomes <code><nowiki>https://agentive.org/mw/index.php?title=Editathon_%E2%99%AF4</nowiki></code>
SOLUTION<br>
this was solved by using "DISPLAYTITLE" (see [https://www.mediawiki.org/wiki/Extension:Display_Title Extension: Display Title]). It's not a perfect solution, as we still need to indicate the 'right' title for every page manually, but we are now able to use the right symbol AND use the link in mails.


==Things==
==Things==
===FIXED! Specimen images===
clarify that we only add specimen imgage and how that looks


===Languages===
===Languages===
* Create the possibility to add language in the things form. For exemple "Basque" for the Thing 002115
* Create the possibility to add language in the things form. For exemple "Basque" for the Thing 002115, or "lv" (Letvian language) for [[Thing 000885 - Daley Bicentennial Plaza]]
** checkboxes, which are used to display the different languages, don't allow to add a new language ;
** checkboxes, which are used to display the different languages, don't allow to add a new language ;
** we should then change and maybe use the same display as in the library document form, which is an arraymap (see [[:Template:Generic]]) ;
** we should then change and maybe use the same display as in the library document form, which is an arraymap (see [[:Template:Generic]]) ;
** it makes totally sense that there is only one way to refer to a language ;
** it makes totally sense that there is only one way to refer to a language ;
** this would mean we have to modify each thing for which the language of the presentation and/or publication text is specified.
** this would mean we have to modify each thing for which the language of the presentation and/or publication text is specified.
=> FIXED!


===Publication/presentation text===
===Publication/presentation text===
* confusion about this for people who don't know how to recognise these in the boxes
* confusion about this for people who don't know how to recognise these in the boxes
* we should add a quick description of both, or maybe make a glossary?
* we should add a quick description of both, or maybe make a glossary?
** a [[Glossary]] page has been made
** we need to collectively decide how to describe each element


==Assembly pages==
=> FIXED!
add form taking along location, inviting organisation, date, participants...
* a [[Glossary]] page has been made
* a description has been added in the form
 
==Library document form==
===Issue===
We have a new bug on the wiki 🦂<br>
When editing a library document with the form, the loading spinner gets stuck.<br>
This only happens for library documents, all other forms work fine.<br>
====Possible explanations?====
It seems to be linked to JavaScript?<br>
''"JavaScript Timeout Issues: Page Forms often rely on JavaScript to load interactive elements. A common bug involves the loading spinner getting stuck, which can often be resolved by debugging with browser developer tools (F12) to identify conflicting scripts."''<br>
On the [https://www.mediawiki.org/wiki/Extension:Page_Forms/Common_problems common problems' page for PageForm], it's said that it could be because of an extension or the skin.<br>
When adding " &debug=true " to the url and looking at the console, it says <code>'''TypeError: str.toLowerCase is not a function. (In 'str.toLowerCase()', 'str.toLowerCase' is undefined)'''</code>
Maybe it's because the form uses two templates? (Template:Generic and Template:Copy)<br>
 
----
 
With some help, we went in debug mode on the page and identified field 8 as the problem, which is the field for publication_date. The date is considered a string, but it's a number.
 
===Test===
Changing the skin in LocalSettings didn't do anything.<br>
===documentation?===
* [https://java2blog.com/typeerror-tolowercase-is-not-function-javascript/ type error to lower case is not function]
===Solution for now===
Since entering years in a form works in the Form:Assembly, in the Form:Library document we changed the input type from combobox to tokens, with a <code>max values=1</code>.<br>
It's now working but it's a bit ugly?<br>
We also wrote about it in the [https://www.mediawiki.org/wiki/Extension_talk:Page_Forms#%22combobox%22_is_freezing_the_form_when_used_on_numbers talk page for PageForms].
 
==Assembly pages (FIXED!!)==
Issue was : we need to add a form taking along location, inviting organisation, date, participants...
 
==No hyperlink for dates (FIXED!!)==


==Agency/Agentur/Agency Computer/...==
Issue was: "There is no possibility of making a research through dates."
* Agency has been known under different names, depending on the language of the context.
* we should be able to link all spelling
* a redirect doesn't seem right because it then makes a mess in the table (the different spelling doesn't show, only the main page)


=Fixed!=
Solution: the category [[:category:Year]] was created.


==Questions (FIXED!!)==
==Questions (FIXED!!)==
It seems like, when adding a question that does not exist yet in the [[:Form:Library document]] or in the [[:Form:Assembly]], creating the page for the new question by clicking on the red link does not work if there is an "'''?'''" in it (which is a big problem for a question ...).
Issue was : <blockquote>It seems like, when adding a question that does not exist yet in the [[:Form:Library document]] or in the [[:Form:Assembly]], creating the page for the new question by clicking on the red link does not work if there is an "'''?'''" in it (which is a big problem for a question ...).<br>
 
The bug is as follow:
The bug is as follow:
* the question mark doesn't appear in the name of the new page you're creating ;
* the question mark doesn't appear in the name of the new page you're creating ;
* none of the text written after the question mark appears.
* none of the text written after the question mark appears.


For example, when clicking on the red link question <blockquote>''What if collective things become included within art practices? (fans)''</blockquote>
For example, when clicking on the red link question ''What if collective things become included within art practices? (fans)'',
the following page appeared :<blockquote>Create page ''What if collective things become included within art practices''</blockquote>So no question mark and the ''(fans)'' disappeared.
the following page appears : Create page ''What if collective things become included within art practices''<br>
 
So no question mark and the ''(fans)'' disappeared.<br>
Also, in the "document" section of the page ''What if collective things become included within art practices'', an error appeared, saying the query used to show all the documents where this question is referenced is not called in the right way. The strange thing is it's working for other questions, so it's not the query.
Also, in the "document" section of the page ''What if collective things become included within art practices'', an error appeared, saying the query used to show all the documents where this question is referenced is not called in the right way. The strange thing is it's working for other questions, so it's not the query.
</blockquote>


FIXED!!
FIXED!!<br>
 
We modified [[:Template:List of questions]] so it shows the right link, see arguments of #formredlink https://workingwithmediawiki.com/book/chapter17.html#magicparlabel-5527 <blockquote><nowiki>* [[{{{1|}}}|{{#formredlink:target={{urlencode: {{{1|}}}|WIKI}}|form=Questions|link text={{{1|}}}}}]]</nowiki></blockquote>
We modified [[:Template:List of questions]] so it shows the right link, see arguments of #formredlink https://workingwithmediawiki.com/book/chapter17.html#magicparlabel-5527 <blockquote><nowiki>* [[{{{1|}}}|{{#formredlink:target={{urlencode: {{{1|}}}|WIKI}}|form=Questions|link text={{{1|}}}}}]]</nowiki></blockquote>


== Logo (FIXED!)==
== Logo (FIXED!)==


https://www.mediawiki.org/wiki/Manual:$wgLogos
[https://www.mediawiki.org/wiki/Manual:$wgLogos see Manual:$wgLogos]


==Renaming users (FIXED!)==
==Renaming users (FIXED!)==
We should be able to rename users. For this we need to install the extension [https://www.mediawiki.org/wiki/Manual:Renameuser Renameuser].
Issue was:<blockquote>We should be able to rename users. For this we need to install the extension [https://www.mediawiki.org/wiki/Manual:Renameuser Renameuser]. We then need to change Eva Gonzales-Sancho to Eva Gonzalez-Sancho (with a z).</blockquote>
 
Note: since we upgraded the wiki to version 1.43, the rename user extension is actually included so we had to delete the extension in LocalSettings.php.
We then need to change Eva Gonzales-Sancho to Eva Gonzalez-Sancho (with a z).


==Maximum number of pages displayed on a category page (FIXED!!)==
==Maximum number of pages displayed on a category page (FIXED!!)==
Line 183: Line 190:


See: https://www.mediawiki.org/wiki/Manual:$wgCategoryPagingLimit
See: https://www.mediawiki.org/wiki/Manual:$wgCategoryPagingLimit
==FIXED! Specimen images==
clarify that we only add specimen imgage and how that looks
==FIXED!! Questions (again)==
===Description===
For some questions, the list of documents referencing to the question doesn't show.<br>
See:
*[[What if temporary things become included within art practices?]]
*[[What if collective things become included within art practices ?]]
*[[What if collective things become included within art practices (fans) ?]]
*[[What if common things become included within art practices ? (functionality)]]
*[[What if common things become included within art practices? (folklore)]]
*[[What if common things would get mutually included within art practices ?]]
*[[What if objective things become included within art practices ?]]
*[[What if temporary things become included within art practices?]]
But for others it works, for example:
*[[How can folklore and traditional knowledge be incorporated in the practice of art and science ?]]
*[[How can commons be included within art practices ?]]
*[[What if bodies become included within art practices ?]]
*[[What if other-than-humans become included within artistic practice? (9a)]]
* ...
===Error showing===
The error message says 'Error: operator for the virtual field 'Generic.things' must be 'HOLDS', 'HOLDS NOT', 'HOLDS LIKE' or 'HOLDS NOT LIKE'.'<br>
<!--As said on [https://community.fandom.com/wiki/Help:Cargo this page], it seems like the error message is often incorrect from the actual issue, which seems to be the case here, since the template doesn't use ''Generic.things'' but ''Generic.questions''.-->
===Template===
The same template is used for all of them.<br>
Those five different queries were tried and work for some of the questions, but not for others:
{| class="wikitable"
! query !! results for [[How can commons be included within art practices ?]]
|-
|<code><nowiki>{{#cargo_query:</nowiki><br>
<nowiki>tables=Generic</nowiki><br>
<nowiki>|fields=_pageName</nowiki><br>
<nowiki>|where=questions HOLDS '{{#replace:{{PAGENAME}}|&#39;|\'}}'</nowiki><br>
<nowiki>|format=ul}}</nowiki>
</code>
|{{#cargo_query:
tables=Generic
|fields=_pageName
|where=questions HOLDS 'How can commons be included within art practices ?'
|format=ul}}
|-
|<code><nowiki>{{#cargo_query:</nowiki><br>
<nowiki>tables=Generic,Questions</nowiki><br>
<nowiki>|join on=Generic.questions HOLDS Questions._pageName</nowiki><br>
<nowiki>|where=Generic.questions HOLDS '{{#replace:{{PAGENAME}}|&#39;|\'}}'</nowiki><br>
<nowiki>|fields=Generic._pageName</nowiki><br>
<nowiki>|limit=5000</nowiki><br>
<nowiki>|format=ul}}</nowiki>
</code>
|{{#cargo_query:
tables=Generic,Questions
|join on=Generic.questions HOLDS Questions._pageName
|where=Generic.questions HOLDS 'How can commons be included within art practices ?'
|fields=Generic._pageName
|limit=5000
|format=ul}}
|-
|<code><nowiki>{{#cargo_query:</nowiki><br>
<nowiki>tables=Generic,Questions</nowiki><br>
<nowiki>|join on=Generic.questions HOLDS Questions._pageName</nowiki><br>
<nowiki>|where=questions HOLDS '{{PAGENAME}}'</nowiki><br>
<nowiki>|fields=Generic._pageName</nowiki><br>
<nowiki>|format=ul}}</nowiki>
</code>
|{{#cargo_query:
tables=Generic,Questions
|join on=Generic.questions HOLDS Questions._pageName
|where=questions HOLDS 'How can commons be included within art practices ?'
|fields=Generic._pageName
|format=ul}}
|-
|<code><nowiki>{{#cargo_query:</nowiki><br>
<nowiki>tables=Generic,Questions</nowiki><br>
<nowiki>|join on=Generic.questions HOLDS Questions._pageName</nowiki><br>
<nowiki>|where=Generic.questions HOLDS '{{#titleparts:{{#replace:{{PAGENAME}}|&#39;|\'}}}}'</nowiki><br>
<nowiki>|fields=Generic._pageName</nowiki><br>
<nowiki>|limit=5000</nowiki><br>
<nowiki>|format=ul}}</nowiki>
</code>
|{{#cargo_query:
tables=Generic,Questions
|join on=Generic.questions HOLDS Questions._pageName
|where=Generic.questions HOLDS 'How can commons be included within art practices ?'
|fields=Generic._pageName
|limit=5000
|format=ul}}
|-
|<code><nowiki>{{#cargo_query:</nowiki><br>
<nowiki>tables=Generic=G, Generic__questions=GQ</nowiki><br>
<nowiki>|join on=G._ID=GQ._rowID</nowiki><br>
<nowiki>|fields=G._pageName</nowiki><br>
<nowiki>|where=GQ._value="{{PAGENAME}}"</nowiki><br>
<nowiki>|format=ul}}</nowiki><br>
</code>
see [[https://river.me/blog/cargo-list-type-fields/ cargo list type fields]]
|{{#cargo_query:
tables=Generic=G, Generic__questions=GQ
|join on=G._ID=GQ._rowID
|fields=G._pageName
|where=GQ._value="How can commons be included within art practices ?"
|format=ul}}
|}
To complete documentation, this shows a list of the documents for which a question has been mentioned.
{| class="wikitable"
! query !! results
|-
|<code><nowiki>{{#cargo_query:</nowiki><br>
<nowiki>tables=Generic,Questions</nowiki><br>
<nowiki>|join on=Generic.questions HOLDS Questions._pageName</nowiki><br>
<nowiki>|where=Generic.questions HOLDS Questions._pageName</nowiki><br>
<nowiki>|fields=Generic._pageName</nowiki><br>
<nowiki>|limit=5000</nowiki><br>
<nowiki>|format=ul}}</nowiki>
</code>
|{{#cargo_query:
tables=Generic,Questions
|join on=Generic.questions HOLDS Questions._pageName
|where=Generic.questions HOLDS Questions._pageName
|fields=Generic._pageName
|limit=5000
|format=ul}}
|}
===Possible explanation===
Every question that leads to a bug have the words "things", "included", "become" and "practices".<br>
"things" is a field in the table:Generic.<br>
If we take out "things" from the query, it works:
{{#cargo_query:
tables=Generic
|fields=_pageName
|where=questions HOLDS 'What if temporary become included within art practices?'
|format=ul}}
The words "become", "included" and "practices" are not bringing an error.<br>
This is the query for only the word "things" :
{{#cargo_query:
tables=Generic
|fields=_pageName
|where=questions HOLDS 'things'
|format=ul}}
Since table:Generic also has a field named "assemblies", we tried it, and it also breaks the query:
{{#cargo_query:
tables=Generic
|fields=_pageName
|where=questions HOLDS 'assemblies'
|format=ul}}
Michael sent a [https://www.mediawiki.org/wiki/Extension_talk:Cargo#Field_names_in_Page_names_cause_Query_Errors bug report] through cargo talk page.<br>
One way to work around this could be to add prefixes to all field names.
===Solution===
A fellow wikienthusiast gave us a patch, that Michael forked on the public extension, see [[https://github.com/automatist/mediawiki-extensions-Cargo here]].
==Footer==
We need to mention our supports such as VGC etc. Seems like the easiest way is to edit the footer, see [https://www.mediawiki.org/wiki/Manual:Footer Manual:Footer].

Latest revision as of 10:47, November 4, 2026

Here is a page to exchange about bugs.

Modifying any page with a form creates a new entry for the same page in the Cargo table

What we do now is use "group by" in every query, so that the doubles don't show, and periodically recreate the tables, but there should be a way to avoid it completely.

Uploading images lead to blank field

When uploading a file in a form, the file is uploaded but the field stays empty after saving the page.
We need to open the form again and add the image (again) to display it on the page.
This seems to be a bug resolved in more recent versions, see Blank field after uploading media.
To download a new pageForm version, go to Special:Extension distributor.

Bugs in queries

+

As seen with Thing 001085 - IQ200+ on the Assembly - Curiosity page, when a query encounters a "+" sign, it breaks.
Same with a + in a people's name, it doesnt show when creating a new people using the form.

'

As seen with Curated visit #3 Séverine Dussolier, showing the image of the book selected doesn't work, because of the apostrophe in the title. On the templates used for the event pages, we used "replace" but it doesn't seem to work. It's strange that the title of the book is showing as a list, but not the first part with the image.

Searching for a thing

For now, the search bar doesn't allow partial word search as explained here, meaning entering only the last digits of a thing won't show anything in the results.
The six digits have to be entered to find the page.
The best would be to modify the search so that it's allowed, maybe installing another search engine see documentation here.
Or use Elasticsearch?
See Help:CirrusSearch and Help:Searching.

Double redirects

Having double redirects is not recommended, see documentation on redirects, and the list of double redirects in this wiki.

Duplicates

Library document

There's a weird thing happening with Put on your Blue Genes, it appears twice in 1.0.. I thought it was because there is 2 copies of it, with a comment for each of them, but when I modified the copy comment section on another document having multiple copies, it didn't do the same thing.

Things

Other interesting categories to look at

Not bugs but needs some change

Access

We should have different accesses based on status of visitors, see Extension:AccessControl and Manual:Preventing access

see also:

Webdesign

We need to make a custom skin for the wiki.
See:

See also:

What is a document and what is a shelf

“Document” is too generic a term, maybe “Library document” also “Thing document” for documents in the boxes, etc. The same goes for the shelves, maybe use "Library shelf".

Edit: document is now Library, and shelf is now Category:Library shelf. The category for 'thing document' hasnt been created yet.

Agency/Agentur/Agency Computer/...

  • Agency has been known under different names, depending on the language of the context.
  • we should be able to link all spelling
  • a redirect doesn't seem right because it then makes a mess in the table (the different spelling doesn't show, only the main page)

Fixed!

Events links not showing in mail

The character ♯ (sharp), not to be confused with # (hash), is not recognized by gmail when entering a link.
For now, what we did was replace it by its percent code %E2%99%AF.
For example, https://agentive.org/mw/index.php?title=Editathon_♯4
becomes https://agentive.org/mw/index.php?title=Editathon_%E2%99%AF4

SOLUTION
this was solved by using "DISPLAYTITLE" (see Extension: Display Title). It's not a perfect solution, as we still need to indicate the 'right' title for every page manually, but we are now able to use the right symbol AND use the link in mails.

Things

Languages

  • Create the possibility to add language in the things form. For exemple "Basque" for the Thing 002115, or "lv" (Letvian language) for Thing 000885 - Daley Bicentennial Plaza
    • checkboxes, which are used to display the different languages, don't allow to add a new language ;
    • we should then change and maybe use the same display as in the library document form, which is an arraymap (see Template:Generic) ;
    • it makes totally sense that there is only one way to refer to a language ;
    • this would mean we have to modify each thing for which the language of the presentation and/or publication text is specified.

=> FIXED!

Publication/presentation text

  • confusion about this for people who don't know how to recognise these in the boxes
  • we should add a quick description of both, or maybe make a glossary?

=> FIXED!

  • a Glossary page has been made
  • a description has been added in the form

Library document form

Issue

We have a new bug on the wiki 🦂
When editing a library document with the form, the loading spinner gets stuck.
This only happens for library documents, all other forms work fine.

Possible explanations?

It seems to be linked to JavaScript?
"JavaScript Timeout Issues: Page Forms often rely on JavaScript to load interactive elements. A common bug involves the loading spinner getting stuck, which can often be resolved by debugging with browser developer tools (F12) to identify conflicting scripts."
On the common problems' page for PageForm, it's said that it could be because of an extension or the skin.
When adding " &debug=true " to the url and looking at the console, it says TypeError: str.toLowerCase is not a function. (In 'str.toLowerCase()', 'str.toLowerCase' is undefined) Maybe it's because the form uses two templates? (Template:Generic and Template:Copy)


With some help, we went in debug mode on the page and identified field 8 as the problem, which is the field for publication_date. The date is considered a string, but it's a number.

Test

Changing the skin in LocalSettings didn't do anything.

documentation?

Solution for now

Since entering years in a form works in the Form:Assembly, in the Form:Library document we changed the input type from combobox to tokens, with a max values=1.
It's now working but it's a bit ugly?
We also wrote about it in the talk page for PageForms.

Assembly pages (FIXED!!)

Issue was : we need to add a form taking along location, inviting organisation, date, participants...

No hyperlink for dates (FIXED!!)

Issue was: "There is no possibility of making a research through dates."

Solution: the category category:Year was created.

Questions (FIXED!!)

Issue was :

It seems like, when adding a question that does not exist yet in the Form:Library document or in the Form:Assembly, creating the page for the new question by clicking on the red link does not work if there is an "?" in it (which is a big problem for a question ...).

The bug is as follow:

  • the question mark doesn't appear in the name of the new page you're creating ;
  • none of the text written after the question mark appears.

For example, when clicking on the red link question What if collective things become included within art practices? (fans), the following page appears : Create page What if collective things become included within art practices
So no question mark and the (fans) disappeared.
Also, in the "document" section of the page What if collective things become included within art practices, an error appeared, saying the query used to show all the documents where this question is referenced is not called in the right way. The strange thing is it's working for other questions, so it's not the query.

FIXED!!

We modified Template:List of questions so it shows the right link, see arguments of #formredlink https://workingwithmediawiki.com/book/chapter17.html#magicparlabel-5527

* [[{{{1|}}}|{{#formredlink:target={{urlencode: {{{1|}}}|WIKI}}|form=Questions|link text={{{1|}}}}}]]

Logo (FIXED!)

see Manual:$wgLogos

Renaming users (FIXED!)

Issue was:

We should be able to rename users. For this we need to install the extension Renameuser. We then need to change Eva Gonzales-Sancho to Eva Gonzalez-Sancho (with a z).

Note: since we upgraded the wiki to version 1.43, the rename user extension is actually included so we had to delete the extension in LocalSettings.php.

Maximum number of pages displayed on a category page (FIXED!!)

Pages in MediaWiki can be organized into categories. A category page displays links to the pages assigned to that category. By default, a single category page displayes links to 200 articles, so if a category contains more than 200 articles, then they will be listed in the category 200 per page. There are next and previous buttons above and below the list with which users can browse through the articles associated with the category.

If you want to, you can change the maximum number of articles displayed per category page. To do that you have to add a line to the LocalSettings.php file of your MediaWiki. For example, if you put the following at the end of the file:

$wgCategoryPagingLimit = 100;

then each category page can list no more than 100 pages. Just replace the number with whatever number you wish, then save the change. This also affects the list of the subcategories, if the category has any. Note that this option doesn't affect the number of pages that you can put in a category. It simply controls the number of pages listed per category page.

See: https://www.mediawiki.org/wiki/Manual:$wgCategoryPagingLimit

FIXED! Specimen images

clarify that we only add specimen imgage and how that looks

FIXED!! Questions (again)

Description

For some questions, the list of documents referencing to the question doesn't show.
See:

But for others it works, for example:

Error showing

The error message says 'Error: operator for the virtual field 'Generic.things' must be 'HOLDS', 'HOLDS NOT', 'HOLDS LIKE' or 'HOLDS NOT LIKE'.'

Template

The same template is used for all of them.
Those five different queries were tried and work for some of the questions, but not for others:

query results for How can commons be included within art practices ?
{{#cargo_query:

tables=Generic
|fields=_pageName
|where=questions HOLDS '{{#replace:{{PAGENAME}}|'|\'}}'
|format=ul}}

{{#cargo_query:

tables=Generic,Questions
|join on=Generic.questions HOLDS Questions._pageName
|where=Generic.questions HOLDS '{{#replace:{{PAGENAME}}|'|\'}}'
|fields=Generic._pageName
|limit=5000
|format=ul}}

Error 1267: Illegal mix of collations (utf8mb4_unicode_ci,IMPLICIT) and (utf8mb4_general_ci,IMPLICIT) for operation '='

Function: CargoSQLQuery::run Query: SELECT `Generic`.`_pageID` AS `cargo_backlink_page_id_Generic`,`Questions`.`_pageID` AS `cargo_backlink_page_id_Questions`,`Generic`.`_pageName` AS `_pageName` FROM `mw_cargo__Generic` `Generic` LEFT OUTER JOIN `mw_cargo__Generic__questions` `Generic__questions` ON ((`Generic`.`_ID`=`Generic__questions`.`_rowID`)) RIGHT OUTER JOIN `mw_cargo__Questions` `Questions` ON ((`Generic__questions`.`_value`=`Questions`.`_pageName`)) WHERE `Generic`.`_ID` IN (SELECT `_rowID` FROM `mw_cargo__Generic__questions` WHERE `_value`= 'How can commons be included within art practices ?') ORDER BY `Generic`.`_pageID`,`Questions`.`_pageID`,`Generic`.`_pageName` LIMIT 100

{{#cargo_query:

tables=Generic,Questions
|join on=Generic.questions HOLDS Questions._pageName
|where=questions HOLDS '{{PAGENAME}}'
|fields=Generic._pageName
|format=ul}}

Error 1267: Illegal mix of collations (utf8mb4_unicode_ci,IMPLICIT) and (utf8mb4_general_ci,IMPLICIT) for operation '='

Function: CargoSQLQuery::run Query: SELECT `Generic`.`_pageID` AS `cargo_backlink_page_id_Generic`,`Questions`.`_pageID` AS `cargo_backlink_page_id_Questions`,`Generic`.`_pageName` AS `_pageName` FROM `mw_cargo__Generic` `Generic` LEFT OUTER JOIN `mw_cargo__Generic__questions` `Generic__questions` ON ((`Generic`.`_ID`=`Generic__questions`.`_rowID`)) RIGHT OUTER JOIN `mw_cargo__Questions` `Questions` ON ((`Generic__questions`.`_value`=`Questions`.`_pageName`)) WHERE `Generic`.`_ID` IN (SELECT `_rowID` FROM `mw_cargo__Generic__questions` WHERE `_value`= 'How can commons be included within art practices ?') ORDER BY `Generic`.`_pageID`,`Questions`.`_pageID`,`Generic`.`_pageName` LIMIT 100

{{#cargo_query:

tables=Generic,Questions
|join on=Generic.questions HOLDS Questions._pageName
|where=Generic.questions HOLDS '{{#titleparts:{{#replace:{{PAGENAME}}|'|\'}}}}'
|fields=Generic._pageName
|limit=5000
|format=ul}}

Error 1267: Illegal mix of collations (utf8mb4_unicode_ci,IMPLICIT) and (utf8mb4_general_ci,IMPLICIT) for operation '='

Function: CargoSQLQuery::run Query: SELECT `Generic`.`_pageID` AS `cargo_backlink_page_id_Generic`,`Questions`.`_pageID` AS `cargo_backlink_page_id_Questions`,`Generic`.`_pageName` AS `_pageName` FROM `mw_cargo__Generic` `Generic` LEFT OUTER JOIN `mw_cargo__Generic__questions` `Generic__questions` ON ((`Generic`.`_ID`=`Generic__questions`.`_rowID`)) RIGHT OUTER JOIN `mw_cargo__Questions` `Questions` ON ((`Generic__questions`.`_value`=`Questions`.`_pageName`)) WHERE `Generic`.`_ID` IN (SELECT `_rowID` FROM `mw_cargo__Generic__questions` WHERE `_value`= 'How can commons be included within art practices ?') ORDER BY `Generic`.`_pageID`,`Questions`.`_pageID`,`Generic`.`_pageName` LIMIT 100

{{#cargo_query:

tables=Generic=G, Generic__questions=GQ
|join on=G._ID=GQ._rowID
|fields=G._pageName
|where=GQ._value="{{PAGENAME}}"
|format=ul}}
see [cargo list type fields]

To complete documentation, this shows a list of the documents for which a question has been mentioned.

query results
{{#cargo_query:

tables=Generic,Questions
|join on=Generic.questions HOLDS Questions._pageName
|where=Generic.questions HOLDS Questions._pageName
|fields=Generic._pageName
|limit=5000
|format=ul}}

Error 1267: Illegal mix of collations (utf8mb4_unicode_ci,IMPLICIT) and (utf8mb4_general_ci,IMPLICIT) for operation '='

Function: CargoSQLQuery::run Query: SELECT `Generic`.`_pageID` AS `cargo_backlink_page_id_Generic`,`Questions`.`_pageID` AS `cargo_backlink_page_id_Questions`,`Generic`.`_pageName` AS `_pageName` FROM `mw_cargo__Generic` `Generic` LEFT OUTER JOIN `mw_cargo__Generic__questions` `Generic__questions` ON ((`Generic`.`_ID`=`Generic__questions`.`_rowID`)) RIGHT OUTER JOIN `mw_cargo__Questions` `Questions` ON ((`Generic__questions`.`_value`=`Questions`.`_pageName`)) WHERE `Generic`.`_ID` IN (SELECT `_rowID` FROM `mw_cargo__Generic__questions` WHERE `_value`= `Questions`.`_pageName`) ORDER BY `Generic`.`_pageID`,`Questions`.`_pageID`,`Generic`.`_pageName` LIMIT 100

Possible explanation

Every question that leads to a bug have the words "things", "included", "become" and "practices".
"things" is a field in the table:Generic.
If we take out "things" from the query, it works: No results

The words "become", "included" and "practices" are not bringing an error.
This is the query for only the word "things" : No results

Since table:Generic also has a field named "assemblies", we tried it, and it also breaks the query: No results

Michael sent a bug report through cargo talk page.
One way to work around this could be to add prefixes to all field names.

Solution

A fellow wikienthusiast gave us a patch, that Michael forked on the public extension, see [here].

Footer

We need to mention our supports such as VGC etc. Seems like the easiest way is to edit the footer, see Manual:Footer.