My user is part of the sysop group, but I do not see a way to edit the history. I have even added the variable $wgRCMaxAge = 2592000 to the LocalSettings.php file.
See RevisionDelete. $wgRCMaxAge controls how long back can you go in Special:RecentChanges, it's not related to anything like that.
Related
In my wiki I sent in a request to add a new namespace called 'Exchange', however adding the new namespace will delete all pages with the name 'Exchange:blahblah'. So I would need to change the page name for all these pages before requesting to add the namespace. The problem is that there are just under 1000 pages such as 'Exchange:blahblah' and changing the names of all of them would take up too much time.
My question is how, if possible, can I change the names of all these pages without having to manually alter the name individually. That is, if I wanted to change every exchange page from 'Exchange:blahblah' to 'Exchange1:blahblah', then is there a quick and easy way to change them all. All the pages are under the same category, if that helps.
Any advice would be greatly appreciated.
Add the namespace then run php maintenance/namespaceDupes.php --fix --move-talk from shell. See its documentation for details.
I got a file uploaded to the wiki that is usually edited by a certain team. As an IT support person I got in to try a few things out with the file, when the team had trouble. As result, I have made an edit, and the team later rolled the edit back.
Problem: on File:filename.pdf under File History it now says things like
current [date] [size] [team] reverted
revert [date] [size] [me] test edit
revert [date] [size] [team] comment
Question
The team wants to erase my edit and their revert from history altogether as if it had never happened.
How can I do that?
I have access to raw database if needed, but hoping there is a simple way.
If you can live with erasing the whole revision history of the page, you can use the maintenance script DeleteOldRevisions.php:
php maintenance/deleteOldRevisions.php --delete PAGEID
Another option is to enable the RevisionDelete function. This will enable you, as a sysop, to hide specific (non-current) revisions from ordinary users:
Edit: Tgr points out below that it is still possible to see that revisions hidden this way has been hidden.
There should be a delete link next to the old versions of the image in the history section of the file page (if you are logged in as an administrator), just use that.
After using a particular interwiki link for a while on my wiki (Mediawiki 1.15.1), the other wiki changed its domain name, and I'd like to update my interwiki links. I changed the URL in the mw_interwiki table, but the links aren't updating.
I have tried adding "?action=purge" on the page with the links. I do not appear to have $wgInterwikiCache set in my LocalSettings file, and the mw_transcache table has no rows in it.
Is there something else I need to do to trigger an interwiki URL update?
EDIT Time solved this problem; after a few hours the links updated, so it's probably a caching issue. Not sure what process would be best to force a cache break if ?action=purge doesn't do it, though.
Using version 1.4.1 of Extension:Interwiki (on MediaWiki 1.20.2), I had the same problem. Even after deleting the interwiki entry, page previews continued to use the previously-stored value.
Upgrading to Interwiki 2.2 20120425 caused my next interwiki edit attempt to fail, but I was able to delete the entry and recreate it; after that, the links finally updated.
Use Extension:Interwiki to do the change. It will update the links instantly.
I may be missing something obvious here, but in the devel module settings I have checked "Collect query info" and "Display query log", and saved. Where does this information show up? I don't see anything different when I load pages. Is there a variable that I need to inject somewhere in my templates that I missed? I would like to view what queries are executing on each page and the amount of time they are taking.
It should show up in $closure in your theme, unless you have something like Admin installed. In that case, it shows up in the Admin menu under the Devel section.
In addition to Mark Trapp's answer: you need a permission set: "display devel output". Users without that permisison will see no development output.
Check user permissions - there is a specific permission allowing you to view the devel logs. No permission=see nothing at all.
I would like to allow the logged user to edit MediaWiki/Common.css without adding them to the sysop group.
I understand that this will allow user to change it to harful ways but it is a closed wiki so that is not a problem.
Any solution is acceptable even changing php code :)
Create a new group, add give it "editinterface" privilege. In LocalSettings.php it's done like this:
$wgGroupPermissions['mynewgroup']['editinterface'] = true;
Then add the user to you new group.
Or if you want to give that right to all logged-in users, do it like this:
$wgGroupPermissions['user']['editinterface'] = true;
// user is the default group for all logged-in users
For details see MediaWiki manual.
Probably safer to use;
$wgAllowUserCss = true;
See Mediawiki Manual for the complete details.
"When enabled, users are able to make personalised customisations over and above the normal choice of skins within the 'preferences' display."
A similar setting is available for Javascript.