Page MenuHomePhabricator

In Special:PrefixIndex allow only part of prefix to be stripped
Open, Needs TriagePublic

Description

For example: assuming there is a large number of subpages of page "Dictionary". You can use Special:PrefixIndex/Dictionary/B to get a list of subpages beginnginf with B, but if you choose "strip prefix", you will see a list of titles with the beginning B removed, which is meaningless. There should be a way to strip the "Dictionary/" part but not "B" on display.


Original:

Hello, i am working on Wikisource, i see a problem on de Spécial:indexprefix with a stripprefix when i work on dictionnary wher i want to have a dynamic list of my subpage wich start with the letter A.
Each word lose de first caractère "Alleluia -> lleluia".

I think is not too difficult, we can cut after the "/" instead of suppress also the letter A juste after /.

Where you can see the problem :
https://fr.wikisource.org/wiki/Sp%C3%A9cial:Index?prefix=Dictionnaire+de+th%C3%A9ologie+catholique%2FA&namespace=0&stripprefix=1

Where you can fix the problem :
https://phabricator.wikimedia.org/source/mediawiki/browse/master/includes/Specials/SpecialPrefixIndex.php

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Example ot the full text without strippefix

fulltext.png (267×1 px, 78 KB)

Example ot the problematic text with strippefix

textewithoutA.png (250×1 px, 41 KB)
all the letter A disappear

Bugreporter renamed this task from [Spécial:indexprefix] with a stripprefix "Alleluia -> lleluia" to In Special:PrefixIndex allow only part of prefix to be stripped.Dec 18 2025, 4:42 AM
Bugreporter updated the task description. (Show Details)

Do you know someone who can fix it ? It is not long and easy modification... Thank you very much

@Sicarov: You claimed this task / assigned this task to you, so I'd now except you to fix it.

oups it was an error, i don't have de right and not the competence to change thing. Thank you