Page MenuHomePhabricator

0 as a one character article name causing 'bad title'
Closed, ResolvedPublic

Description

Author: foxhill_matt

Description:
Affecting at least the English and German wikipedia.

Conversation from the en Village Pump as below -
[http://en.wikipedia.org/wiki/Wikipedia:Village_pump_%28technical%29#Template:0]

Template:0

The above template seems to have either disappeared or (according to the page it now [http://en.wikipedia.org/wiki/Template:0 aims at]) is suddenly a bad title. This was/is a spacing template that was used on thousands of articles when right aligning numbers in columns in infoboxes. Is there a reason for this suddenly disappearing/not working that anyone knows of? Is there a replacement? [[User:86.21.74.40|86.21.74.40]] 02:16, 13 November 2007 (UTC)
:This has also happened to the mainspace http://en.wikipedia.org/wiki/0. [[Template:0/doc]] still displays. There are also problems in other tested languages http://de.wikipedia.org/wiki/Vorlage:0 (German template) doesn't work but the article http://de.wikipedia.org/wiki/0 works. I write full URL's because wikilinks to pages called 0 are also misbehaving. For example, the wikilink [[0]] gives the URL http://en.wikipedia.org/wiki/ which goes to the main page. [[User:PrimeHunter|PrimeHunter]] 02:39, 13 November 2007 (UTC)


Version: unspecified
Severity: normal
URL: http://en.wikipedia.org/wiki/Template:0

Details

Reference
bz11958

Event Timeline

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

ericburnett wrote:

The error was caused by svn revision 27443 - ($str == "") was changed to empty($str), which returns true on "0".

The developers should be reverting it as we speak.

Changing Product: Wikimedia → Mediawiki
Changing Component: WikiBugs → General/Unknown
Reason: The wikibugs component is designed for the I.R.C. bot.