Last modified: 2010-07-05 03:39:57 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 T24300, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22300 - Allow mixed usages of references
Allow mixed usages of references
Status: RESOLVED DUPLICATE of bug 13127
Product: MediaWiki extensions
Classification: Unclassified
Cite (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-01-28 10:41 UTC by maxime.saintes
Modified: 2010-07-05 03:39 UTC (History)
3 users (show)

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


Attachments

Description maxime.saintes 2010-01-28 10:41:51 UTC
Hello,

what I would like to do is a footpage like this :

== References ==
<references>
* <ref name="article1">An article about the subject, which is 3 pages long</ref>
<references/>
<references group="A"/> 

Which would allow to refer to the article by using <ref name="article1"/>, or to only a specific page of the article by using <ref group="A">p.2</ref>.

It would greatly improve readability of such cases.

Thanks in advance.
Comment 1 Gadget850 2010-05-22 12:31:43 UTC
Duplicate of Bug 13127
Comment 2 Platonides 2010-05-22 15:08:35 UTC

*** This bug has been marked as a duplicate of bug 20707 ***
Comment 3 Gadget850 2010-05-22 15:33:27 UTC
(In reply to comment #2)
> 
> *** This bug has been marked as a duplicate of bug 20707 ***

 Bug 20707 is about nested refs; this is about adding page number support.
Comment 4 Platonides 2010-05-22 15:45:20 UTC
Seems I have misunderstood it. The is description not too clear... :/
Comment 5 Gadget850 2010-05-22 15:52:58 UTC
(In reply to comment #4)
> Seems I have misunderstood it. The is description not too clear... :/

I agree. The title and implementation are unclear. If this can be retitled, I suggest "add page number parameter".

As to implementation, it would be more like:

 <ref name="article1" page="2">

Editors keep asking for a page number parameter in Cite.php, but I have never seen a good description of where and how it should appear. If it is to appear inline, then it would be like the en.wiki http://en.wikipedia.org/wiki/Template:R. If in the reference list, then the only way I can see this is like shortened footnotes— http://en.wikipedia.org/wiki/Wikipedia:CITESHORT.
Comment 6 maxime.saintes 2010-05-22 16:38:49 UTC
Sorry if the explanation is not clear, i'm not fluent in english.
I think this "feature request" is not the same as Bug 20707, even if they both talk about pages in refs, which is not handled very well at the moment. What I am asking for is to be able to add a ref to an article, and also to add a ref to a subpart of this article.

When I add a ref to a subpart of an article, what I do is using a group, and grouping refs in the bottom of the article like this :
* Name of an article about the subject, which is 3 pages long
<references group="A"/> 

But if I do this, the only way to refer to the article as a whole is to add a ref with "Name of an article about the subject, which is 3 pages long" as text, which will cause this text to be duplicated in the bottom of this article.

So I wanted to write this to avoid duplication of the text :
== References ==
<references>
* <ref name="article1">An article about the subject, which is 3 pages
long</ref>
<references/>
<references group="A"/> 

But it doesn't work.

Sorry if it's still hard to understand. Any feature oriented to add support of subpages in references named would be great.
Comment 7 Gadget850 2010-05-22 17:00:15 UTC
(In reply to comment #6)
> Sorry if the explanation is not clear, i'm not fluent in english.
> I think this "feature request" is not the same as Bug 20707, even if they both
> talk about pages in refs, which is not handled very well at the moment. What I
> am asking for is to be able to add a ref to an article, and also to add a ref
> to a subpart of this article.
> 
> When I add a ref to a subpart of an article, what I do is using a group, and
> grouping refs in the bottom of the article like this :
> * Name of an article about the subject, which is 3 pages long
> <references group="A"/> 
> 
> But if I do this, the only way to refer to the article as a whole is to add a
> ref with "Name of an article about the subject, which is 3 pages long" as text,
> which will cause this text to be duplicated in the bottom of this article.
> 
> So I wanted to write this to avoid duplication of the text :
> == References ==
> <references>
> * <ref name="article1">An article about the subject, which is 3 pages
> long</ref>
> <references/>
> <references group="A"/> 
> 
> But it doesn't work.
> 
> Sorry if it's still hard to understand. Any feature oriented to add support of
> subpages in references named would be great.

Take a look at http://en.wikipedia.org/wiki/Template:rp 

That template allows named references to be reused and adds the page number inline.
Comment 8 Gadget850 2010-05-22 17:10:56 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > Seems I have misunderstood it. The is description not too clear... :/
> 
> I agree. The title and implementation are unclear. If this can be retitled, I
> suggest "add page number parameter".
> 
> As to implementation, it would be more like:
> 
>  <ref name="article1" page="2">
> 
> Editors keep asking for a page number parameter in Cite.php, but I have never
> seen a good description of where and how it should appear. If it is to appear
> inline, then it would be like the en.wiki
> http://en.wikipedia.org/wiki/Template:R. If in the reference list, then the
> only way I can see this is like shortened footnotes—
> http://en.wikipedia.org/wiki/Wikipedia:CITESHORT.

That should have been http://en.wikipedia.org/wiki/Template:rp
Comment 9 maxime.saintes 2010-05-22 20:23:26 UTC
In my opinion, Template:rp adds too much information in text. I think that pages should be specified at the bottom of the page, not in the text.
Comment 10 Gadget850 2010-05-22 20:29:16 UTC
Show me what that would look like.
Comment 11 Gadget850 2010-05-28 18:24:31 UTC
Actually it is a duplicate of   Bug 13127 -  Page number attribute for <ref> tags
Comment 12 p858snake 2010-07-05 03:39:57 UTC

*** This bug has been marked as a duplicate of bug 13127 ***

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


Navigation
Links