Page MenuHomePhabricator

Only pagename should be in quotation marks in MediaWiki:Missingarticle
Closed, ResolvedPublic

Description

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'.


Version: 1.13.x
Severity: enhancement

Details

Reference
bz13828

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:10 PM
bzimport set Reference to bz13828.
bzimport added a subscriber: Unknown Object (MLST).

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.
  1. Rename [[MediaWiki:Missingarticle]] to [[MediaWiki:Missing-article]] and add $2. Disadvantage: local customisations are lost.

(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.

  1. 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.

Fixed with r35937. New message: 'missing-article' with $1 and $2.