Last modified: 2013-12-14 03:31:28 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T36877, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 34877 - Broken logs after special page name change
Broken logs after special page name change
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
CentralAuth (Other open bugs)
unspecified
All All
: Low major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 34875
  Show dependency treegraph
 
Reported: 2012-03-01 22:28 UTC by MA
Modified: 2013-12-14 03:31 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description MA 2012-03-01 22:28:41 UTC
Hi. Once upon a time the page to create and change wikisets was called Special:EditWikiSets. Changes were logged at the global rights log as this (taking Special:EditWikiSets/2 as example [the global bot wikis]):

https://meta.wikimedia.org/w/index.php?title=Special%3ALog&type=gblrights&user=&page=Special%3AEditWikiSets%2F2&year=&month=-1&tagfilter=

Now, the page is called Special:WikiSets, so changes are logged as Special:WikiSets/<number of wikiset>:

https://meta.wikimedia.org/w/index.php?title=Special%3ALog&type=gblrights&user=&page=Special%3AWikiSets%2F2&year=&month=-1&tagfilter=

So, because of the rename of the special page the logs ore split in two. This causes confusion and lack of transparency.

I hope the explanation is clear. Notwithstanding I've CCd another steward who can explain better.

Thank you.
Comment 1 MA 2012-03-01 22:32:44 UTC
Fixed "blocks" section. Bug number was incorrect.
Comment 2 Victor Vasiliev 2012-03-02 09:40:39 UTC
This should be done by establishing a special page alias.
Comment 3 Niklas Laxström 2012-03-02 10:05:41 UTC
It has an alias. But logs use the stored canonical version, which has changed.
Comment 4 Kunal Mehta (Legoktm) 2013-12-14 03:31:28 UTC
MariaDB [metawiki_p]> select count(*) from logging where log_type="gblrights" and log_namespace=-1 and log_title like "EditWikiSets/%";
+----------+
| count(*) |
+----------+
|      304 |
+----------+
1 row in set (0.05 sec)




I think all we need to do is fix the log_title field. Will this work?

UPDATE logging SET log_title = REPLACE(log_title, 'EditWikiSets', 'WikiSets') WHERE log_type="gblrights" AND log_namespace=-1 AND log_title like "EditWikiSets/%";

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links