Fix the (un)watch token to include the namespace name.
authorAlexandre Emsenhuber <mediawiki@emsenhuber.ch>
Tue, 8 Jul 2014 20:00:43 +0000 (22:00 +0200)
committerAlexandre Emsenhuber <mediawiki@emsenhuber.ch>
Tue, 8 Jul 2014 20:00:43 +0000 (22:00 +0200)
commit11471501ecb1a22c96c97d92992af023f4613f16
tree997cc0987df67f51a53fa212418755e4a84a9d2e
parentb423e290cc9f74723f18b75c946655a82d0bef3f
Fix the (un)watch token to include the namespace name.

Title::getDBkey() only returns the page name without the namespace
which means that "Test" and "User:Test" (for example) pages would
have the same token; use Title::getPrefixedDBkey() instead to
avoid this.

Change-Id: I80333b23cec0cfe6546f6e7776b0a77b56ee20c8
includes/actions/WatchAction.php