Last modified: 2005-10-13 00:52:10 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 3469 - Allpages and Prefixindex both use message 'allpagesfrom'
Allpages and Prefixindex both use message 'allpagesfrom'
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.6.x
All All
: Low minor with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-09-15 08:21 UTC by Henning Heitkötter
Modified: 2005-10-13 00:52 UTC (History)
0 users

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


Attachments
Introducing 'allpagesprefix' (1.62 KB, patch)
2005-09-15 08:22 UTC, Henning Heitkötter
Details
Unified Patch (2.85 KB, patch)
2005-10-12 15:50 UTC, Henning Heitkötter
Details

Description Henning Heitkötter 2005-09-15 08:21:28 UTC
Special:Allpages and Special:Prefixindex both use MediaWiki-Message
'allpagesfrom' (default: "Display pages starting at:") for labelling the input
field 'nsfrom'. As these specialpages perform different search queries, the
input in this field has a different meaning in each case: Allpages lists all
pages with a title >= $from, while Prefixindex narrows the result on pages
*beginning* with $from (LIKE $from%).
Therefore they should use different MediaWiki messages, so that the difference
becomes obvious for the user.

Patch follows.
Comment 1 Henning Heitkötter 2005-09-15 08:22:46 UTC
Created attachment 896 [details]
Introducing 'allpagesprefix'

This patch provides the described behaviour. Both classes SpecialAllpages and
SpecialPrefixindex get a class variable $nsfromMsg determing the
MediaWiki-message to use, used by namespaceForm(). Allpages uses
'allpagesfrom', Prefixindex the new 'allpagesprefix' (In Language.php, already
translated for German).
The change requires a rebuildMessages.php --update because of the new message.
Comment 2 Ævar Arnfjörð Bjarmason 2005-10-01 10:36:37 UTC
Please submit a unified diff, see
http://meta.wikimedia.org/wiki/MediaWiki_localisation#Create_a_patch for details
on how to do that.
Comment 3 Henning Heitkötter 2005-10-12 15:50:35 UTC
Created attachment 982 [details]
Unified Patch
Comment 4 Brion Vibber 2005-10-13 00:52:10 UTC
Applied to CVS HEAD.

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


Navigation
Links