Last modified: 2013-11-13 09:26:32 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T34060, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 32060 - Filter messages by prefix
Filter messages by prefix
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Siebrand Mazeland
: design
: 34416 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-30 22:38 UTC by Nemo
Modified: 2013-11-13 09:26 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Nemo 2011-10-30 22:38:31 UTC
As on [[Special:AllMessages]], it would be useful to filter messages by prefix to easily find all related messages in a very big group or across groups without having to load thousands of messages.
Test case: WikiLove extension messages, user groups messages.
Comment 1 Nemo 2012-02-16 12:13:55 UTC
*** Bug 34416 has been marked as a duplicate of this bug. ***
Comment 2 Nemo 2012-02-16 12:17:36 UTC
As translator, I want to have a list of all messages with a common prefix within a big group or across all groups, to be able to review subsets of messages with similar characteristics, for instance all grouppage- messages added by all MediaWiki extensions.

Still marking LATER per Siebrand on the other bug.
Comment 3 Nemo 2012-10-02 14:36:49 UTC
Adding Pau to cc as I suppose that, when and if this will be considered worth pursuing, some design ideas will be needed.

https://translatewiki.net/wiki/Issues_and_features#Feature_requests also suggests «allow prefix on Special:LanguageStats to only show groups starting with IDs that start with the prefix» which seems of narrower use.
Comment 4 Nemo 2012-11-14 12:18:28 UTC
Switching from LATER to the second most relevant resolution for fear of information loss. http://article.gmane.org/gmane.science.linguistics.wikipedia.technical/65116
Comment 5 Siebrand Mazeland 2013-01-01 12:34:47 UTC
Closing as WONTFIX. We have message groups and search in the new design.
Comment 6 Nemo 2013-05-21 16:43:56 UTC
(In reply to comment #5)
> Closing as WONTFIX. We have message groups and search in the new design.

Does search by prefix work? This user seems to say no. <https://translatewiki.net/wiki/Thread:User_talk:Nike/Vanha_näkymä/reply_(2)>
Comment 8 T. Gries 2013-11-12 09:39:23 UTC
(In reply to comment #7)
> Nikerabbit on
> https://gerrit.wikimedia.org/r/#/c/94064/2/includes/specials/
> SpecialAllmessages.php
> > It's possible but undocumented:
> > https://translatewiki.net/w/i.php?title=Special%3ASearchTranslations&query=messageid%3A%22MediaWiki%3ATitlematches%22
> 
> ....

REOPENED: It is suggested to add this action as default search action in the GUI.
Comment 9 Siebrand Mazeland 2013-11-12 10:49:28 UTC
(In reply to comment #8)

> REOPENED: It is suggested to add this action as default search action in the
> GUI.

This is a scope change. The issue was closed "works for me" with a solution. Please open a new issue if there is a different request.
Comment 10 Nemo 2013-11-12 11:41:45 UTC
(In reply to comment #9)
> This is a scope change. The issue was closed "works for me" with a solution.
> Please open a new issue if there is a different request.

Well, comment 0 asks for a feature as similar as possible to Special:AllMessages; Special:SearchTranslations doesn't yet allow prefix searches, only exact matches.
There's no sharp line for what's "as similar as possible": the feature was previously deemed impossible; T. Gries seems to consider it not similar enough... Personally I consider this report abandoned.
Comment 11 Nemo 2013-11-12 11:42:01 UTC
(mid-air collision)
Comment 12 T. Gries 2013-11-13 08:04:15 UTC
I still do not know how to search, or how to limit results to show

- all message texts of the extension "AJAXPoll"
- language = German

This is a real request for help..

Can someone of you please tell me, how this is possible with Translatewiki? As someone who do not visit that wiki often, I have difficulties in understanding your search interface, sorry. In my view, and for me, it is not intuitive to use.
Comment 13 Nemo 2013-11-13 08:14:51 UTC
(In reply to comment #12)
> I still do not know how to search, or how to limit results to show
> 
> - all message texts of the extension "AJAXPoll"
> - language = German

For this sort of simpler thing, you can use https://translatewiki.net/wiki/Special:LanguageStats and click "expand" a sufficient number of times (after unselecting the checkboxes at top), or type in the search bar which appears when you click "All" in https://translatewiki.net/wiki/Special:Translate?tux=1 ; so you reach https://translatewiki.net/w/i.php?title=Special:Translate&task=reviewall&group=ext-ajaxpoll&language=de
Comment 14 T. Gries 2013-11-13 08:23:57 UTC
(In reply to comment #13)

Next question:
I still do not know how to search, or how to limit results to show

- all message texts of the extension "AJAXPoll"
- language = German
- starting with "ajaxpoll-view-"
Comment 15 T. Gries 2013-11-13 08:27:06 UTC
Remark:
all (or almost any of) my message text keys start with the extension prefix "ajaxpoll-".

But is appears to be impossible - at least, I do not know how - to search them in Translatewiki. So "Filter messages by prefix" is still not solved!
Comment 16 T. Gries 2013-11-13 08:42:37 UTC
I noticed, that the search filter function looks into the messages only, but does not work on the message _key_ texts.

Example:

I want to look up the German translateion of message with the key "etherpadlite-invalid-pad-url":

- MediaWiki:Etherpadlite-invalid-pad-url/de

This cannot be searched.

- https://translatewiki.net/wiki/Special:Translate/ext-etherpadlite?filter=&action=translate

- input field = "invalid"

If you type "valid", you find the key, because "valid" is part of the original English key message ("$1" is not a valid Etherpad Lite URL or pad name.‎„$1“ ist keine gültige EtherPad-Lite-URL oder ein Editierfeldname.)
Comment 17 T. Gries 2013-11-13 09:26:32 UTC
see also https://bugzilla.wikimedia.org/show_bug.cgi?id=34416 "Suggestion: add a prefix filter to the Translatewiki search interface to limit to a subset of messages starting with that prefix (similar to MediaWiki:Allmessages prefix search)"

(already marked as duplicate to this 32060)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links