wiki.techinc.nl/includes/content
Thiemo Mättig f6cff5e392 Update documentation of what a "section" is
There are so many slightly different understandings of what a
"section" is or can be. I'm aware the documentation was improved
just a few weeks ago. I still find it incomplete and confusing.

1. I renamed it to $sectionId to make it more clear what it
really is.

2. Sections are usually numbers. 0, 1 and so on. There is no
reason to disallow the use of ints or even floats (this works
because the string representation of 0.0 is "0"). The code never
disallowed numbers.

3. 'T1' never was supported, as far as I can tell. 'T-1' is
supported. See Parser::extractSections().

4. null and false and '' all mean "the whole page" in
WikiPage::replaceSectionAtRev() but for some reason this meaning got
lost in WikitextContent::replaceSection(). I made it the same again.

Change-Id: Icc3997722d2ed742bf7703cd7c06d09199225720
2014-06-12 18:13:23 +02:00
..
AbstractContent.php Update documentation of what a "section" is 2014-06-12 18:13:23 +02:00
Content.php Update documentation of what a "section" is 2014-06-12 18:13:23 +02:00
ContentHandler.php Merge "Introduce ContentHandler::exportTransform()" 2014-05-27 18:31:05 +00:00
CssContent.php Content: Deprecate and stop using getHighlightHtml() 2014-05-09 10:18:00 +00:00
CssContentHandler.php Added and updated Doxygen comments in content handler and diff namespaces 2014-03-06 11:17:41 +01:00
JavaScriptContent.php Content: Deprecate and stop using getHighlightHtml() 2014-05-09 10:18:00 +00:00
JavaScriptContentHandler.php Added and updated Doxygen comments in content handler and diff namespaces 2014-03-06 11:17:41 +01:00
MessageContent.php Added and updated Doxygen comments in content handler and diff namespaces 2014-03-06 11:17:41 +01:00
TextContent.php Return value directly when using getter 2014-05-23 16:05:29 +02:00
TextContentHandler.php Added and updated Doxygen comments in content handler and diff namespaces 2014-03-06 11:17:41 +01:00
WikitextContent.php Update documentation of what a "section" is 2014-06-12 18:13:23 +02:00
WikitextContentHandler.php Added and updated Doxygen comments in content handler and diff namespaces 2014-03-06 11:17:41 +01:00