Exclude pages from Mediawiki recent changes?

You can use the SpecialRecentChangesQuery hook to exclude the specific page by title, like this.

You can use the SpecialRecentChangesQuery hook to exclude the specific page by title, like this: $wgHooks'SpecialRecentChangesQuery' = 'rcExcludeSandbox'; function rcExcludeSandbox( $conds ) { $dbr = wfGetDB( DB_SLAVE ); $conds = 'rc_title! = ' . $dbr->addQuotes( 'Sandbox' ); return true; } This will prevent all changes on the page "Sandbox" from appearing in Special:RecentChanges.

I added this code to the LocalSettings. Php and it works! Thanks.

I'm no sure this is the best place? Any advice? – mor22 Feb 5 at 11:01 1 Yes, that's completely fine.

– MatÄ›j Grabovský Feb 5 at 14:57.

If you don't mind writing some PHP, consider using the mediawiki.org/wiki/Manual:Hooks/OldChang... hook. If you set $s to an empty string for a given page, then those edits shouldn't appear in Special:RecentChanges.

Easiest would be to put your page in a different namespace, and not search it by default. Unfortunately that functionality isn't in the current version of Mediawiki. I think you have to use Namespace Manager, It doesn't look like it is finished, but you could give it a shot.It seems like the plan is to add it to a future version.

You could just make a page named Sandbox, and then allow users to edit that page. If you use Enhanced Recent Changes all those edits will appear together, so it won't bother you too much.

Thanks, I'm using mw 1.15.1, and don't have much option to change versions at the moment. I do use the enhanced functionality and also have a shot list of recently changed pages on the main page. If users are messing about with my testing page, then the edits show up here too.

I'd like them not to. – mor22 Feb 4 at 10:02 Yea it would be a lot of work to integrate this into an existing installation of Mediawiki. – Adrian Archer Feb 4 at 14:22 On mediawiki.Org for example the sandbox is included in the recent changes, so maybe its something that you will have to just deal with, if what Joshua Lerner suggested doesn't work.

– Adrian Archer Feb 4 at 14:23.

My solution is a separate wiki instance. It is not that hard to set up and then you can also test functional changes in isolation as well.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions