wiki.techinc.nl/docs
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
..
code-coverage
databases
html
kss resourceloader: Move queue formatting out of OutputPage 2016-08-08 12:23:09 -07:00
php-memcached
uidesign Miscellaneous indentation tweaks 2017-02-27 19:23:54 +01:00
contenthandler.txt Removed deprecated ContentHandler hooks. 2017-01-18 21:19:17 +00:00
database.txt Fix repo url in docs/database.txt 2016-08-21 01:00:51 +01:00
deferred.txt
design.txt
distributors.txt Update and reformat docs/distributors.txt 2016-07-20 12:46:07 -07:00
doxygen_first_page.php
export-0.1.xsd
export-0.2.xsd
export-0.3.xsd
export-0.4.xsd
export-0.5.xsd
export-0.6.xsd
export-0.7.xsd
export-0.8.xsd
export-0.9.xsd
export-0.10.xsd
export-demo.xml
extension.schema.v1.json Allow callback functions for creating jobs 2017-05-09 19:26:13 +02:00
extension.schema.v2.json Refactor registration of OOjs UI resource modules 2017-06-01 17:04:05 +02:00
globals.txt
hooks.txt ChangesList: Expose basic properties of lines as data attributes 2017-06-08 23:19:45 +00:00
injection.txt Allow reset of global services (redux). 2016-05-04 19:18:29 +02:00
language.txt
linkcache.txt
logger.txt
magicword.txt
maintenance.txt
memcached.txt
README Documentation link changes 2016-10-07 20:32:45 +00:00
schema.txt
scripts.txt
sitelist-1.0.xsd
sitelist.txt
sitescache.txt
skin.txt
title.txt

/docs Directory README
======================

The 'docs' directory contain various text files that should help you understand
the most important parts of the code of MediaWiki. More in-depth documentation
can be found at:
  https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Code
  https://www.mediawiki.org/wiki/Special:MyLanguage/Developer_hub
API documentation is automatically generated and updated daily at:
  https://doc.wikimedia.org/mediawiki-core/master/php/html/

You can get a fresh version using 'make doc' or mwdocgen.php in the
../maintenance/ directory.


For end users, most of the documentation is located online at:
  https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents
Documentation for MediaWiki site administrators is at:
  https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Contents