Last modified: 2009-09-25 10:31:20 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 T14861, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 12861 - action=render should support section parameter (and perhaps action=view should too)
action=render should support section parameter (and perhaps action=view shoul...
Status: RESOLVED DUPLICATE of bug 9711
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.12.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-02-01 15:33 UTC by Roan Kattouw
Modified: 2009-09-25 10:31 UTC (History)
4 users (show)

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


Attachments

Description Roan Kattouw 2008-02-01 15:33:01 UTC
The idea is pretty clear (per request on the mediawiki-api list): action=render&section=2 should return a rendered version of the 2nd section only.
Comment 1 Dan Jacobson 2008-09-12 09:42:26 UTC
Also perhaps allow using the anchor name: Pie#Apple : section=Apple.

But what about subsections with the same name? MediaWiki already deals
with this case by appending _1, _2, ... so no problem.
Comment 2 Roan Kattouw 2008-09-12 13:04:47 UTC
(In reply to comment #1)
> Also perhaps allow using the anchor name: Pie#Apple : section=Apple.
> 
> But what about subsections with the same name? MediaWiki already deals
> with this case by appending _1, _2, ... so no problem.
> 

That's bug 15575, which is less related than it seems to be. Adding the section= parameter to action=raw will probably just use a method of Article or Parser (don't remember which one) to get the section text. The real problem in bug 15575 is that that method takes a section number rather than a name.
Comment 3 Alexandre Emsenhuber [IAlex] 2009-09-25 10:31:20 UTC

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

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


Navigation
Links