Noticing anything different today with the wiki? Its now completely rewritten from scratch! With the recent changes of systems to move away from Hugo into pure JS and Python (calling this iteration CEP-JS), it was best to just go ahead and turn the wiki into a full Single Page Application.
Benefits of SPA?
- The content is now structured much cleaner, and the raw files are whats being hosted- which means its much easier to handle on-site editing.
- Seconds to compile! Its now just building the search index and some linkers, alongside checking for new news articles / forum users.
- The site can update without needing a compile! Because the raw files are used for display, when a pull request is merged it will show up instantly (aside from your browser caching the old version)
- Now that thereâs no underlying systems, anyone can contribute a different âviewerâ of the same data. If you donât like how I present the articles, you can add your own viewer without duplicating content or extending any compiling!
- The same viewer concept means parameters can be added into URLs to change the site. I can now send you the same link to an article but append ?=cep-js or ?=theoryweb to tailor how its shown.
- Sections of the site can now optionally load, so the 1000+ photos on the PTT article arenât gonna try loading when youâre just reading the text.
- Multiple articles can be parsed and fetched on the same page, this allows stuff like the link previews to return from the mediawiki days (they have)
- No more shortcodes! instead of
{{< wiki-link â1-Stageâ >}}you just do[1-Stage]. Every shortcode has been converted on the site to this new format.
Downsides of SPA?
- Canât be indexed by search engines as easily. This is because site content is generated at load instead of just being fetched.
- Pages may not instantly load like when they were static, but even on the biggest articles its maybe 2 seconds (might be longer if youâre international due to more stuff needing to be fetched).
- Since everything is shuffled around old links to the site wonât work, its a newly generated set of links.
Whatâs new in the rewrite?
Lots of stuff!
Search
Search has been debloated and runs much better while keeping the same functionality. A new âDisplayâ option lets you pick between very large cards, a compact mode similar to how search worked before the update, and a âlistâ mode that just displays raw titles for fast lookup. You can also now sort by most recently updated and viewcount.
The suggestions also now hint at the years of an article so you donât have to guess picking the right page.
Images are also much improved, the whole site now properly loads the low-res version first- no matter what- and then starts to load the high res. This makes going through large galleries so much more tolerable.
Empty articles have now been improved too. Ones without thumbnails will now display a scrollable preview of the article text, while fully empty articles will display a random empty page visual.
Articles
First big change is pinned articles! Youâll get the intro pages by default, but any item can now be pinned to your homepage using a button in the top right of any page.- Articles also now have a view count displayed! This is the only thing my server runs that doesnât locally keep track, but the viewcount file will also updated on the repository.
- Any of the auto-generated tables for locations and special articles have also been moved to the âInventoryâ tab, keeping the article text the main focus.
If youâve been around since the Mediawiki days you might remember article previews on hover! The site now fully supports this.
Citations are also improved with a better layout for seeing what site youâre gonna be going to. Icons are cached on compile to prevent polling for embeds.
Market sales have been improved with a recent average price indicator alongside some additional info.
Users
Users have gotten some upgrades. First is a new quotes feature where you can fill out a list of phrases to randomly display when users hover your name.
User profiles have now been improved with a selectable banner and a proper way to show how many more contributions you need before you move onto the next rank.
Editor
- The editor now appears as the bottom right icon instead of settings. Editing has been cleaned up a bit more, so instead of tabs of parameters to sift through, you just add what parameters you need to the current list.
- Tags will now be suggested to you when typing in certain parameters, and thumbnails will display in the infobox so you can be sure its formatted right.
- Instead of each change being its own separate upload, the editor now keeps track of all your changes and will put them in one giant batch when you hit Save Changes. You can browse and delete your changes beforehand.
- Usernames and tokens have been moved to be next to the Save Changes button instead of in your settings. Once you implement your name you can edit your user page right from that menu.
Other
At the bottom of any page is where settings, stats, about, etc are located. With the new settings you can actually create a custom theme to use!
The âNerd Stuffâ page also details every single download and citation on the whole site, which is really convenient for putting through some web scrapers to ensure none of these pages are ever lost as websites die over time!- A lot of formatting of pages has been shuffled around and reduced for much easier parsing for those delving into the site. Parameters and content are their own files, and image articles + the actual image file are now in the same section. A lot of random parameters will also merged into just âtagsâ. For non-tech users, the biggest change is probably âcuDateâ being finally removed and merged into the remodels table, which now fills out the Concept Unification page correctly.
- Random articles now generate on refresh
Whatâs Missing or Needs Work?
- Wiki stats arenât implemented, im gonna revamp them with different charts later on.
- The revamped showtape system (only present in 2 articles) isnât implemented yet.
- There may be some bugs with the editor, weâll resolve them as we go.
- Some of the custom elements of themes havenât been re-implemented yet.
- I forgot to do mobile CSS lol















