Last modified: 2009-09-25 10:31:20 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 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