Check out Symmetric Chess, our featured variant for March, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Comments/Ratings for a Single Item

Earlier Reverse Order Later
Major update to ItemIDs for user content[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Sat, Mar 26, 2016 02:15 AM UTC:
<P>I have made a major update to the ItemIDs of member-submitted pages. I have replaced them with ones derived from an ASCIIfied version of each page's Summary field. This provides most of them with a <A HREF="https://en.wikipedia.org/wiki/Semantic_URL#Slug">slug</A> that matches the full name given for the page. ItemIDs have been changed in every table that uses them, so that comments and other details are not lost. I also generated a table matching each new ItemID with the old one, just in case I need it. I already used it to update the Comment table when I realized it wasn't called Comments, and I will later use it to update links to rules pages in Game Courier presets. Another thing I plan to do is provide the code used to generate the new slug-ready type of ItemID to scripts for submitting content.</P>

(zzo38) A. Black wrote on Sat, Mar 26, 2016 06:24 PM UTC:
Then if accessed by the old msdisplay.php (the new links seem not to use
it) it should use that table to select the new ID from the old one so that
old URLs will continue to work for compatibility purposes. (Due to this,
the link for "Query Database" under the search menu currently does not
work; I suggest both updating msdisplay.php and updating the menu.)

🕸Fergus Duniho wrote on Sat, Mar 26, 2016 07:05 PM UTC:
That's on my To-Do list, but I didn't realize it affected that link.

🕸Fergus Duniho wrote on Sat, Mar 26, 2016 07:17 PM UTC:
I fixed the link in the menu, but it looks like msdisplay.php could also
use conversion to PDO. So I'll convert it to PDO and fix it at the same
time.

🕸Fergus Duniho wrote on Wed, Mar 30, 2016 04:23 PM UTC:
The msdisplay.php script will now use the old ItemID if given to it, and it
will redirect to the page's semantic canonical URL.

5 comments displayed

Earlier Reverse Order Later

Permalink to the exact comments currently displayed.