WikiProject Glossaries | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
WikiProject Chess | (Rated List-class, Top-importance) | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Archives |
|
---|---|
|
|
Contents
Cook
I changed the definition of "Cook", since: According to the British Chess Problems Society site http://www.bcps.knightsfield.co.uk/introduction.html, A cook is an unintended solution; also, it is is not a "second" solution, because certain types of problems have many times more than one intended solution.
Priyome
Priyome: a Russian term for simple strategic devices that depend on pawn structure. (Soltis, Andrew. 100 Chess Master Trade Secrets: From Sacrifices to Endgames. Batsford. 2014)DocFido (talk) 19:21, 9 January 2014 (UTC)
- Bird Bind: a priyome that involves trading a bishop for a knight, so a knight can occupy the center.
Battery
I think the definition of “battery” needs to be edited. I think the part about a “discovered check” is off. I believe this is a good definition: “two or more attacking pieces in a straight line, directly threatening a particular target.” At any rate, as it stands the illustration doesn’t match the definition. Barklestork (talk) 17:46, 25 September 2014 (UTC)
Letter case for entries and the anchors
This is a thread that started on User talk:Marc Kupper#Glossary of chess about an edit I had made. I decided to shift the thread to this talk page to give editors a heads up on some issues/ideas for this article. --Marc Kupper|talk 23:11, 19 January 2016 (UTC)
Curious to understand: what was gained by hardcoding deault parm values at Glossary of chess? IHTS (talk) 08:57, 19 January 2016 (UTC)
- Ihardlythinkso, I landed on the Glossary of chess article via an #anchor link. While the word was in the glossary it did not have an {{anchor}} meaning I was left at the top of the article and not on the definition I wanted to look at. Of the 528 terms defined in the glossary 284 of them had anchors. Rather than adding the anchor for just the word I was interested in I reformatted all of the lines for the terms to match the regexp
^\{\{term\|term= ([a-z][a-z0-9éïó '()–-]*)\|content = [a-z0-9éïó '()[\]–-]+.* \{\{anchor\|\1(\|[a-z0-9éïó '()–./|-]+)?\}\} \}\}$
which was the pattern used by the 284 records with anchors. That regexp now matches 526 of the terms. The other two terms used wikilinks in the term but otherwise follow the same pattern.
- The reason for using content= that's the same as term= even though it seems redundant is because you can only do the {{anchor}} within the content= section. I considered doing it using:
{{term|term=name|content=content only if it's not exactly the same as ''term''}}{{anchor|''term''|alternate-terms...}}
but that would result in two styles of term definitions. As people often copy/paste from an existing record to create a new one it seemed better to use a single consistent format. --Marc Kupper|talk 09:24, 19 January 2016 (UTC)
-
- Yes I discovered the same (i.e. that anchor requires content=). But I guess I was thinking that many term entries don't really need anchors. (I suppose tho that cap'd/uncap'd can always be anchors, in fact I see you did that for some entries; but an anchor that is exactly redundant of the term form is the default and provides no function so is confusing why it's there, prompting my Q here.) Ok, IHTS (talk) 12:21, 19 January 2016 (UTC)
-
-
- I see what you mean. I've learned some things.
- {{term}} automatically creates anchors. (I'd assumed it would but when an anchor did not work I then assumed it didn't...)
- Anchors are case sensitive in least in Firefox and Chrome though not in Internet Explorer. (I normally use Firefox). Related to this is that the entire anchor string is used "as-is" when looking for a match. With wikilinks to article titles the first letter of the title is silently converted to upper case in the link. Both chess and Chess link to "Chess" and chess#variants links to Chess#variants. Both of the #variants links in the previous sentence will fail as the section name is "Variants" and we are required to use chess#Variants or Chess#Variants.
- As article titles always start with an upper-case letter people creating redirects seem to also tend to use an upper case-letter in the first letter of the anchor when there is one. For example en prise is a redirect that links to Glossary of chess#En prise even though the glossary contains an all lower-case "en prise". That redirect fails unless we either fix the redirect to use Glossary of chess#en prise or we have an anchor for "En prise".
- Last but not least is there is a fair amount of inconsistency in the capitalization of terms in the glossary.
- I see what you mean. I've learned some things.
-
-
-
- Moving forwards I'm thinking of:
- Review and clean up the letter case in the glossary. The main areas that have issues are the sections for the letters starting at O. I think someone earlier must have cleaned up A-N as the only entries in A-N that seem incorrect are the ones for Black and Novelty.
- Review and fix the redirects so that the case in the anchor matches the case in the glossary. There are 83 redirects at present.
- Eliminate unused anchors. A while back I did some code that allowed me to download the wikitext of articles. At present 858 articles link to the glossary plus the 83 redirects. It should be fairly easy to generate a list of the anchors that are being used. For example, at present we have:
-
{{term|term= en prise|content = en prise {{anchor|En prise}} }}
- Once we fix the en prise redirect to link to #en prise then we we can use
{{term|term= en prise }}
- in this article. Other articles that use #En prise can be fixed to use the redirect.
- Moving forwards I'm thinking of:
-
-
-
- I thought of making step 1 above a revert of my edit but one thing I did that will later be useful is the "term" lines now all of the same layout meaning it'll be much easier to search/replace them into a more compact layout once the letter case issue is sorted out. --Marc Kupper|talk 23:11, 19 January 2016 (UTC)
-
-
-
-
- I went out on a bike ride and while doing that realized that it may be better to use an initial upper-case letter for each term. It looks like the list initially used upper-case and in March 2006 you started a project to review and convert the entries to lower case. That broke the redirects. I don't have a strong feeling one way or another other than it's really easy to go back to using an initial upper case letter. Search/Replace
(\{\{term\| )([a-z])
with\1\U\2
. --Marc Kupper|talk 03:27, 20 January 2016 (UTC)
- I went out on a bike ride and while doing that realized that it may be better to use an initial upper-case letter for each term. It looks like the list initially used upper-case and in March 2006 you started a project to review and convert the entries to lower case. That broke the redirects. I don't have a strong feeling one way or another other than it's really easy to go back to using an initial upper case letter. Search/Replace
-
-
-
-
-
- I reviewed 694 articles plus the 83 redirects and found 658 links to anchors.
- 647 of them link to anchors using an upper-case first letter
- 11 of them link to anchors using a lower-case first letter (absolute pin, capture, en prise, equalise, forced mate, kingside (2), majority (2), queenside (2))
- I was not able to review all 858 articles that link to this one as my script was not set up to handle "/" in article names. It appears though that we should consider going back to an upper-case first letter or making sure we have anchors set up for them. --Marc Kupper|talk 05:13, 20 January 2016 (UTC)
- I reviewed 694 articles plus the 83 redirects and found 658 links to anchors.
-
-
Ihardlythinkso, I believe I'm done with the general cleanup. The main open issue is if we continue with lower-casing terms from O to Z and adding upper-case anchors to each of those or to use upper-case for all terms which allows us to remove many of the anchors. --Marc Kupper|talk 21:03, 20 January 2016 (UTC)
- I really don't understand what you're doing. For example what was the necessity of this edit when (under Firefox) was working fine before your edit?: [1] IHTS (talk) 00:40, 21 January 2016 (UTC)
- I also don't understand why you are considering changing term entries that are and s/b lower-case, to upper-case? (Please see how they do it at Glossary of cue sport terms.) IHTS (talk) 00:58, 21 January 2016 (UTC)
- The original edit was based on an accident or mistake. My subsequent edits have essentially reverted the first edit as you can see here. The main difference is all of the entries now have a consistent layout which made it easy to spot issues such as typos anchors, missing anchors, and unneeded anchors, using regexp pattern matching.
-
- I will need to retest the Firefox stuff. Earlier I was getting consistent results in that Firefox & Chrome were case sensitive and Internet Explorer was not. {{anchor}} talks about this in a non-specific way.
-
- In March 2015 you started to convert the entries to lower-case and seem to have abandoned the project. In the letters A to M nearly all of the entries are lower cased. From N on to Z all of the entries start with an upper-case letter other than threat. Of the glossaries listed in Glossaries of sports 12 use lower-case and 28 use upper-case for the first letter of the words/phrases listed. I excluded from the count the three chess glossaries, and Wing Chun terms which is ambiguous.
-
- While I like the idea of using lower-case I've found the process is time consuming as you need to think about each entry. As 99% of the links to a glossary use upper-case the maintainers of a lower-case glossary need to always add both content= plus anchors and to ensure that they are accurate. For example, "back-rank mate" was anchored by "Bank-rank mate" and "loose position" was anchored by "Lose position". We were also missing anchors for a handful of entries. These are all examples of the sort of errors that creep into a glossary that uses lower-case.
-
- I am advocating that we go back to using an upper-case first letter. It allows editors to focus improving the content rather than battling technical issues. --Marc Kupper|talk 08:19, 21 January 2016 (UTC)
-
-
- When I woke up this morning I had a couple of thoughts. 1) There are far more readers of an article than editors and the lower-case version is easier to read. 2) Using a regexp I can easily and accurately convert entries to lower-case (adding or updating content= plus adding or updating the {{anchor}}s). However, I'd like to know which entries need conversion. Here's a proposed list of 182 terms to convert to lower-case:
-
-
-
-
List of proposed terms norm
novelty
octopus
odds
offhand game
o-o
o-o-o
open file
open game
open tournament
opening
opening preparation
opening repertoire
opening system
opposite colored bishops
opposition
optimal play
outpost
outside passed pawn
overextended
overloaded
overprotection
oversight
over the board (OTB)
overworked
pairing
passed pawn
passer
passive
passive sacrifice
patzer
pawn
pawn and move
pawn centre
pawn chain
pawn island
pawn race
pawn storm
pawn structure
performance rating
perpetual check
piece
pin
plan
playable
play by hand
ply
poisoned pawn
poisoned pawn variation
positional play
positional player
positional sacrifice
post-mortem
prepared variation
priyome
promotion
prophylaxis
protected passed pawn
pseudo-sacrifice
push
quad
queen
queen bishop
queen pawn
queening
queenside
quickplay finish
quiet move
raking bishops
rank
rapid chess
refute
related squares
relative pin
reserve tempo
resign
romantic chess
rook
rook lift
rook pawn
round-robin tournament
royal fork
royal piece
royal powers
sac
sacrifice
sans voir
scholar's mate
score
score sheet
sealed move
second
second player
seesaw
semi-closed game
semi-open game
sham sacrifice
sharp
shot
simplification
simultaneous chess
skewer
skittles
smothered mate
solid
sound
space
speed chess
spite check
squeeze
stalemate
stem game
strategic crush
strategy
strength
stronger side
strongpoint
sudden death
swindle
symmetry
tablebase
tactician
tactics
takeback
technique
tempo
text move
theme tournament
theoretical novelty (TN)
threefold repetition
tiebreaks
time
time control
time delay
time pressure
top board
touchdown
touched piece rule
tournament
tournament book
tournament director (TD)
trade
transition
transposition
trap
trébuchet
triangulation
tripled pawns
two bishops
undermining
underpromotion
unorthodox opening
unpinning
unsound
vacating sacrifice
valve
variant
variation
vertical line
waiting move
weak square
white
wild
win
windmill
wing
wing gambit
winning material
winning percentage
winning position
won game
wood
woodpusher
world champion
wrong-colored bishop
wrong rook pawn
x-ray
zeitnot
zonal tournaments
zugzwang
zwischenschach
zwischenzug
-
-
-
-
- Is there anything in that list that should be left in upper-case? --Marc Kupper|talk 19:28, 21 January 2016 (UTC)
- This is done. While doing the edit I decided to not convert these to lower-case: O-O, O-O-O, Poisoned Pawn Variation, Romantic chess, White, Wing Gambit, World Champion. There was one word, tabiya, that was not in the list above that was converted to lower case. There's one inconsistency in that we have separate entries for black and Black but only one entry for White. I decided to leave that alone for now. --Marc Kupper|talk 18:53, 22 January 2016 (UTC)
- Is there anything in that list that should be left in upper-case? --Marc Kupper|talk 19:28, 21 January 2016 (UTC)
-
-
-
-
-
-
- Re While I like the idea of using lower-case I've found the process is time consuming as you need to think about each entry. That's right, some terms are lower-case (like "pawn") and some terms are proper noun upper-case (like "Alekhine's gun") - the terms have to be thought about individually and there is nothing wrong with that - even though it takes some work the terms s/ all be lower-case unless they require upper-case (as I think you subsequently discovered).
- Re "back-rank mate" was anchored by "Bank-rank mate" and "loose position" was anchored by "Lose position". We were also missing anchors for a handful of entries. These are all examples of the sort of errors that creep into a glossary that uses lower-case. They were simple typos and s/b fixed as such. That is not an argument against a mix of lower-case & upper-case entries. A mix of lower- and upper-case entries is informative how the term is properly represented. Anchors for wrong case simply allow for servicability to the term as opposed to "term not found"-type lookup error.
- Yes you are correct, I did half the alphabet re upper- vs lower-case. (But quit that project for reason unrelated to the Glossary itself.) IHTS (talk) 00:32, 23 January 2016 (UTC)
-
-
-
-
-
-
-
-
- Re your list. Yes "White/white" entries s/ mirror "Black/black" entries. "Zonal tournament" seemed to be generally cap'd in the article on Zonal. "Zeitnot" seems to be cap'd in the article too (funny, other German noun terms like "zwischenzug" aren't, in practice). IMO "Scholar's Mate" is a proper noun (ala "Alice Chess", "Grand Chess", "Andromeda Galaxy", etc.); my own second choice w/ be "Scholar's mate"; last choice "scholar's mate". (There is no standard or agreement for WP on the topic. E.g. IMO "rapid chess" is incorrect but might be the practice; Parlett [in Oxford History of Board Games] says "Losing Chess, which is a game, and losing chess, which is a disgrace".) OK, good luck. IHTS (talk) 01:48, 23 January 2016 (UTC)
-
-
-
-
-
-
-
- Oh, about #REDIRECTs, I see what you mean now (earlier I didn't). The Glossary s/ really be independent from redirects to the Glossary. (Because there is no controlling who or when or how someone might create a redirect.) Probably it is true that every term entry s/ have an anchor containing at least he opposite of the term case, to support either form someone might use in a redirect. (Otherwise a maintainer is doomed to continually scan existing redirects for making corrections.) I added many anchors, but not all, so perhaps that is why you ended up at top of Glossary instead of term. (When I started, there were virtually no anchors.) Personally I don't see the value in #REDIRECTs that merely redirect to the Glossary term, it's a little confusing (because looks like an article when cursur hovers over the wlink), and makes different perhaps inconsistent ways to access the Glossary, but users have created them, I'm pretty sure the reason is because the WP markup is easier & shorter to specify than 'Glossary of chess#_term_'. (When adding anchors I was thinking about case mis-specified Glossary markups in articles, not in redirects, but anchors support both situations, right, so redirects weren't relevant.) OK, IHTS (talk) 12:18, 23 January 2016 (UTC)
-
-
-
I figured I'd crunch through the remaining words that needed thought regarding the letter case. They seem to be:
- scholar's mate - After reviewing Google Books I used Scholar's Mate. 9 of 10 results on the first page used Mate. The following pages were more mixed. I included an anchor for "Scholar's mate" though not "scholar's mate".
- zonal tournament - While I normally think in terms of Zonals I'd lower-cased this in the glossary as the definition used lower case. As this is an FIDE thing I looked at their site. The specific zonals always use "Zonal" in their name and they occasionally the lower case form when writing about the zonals in general. Their Annex A. Specific Regulations for the Men's and Women's Zonal Tournaments and Zonal Presidents article are examples of inconsistency. As we had Interzonal I went ahead with changing zonal to Zonal and also modified both as we have not had interzonals since 1993. I decided not to do Google searches on this one as the results will be dominated by mentions of specific zonal tournaments.
- zeitnot - In reviewing Google Books results sorted by date it appears we started out with Zeitnot and that zeitnot started appearing in the 1980s. For the past past ten years or so zeitnot is more common than Zeitnot in English language commentary.
--Marc Kupper|talk 08:28, 2 February 2016 (UTC)
Wrong rook pawn
Fixed The diagram given for "wrong rook pawn" is a poor illustration. White to play can play Be5, keeping the black king out of the corner, and promote his pawn in a very few moves. 91.20.107.207 (talk) 13:43, 20 January 2016 (UTC)
- Good catch 91.20.107.207. Do you think it would be better to add "Black to move and can draw with Kb8." to the caption or to show something like this example where it does not matter whose move it is?
- --Marc Kupper|talk 20:40, 20 January 2016 (UTC)
-
- I went ahead with fixing the article by using the proposed diagram from above and also corrected the pawn location in the caption and ended the caption with "... and Black can force a draw." Black can't "force" a stalemate though that's one of the possible outcomes. --Marc Kupper|talk 19:47, 21 January 2016 (UTC)
underpromotion
I believe we need a better example for underpromotion. At present we have the example to the left. I don't see that White is required underpromote as Black can still move their a4 pawn meaning there's no stalemate. Am I missing something? If not, I'd propose using the example on the right.
--Marc Kupper|talk 08:53, 2 February 2016 (UTC)