wiki.techinc.nl/tests/phpunit/includes/GlobalFunctions
Gergő Tisza 016452cd09 ChangesList: Expose basic properties of lines as data attributes
We have several types of change lists (old RC/watchlist/related
changes, enhanced RC/watchlist, history) with slightly different
HTML, each with their own idiosyncracies. JavaScript code trying
to identify lines by log ID / revision ID has to jump through all
kinds of hoops to work with that.

To simplify the lives of frontend / gadget maintainers and provide
something approaching an API for these pages, we now expose the basic
attributes of each change line (revision ID for edits, log type/action
and ID for log events) as data attributes.

The OldChangesListRecentChangesLine, EnhancedChangesListModifyLineData,
EnhancedChangesListModifyBlockLineData, PageHistoryLine,
ContributionsLineEnding and DeletedContributionsLineEnding hooks
are updated accordingly. New hooks (LogEventsListLineEnding and
NewPagesLineEnding) are added for the change list pages which did
not yet have them.

Change-Id: I6dd006d0b1b0fd35c0020f0f9eea9113eca30b35
2017-06-08 23:19:45 +00:00
..
GlobalTest.php A service for read-only mode 2017-04-19 12:27:06 -07:00
GlobalWithDBTest.php
README
wfAppendQueryTest.php Support hash fragments in wfAppendQuery() 2016-05-02 19:18:24 -07:00
wfArrayFilterTest.php ChangesList: Expose basic properties of lines as data attributes 2017-06-08 23:19:45 +00:00
wfArrayPlus2dTest.php
wfAssembleUrlTest.php
wfBaseNameTest.php
wfBCP47Test.php Use HTTPS instead of HTTP for ietf.org URLs 2016-09-28 18:05:53 +02:00
wfEscapeShellArgTest.php
wfExpandUrlTest.php
wfGetCallerTest.php
wfParseUrlTest.php
wfRemoveDotSegmentsTest.php
wfShellExecTest.php
wfShorthandToIntegerTest.php
wfThumbIsStandardTest.php Override MediaHandlers in tests using MediaWikiServices 2016-08-03 16:47:46 -07:00
wfTimestampTest.php tests: Replace implicit Bugzilla bug numbers with Phab ones 2017-02-21 02:14:34 +00:00
wfUrlencodeTest.php Remove empty lines from PHP and JavaScript comment blocks 2016-12-09 09:01:06 +00:00

This directory hold tests for includes/GlobalFunctions.php file
which is a pile of functions.