Last modified: 2014-03-20 18:04:15 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 T51632, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49632 - PageCuration isn't including a timestamp in talk page messages (creates talk page zombies)
PageCuration isn't including a timestamp in talk page messages (creates talk ...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
PageCuration (Other open bugs)
unspecified
All All
: High major (vote)
: ---
Assigned To: Nischay Nahata
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-16 04:22 UTC by MZMcBride
Modified: 2014-03-20 18:04 UTC (History)
4 users (show)

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


Attachments

Description MZMcBride 2013-06-16 04:22:35 UTC
This is fairly important to get fixed up.

https://en.wikipedia.org/w/index.php?title=User_talk:Simsong&diff=560107518&oldid=418874412

Currently PageCuration isn't including a timestamp in its posts. This is problematic, as talk page archive bots often rely on a timestamp in a section to determine which sections to automatically archive. Without a standard timestamp, these sections can become zombies, stuck in talk page purgatory indefinitely.

It may make sense to fix this locally as soon as possible (assuming the relevant MediaWiki page can be edited to include "~~~~~"). But a general fix to this issue in the extension itself is needed in fairly short order.
Comment 1 Gerrit Notification Bot 2013-06-16 08:24:18 UTC
Related URL: https://gerrit.wikimedia.org/r/68942 (Gerrit Change Icf5f7f7e813f6b4ba58c9ea8b5a79e9420198b61)
Comment 2 MZMcBride 2013-06-16 16:58:12 UTC
Strange. I wonder why bug 46842 didn't resolve this.

If there are multiple places where this same code is needed, putting it in a variable or wrapper function may make sense.
Comment 3 Nischay Nahata 2013-06-16 17:48:36 UTC
(In reply to comment #2)
> Strange. I wonder why bug 46842 didn't resolve this.

We are all humans and sometimes forget all the different places we need to fix :)
 
> If there are multiple places where this same code is needed, putting it in a
> variable or wrapper function may make sense.

Sorry, but I find this as a totally unacceptable solution for the current problem.
Besides I welcome you to try that out if you please. Thank God, its open source!
Comment 4 MZMcBride 2013-06-16 18:05:49 UTC
(In reply to comment #3)
> (In reply to comment #2)
>> Strange. I wonder why bug 46842 didn't resolve this.
> 
> We are all humans and sometimes forget all the different places we need to
> fix :)

Right, which is why I suggested de-duplicating the code by using a variable or wrapper function.
Comment 5 Nischay Nahata 2013-06-16 18:14:02 UTC
(In reply to comment #4)
> Right, which is why I suggested de-duplicating the code by using a variable
> or
> wrapper function.

Say, I have a wrapper function called addSignature (This is the only part where the same code is being used), then I would again have to call this method from all the places. I could still forget adding that.
Comment 6 Ryan Kaldari 2013-06-18 21:21:56 UTC
This bug wasn't caused by a programming error, rather it is due to bad design. Two of the PageTriage templates on enwiki, "Reviewednote-NPF" and "Unreviewednote-NPF", are not written from the point of view of the reviewer, so it doesn't make sense to sign them. There are two ways to fix the problem:

1. Change the code in ext.pageTriage.mark.js so that it adds a sig to those templates. When the new code is deployed, rewrite the templates from a first person perspective (similar to the other PageTriage templates).

or

2. Change the code in ext.pageTriage.mark.js so that it adds just a timestamp to those templates ('~~~~~'). Not sure if this fixes the zombie problem or not.
Comment 7 Oliver Keyes 2014-03-20 18:04:15 UTC
I think (?) this has been fixed? I haven't seen this problem appearing.

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


Navigation
Links