Merge "Clean up top-level docs"

This commit is contained in:
jenkins-bot 2024-03-12 12:51:55 +00:00 committed by Gerrit Code Review
commit 66d73af276
5 changed files with 11 additions and 11 deletions

View file

@ -1,6 +1,8 @@
Cite
=============
The Cite extension to MediaWiki provides a way for wiki editors to add references and footnotes to articles.
The Cite extension provides a way for users to create references as footnotes to articles.
See [mw:Extension:Cite] for technical documentation on installing and configuring the extension. See [mw:Help:Cite] for user documentation.
See https://www.mediawiki.org/wiki/Extension:Cite for detailed documentation.
Cite is responsible for implementing the `<ref>` and `<references>` tags in wikitext. Integrations are provided for the legacy wikitext parser, Parsoid, WikiEditor, VisualEditor, and the reading interface.
[mw:Extension:Cite]: https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Cite
[mw:Help:Cite]: https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Cite

View file

@ -1,7 +1,6 @@
{
"opts": {
"destination": "docs/js",
"package": "package.json",
"pedantic": true,
"recurse": true,
"template": "node_modules/jsdoc-wmf-theme"
@ -10,7 +9,7 @@
"plugins/markdown"
],
"source": {
"include": [ "modules", "src" ]
"include": [ "modules", "package.json", "README.md" ]
},
"templates": {
"cleverLinks": true,

View file

@ -1,10 +1,8 @@
'use strict';
/**
* Main JavaScript for the Cite extension. The main purpose of this file
* is to add accessibility attributes to the citation links as that can
* hardly be done server side (T40141).
*
* @file Adds accessibility attributes to citation links.
* @see https://phabricator.wikimedia.org/T40141
* @author Marius Hoch <hoo@online.de>
*/
mw.hook( 'wikipage.content' ).add( function ( $content ) {

View file

@ -1,6 +1,7 @@
'use strict';
/**
* @file Dynamic highlighting while reading an article
* @author Thiemo Kreuz
*/
( function () {

View file

@ -1,7 +1,7 @@
'use strict';
/**
* Add Cite-specific functionality to the WikiEditor toolbar.
* @file Add Cite-specific functionality to the WikiEditor toolbar.
* Adds a button to insert <ref> tags, and adds a help section
* about how to use references to WikiEditor's help panel.
*