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


Author: foxhill_matt

Affecting at least the English and German wikipedia.

Conversation from the en Village Pump as below -


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:|]] 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

bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz11958.
bzimport created this task.Via LegacyNov 13 2007, 2:53 AM
bzimport added a comment.Via ConduitNov 13 2007, 3:46 AM

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.

aaron added a comment.Via ConduitNov 13 2007, 3:48 AM

Fixed in r27448.

Peachey88 added a comment.Via ConduitJul 26 2009, 2:18 AM

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

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.