Extension talk:Cite/Flow archive/2019


Cite and Scribunto

Having an issue where parameters being passed into lua contain Refs which are converted to stripmarkers before being passed to lua which makes them unusable in lua. Currently using a workaround by wrapping them in nowiki tags, is there any function mw.text.unstripNoWiki that would work with refs? 178.197.229.16 (talk) 07:37, 21 May 2019 (UTC)

Cite does not parse in Project pages

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I tried using a reference in a project page (https://lsj.gr/wiki/LSJ:Learn_Greek) but does not parse it. The exact same code gets parsed in other pages, I.e. https://lsj.gr/wiki/User:Spiros Spiros71 (talk) 18:15, 29 October 2019 (UTC)

The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Internal Error when using cite.

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I installed the extension and I meet this error when editing this page:

<ref name="s"></ref>

Error Message:

[7c7460dcd9f9de72a4199b62] /index.php?title=Index.php&action=submit   Error from line 725 of /usr/share/mediawiki/extensions-core/Cite/Cite_body.php: Call to undefined function wfProfileIn()

Backtrace:

#0 /usr/share/mediawiki/extensions-core/Cite/Cite_body.php(1172): Cite->referencesFormat(string)
#1 /usr/share/mediawiki/includes/Hooks.php(174): Cite->checkRefsNoReferences(boolean, Parser, string, StripState)
#2 /usr/share/mediawiki/includes/Hooks.php(202): Hooks::callHook(string, array, array, NULL)
#3 /usr/share/mediawiki/includes/parser/Parser.php(492): Hooks::run(string, array)
#4 /usr/share/mediawiki/includes/content/WikitextContent.php(369): Parser->parse(string, Title, ParserOptions, boolean, boolean, NULL)
#5 /usr/share/mediawiki/includes/content/AbstractContent.php(555): WikitextContent->fillParserOutput(Title, NULL, ParserOptions, boolean, ParserOutput)
#6 /usr/share/mediawiki/includes/Revision/RenderedRevision.php(265): AbstractContent->getParserOutput(Title, NULL, ParserOptions, boolean)
#7 /usr/share/mediawiki/includes/Revision/RenderedRevision.php(234): MediaWiki\Revision\RenderedRevision->getSlotParserOutputUncached(WikitextContent, boolean)
#8 /usr/share/mediawiki/includes/Revision/RevisionRenderer.php(193): MediaWiki\Revision\RenderedRevision->getSlotParserOutput(string)
#9 /usr/share/mediawiki/includes/Revision/RevisionRenderer.php(142): MediaWiki\Revision\RevisionRenderer->combineSlotOutput(MediaWiki\Revision\RenderedRevision, array)
#10 [internal function]: MediaWiki\Revision\RevisionRenderer->MediaWiki\Revision\{closure}(MediaWiki\Revision\RenderedRevision, array)
#11 /usr/share/mediawiki/includes/Revision/RenderedRevision.php(197): call_user_func(Closure, MediaWiki\Revision\RenderedRevision, array)
#12 /usr/share/mediawiki/includes/Storage/DerivedPageDataUpdater.php(1275): MediaWiki\Revision\RenderedRevision->getRevisionParserOutput()
#13 /usr/share/mediawiki/includes/Storage/PageUpdater.php(725): MediaWiki\Storage\DerivedPageDataUpdater->getCanonicalParserOutput()
#14 /usr/share/mediawiki/includes/page/WikiPage.php(1915): MediaWiki\Storage\PageUpdater->saveRevision(CommentStoreComment, integer)
#15 /usr/share/mediawiki/includes/EditPage.php(2294): WikiPage->doEditContent(WikitextContent, CommentStoreComment, integer, boolean, User, string, array, integer)
#16 /usr/share/mediawiki/includes/EditPage.php(1586): EditPage->internalAttemptSave(array, boolean)
#17 /usr/share/mediawiki/includes/EditPage.php(687): EditPage->attemptSave(array)
#18 /usr/share/mediawiki/includes/actions/EditAction.php(60): EditPage->edit()
#19 /usr/share/mediawiki/includes/actions/SubmitAction.php(38): EditAction->show()
#20 /usr/share/mediawiki/includes/MediaWiki.php(499): SubmitAction->show()
#21 /usr/share/mediawiki/includes/MediaWiki.php(294): MediaWiki->performAction(Article, Title)
#22 /usr/share/mediawiki/includes/MediaWiki.php(865): MediaWiki->performRequest()
#23 /usr/share/mediawiki/includes/MediaWiki.php(515): MediaWiki->main()
#24 /usr/share/mediawiki/index.php(42): MediaWiki->run()
#25 {main}
    Jingkaimori (talk) 08:30, 4 November 2019 (UTC)
    wfProfileIn() is a function that doesn't exist any more since MediaWiki 1.31. Please make sure to download a recent version of the Cite extension that is compatible with MediaWiki 1.31. Thiemo Kreuz (WMDE) 11:23, 4 November 2019 (UTC)
    The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

    Updating the pages Extension:Cite and Help:Cite

    Hello!

    The Technical Wishes team from Wikimedia Germany is currently working with the Cite extension to add a new feature to it: A new attribute will make it easier to cite different parts of the same source (please find more info on the project page). We're planning to deploy a first version of the new feature to the beta cluster beginning of December.

    For this, we also want to update some of the documentation about the Cite extension. Part of this will include moving the "Usage" and the "Customization" section from the Extension:Cite page to Help:Cite. The reasoning behind this is that the extension page usually focuses on purely technical information, whereas the help page usually contains information about usage and customization.

    Please let me know if you have any strong objections to this.

    Best,

    Johanna


    Johanna Strodt (WMDE) (talk) 14:06, 20 November 2019 (UTC)

    Impossible to paste from clipboard in version "REL1_33-01ef641"

    After updating from version "20e26df" to the above mentioned version I noticed that it is not possible to paste text in the cite input box. After spending much time trying to update parsoid and visualeditor, I found out that downgrading Cite fixes the problem. Mshastchi (talk) 12:21, 11 December 2019 (UTC)

    Thanks for taking the time to debug this for us! I've added your report to task T240186, we'll try to prioritize this work. Adamw (talk) 12:54, 11 December 2019 (UTC)
    @Mshastchi would you please tell how to downgrade Cite to a version that it works? 201.59.231.163 (talk) 19:15, 20 February 2020 (UTC)
    Just replace files of the extension with an older version. I used my backup. Mshastchi (talk) 09:46, 22 February 2020 (UTC)
    There's no problem with mediawiki 1.34 and the latest version of the extension. Mshastchi (talk) 09:48, 22 February 2020 (UTC)