mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-12-20 20:03:42 +00:00
4958416caf
We no longer need to support toggling visual enhancements without reloading the page, so we can remove the extraneous set of buttons to reduce HTML size. Bug: T322457 Change-Id: I54e57c754c54b7e611069f9832d1ebabf141a396
28 lines
979 B
HTML
28 lines
979 B
HTML
<div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr"><div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2><span class="mw-headline" id="Hello" data-mw-thread-id="h-Hello"><span data-mw-comment-start="" id="h-Hello"></span>Hello<span data-mw-comment-end="h-Hello"></span></span></h2></div>
|
|
<h2 style="border: 1px solid green; background: lightgreen; padding: 5px; font-size: 1.5em;"><span id="Hello.21"></span><span class="mw-headline" id="Hello!" data-mw-thread-id="h-Hello!"><span data-mw-comment-start="" id="h-Hello!"></span>Hello!<span data-mw-comment-end="h-Hello!"></span></span></h2>
|
|
</div>
|
|
|
|
<pre>
|
|
newestComment: null
|
|
{
|
|
"wgDiscussionToolsPageThreads": [
|
|
{
|
|
"headingLevel": 2,
|
|
"name": "h-",
|
|
"type": "heading",
|
|
"level": 0,
|
|
"id": "h-Hello",
|
|
"replies": [],
|
|
"uneditableSection": true
|
|
},
|
|
{
|
|
"headingLevel": 2,
|
|
"name": "h-",
|
|
"type": "heading",
|
|
"level": 0,
|
|
"id": "h-Hello!",
|
|
"replies": []
|
|
}
|
|
]
|
|
}
|
|
</pre> |