Help talk:Recent changes

From MediaWiki.org
Jump to navigation Jump to search

Typo[edit]

This page is "recent changes"... but the first paragraph is talking about "Recent pages". I'd take a stab at correcting it, but this page has too much visibility.

Good observation. I just fixed it. Cheers. --Lorikeet 23:30, 23 March 2010 (UTC)

Show last changes of a specific namespace[edit]

Hello, i want to show on my mainpage the last 5 changes of the namespace 106. What is the parameter for the namespace? I tried {{Special:RecentChanges/limit=5,namespace=106}} didn't work.. Thx for your help! — Preceding unsigned comment added by 46.140.22.222 (talkcontribs) 14:46, 23 June 2014‎

More support on meta[edit]

The main documentation page for this concept is at meta:Help:Recent changes. These should be synced eventually. Blue Rasberry (talk) 14:50, 11 April 2016 (UTC)

Recent changes in a category[edit]

Hello,

Is there a way to only list recent changes in a category? It seems it could (I can see a related setting Manual:$wgAllowCategorizedRecentChanges).

The Extension:Dynamic_Article_List extension which used to do the same thing seems to be obsolete for MW 1.26 already.

Thanks Petr

It's called Special:RelatedChanges, see Help:Related changes. Nemo 14:50, 3 June 2016 (UTC)


Thanks Nemo. Actually the Related pages seems to search on linked pages/namespaces. Nevertheless, the out-of-the-box "Special:RecentChanges" page has the filter for categories (the "Limit to categories (separate with "|"):") textbox but I get an error when filling out a category name (works fine if blank):

  • PHP Fatal error: Call to a member function numRows() on array in ...\qawiki\includes\specialpage\ChangesListSpecialPage.php on line 345
  • PHP Fatal error: Call to a member function numRows() on array in ...\qawiki\includes\specials\SpecialRecentchanges.php on line 364
  • PHP Fatal error: Call to a member function free() on array in ...\qawiki\includes\specialpage\ChangesListSpecialPage.php on line 79

The issues above can be fixed by doing count() on the array instead of calling ->numRows() method, and by removing $rows->free() altogether. (We're on MW 1.26.2, PHP 5.6.21.)

Are you sure you run update.php? No idea what you mean by "Actually the Related pages seems to search on linked pages/namespaces", perhaps an example shows better. Nemo 11:19, 1 October 2016 (UTC)

Yes, the example helped! So, I need to navigate to any wiki page, then I click the "Related changes" link (I have it in the left pane at the bottom), and then I (in the "Page name:" textbox) I replace the current page name with "Category:<category name>". The search then works fine. Still, there seems to be a bug in the "Special:RecentChanges" page though (calls to numRows() and free()) - as I described it above.

What's also a bit confusing: In your an example page (which is a Special:RecentChangesLinked page), there are the following boxes: "Namespace" (a dropdown), "Tag filter" (an editbox), and "Page name" (an editbox). In our instance, I have: "Namespace" (dropdown), "Limit to categories" (textbox), and "Page name" (textbox). If I type my category (let's call it CategoryA) to "Limit to categories" box (and leave "Page name" box empty) and hit "Go", I get nothing. If I leave "Limit to categories" box empty and type "Category:CategoryA" to "Page name" box, I get correct results.

I don't see anything called "Limit to categories". There are only two text fields and the first is for tags, not categories. Nemo 17:56, 3 October 2016 (UTC)

Recent changes NOT update.[edit]

Recent changes not update after edit in my wiki.(1.28.0)

But page history has been record.Tunglinwu (talk) 18:15, 30 November 2016 (UTC)

--- Also with me, same Wiki version. No changes are displayed at all.

MediaWiki ist not usable without this function properly working (monitor spam).

--anonymeous 18:51, 29 December 2016 (UTC)

--- Same problem here, upgraded to 1.28.0 just a day ago and 'Recent changes' is not updated anymore till you run 'rebuildall.php'. It gets updated, but won't update till you run the rebuildall.php again. Any way to solve this? Thanks!, --Albert Ke (talk) 23:14, 6 January 2017 (UTC)

Booleans[edit]

The syntax for invoking the Boolean options is to declare the option with no value. For example:

{{Special:RecentChanges/hideliu}}

None of these will work, and none produce any visible error suggesting why:

{{Special:RecentChanges/hideliu=true}}
{{Special:RecentChanges/hideliu=True}}
{{Special:RecentChanges/hideliu=1}}
{{Special:RecentChanges/hideliu=yes}}