Last modified: 2010-05-15 16:02:59 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 T15828, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13828 - Only pagename should be in quotation marks in MediaWiki:Missingarticle
Only pagename should be in quotation marks in MediaWiki:Missingarticle
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.13.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-04-23 11:27 UTC by Lejonel
Modified: 2010-05-15 16:02 UTC (History)
2 users (show)

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


Attachments

Description Lejonel 2008-04-23 11:27:06 UTC
The message begins with the text 'The database did not find the text of a page that it should have found, named "$1".'. But parameter $1 is not only the name of a page, it also includes a page revision number or the revision numbers for a diff. That means that the text inside the quotation marks is "Pagename (revision#: 123)". It would be nice if it was possible to have only the name inside the quotes, like '"Pagename" (revision#: 123)'.

Maybe the message can be changed to begin with 'The database did not find the text of a page that it should have found, named "$1" $2.', where $1 is only the page name and $2 is the version numbers formatted as in the messages 'missingarticle-rev' and 'missingarticle-diff'.
Comment 1 Raimond Spekking 2008-04-23 11:36:16 UTC
Easy to do. 

2 ways:

1. Add $2 to [[MediaWiki:Missingarticle]]. Disadvantage: local customisations of the message will not longer see the revision numbers until they add $2 manually.

2. Rename [[MediaWiki:Missingarticle]] to [[MediaWiki:Missing-article]] and add $2. Disadvantage: local customisations are lost.
Comment 2 Huji 2008-04-25 09:06:09 UTC
(In reply to comment #1)
> Easy to do. 
> 
> 2 ways:
> 
> 1. Add $2 to [[MediaWiki:Missingarticle]]. Disadvantage: local customisations
> of the message will not longer see the revision numbers until they add $2
> manually.
> 
> 2. Rename [[MediaWiki:Missingarticle]] to [[MediaWiki:Missing-article]] and add
> $2. Disadvantage: local customisations are lost.
> 

This issue with local costumizations is always present. If a wiki admin decides to upgrade its wiki to the latest version, he should consider such issues too. We can't stop adding new features and fixing present limitations, only because local settings of other wikis may not get updated.

As for Wikimedia wikis, I'm aware that there is a section in English Wikipedia's "signpost", which deals with new bug fixes. An alert can be added there, when such changes to a message have taken place, so local admins of that wiki (and other wikis who read signpost) can fix their local translations.
Comment 3 Raimond Spekking 2008-06-05 17:34:12 UTC
Fixed with r35937. New message: 'missing-article' with $1 and $2.

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


Navigation
Links