Extension talk:Purge

Jump to navigation Jump to search

About this board

This board is for discussion about the Purge extension. You can also file an issue at https://github.com/Hutchy68/Purge/issues

archive of previous talk

Purge link inactive under REL1_35

Summary by Kghbln

Issue related to SMW which was fixed with the 3.2.1 release.

AndreCstr (talkcontribs)

Anyone aware of why the Refresh link is disabled in REL1_35?

<li id="ca-purge" class="is-disabled"><a href="/sfb1368/wiki/index.php?title=Test&amp;action=purge">Refresh</a></li>

&action=purge seems to work fine.

Kghbln (talkcontribs)

SMW uses a similar implementation of it's own. It also fails for MW 1.35 and later. Probably a "goodie" provided during some refactoring.

Hutchy68 (talkcontribs)

Refresh, that is SMW not the Purge extension. Purge displays, Purge and your code shows Refresh.

Kghbln (talkcontribs)

Indeed, this is correct. I am now totally confused if Purge works for MW 1.35 or not. No clue. However I do know that SMW 3.2.1 brought the fix for SMW.

Hutchy68 (talkcontribs)

It does work, the question is should we separate Purge by changing it's #id from ca-purge to ca-purge-ext. As I said SMW steps on Purge by overwriting it. SMW takes over the link name, changes from Purge to Refresh. SMW attaches new JS, overwriting Purge's JS.

Kghbln (talkcontribs)

I do not really see a point in installing Purge together with SMW. Never done that. However making these extension not "clash" in a way will probably still be a good idea.

Hutchy68 (talkcontribs)

I would agree, but some may not know they conflict or take them as one and the same if they are new to SMW. I'll create an issue to discuss this further on GitHub. Thanks!

Reply to "Purge link inactive under REL1_35"

Purge link does not show out of the box

TheDragonFire300 (talkcontribs)

The purge link does not show correctly in Vector out of the box. A MediaWiki page must be created, but this should all happen automatically.

Kghbln (talkcontribs)

Well, if there is no page, nothing needs to be purged I guess?

POST request, for single action

Summary by PlavorSeol

That should be on GitHub + no more comments over a year

Samwilson (talkcontribs)
Summary by PlavorSeol

Not a bug + no more comments over 3 years (talkcontribs)

i loaded both files to extensions/purge and added require_once("$IP/extensions/Purge/Purge.php"); in the localsettings.php, but it doesn't create a purge tab

This post was posted by, but signed as simpsonspedia.net.

Kghbln (talkcontribs)

Did you set $wgGroupPermissions? (talkcontribs)
Kghbln (talkcontribs)

I just installed it on my 1.18.1 and it works perfect with Monobook. Since you a using a skin based on Monobook it should work. To make sure it might be an idea to additionally install a normal Monobook and see if it works there. If it does, some adjustments to your individual skin causes the problem and have to be fixed, if it does not I have not clue why it is not working. Cheers

For those who use Vector: Purge for MW 1.18.x and probably 1.17.x only works with the version currently in trunk, which will be MW 1.19.x after the package for it was created. (talkcontribs)
Kghbln (talkcontribs)

Please answer in English to allow others to follow this too. It should work with the snapshot for MW 1.18. so I cannot tell what goes wrong. I just realise the ['*' ] in your third post. If it is in your LocalSettings.php like that this may the be the problem. Insert ['*'] without the blank. Also set the permission after invoking the extension. I guess these are all ideas from me, I am afraid. Cool wiki anyway. :) (talkcontribs)
QuietMrE (talkcontribs)

Same here:

MW 1.18.2 Purge 1.18x Extension folder is fine LocalSettings.php is ok No tab on either the localhost or live (internet) versions of the wiki

Strange thing is I had it running fine on both versions of MW 1.16

WilliamLazycat (talkcontribs)

The link shows up in the drop-down for me, but not as a tab.

Summary by PlavorSeol

Resolved + no more comments over 6 years

Agrestis (talkcontribs)

There is currently no download available from the extension distributor.

Kghbln (talkcontribs)

I am afraid you will have to acqurire the code from SVN directly. I just adjusted the instructions. Cheers

Summary by PlavorSeol

Resolved + no more comments over 6 years

Pierro78 (talkcontribs)

when I had

$wgExtensionMessagesFiles['Purge'] = $dir . 'Purge.i18n.php'; 

in Purge.php

my http://projetgentilsvirus.ouvaton.org/index.php/Sp%C3%A9cial:Version was empty ... don't know why ... probably because of another extension ??

I just commented it and had sthg like :

                                'text' => 'Actualiser - Refresh' , // wfMsg( 'purge' ),

so that the purge label is OK on my wiki

There are no older topics