Difference between revisions of "Talk:Adventist Youth Honors Answer Book/es"
(Quilting variants showing up on main list) |
|||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Adventist_Youth_Honors_Answer_Book/Household_Arts/Quilting/es|Quilting in Spanish]] is showing up with its two variants in the list and I am not sure how to make them not show. I don't remember if it has to do something with primary and secondary categories. How can I get only the one to show up in the list on the main page? --[[User:W126jep|w126jep]] ([[User talk:W126jep|talk]]) 08:15, 20 October 2015 (EDT) | [[Adventist_Youth_Honors_Answer_Book/Household_Arts/Quilting/es|Quilting in Spanish]] is showing up with its two variants in the list and I am not sure how to make them not show. I don't remember if it has to do something with primary and secondary categories. How can I get only the one to show up in the list on the main page? --[[User:W126jep|w126jep]] ([[User talk:W126jep|talk]]) 08:15, 20 October 2015 (EDT) | ||
+ | :Yes, the Honor_desc/es template isn't handling the primary element correctly. If it's defined, it points to the page that serves as the "primary" anchor for that honor. | ||
+ | |||
+ | :The logic for adding the page to either a primary or secondary category (which is what allows or disallow its display by the index) is a bit convoluted because the wiki if syntax is not terribly flexible. I'll give it a go in English (rather than in wiki): | ||
+ | |||
+ | <pre> | ||
+ | IF the page specifies a primary argument THEN | ||
+ | add the page to category:AYHAB/Primary | ||
+ | ELSE | ||
+ | IF the page ends with "/en" | ||
+ | add the page to category:AYHAB/Secondary | ||
+ | ELSE | ||
+ | add the page to category:AYHAB/Primary | ||
+ | add the page to category:AYHAB/Primary/<nowiki>{{{</nowiki>primary<nowiki>}}}</nowiki> | ||
+ | ENDIF | ||
+ | ENDIF | ||
+ | </pre> | ||
+ | :The Spanish version of the template lacks all of that. I'd add it, but it's late, I'm tired, and it is a fairly complex operation that will break a lot of stuff if I blow it. The easy work-around until then is to manually add the quilting pages to category:AYHAB/Secondary. --[[User:Jomegat|Jomegat]] ([[User talk:Jomegat|talk]]) 00:10, 21 October 2015 (EDT) | ||
+ | ::So I tried to give it a go, but I could not figure out really how to make the function specify when to put into primary and secondary categories. What happens is that the honor_desc/es template puts all of the honors into the Secondary category and there is nothing in Primary category. I am not sure how to fix that. --[[User:W126jep|w126jep]] ([[User talk:W126jep|talk]]) 01:07, 22 October 2015 (EDT) | ||
+ | :::See... it's complicated! I'll need to think about it, but my second idea is that we should add a Primary/es category and make all the Spanish indices use that. Maybe? --[[User:Jomegat|Jomegat]] ([[User talk:Jomegat|talk]]) 11:47, 22 October 2015 (EDT) | ||
+ | |||
+ | <br /><br />Somehow, I was able to resolve this issue. I don't remember exactly what I did, but I think it had to do something with making Spanish categories and then fixing the template to make sure they were categorized correctly. Don't remember, either way, it now works fine!<br /><br />Also, I've been deleting a lot of the "/en" pages in hopes that it will help somewhat resolve the slowness of the Wiki; especially in places like the unused categories. If you think about it, if every Spanish translation continues to inadvertently make /en pages, then you have almost an entire Wiki site just with /en pages! Having that many useless pages might bog down the system, right? Or am I just clueless in this issue? --[[User:W126jep|w126jep]] ([[User talk:W126jep|talk]]) 20:30, 7 March 2016 (EST) | ||
+ | |||
+ | :That probably doesn't affect it too much. Databases are very good at sifting through even very large data sets. --[[User:Jomegat|Jomegat]] ([[User talk:Jomegat|talk]]) 21:07, 8 March 2016 (EST) | ||
+ | |||
+ | == Missing honors from "U" and on == | ||
+ | |||
+ | I just noticed the sortable list in Spanish is not listing the honors that start with U and on. I was trying to figure out what was different and couldn't seem to find anything. They all show up in the lists for the different categories (like [[Adventist_Youth_Honors_Answer_Book/Recreation/es|Recreation]] and [[Adventist_Youth_Honors_Answer_Book/Vocational/es|Vocational]]) but not on the master list on the front page. Honors such as [[Adventist_Youth_Honors_Answer_Book/Recreation/Ultimate_Disc/es|Ultimate Disc]], [[Adventist_Youth_Honors_Answer_Book/Vocational/Video/es|Video]], and [[Adventist_Youth_Honors_Answer_Book/Health_and_Science/Viruses/es|Viruses]] are not showing up. | ||
+ | |||
+ | Maybe I changed something in the [[Template:Honor_desc/es|honor descriptor]] without noticing? Can't seem to find the issue! Help! --[[User:W126jep|w126jep]] ([[User talk:W126jep|talk]]) 18:00, 13 February 2017 (UTC) | ||
+ | |||
+ | :My thought was that it could be a problem with the [[Template:Honor_index|Honor_index]] template, but I don't see anything wrong there (nor can I find anything in the honor_desc template). --[[User:Jomegat|Jomegat]] ([[User talk:Jomegat|talk]]) 02:06, 14 February 2017 (UTC) | ||
+ | |||
+ | ::I am at a loss as well. I will have to go back and see what changes I made, as I was trying to edit quite a few pages, including the [[Template:See_Also/es|See Also]] template, [[Template:Honor_desc/es|Honor Descriptor]] template, [[Adventist_Youth_Honors_Answer_Book/Zoo_Visit/es|Zoo Visit]] page and some Categories. I will have to take time to go back and see if anything I did broke it. --[[User:W126jep|w126jep]] ([[User talk:W126jep|talk]]) 13:40, 16 February 2017 (UTC) | ||
+ | |||
+ | == Sorting Accented Letters == | ||
+ | |||
+ | It would be nice to have the accented letters ordered alphabetically instead of being way down at the bottom of the list. This is what I found on [https://www.mediawiki.org/wiki/Help:Categories#Sort_key this page]: | ||
+ | |||
+ | :"By default, a page is sorted within a category under the first letter of its name — without the namespace. Also, MediaWiki groups accented characters separately from their unaccented version, so pages starting by À, Á, Ä, will be listed under separate headings, instead of under heading A. (If you have shell access, these defaults can be changed using $wgCategoryCollation.)" | ||
+ | |||
+ | DO WE HAVE SHELL ACCESS YET? --[[User:W126jep|w126jep]] ([[User talk:W126jep|talk]]) 23:25, 11 December 2017 (UTC) | ||
+ | :No. However, I don't see anything on the referenced page that requires shell access. I'll look into it. --[[User:Jomegat|Jomegat]] ([[User talk:Jomegat|talk]]) 01:57, 12 December 2017 (UTC) | ||
+ | |||
+ | ::It said in parenthesis that the default could be changed using ''$wgCategoryCollation'', but that is only with shell access. --[[User:W126jep|w126jep]] ([[User talk:W126jep|talk]]) 20:08, 12 December 2017 (UTC) |
Latest revision as of 20:08, 12 December 2017
Quilting in Spanish is showing up with its two variants in the list and I am not sure how to make them not show. I don't remember if it has to do something with primary and secondary categories. How can I get only the one to show up in the list on the main page? --w126jep (talk) 08:15, 20 October 2015 (EDT)
- Yes, the Honor_desc/es template isn't handling the primary element correctly. If it's defined, it points to the page that serves as the "primary" anchor for that honor.
- The logic for adding the page to either a primary or secondary category (which is what allows or disallow its display by the index) is a bit convoluted because the wiki if syntax is not terribly flexible. I'll give it a go in English (rather than in wiki):
IF the page specifies a primary argument THEN add the page to category:AYHAB/Primary ELSE IF the page ends with "/en" add the page to category:AYHAB/Secondary ELSE add the page to category:AYHAB/Primary add the page to category:AYHAB/Primary/{{{primary}}} ENDIF ENDIF
- The Spanish version of the template lacks all of that. I'd add it, but it's late, I'm tired, and it is a fairly complex operation that will break a lot of stuff if I blow it. The easy work-around until then is to manually add the quilting pages to category:AYHAB/Secondary. --Jomegat (talk) 00:10, 21 October 2015 (EDT)
- So I tried to give it a go, but I could not figure out really how to make the function specify when to put into primary and secondary categories. What happens is that the honor_desc/es template puts all of the honors into the Secondary category and there is nothing in Primary category. I am not sure how to fix that. --w126jep (talk) 01:07, 22 October 2015 (EDT)
Somehow, I was able to resolve this issue. I don't remember exactly what I did, but I think it had to do something with making Spanish categories and then fixing the template to make sure they were categorized correctly. Don't remember, either way, it now works fine!
Also, I've been deleting a lot of the "/en" pages in hopes that it will help somewhat resolve the slowness of the Wiki; especially in places like the unused categories. If you think about it, if every Spanish translation continues to inadvertently make /en pages, then you have almost an entire Wiki site just with /en pages! Having that many useless pages might bog down the system, right? Or am I just clueless in this issue? --w126jep (talk) 20:30, 7 March 2016 (EST)
- That probably doesn't affect it too much. Databases are very good at sifting through even very large data sets. --Jomegat (talk) 21:07, 8 March 2016 (EST)
Missing honors from "U" and on
I just noticed the sortable list in Spanish is not listing the honors that start with U and on. I was trying to figure out what was different and couldn't seem to find anything. They all show up in the lists for the different categories (like Recreation and Vocational) but not on the master list on the front page. Honors such as Ultimate Disc, Video, and Viruses are not showing up.
Maybe I changed something in the honor descriptor without noticing? Can't seem to find the issue! Help! --w126jep (talk) 18:00, 13 February 2017 (UTC)
- My thought was that it could be a problem with the Honor_index template, but I don't see anything wrong there (nor can I find anything in the honor_desc template). --Jomegat (talk) 02:06, 14 February 2017 (UTC)
- I am at a loss as well. I will have to go back and see what changes I made, as I was trying to edit quite a few pages, including the See Also template, Honor Descriptor template, Zoo Visit page and some Categories. I will have to take time to go back and see if anything I did broke it. --w126jep (talk) 13:40, 16 February 2017 (UTC)
Sorting Accented Letters
It would be nice to have the accented letters ordered alphabetically instead of being way down at the bottom of the list. This is what I found on this page:
- "By default, a page is sorted within a category under the first letter of its name — without the namespace. Also, MediaWiki groups accented characters separately from their unaccented version, so pages starting by À, Á, Ä, will be listed under separate headings, instead of under heading A. (If you have shell access, these defaults can be changed using $wgCategoryCollation.)"
DO WE HAVE SHELL ACCESS YET? --w126jep (talk) 23:25, 11 December 2017 (UTC)