Last modified: 2013-03-15 16:59:30 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 T37321, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35321 - Add purge_specials right
Add purge_specials right
Status: NEW
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-19 12:34 UTC by Danny B.
Modified: 2013-03-15 16:59 UTC (History)
1 user (show)

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


Attachments

Description Danny B. 2012-03-19 12:34:56 UTC
Some special pages are cached. Sometimes they are cached for long time and some big maintenance can be done in the meantime and it's necessary to update the list right at the moment.

So some "purge_specials" right should be added, assuming by default perhaps for bureaucrats, which would allow them to purge the cache of such special page.
Comment 1 Bawolff (Brian Wolff) 2012-03-19 20:32:06 UTC
If the special page updates are disabled, they are probably expensive enough that we generally wouldn't want crats to be able to do them.
Comment 2 Danny B. 2012-03-24 09:28:46 UTC
I iwas talking about cached, not disabled special pages.
Comment 3 Bawolff (Brian Wolff) 2012-03-24 23:18:58 UTC
(In reply to comment #2)
> I iwas talking about cached, not disabled special pages.

That's what a cached special page is. (A page where auto-updates were disabled, usually via $wgMiserMode). In the Wikipedia case, I highly doubt we want crats being able to rebuild those pages.


Some sort of inbetween mode, where they get cached, but users could trigger a rebuild if the cache is to far out of date might make sense for moderate sized wikis that don't want to set up cron for some reason. However, in that case I think we'd just want a "on page view see if cache is to far out of date, then rebuild" rather then a specific group being able to cause rebuilds.
Comment 4 Danny B. 2012-03-25 23:16:39 UTC
OK, let me try to clarify one more time - I was talking about special pages which are being updated e.g. weekly. They are not disabled at all, but they don't work on demand.

I thought we elect bureaucrats as reasonable people, which among other means they won't be rebuilding it every other minute. On the other hand, there can be any other group of users added with such right.

Situations when you do a bot maintenance and in the middle of it you have to wait another week for update are very frustrating. That's why we need some way, how to purge on demand.
Comment 5 Bawolff (Brian Wolff) 2012-03-26 02:33:09 UTC
> 
> Situations when you do a bot maintenance and in the middle of it you have to
> wait another week for update are very frustrating. That's why we need some way,
> how to purge on demand.

Bot owners can always get a toolserver account and run the query themselves ;)


>OK, let me try to clarify one more time - I was talking about special pages
>which are being updated e.g. weekly. They are not disabled at all, but they
>don't work on demand.

There really isn't a difference on the MediaWiki side between the two cases. One of them is just so infesible that no one runs the maintenance script for them.

------

The only way I could really see this happening (for big wikis anyways) is if the crats had a request rebuild button, which would put the special page in a queue to be refreshed, which some other server designated to handle such things would eventually get to (possibly several hours, maybe days later). Which would be quite a complicated feature for not a lot of gain.

(Of course I'm not really familiar with the intimate ops related details of rebuilding special pages, so I could be over-estimating how expensive they are)

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


Navigation
Links