Last modified: 2014-10-12 18:21:40 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 T55851, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 53851 - Enhanced Recent Changes needs hook(s) for customised formatting, similar to OldChangesListRecentChangesLine hook
Enhanced Recent Changes needs hook(s) for customised formatting, similar to O...
Status: ASSIGNED
Product: MediaWiki
Classification: Unclassified
Recent changes (Other open bugs)
1.21.x
All All
: Low minor (vote)
: ---
Assigned To: Aude
p=8 u=dev c=backend s=2014-05-20
:
Depends on:
Blocks: 44874 66069
  Show dependency treegraph
 
Reported: 2013-09-06 13:11 UTC by Simon White - Surevine Ltd
Modified: 2014-10-12 18:21 UTC (History)
10 users (show)

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


Attachments

Description Simon White - Surevine Ltd 2013-09-06 13:11:43 UTC
The old (non-js) implementation of ChangesList provides a hook known as OldChangesListRecentChangesLine, which allows extensions to manipulate the rendering of a line of rc output.  Today on master, this is at line 682 of ChangesList.php.

The new EnhancedChangesList does not provide a similar hook.  This means that it would be difficult if not impossible for extensions to cleanly move functionality across from the old recent changes list.

At present, the obvious available work-arounds are to either patch the hook/behaviour into ChangesList.php, or to prevent users from using the enhanced recent changes list with $wgHiddenPrefs.
Comment 1 Bartosz Dziewoński 2013-09-06 13:35:18 UTC
The "Old" in "OldChangesListRecentChangesLine" (as opposed to "Enhanced") kind of hints at how this is limited. A similar mechanism (or a generalisation of this one) for enhanced RC would be useful.
Comment 2 db [inactive,noenotif] 2013-09-08 09:05:19 UTC
See also bug 46394
Comment 3 Bartosz Dziewoński 2013-09-18 18:34:43 UTC
This is an issue in the core MediaWiki enhanced recent changes, not in the CleanChanges extension.
Comment 4 Andre Klapper 2013-09-18 23:11:01 UTC
MatmaRex: Whoops. Thanks for corecting me!
Comment 5 Gerrit Notification Bot 2014-04-23 07:44:37 UTC
Change 129116 had a related patch set uploaded by Aude:
Introduce EnhancedChangesCacheEntry hook

https://gerrit.wikimedia.org/r/129116
Comment 6 Gerrit Notification Bot 2014-08-19 10:40:07 UTC
Change 129116 abandoned by Aude:
Introduce EnhancedChangesCacheEntry hook

Reason:
not sure we want this

https://gerrit.wikimedia.org/r/129116

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


Navigation
Links