Fix categories with a namespace prefix in the cat name for CatWatch
authoraddshore <addshorewiki@gmail.com>
Fri, 4 Dec 2015 11:03:44 +0000 (12:03 +0100)
committeraddshore <addshorewiki@gmail.com>
Fri, 4 Dec 2015 11:03:44 +0000 (12:03 +0100)
commit10703fae49eb193225c805ab9bb0938e9336b5f5
tree936ea36189f99561198c8fe77aa791d72e297599
parentc09e27cc23fd553f17a21d699ae4626ec173a6eb
Fix categories with a namespace prefix in the cat name for CatWatch

Title::newFromText will use the given namespace as default, but when
parsing a title with a namespace at the begin the method will not use
the default, instead used the namespace from the given text.
Use Title::makeTitle to create a title with always belongs to the given
namespace.

Bug: T119763
Change-Id: Ic96671e1c33c6572b07f0f859d97c85a7a15bd39
includes/jobqueue/jobs/CategoryMembershipChangeJob.php