Check out Atomic Chess, our featured variant for November, 2024.

Enter Your Reply

The Comment You're Replying To
🕸Fergus Duniho wrote on Sat, Sep 30, 2023 09:20 PM UTC in reply to Chris Urquhart from Thu Sep 28 08:27 PM:

A variant I named but submitted no information for is claiming that the game name is submitted.

When you named the game, you submitted its name.

It doesn't stand to reason that I can't delete it because it is unnecessarily saying that the name is someone else's submission.

When I tried to create a page for a game called Eternal Chess, I got this message:

Error: You may not edit Eternal Chess, because this is a preexisting submission that you are not the author of.

Is that the message you got?

Using a different account, I created a page for a different game, and when I went back to create the same page again, I did not get this message. Instead, I got a form for filling out information about the game. However, there was no button here for deleting the page.

I then selected the "Your Unpublished Submissions" menu item in the menu with my name, and I got a page with the link to the game.

This brought me to the page, which lacked any description of the game, because I hadn't added any. On this page was a link to Delete this submission. Also, the Edit menu had a menu item called Delete submission. These each link to the same script with the same value for itemid in the query string. Following the menu item, it gave me this information:

## Delete Submission
There was no member submission to delete.

IsDeleted :: 1 ::: 0

UPDATE `Item` SET `IsDeleted` = :isdeleted WHERE `ItemID` = :keyvalue
Array
(
    [:isdeleted] => 1
    [:keyvalue] => MSbugglechess
)
The item MSbugglechess has now been marked as deleted.

Although it had been marked as deleted, the entry in the Item table had not been deleted.

When I tried to recreate the page again, it recognized that it was still in the database and gave me the form for editing it again.

When I followed the "Your Unpublished Submissions" menu item, I did not see the game listed this time.

Using my main account, I tried to create a game under the name I had used, and it would not let me, giving me the same error message I had reported earlier.

There are a few ways to fix the problem:

  1. Delete the Item entry instead of marking it as deleted.

  2. Conditionally delete the Item entry, perhaps if the author deletes it, or there are no comments.

  3. Allow ItemIDs that are marked as deleted to be reused by new authors.

I will allow people to weigh in on this before I change the code to do one of these.


Edit Form

Comment on the page Who is Behind the Chess Variant Pages?

Conduct Guidelines
This is a Chess variants website, not a general forum.
Please limit your comments to Chess variants or the operation of this site.
Keep this website a safe space for Chess variant hobbyists of all stripes.
Because we want people to feel comfortable here no matter what their political or religious beliefs might be, we ask you to avoid discussing politics, religion, or other controversial subjects here. No matter how passionately you feel about any of these subjects, just take it someplace else.
Avoid Inflammatory Comments
If you are feeling anger, keep it to yourself until you calm down. Avoid insulting, blaming, or attacking someone you are angry with. Focus criticisms on ideas rather than people, and understand that criticisms of your ideas are not personal attacks and do not justify an inflammatory response.
Quick Markdown Guide

By default, new comments may be entered as Markdown, simple markup syntax designed to be readable and not look like markup. Comments stored as Markdown will be converted to HTML by Parsedown before displaying them. This follows the Github Flavored Markdown Spec with support for Markdown Extra. For a good overview of Markdown in general, check out the Markdown Guide. Here is a quick comparison of some commonly used Markdown with the rendered result:

Top level header: <H1>

Block quote

Second paragraph in block quote

First Paragraph of response. Italics, bold, and bold italics.

Second Paragraph after blank line. Here is some HTML code mixed in with the Markdown, and here is the same <U>HTML code</U> enclosed by backticks.

Secondary Header: <H2>

  • Unordered list item
  • Second unordered list item
  • New unordered list
    • Nested list item

Third Level header <H3>

  1. An ordered list item.
  2. A second ordered list item with the same number.
  3. A third ordered list item.
Here is some preformatted text.
  This line begins with some indentation.
    This begins with even more indentation.
And this line has no indentation.

Alt text for a graphic image

A definition list
A list of terms, each with one or more definitions following it.
An HTML construct using the tags <DL>, <DT> and <DD>.
A term
Its definition after a colon.
A second definition.
A third definition.
Another term following a blank line
The definition of that term.