Fix an error for categories named literally "Project:" or some similarly weird thing...
authorAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 19 Mar 2008 15:53:48 +0000 (15:53 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 19 Mar 2008 15:53:48 +0000 (15:53 +0000)
commit8fc8c4530de869f8e1d71fdabcb54b5afb36220d
tree51d98615f35e9473b1e2df2f2e622f006b8fbf84
parente9e23d0387986a68ec0b765c4114a1bb5cda622a
Fix an error for categories named literally "Project:" or some similarly weird thing.  I thought that's not a legal title, but I'm told otherwise.  Is there a better way to do this than manually prefixing "Category:"?  The second parameter to newFromText is ignored if there are any prefixes, according to the docs.
includes/Category.php