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
 
(39 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.
=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>


=Questions (again ... see 'fixed' below)=
=Bugs in queries=
==Description==
==+==
As seen with [[Thing 001085 - IQ200+]] on the [[Assembly - Curiosity]] page, when a query encounters a "+" sign, it breaks.<br>
Same with a + in a people's name, it doesnt show when creating a new people using the form.
 
=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>
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].<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=
Having double redirects is not recommended, see [https://support.wiki.gg/wiki/Redirects documentation on redirects], and the [[:Special:DoubleRedirects|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==
* Nohe
** [[Thing 000887 - Nohe]]
** [[Thing 001384 - Nohe]]
* Rock art t-shirts
** [[Thing 001386 - Rock art t-shirts]]
** [[Thing 001486 - Rock art t-shirts]]
* Animal Mannequins / SOT-1, SRC-1, SRC-4A and SWTF-3
** [[Thing 000864 - SOT-1, SRC-1, SRC-4A and SWTF-3]]
** [[Thing 000865 - Animal Mannequins]]
* Sawing a women in half/in two
** [[Thing 000809 - Sawing a Lady in Half, How is it Done?]]
 
=Other interesting categories to look at=
* [[:Category:Incomplete Text]]
* [[:Category:Things without names]]
* [[:Category:Things without numbers]]
 
=Not bugs but needs some change=
 
==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==
We need to make a custom skin for the wiki.<br>
See:
* [https://www.mediawiki.org/wiki/Manual:How_to_make_a_MediaWiki_skin How to make a MediaWiki skin]
* [https://www.mediawiki.org/wiki/Manual:CSS/en Manual:CSS]
See also:
* [[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==
“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 [[: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!=
 
=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 🦂<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!!)==
 
Issue was: "There is no possibility of making a research through dates."
 
Solution: the category [[:category:Year]] was created.
 
==Questions (FIXED!!)==
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 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''<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.
</blockquote>
 
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>
 
== Logo (FIXED!)==
 
https://www.mediawiki.org/wiki/Manual:$wgLogos
 
==Renaming users (FIXED!)==
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.
 
==Maximum number of pages displayed on a category page (FIXED!!)==
* list of pages of a category have a max of 200 per page
* it should not be limited as it is a bit annoying and makes the last things not visible
* saw this on https://www.hostknox.com/knowledgebase/657/How-to-change-the-maximum-number-of-pages-displayed-on-a-category-page-in-MediaWiki.html :
<blockquote>
''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.''
</blockquote>
 
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 ... see below)==
===Description===
For some questions, the list of documents referencing to the question doesn't show.<br>
For some questions, the list of documents referencing to the question doesn't show.<br>
See:
See:
Line 21: Line 199:
* ...
* ...


==Error showing==
===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>
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''.<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==
===Template===
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.<br>
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:
Those five different queries were tried and work for some of the questions, but not for others:


Line 128: Line 306:
|}
|}


==Possible explanation==
===Possible explanation===
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.<br>
Every question that leads to a bug have the words "things", "included", "become" and "practices".<br>
It seems that the pages that don't work are the ones we originally created, and deleted multiple times.<br>
"things" is a field in the table:Generic.<br>
I think we had something similar happening in the beginning when creating the first categories, and we had to delete the whole thing and change the spelling while keeping the code the same. It really seems like a big bug.
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}}


=Searching for a thing=
The words "become", "included" and "practices" are not bringing an error.<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>
This is the query for only the word "things" :
The six digits have to be entered to find the page.<br>
{{#cargo_query:
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].
tables=Generic
|fields=_pageName
|where=questions HOLDS 'things'
|format=ul}}


=Double redirects=
Since table:Generic also has a field named "assemblies", we tried it, and it also breaks the query:
Having double redirects is not recommended, see [https://support.wiki.gg/wiki/Redirects documentation on redirects], and the [[:Special:DoubleRedirects|list of double redirects in this wiki]].
{{#cargo_query:
tables=Generic
|fields=_pageName
|where=questions HOLDS 'assemblies'
|format=ul}}


=Duplicates=
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>
==Library document==
One way to work around this could be to add prefixes to all field names.
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==
===Solution===
* Nohe
A fellow wikienthusiast gave us a patch, that Michael forked on the public extension, see [[https://github.com/automatist/mediawiki-extensions-Cargo here]].
** [[Thing 000887 - Nohe]]
** [[Thing 001384 - Nohe]]
* Rock art t-shirts
** [[Thing 001386 - Rock art t-shirts]]
** [[Thing 001486 - Rock art t-shirts]]
* Animal Mannequins / SOT-1, SRC-1, SRC-4A and SWTF-3
** [[Thing 000864 - SOT-1, SRC-1, SRC-4A and SWTF-3]]
** [[Thing 000865 - Animal Mannequins]]
* Sawing a women in half/in two
** [[Thing 000809 - Sawing a Lady in Half, How is it Done?]]
 
=Other interesting categories to look at=
* [[:Category:Incomplete Text]]
* [[:Category:Things without names]]
* [[:Category:Things without numbers]]
 
=Not bugs but needs some change=
 
==No hyperlink for dates==
 
There is no possibility of making a research through dates.
 
==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]
 
==Webdesign==
We need to make a custom skin for the wiki.<br>
See:
* [https://www.mediawiki.org/wiki/Manual:How_to_make_a_MediaWiki_skin How to make a MediaWiki skin]
* [https://www.mediawiki.org/wiki/Manual:CSS/en Manual:CSS]


==Footer==
==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].
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].
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.
==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 [[:Category:Library document]], and shelf is now [[:Category:Library shelf]]. The category for 'thing document' hasnt been created yet.
==Things==
===FIXED! Specimen images===
clarify that we only add specimen imgage and how that looks
===Languages===
* Create the possibility to add language in the things form. For exemple "Basque" for the Thing 002115
** 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.
===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?
** a [[Glossary]] page has been made
** we need to collectively decide how to describe each element
==Assembly pages==
add form taking along location, inviting organisation, date, participants...
==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!=
==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 ...).
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 <blockquote>''What if collective things become included within art practices? (fans)''</blockquote>
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.
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 <blockquote><nowiki>* [[{{{1|}}}|{{#formredlink:target={{urlencode: {{{1|}}}|WIKI}}|form=Questions|link text={{{1|}}}}}]]</nowiki></blockquote>
== Logo (FIXED!)==
https://www.mediawiki.org/wiki/Manual:$wgLogos
==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].
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!!)==
* list of pages of a category have a max of 200 per page
* it should not be limited as it is a bit annoying and makes the last things not visible
* saw this on https://www.hostknox.com/knowledgebase/657/How-to-change-the-maximum-number-of-pages-displayed-on-a-category-page-in-MediaWiki.html :
<blockquote>
''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.''
</blockquote>
See: https://www.mediawiki.org/wiki/Manual:$wgCategoryPagingLimit

Latest revision as of 12:52, 9 June 2026

Here is a page to exchange about bugs.

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

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.

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 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!

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!)

https://www.mediawiki.org/wiki/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 ... see below)

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}}

{{#cargo_query:

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

{{#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}}

{{#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}}

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.