Last modified: 2011-01-05 09:48:52 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 11766 - Install Labeled Section Transclusion extension on fr.wikipedia
Install Labeled Section Transclusion extension on fr.wikipedia
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: shell
Depends on:
  Show dependency treegraph
Reported: 2007-10-25 22:12 UTC by Rémi Kaupp
Modified: 2011-01-05 09:48 UTC (History)
5 users (show)

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


Description Rémi Kaupp 2007-10-25 22:12:48 UTC
I open this bug request to get the developers' feeling about installing the Labeled Section Transclusion extension on fr.wikipedia, as it has already been done on Wikisource (so it should be pretty stable).

My motivation : we already have a "Référence:" namespace on fr.wikipedia, which is used for storing bibliographical entries. An idea has emerged to use this namespace as a "database", whose elements could be called via a template and inserted into articles (in the references section). The easiest (and maybe the only) way to do it would be to allow transcluding parts of "Référence" pages, which can be done with this extension. I don't know any other way of transcluding a selected part of a page...

The drawback : back in June, Brion said (on ) "Tim has some concerns about performance but thinks it shouldn't be a problem on Wikisource", I don't know how much it would affect the servers if put on fr.wikipedia ? It probably wouldn't be much used to transclude articles, though.

Comment 1 Steve Sanbeg 2007-10-26 16:38:46 UTC
Although I haven't seen specifics on the performance issues, I reworked the part that I believed to be the most significant bottleneck.  If this didn't resolve the issue, please let me know.
Comment 2 Rémi Kaupp 2007-10-29 16:32:45 UTC

I can demonstrate the intended use on, where the elements of the reference are transcluded from , through an appropriate template.
Comment 3 Steve Sanbeg 2007-10-29 18:58:48 UTC
Thanks for the example.  It wasn't quite intended to be used this way, to transclude different sections from the same page; this would cause a little extra overhead, equivalent to transcluding 4 different templates, instead of the same template 4 times.

If this is an issue, it may help to add some caching.  Currently, this isn't done because this was intended to transclude a section from lots of large pages, so caching all of them may not be worth it.  Caching the last page used may be a good compromise.

Although it's not up to me, it seems like it should be OK, although some small improvements may help.  So unless someone else has an objection, I think you should post a link to a discussion on wikipedia to support this.
Comment 4 Rémi Kaupp 2007-10-29 19:39:08 UTC
When you talk about "some improvements", is it about the extension's code or the way I intend to implement it ?

I will talk to people involved with references and (hopefully) get their approval.
Comment 5 Rémi Kaupp 2007-11-01 09:10:37 UTC
Ok, a poll has been organised (and advertised on the village pump). Results are here : . Not many people gave their opinion as this is rather specialised. 

So far : 8 support (+ me), none oppose. 
Comment 6 Steve Sanbeg 2007-11-01 18:58:49 UTC
Seems reasonable.  It may help to make a small enhancement to the extension code to include a cache; if things seem to be going forward I'll find time to work on that.  You may need to check on IRC (#mediawiki) or the wikitech mailing list for other opinions.

Comment 7 JeLuF 2007-11-04 14:23:54 UTC
Removed "shell" keyword as long as Steve is optimizing the code. Please add the keyword again once the code is optimized and has either Tim's or Brion's approval.
Comment 8 Steve Sanbeg 2008-02-27 16:26:06 UTC
(In reply to comment #7)
> Removed "shell" keyword as long as Steve is optimizing the code. Please add the
> keyword again once the code is optimized and has either Tim's or Brion's
> approval.

I've replaced the keyword.  I added the rest of the caching to the new preprocessor, and Tim rewrote part of the extension to utilize that.
Comment 9 JeLuF 2010-04-09 04:54:02 UTC

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