Go to file
thiemowmde 889c2ea011 Fix empty previews in reference reuse dialog
This fixes a minor inconsistency: A reference that comes from a
template and is already reused outside of the template is only
partially available to VE, and previewed with a warning message
because of this:

"This reference is defined in a template or other generated block,
and for now can only be previewed in source mode."

This was missing in the reuse dialog.

Note this patch is not meant to make any design decision, but to use
the existing design consistently.

You can test this with and without the Citoid extension. It works in
both cases.

Bug: T336372
Change-Id: I962cf111b1882bcd736f1090ca17d2b176495d2f
2023-05-10 13:03:24 +00:00
.phan build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0 2019-05-19 11:26:43 +00:00
i18n Localisation updates from https://translatewiki.net. 2023-05-05 10:38:10 +02:00
modules Fix empty previews in reference reuse dialog 2023-05-10 13:03:24 +00:00
src Replace string|false in CiteParserTagHooks with nullable ?string 2023-02-27 15:32:04 +01:00
tests Update parsertests with new media classes 2023-04-26 13:19:58 -04:00
.eslintrc.json build: Updating dependencies 2022-02-06 07:44:34 +00:00
.gitignore Selenium: Add selenium logs to .gitignore 2020-10-20 14:19:24 -04:00
.gitreview Whoops, track not trace 2016-10-24 17:02:15 -07:00
.phpcs.xml Improve function and property documentation 2021-01-16 13:44:19 +01:00
.stylelintrc.json Use json extension for .stylelintrc 2017-08-19 09:39:19 +02:00
AUTHORS.txt Fix expected remove data to match actual remove data exactly 2017-08-13 11:41:30 -04:00
CODE_OF_CONDUCT.md build: Updating mediawiki/mediawiki-codesniffer to 22.0.0 2018-09-02 23:29:58 +00:00
composer.json build: Updating dependencies 2023-04-29 00:59:28 +00:00
COPYING.txt Add license details and give credit to more authors (based on git shortlog) 2014-07-26 16:16:47 -07:00
extension.json ve-cite: Convert .css files to .less 2023-03-27 15:01:45 +01:00
Gruntfile.js Move eslint client config to modules, fix warnings 2021-11-03 16:38:31 +00:00
MIT-LICENSE.txt doc: Bump copyright year 2018-01-02 17:05:50 -08:00
package-lock.json build: Updating eslint-config-wikimedia to 0.25.0 2023-05-05 02:11:54 +00:00
package.json build: Updating eslint-config-wikimedia to 0.25.0 2023-05-05 02:11:54 +00:00
README.md Remove ApiQueryReferences support 2019-11-28 11:08:46 +01:00

Cite

The Cite extension provides a way for users to create references as footnotes to articles.

See https://www.mediawiki.org/wiki/Extension:Cite for detailed documentation.