mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-13 17:56:55 +00:00
Remove test and doc leftovers from ReferencePreviews
The code for that is implemented in the Cite extension now. Bug: T355194 Change-Id: Id0bb508e6a7dbc56ef5e5717aa84eb7f63285c02
This commit is contained in:
parent
a3af7c91b5
commit
5db2622939
|
@ -4,7 +4,6 @@ import { createPreviewWithType, layoutPreview, getClasses,
|
|||
registerPreviewUI,
|
||||
createPagePreview,
|
||||
createDisambiguationPreview,
|
||||
createReferencePreview,
|
||||
pointerSize, landscapePopupWidth, portraitPopupWidth
|
||||
} from '../../src/ui/renderer.js';
|
||||
import { previewTypes } from '../../src/preview/model';
|
||||
|
|
|
@ -94,6 +94,3 @@ Execute `npm -s run doc`.
|
|||
being hovered over by a cursor.
|
||||
* Page preview - A specific type of popup that shows a page summary.
|
||||
* Preview - A synonym for popup.
|
||||
* Reference - A specific type of popup that previews the Cite extension's
|
||||
footnotes. Since footnotes are typically used for references, and the tag's
|
||||
name is `<ref>`, the terms are used synonymously.
|
||||
|
|
|
@ -6,16 +6,8 @@
|
|||
==Invalid links==
|
||||
# blah
|
||||
|
||||
==Reference links==
|
||||
Lorem ipsum dolor.<ref>small reference</ref>
|
||||
Reference with lots of text.<ref>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</ref>
|
||||
Lorem ipsum dolor.<ref>reference inception<sup id="cite_ref-1" class="reference">[[#cite_note-1|[1]]]</sup></ref>
|
||||
|
||||
==Hash fragments==
|
||||
|
||||
[[#section]]
|
||||
|
||||
==References==
|
||||
<references />
|
||||
|
||||
__NOTOC__
|
||||
|
|
Loading…
Reference in a new issue