Re: Proposed bulk change: <<FullSearch>>
I did the proposed work over the weekend. Notes not covered in
the previous message:
"category:" searches are broken by some very common use cases:
* the colon in "CategoryFoo: <reason>" excludes the page from the search
* would need to do s/:/ -/ on all (and only!) affected footer text
* the brackets in "[[CategoryXYZ]]" exclude the page from the search
* ... but the text isn't automatically linkified, so the brackets are needed
* could do something like "CategoryXYZ [[CategoryXYZ]]", but yuck
As such, any migration tool won't be able to use category searches as a
strong signal (e.g that a page is a portal page). The tool might even
need to convert some title searches to category searches.
[[Proposals]] is now in CategoryProposedDeletion. It's just a search for pages
matching `re:^Proposals/[^/]*$`, has only one edit (in 2010) and no
translations or categories.
(fr/)?InstallingDebianOn/MSI were the only other pages that used <<FullSearch>>
with regular expressions. Changed to <<Navigation>>.
Created categories "Fonts" and "Ruby", updated their portal pages to use them.
These are portals for categories that previously didn't exist, so creating them
will make the migration easier. I haven't updated the translation pages,
to avoid treading on toes. We can worry about them if they haven't been sync'ed
by migration time.
I'm writing this before updating the Recommendations page, so I can link here
from there. You should see a page update later today.
Unconverted pages:
* fr/Game and pt_BR/Game
* <<FullSearchCached(category:CategoryGame category:CategoryNotNative language:en)>>
was removed in English revision 139 (November 2020),
but remains in these translations
* would prefer not to make life harder for translators by forking the page
* DebianMultimedia/Formats
* <<FullSearchCached(CategorySound CategoryFileFormat)>>
* intersection of two unrelated categories
* https://en.wikipedia.org/wiki/Wikipedia:Category_intersection#Using_MediaWiki_search_to_find_category_intersections
^ we could convert this to a search URL
* https://www.mediawiki.org/wiki/Special:MyLanguage/API:Search
^ could we use the External Data extension to pull data from the search API,
then render it on the page?
* https://www.mediawiki.org/wiki/Category:Category_intersection_extensions
^ several extensions also cover this use case
* CipUX
* <<FullSearch(cipuxfirstlevelpage)>>
shows a navigation box on the right-hand side of the page
* last release was in 2011, links are starting to rot
* have added all pages to CategoryProposedDeletion - maybe upstream revives
next year when we have some navigation box functionality, maybe the pages
get auto-deleted by some future bot, either way not worth much time now
* Network, fa/Network, it/Network, pt_BR/Network, it/Network, uk/Network
* <<FullSearch(language:{en,it,uk} CategoryNetwork -category:CategoryNetworkApplication)
shows pages in CategoryNetwork that are not also in CategoryNetworkApplication
* this looks like a portal/category page that will need to be redesigned
in MediaWiki - leaving it alone for now
Reply to: