Last modified: 2011-03-13 18:06:48 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 T24823, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22823 - Add stable=1 parameter to action=raw
Add stable=1 parameter to action=raw
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
FlaggedRevs (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Aaron Schulz
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-03-13 13:54 UTC by Daniel Friesen
Modified: 2011-03-13 18:06 UTC (History)
1 user (show)

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


Attachments

Description Daniel Friesen 2010-03-13 13:54:29 UTC
action=render and action=raw did not work with stable=1 inside the 1.15 branch, looking at the labs wiki action=render now works with stable=1, however action=raw still does not follow the stable=1 param. That functionality is actually needed for a project I'm planning on using Flagged Revs on.
Comment 1 Aaron Schulz 2010-06-12 08:20:11 UTC
http://www.mediawiki.org/wiki/Manual:Parameters_to_index.php#Raw

I'm not sure if this is even a good idea.
Comment 2 Daniel Friesen 2010-06-12 09:05:23 UTC
What's bad about supporting stable=1 on raw? We already allow an oldid=# to control what revision is displayed, just as we do on render, view, edit... and those accept stable=1 as well, so I don't see any reason why allowing it to work on raw as well as all the other actions supporting oldid=# could pose any problem. You need to explicitly pass it, so it bots can't even get tripped up over it.
Comment 3 Aaron Schulz 2010-06-17 01:21:32 UTC
Also, RawPage would need a partial rewrite for this to be done right (would stable=1 use stable templates?), and there isn't really much motivation to do that.

It does have one hook *after* it generates everything, so using that would require duplication and throw-away CPU effort.
Comment 4 Rob Lanphier (RobLa) 2010-07-12 21:52:35 UTC
This is going to be pretty difficult to implement.  Please raise this on mediawiki-l if you'd like to discuss.

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


Navigation
Links