Last modified: 2014-10-12 14:35:14 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 T73978, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 71978 - action=purge broken
action=purge broken
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Unprioritized critical (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-12 13:06 UTC by Subfader
Modified: 2014-10-12 14:35 UTC (History)
0 users

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


Attachments

Description Subfader 2014-10-12 13:06:23 UTC
https://www.mediawiki.org/w/index.php?title=MediaWiki&action=purge redirects to https://www.mediawiki.org/wiki/MediaWiki

1) Why?
2) Was the purge run? I fear not:

Article.php uses

$request = $this->getContext()->getRequest();
$purge = $request->getVal( 'action' ) == 'purge';

Test yourself: Add this console.log to it and run action=purge

echo "<script>console.log('action: ". $request->getVal( 'action' ) ."');</script>";

Confirmed on 1.22.12 and latest on mediawiki.org

Sorry if this is false alarm but nobody was able to answer me this and need to to check action=purge for flushing memcache.
Comment 1 Sam Reed (reedy) 2014-10-12 13:08:05 UTC
I think that's right. If you're logged in, a purge will just run and redirect you.

Try visiting https://www.mediawiki.org/w/index.php?title=MediaWiki&action=purge when not logged in. You've got a button to press

RESOLVED WORKSFORME?
Comment 2 Subfader 2014-10-12 13:35:47 UTC
In IRC the devs told me purging works but grabbing the action parameter after that makes no sense.

So my problem is that in an extension I cannot determine wether the page was purged or not. But that's essential for the output of memcached queries.
Comment 3 Subfader 2014-10-12 14:35:14 UTC
Closed as ITSCOMPLICATED.

Sorry guys.

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


Navigation
Links