Last modified: 2011-01-05 09:48:52 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 T13766, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11766 - Install Labeled Section Transclusion extension on fr.wikipedia
Install Labeled Section Transclusion extension on fr.wikipedia
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: shell
Depends on:
Blocks:
  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: ---


Attachments

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 http://lists.wikimedia.org/pipermail/wikitech-l/2007-June/031855.html ) "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.

Thanks.
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
Thanks.

I can demonstrate the intended use on http://test.wikipedia.org/wiki/User:Korrigan/Article1, where the elements of the reference are transcluded from http://test.wikipedia.org/wiki/User:Korrigan/R%C3%A9f%C3%A9rence , 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 : http://fr.wikipedia.org/wiki/Projet:Sources/Chez_Manon#Mini-sondage . 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
Done.

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


Navigation
Links