TULIPS/2025-05-01
Welcome to our 31st TULIPS (Thursday Updates & Logs Improving Platform Software)! You can read the previous one if you haven't yet.
These posts will be made whenever we have enough development updates to make a post, usually on Thursdays.
Live now
Improvements
- Galleries now display upload links if an image doesn't exist. Previously, this was a plain-text name of the supposed file.
- Gadgets: Added normalization to category names for the
|categories=
parameter. The following are all now equivalent:Pages with timers
pages with timers
Category:Pages with timers
Category:pages_with_timers
- Any combination of the above formatting options
- VisualEditor no longer suggests the most-recently-uploaded files from the Commons Wiki without regard for relevance.
- Mildly tuned the colors of matched-bracket content highlighting in the wikitext source editor. Additionally, this highlighting can now be turned off in the preferences behind the cog icon on the right-side of the editor's toolbar.
- The height of the wikitext source editor is now remembered across edits. This data is stored locally in your browser, and is not synchronized across wikis.
- The wikitext source editor's toolbar now has a button to insert a
<code>
tag. - ArrayFunctions has been updated from version 1.9.0 to version 1.14.2.
- "Copy" buttons are now enabled by default in non-inline
<syntaxhighlight>
blocks. To disable, set thecopy
attribute tono
or0
(for example:<syntaxhighlight copy="0">
)./*There's a copy button on the right side of this block!*/
/*But not this one! (View source of this page to see how it's done)*/
- Moved two-factor authentication settings higher at Special:Preferences, right below the password change button.
- For anonymous users, the cookie warning is now removed server-side after initial acknowledgment.
- Special:ListUsers now only displays local editors and members of global user groups (like staff or TITANs). Special:ListGlobalUsers has been added as a new special page to display all users.
- Autocompletions for the
<templatestyles>
tag are now provided in the wikitext source editor if syntax highlighting is enabled. - Editing a documentation page (
/doc
suffix or its localization if different) now purges the parent page. - Added placeholder boxes when advertisements have yet to load or failed to load; previously, there was just some empty space that would confuse people, and now there's some rectangles which should explain what's going on. This change should not affect logged-in users at all, nor alter the content size for logged-out users, and it's purely intended to reduce confusion.
URL punctuation fuzzy matching
We've added some "fuzzy" matching when visited URLs or actual wiki page names contain trailing punctuation characters, and the URL is off by one punctuation character from the actual page name. The purpose is to help people visit the right location even if someone accidentally adds or removes a punctuation mark when pasting a link somewhere (reddit is particularly notorious for messing up closed parentheses in links). This feature is best illustrated through examples:
- The page Gadgets (wiki.gg) exists. If you visit Gadgets (wiki.gg, you will be redirected to the correct location.
- The page Cargo exists. If you visit Cargo), you will be redirect to the correct location.
- The following punctuation characters are supported with this feature:
)
.
!
:
-
- The following punctuation characters have special meanings in URLs and should already not interfere with reaching the right page:
?
#
If you have a request of another supported punctuation mark to be supported, please let us know!
LIBRARIAN (Cargo)
- Cargo does not validate column types when a table is being declared, and defaults to
String
for anything unsupported. This lack of strictness can result in confusing behavior. To partially address this, the table view ofSpecial:CargoTables
now displays a warning whenever a column has an incorrect, unknown type.- This is not the first time we're addressing this issue; two months ago we also introduced the following alternative type names:
Int
(forInteger
),Bool
(forBoolean
), andDecimal
(forFloat
).
- This is not the first time we're addressing this issue; two months ago we also introduced the following alternative type names:
- In Cargo queries, it is now possible to specify the CSS classes of
ul
,ol
andtable
output formats using theclass
parameter. This replaces Cargo'sext-cargo-datatable
class.{{#cargo_query:tables=_pageData |fields=_pageName |format=table |class=wikitable bigtable }}
- If you want to add a class and still have
ext-cargo-datatable
be present, then specify a parameter like|class=darktable ext-cargo-datatable
, readding theext-cargo-datatable
class.
- If you want to add a class and still have
- As mentioned in the previous TULIPS, Special:CargoQuery has been re-enabled for anonymous users with limited user interface. This may be reverted if it causes an excessive amount of bad bot traffic.
- Parser profiler reports now display the number of
#cargo_store
calls in a given page. - Parser profiler reports now display the number of
#cargo_query
invocations in a given page, and the time spent processing those queries. #cargo_store
now supports <nowiki> and will no longer erroneously printUNIQ
markers. The text inside thenowiki
tag is wikitext-escaped and then stored. When queried, manual unescaping (or using theWikitext
type, or casting to it withCONCAT("", column)
) may be required.- Please let us know if you encounter any bugs with this new functionality.
#cargo_store
no longer erroneously stores strip markers, such as those emitted by special tags like<templatestyles>
or<ref>
.- Please let us know if you encounter any bugs with this new functionality.
Bugfixes
- Fixed an issue in the wikitext source editor which caused the 'find and replace' function to forget the replacement phrase if the menu was closed then re-opened.
- Fixed categories appearing twice in reload-less edit previews.
- Fixed VisualEditor's image insertion dialog not searching for images in shared file repositories (other wikis) - such as translation wikis using images from their respective English wikis.
- Fixed a visual bug in the wikitext source editor's toolbar section.
- Fixed an error in the UsingData extension if no valid template was specified. Please note, this extension is still not allowed on any new wikis that aren't already using it.
- In the wikitext source editor, a network error affecting the real-time preview pane would previously burn your retinas in dark mode. This has been now fixed.
- Fixed Extension:PageImages not recognizing images inside of PortableInfobox galleries.
- Fixed Extension:PageImages calculating incorrect viability scores for images inside PortableInfoboxes.
Changes we are testing
- Users with unsaved edits that were caught by Special:EditRecovery will see a warning in the netbar; this experiment has been rolled out to TITANs and will be released to all users at a later date.
Known issues
- Due to a DOM change in Google search results, the wiki.gg redirect extension may not be redirecting your search results (though URLs should still get redirected). We will patch this, but we also recommend installing Indie Wiki Buddy (not affiliated with us or with indie.io in any way) in the meantime; that extension will redirect independent wikis as well as most wiki.gg forks.
WE DID THIS
- The Rogue Legacy Wiki created a series of tabs mimicking the ingame interface to show the different types of equipment available for purchase from each type of NPC!
- The Vectorio Wiki remade their front page using the IMP format!