Last modified: 2008-06-17 18:57:36 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 T16574, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 14574 - impose a different place for links interwiki
impose a different place for links interwiki
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-17 18:40 UTC by David Crochet
Modified: 2008-06-17 18:57 UTC (History)
2 users (show)

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


Attachments

Description David Crochet 2008-06-17 18:40:27 UTC
French at the end .

Logically interwiki links are placed at the end of each page, just after categories. But on some page, it can be a problem, especially with the existence on the page a link to add a new topic at the end of the page. The links interwiki is found, over time, in the middle of the page. Moreover, these pages often have a fixed-head, which, if put into archive, is not moved into the archive.

That is why, on some page, the link interwiki and categories are not placed at the end of the text but rather a part unmodified and non-archived on the page.

When robots using Pywikipediabot working on these pages, they move these links interwiki to return at the end.

Here is what I propose:
Creating a new tag <fixplaceinterwiki> and </fixplaceinterwiki>.
This tag is not interpreted by mediawiki, since there is no change to the rendering of the page (mediawiki therefore does not appear this tag as text).
But he used the robot programmer Pywikipediabot to inform and require the robot to place its interwiki links inside these tags instead of placing them at the end.

Hoping you have to understand the subtlety of the problem and the solution. Of course, if there is a better way, I am at your listening.

It may also be useful to have the same operation for categories with <fixplacecategory> and </fixplacecategory>




texte en français :
Logiquement les liens interwiki sont placé à la fin de chaque page, juste après les catégories. Mais sur certaine page, cela peut poser un problème, surtout avec l'existence dans la page d'un lien permettant d'ajouter un nouveau sujet à la fin de la page. Les liens interwiki se retrouve, au fil du temps, au milieu de la page. De plus, ces pages ont souvent une en-tête fixe, qui, en cas de mis en archive, n'est pas déplacé dans l'archive.

C'est pour cela que, sur certaine page, les lien interwiki et les catégories ne sont pas placé à la fin du texte mais plutôt dans une partie non modifiée et non archivée de la page.

Lorsque les robots utilisant Pywikipediabot travaillent sur ces pages, ils déplacent ces liens interwiki pour les remettre à la fin.

Voila ce que je propose :
Création d'un nouveau tag <fixplaceinterwiki> et </fixplaceinterwiki>.
Ce tag n'est nullement interprété par mediawiki, puisqu'il n'y a aucune modification sur le rendu de la page (donc mediawiki ne doit pas affiché ce tag en tant que texte).
Mais il servira au programmateur du robot Pywikipediabot pour informer et obliger le robot à placer ses liens interwiki à l'intérieur de ces balises au lieux de les placer à la fin.

En espérant vous avoir permis de comprendre la subtilité du problème et de la solution. Bien entendu, s'il existe un meilleur moyen, je suis à votre l'écoute.

Il peut aussi sembler utile d'avoir le même fonctionnement pour les catégories avec <fixplacecategory> et </fixplacecategory>
Comment 1 Chad H. 2008-06-17 18:51:47 UTC
This isn't really an issue for Mediawiki. Langlinks get parsed no matter where in the page they are. If Pywikipedia insists on putting them at the bottom (and its preferred they be elsewhere), then that's an issue to take up with the Pywikipedia developers. Thanks.
Comment 2 Alexandre Emsenhuber [IAlex] 2008-06-17 18:57:36 UTC
There's already a {{Nobots}} template to says bots to not edit that page, you can do the same to place interwikis links.

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


Navigation
Links