Last modified: 2014-04-20 21:26:42 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T65871, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 63871 - Hovercards: Add documentation on extract-size
Hovercards: Add documentation on extract-size
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Popups (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-13 02:20 UTC by Quiddity
Modified: 2014-04-20 21:26 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Quiddity 2014-04-13 02:20:49 UTC
What /exactly/ is Hovercards using to define the length of the extract? 

The only line I can find is https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FPopups/edd49b32ca889024854efc4d7b0bf03dace55835/resources%2Fext.popups.core.js#L47
This gets 2 sentences. But sometimes the extracts are shorter than 2 sentences, so where is the limit further-defined?

Please Add documentation, in either the Extension page, or the Hovercards explanation page, to describe the answer.
Comment 1 Gerrit Notification Bot 2014-04-13 05:01:09 UTC
Change 125579 had a related patch set uploaded by Prtksxna:
Added documentation for text extract length

https://gerrit.wikimedia.org/r/125579
Comment 2 Quiddity 2014-04-13 19:13:29 UTC
(In reply to Quiddity from comment #0)

> Please Add documentation, in either the Extension page, or the Hovercards
> explanation page, to describe the answer.

;)

https://www.mediawiki.org/wiki/Beta_Features/Hovercards
or
https://www.mediawiki.org/wiki/Extension:Popups
please and thank you!

Including pointers to the lines in the code, would be a bonus, but I'm mainly asking for an easily accessible sentence of explanation, for editors/admins who wonder how it works.
Comment 3 Prateek Saxena 2014-04-16 16:50:32 UTC
https://www.mediawiki.org/wiki/Extension:Popups#Content

Let me know if the language needs change.
Comment 4 Quiddity 2014-04-16 20:18:48 UTC
Perfect, thanks muchly.
Comment 5 Gerrit Notification Bot 2014-04-20 21:26:42 UTC
Change 125579 merged by jenkins-bot:
Added documentation for text extract length

https://gerrit.wikimedia.org/r/125579

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links