Extension talk:FlaggedRevs/archive 3

See Extension talk:FlaggedRevs/archive 1

Problems enabling reader feedback
I don't see the User Feedback Box on my Articles (Wiki version 1.13alpha) though i did all the following:
 * 1) chmod -R 775 extensions/FlaggedRevs
 * 2) Run maintenance/update.php
 * 3) Run maintenance/archives/populateSha1.php. (Got error "PHP Notice:  Undefined index:  HTTP_USER_AGENT in extensions/FCKeditor/fckeditor/fckeditor_php5.php on line 37" but i don't think this could have do to something with this problem.)
 * 4) Run flaggedrevs/maintenance/updateAutoPromote.php.
 * 5) GD lib installed and working
 * 6) I don't know if i needed to "run FlaggedRevs/maintenance/updateStats.php". I didn't do, because i couldn't find it. Where is it / should it be? "locate updateStats.php" didn't show it. Must i run it to enable feedback?
 * 7) "include_once('extensions/FlaggedRevs/FlaggedRevs.php');" added to my LocalSettings
 * 8) $wgReviewCodes set
 * 9) "$wgGroupPermissions['*']['feedback'];" added to localsettings.php (by the way, perhaps you want to add the ";" behind "add $wgGroupPermissions['*']['feedback']; to localsettings.php." in the extension article. I missed it and got the blank wiki website after refreshing my browser)
 * 10) $wgFlaggedRevsFeedbackTags kept on the defaults ( $wgFlaggedRevsFeedbackTags = array( 'reliability' => 3, 'completeness' => 2, 'npov' => 2, 'presentation' => 1 );  )

There's also no "rating" tab/link on any page ("stable" or "not sighted") as mentioned below "Monitoring reader perception".

The $wgFlaggedRevsComments option seems to work. But as i need to give all normal users the option to leave their opinion and not to sight/review pages, this seems not to by a possible alternative. Or can i modify the user's rights to allow access to the comment function but not to sighting and reviewing?

patrolling
"$wgUseRCPatrol is enabled with the extension. Flagged revisions are marked as patrolled. Sysop patrolling and autopatrolling is disabled. This will mean that the only way to patrol a revision to to tag it as stable. If you have any custom groups with patrol rights, you may want to give them editor rights instead. The advantage is that patrolled edits will always correlate with a reviewed revision."

This is unclear (or perhaps I'm dense). So full diff patrolling is turned on, but then replaced by flaggedrevs? What happens for wikis with only patrolling of new pages? The cited advantage of using stable versions instead of patrolling is not really an advantage, as we do not want patrolled pages to necessarily be reviewed. Sighted, perhaps, but only if sighted versions are not shown be default (users should see the most recent revision, or something higher than sighted). OTOH, maybe I'm misunderstanding how patrolling and flaggedrevs interact here. Mike.lifeguard 20:45, 21 March 2008 (UTC)

Special:QualityOversight:

Fatal error: Class 'LogEventsList' not found in ...\extensions\FlaggedRevs\FlaggedRevsPage.php on line 1461

--193.175.73.207 18:34, 17 April 2008 (UTC)
 * Please use a new version of MW (revision # given on extension page). Aaron 22:44, 17 April 2008 (UTC)


 * Thank you, that did it. However, Special:StablePages delivers now an empty list for me, although I have several pages marked as stable, UnreviewedPages and QualityOversight seem to work. I am using a two point rating system ([unmarked,] sighted, reviewed), configured with

$wgFlaggedRevTags = array( 'accuracy'=>2 ); $wgFlaggedRevValues = 2; $wgFlaggedRevPristine = 2;
 * Any ideas what might be wrong?


 * Btw, thank you for this great extension, it's exactly what I needed!!! --92.195.50.177 13:56, 20 April 2008 (UTC)
 * "StablePages" is for pages where the settings were changed by admins. They are not ordinary pages with stable versions. Also, note that QualityOversight is not retroactive though. The way the logs are stored was changed slightly in order to make it. Aaron 15:54, 20 April 2008 (UTC)


 * I found out why I was missing my reviewedpages -list: the german translation uses 'Markierte Seiten' for both 'reviewedpages' and 'stablepages', thereby displaying only the first one in the special pages listing. I changed 'stablepages' to 'Manuell markierte Seiten' and now everything works as before. --92.195.29.162 15:58, 21 April 2008 (UTC)

$wgUseStableTemplates
I think I have configured things as intended but have a situation that seems to break the logic. If I use a template to translude the contents of another page (the sub page) into a page (the master page) and both are set for reviewing things seem to get confused in the list of previous versions for the master page

I create the masterpage and the sub page, and transclude the sub page in the master page, I've set $wgUseStableTemplates true so that when I review the master page I get the approved version of the sub page. The system is set so the non logged in people see the stable version

Basically if any entry from the list of previously approved versions of the master page is selected, it shows the currently approved version of the sub page rather than the version of the subpage approved at the time when the master page was approved, which is logically what I'd want, ie what did the master page look like when it was approved on that date.

Tarlachmoorhouse 14:10, 23 April 2008 (UTC)
 * You don't want that setting then. It is for approving templates and having that trickle down to pages, rather than approving pages, and then having that trickle down to all other pages that use the templates. Aaron 14:40, 23 April 2008 (UTC)


 * OK so the $wgUseStableTemplates works so that even if I am viewing a 'reviewed' page, an included template in that page will be updated to a later stable version of the template, e.g if I'm using the template to display a site message, if I change the site message all the pages containing it get updated to the later message including all the reviewed on and any in the historical list


 * I've tried switching it off but now when I go to the master page to review it, because I am in the Editors Group (which sees & edits unapproved pages) the master page contains the latest version of the subpage, irrespective of whether it is approved or not and when I approve the master page this unapproved text appears, rather than the approved version of the sub page. what I in effect need is a way to say when looking at a page that transcludes text from another page that has an approval, only show the approved text on that page, but once that master page has been approved it shoudl ignore changes to the subpage approved or otherwise.


 * To put this in context we are using the system to contain Policy & Procedure Documents and use transcuded pages to allow granularity and for a sub section of one policy to appear in other policy eg. 'paying an invoice' is held once but may appear as an inclusion in a number of different master pages, if the finance department is working a newer version of the 'paying an invoice' page, then if the transport department want to approve a process that includes 'paying an invoice' we need the current approved one not the part completed new version finance are working on. I don't have a problem with making transport 're-approve' their pages to include the new version of the 'paying an invoice' once finance release it, (this is good change management) we can use 'what links here' to pages that transclude the subpage


 * thanks Tarlachmoorhouse 07:47, 24 April 2008 (UTC)

Magic word to exclude a specific page from being reviewed
is it possible to have a magic word such as __NOREVIEW__ which when inserted into a page would stop the review widgit and the review status top bar from appearing on that page.

Tarlachmoorhouse 10:03, 2 May 2008 (UTC)

$wgFlaggedRevsWhitelist = array ('Hauptseite');

PHP fatal error bugs
I'm using Mediawiki 1.12.0 and FlaggedRevs 1.04 and I'm getting the following fatal errors:
 * PHP Fatal error: Call to undefined method OutputPage::appendSubtitle in /var/www/ /website/extensions/FlaggedRevs/FlaggedArticle.php on line 92
 * PHP Fatal error: Class 'LogEventsList' not found in /var/www/ /website/extensions/FlaggedRevs/FlaggedRevsPage.php on line 1638, referer: http:// /index.php/Special:Specialpages

Why are you targeting at the beta MediaWiki instead of the stable version? I'ts not a better idea to target the stable version and add new feature only once the next stable version is released? Nicolaasuni 10:29, 8 May 2008 (UTC)
 * This is a new extension. For a version for 1.12, you can go here Aaron 00:55, 9 May 2008 (UTC)

I'm using MediaWiki 1.14.0 and downloaded snapshot FlaggedRevs for 1.14.x an I'm getting the same fatal error as above: I have no idea how to solve this. Is the latest medaiWiki und the latest FlaggedRevs...
 * PHP Fatal error: Call to undefined method OutputPage::appendSubtitle in /var/www/httpdocs/extensions/FlaggedRevs/FlaggedArticle.php on line 186

CSS Errors
CSS files contains some errors, please use W3C CSS validator before publishing (i.e. "no-wrap" must be "nowrap"). Nicolaasuni 10:29, 8 May 2008 (UTC)
 * This was fixed recently. Aaron 00:58, 9 May 2008 (UTC)

Enabling this extension at a Wikimedia wiki?
Some time ago there was an announcement that this extension was working on de.wikipedia, and that other individual wiki projects could request it at bugzilla.

At bugzilla, though, I see no evidence that any wiki has recently requested it, nor do I find a "help" page anywhere explaining in simple terms what settings need to be specified for such a request.

So it is currently possible to request enabling this feature for Wikimedia wikis? Is there any available model for how to make such a request correctly?

At he.wikisource.org we have already confirmed our request through a community vote. Are there any other specific features we need to add? Dovi 05:26, 30 May 2008 (UTC)

Is README Obsolete? Missing update.php and populatesha1.php from Snapshot
Hi, I'm trying to add FlaggedRevs to an MW1.12 wiki. I downloaded the snapshot listed for MW1.12 (r31252) and am trying to discern my way past two significant discrepancies in the documentation:

1. The readme instructs the user to run maintenance/update.php. There is no maintenance folder present after unpacking r31252, and I do not find an update.php anywhere in the unzipped folder tree or anything named similarly.

2. The readme instructs the user to run maintenance/archives/PopulateSha1.php. There is no maintenance folder, but there is an archives folder which contains two scripts, patch-expiry-index.sql and patch_fpc-expiry.sql.

I tried downloading the latest snapshot (r36923) but come up against a similar impasse:

1. The readme instructs the user to run maintenance/update.php. There is a maintenance folder present, but it contains three different php files: ReviewAllPages.php, UpdateAutoPromote.php, and UpdateLinks.php. I have no idea whether these supercede an earlier 'update.php' (which is nowhere to be found) or if I have somehow got hold of an incomplete snapshot. If I do not wish to enable Auto Promotion, should I execute just the other two?

2. The readme instructs the user to run maintenance/archives/PopulateSha1.php. There is no such file in the maintenance/archives folder or anywhere else within the unbundled snapshot directory tree. There are five different sql patch scripts within the archives folder.

The online documentation contains the same instructions. I searched the discussion archives for this extension as well as Googling "flaggedrevs populatesha1" without coming up with any helpful clues.

Have I got hold of two bad snapshots? Am I perhaps just being dense? I am not highly experienced at moderating a wiki, nor at system-hosting in general, and I apologize in advance if my questions are ignorant. Apostleverde 21:18, 2 July 2008 (UTC)


 * The "maintenance" directory is in the main mediawiki directory, not flaggedrevs. Aaron 21:56, 2 July 2008 (UTC)


 * Many thanks, Aaron. I was able to deploy (unfortunately I was not able to complete the implementation.  I receive a WSOD as soon as FlaggedRevs is included in LocalSettings.  Commenting out the include, immediately eliminates the WSOD problem.  I have also had the same problem if I try to set a custom logo by adding a $wgLogo= setting to LocalSettings.  I suspect I have an issue with my Apache directory permissions setup and am still researching this.)  Thanks for the quick response to my question.  Apostleverde 18:30, 3 July 2008 (UTC)


 * (Got it working. I was trying to use the latest FlaggedRevs with MW1.12.  Updated to MW1.13.)   Aaron, thanks for the help.  Also, thanks for creating this very useful extension.  This will be invaluable as I'm using MW as an internal CMS at my company.  My compliments!  Apostleverde 15:50, 7 July 2008 (UTC)

Can I Suppress the Review Status Bar for Key Pages (such as Main Page?)
Aaron, again thanks for all of your effort with this. I've implemented it in my company's intrawiki, and one thing I would like to do is suppress at least the review status bar for key pages such as the Main Page. Maybe I've missed this in everything I've read, and if so I apologize. Is there an easy way to do this? Obviously some form of this is implemented in Wikipedia. Regards, Apostleverde 14:46, 8 July 2008 (UTC)
 * Not really. I'll look into it since it seems useful. Aaron 16:44, 8 July 2008 (UTC)
 * Thanks for the consideration, Aaron. How is this done currently within Wikipedia?  Skin hack?  Custom mod of FlaggedRevs.php? Apostleverde 14:59, 9 July 2008 (UTC)
 * Just added $wgFlaggedRevsWhitelist. Aaron 17:29, 9 July 2008 (UTC)

FlaggedRevs and Semantic Media Wiki
When I try to use the vet tab to control what version of a page users see, I get this error:

PHP Catchable fatal error: Argument 1 passed to SMWSQLStore::updateData must be an instance of SMWSemanticData, null given, called in /extensions/SemanticMediaWiki/includes/SMW_Factbox.php on line 307 and defined in /extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore.php on line 771, referer: /wiki/index.php?title=Special:Stabilization&page=Main_Page

Thoughts or suggestions? 192.73.45.37 17:59, 17 July 2008 (UTC)

FlaggedRevs class not found in updateAutoPromote.php
I'm trying to install FlaggedRevs on a MediaWiki installation version 1.13. Both are the latest from SVN as of this post. After I run the SQL code, update.php, and populateSha1.php, I run updateAutoPromote.php as instructed. I get the following error:

Populating and updating flaggedrevs_promote table ...doing user_id from 1 to 3 PHP Fatal error: Class 'FlaggedRevs' not found in /[installdir]/extensions/FlaggedRevs/maintenance/updateAutoPromote.inc on line 26

Any suggestions? Versions: Apache/2.2.0, PHP 5.2.6 (cgi-fcgi), and MySQL 5.0.45-community, memcached 1.2.5. Staeiou 19:52, 23 July 2008 (UTC)


 * Well, I went ahead and installed it in LocalSettings.php even though updateAutoPromote.php did not execute successfully. It worked!  I then went back and ran updateAutoPromote.php and it executed with no errors.  This may be cause for changing the installation procedure if updateAutoPromote.php is not necessary to run before installation.  Staeiou 20:00, 23 July 2008 (UTC)

undefined method OutputPage::addExtensionStyle
Hello everyone, I believe everything went well in the install. (I'm using 1.13.0rc2)

After I've made myself a "Reviewer", I have this error on the main page Fatal error: Call to undefined method OutputPage::addExtensionStyle in \extensions\FlaggedRevs\FlaggedRevs.class.php on line 1168

Any suggestions?
 * Either update trunk to HEAD or use the 1.13 version of flaggedrevs. Aaron 15:22, 12 August 2008 (UTC)

Is there (planned) support for the media wiki API?
I'm looking into using mediawiki in combination with the FlaggedRevs extension, now I would like to do some maintenance on pages and content using the media wiki api.

I've tried editing, and this still works. I would also like to be able to review pages! Is there support for this through the mediawiki API?

Your sincerely, --Carter040 12:01, 17 September 2008 (UTC)

Disable on the Mainpage
Hello. First, excuse my bad english. Anyone can say me, how to disable the FlaggedRevs on the mainpage, categories, etc.? Thanks and greets --212.203.69.70 14:24, 22 September 2008 (UTC)
 * Add the page titles (strings) to $wgFlaggedRevsWhitelist. Like $wgFlaggedRevsWhitelist = array( 'Main_Page' );. Aaron 14:41, 22 September 2008 (UTC)
 * Tanks very much ;) --212.203.69.70 05:43, 23 September 2008 (UTC)

Table not found...?
So, I'm currently running Mediawiki 1.13.1, with PHP 5.2.6, and MySQL 5.0.67 on a Windows machine. I followed all the steps put forward by the Extension page and after adding the include statement to my LocalSettings.php file and restarting my server, I get messages when trying to run the updateAutoPromote.php file.


 * The error message states:
 * MySQL returned error "1146: Table 'wikidb.flaggedpages' doesn't exist (localhost)"

I really don't want to hack the wikidb entry to include a flaggedpages table... but I'd really love to figure out how to get that table properly integrated into my database. Can anyone make any suggestions? --192.223.226.5 20:46, 22 September 2008 (UTC)


 * I was able to play around with running the update.php, updateStats.php, & updateAutoPromote.php files again and again until they all appeared to succeed. Now, however, I get a message telling me that:
 * A database query syntax error has occurred... from within function "FlaggedRevs::getPageVisibilitySettings". MySQL returned error "1054: Unknown column 'fpc_select' in 'field list' (localhost)".
 * Any new thoughts? --192.223.226.5 21:07, 22 September 2008 (UTC)


 * I had the same problems. My solution: using the 1.13.x instead of the Trunk version. After following exactly the README, everything was fine.


 * I had this same problem, so I peeked into the db and found only two of the tables had been added. I then opened up the README and noticed a very important looking instruction to (step 2) * (MySQL) Run the 'FlaggedRevs.sql' query, substituting in your wiki's table prefix.  ...it's an important detail.  After deleting the queries that created the flaggedpages and flaggedrevs_promote tables, everything worked!  CWinDC 05:26, 9 January 2009 (UTC)


 * I had same problem on a fresh install ( Debian etch + Mediawiki-1.13.3 + FlaggedRevs-MW1.13-r39880.tar ) : running FlaggedRevs.sql is required otherwise installation will fail.
 * The instructions page on the website is for the current (1.15a) version, not 1.13. The readme.txt for each package should be used. I just backported (r45951) some changes to the 1.13 version to avoid this confusion. Aaron 06:44, 21 January 2009 (UTC)

Overly Complex?
I feel like the voting process is overly complex. I think it would be ideal to simply have a plus and minus voting buttons that would mean either the edit is an improvement or it is not. After a certain number of individuals vote that the edit is an improvement, it is automatically published. If the edit is voted negatively, it will be removed from the draft after a certain number of vote. Why isn't there an extension to perform this function?

199.106.86.2 00:38, 22 October 2008 (UTC)
 * You can tweak the voting tags to be just up/down (which will make a radio button). It will not set the default though. Aaron 05:02, 22 October 2008 (UTC)

Unclear instruction - $wgReviewCodes
''Be sure to set the $wgReviewCodes variable as well. '' - an example here would be good, as well as an explanation of how this is used or why it is important.

This code comment is also less than comprehensible:


 * 1) Please set these as something different. Any text will do, though it probably
 * 2) shouldn't be very short (less secure) or very long (waste of resources).
 * 3) There must be two codes, and only the first four are checked.

There must be two codes, and only the first four are checked. Er, what? --pfctdayelise 03:50, 17 November 2008 (UTC)
 * Typo; fixed on svn. It's just two. Voice of All 08:11, 17 November 2008 (UTC)


 * I don't understand what this array is used for. What text do i have to insert? -- 213.39.163.9 15:47, 6 March 2009 (UTC)

I'm having the same problem. What do I have to insert? Please provide an example, thank you

Parser functions
Parser functions that output html code directly (using the isHTML and noparse options) and shouldn't be subsequently parsed, seem to get reparsed when displayed back to a user - which means the html gets rendered as text in the wiki page with &gt and &lt replacing the > and < characters. The output of the parser function is effectively broken from the first time it is viewed as a latest 'sighted' version. :o(
 * Try using $wgUseStableTemplates Voice of All 05:39, 3 December 2008 (UTC)

Is there a way to install the extension without having root access?
It seems quiet unfair to me, that you can comfortably install MediaWiki without having root access, but for an extension you suddenly need more rights. So all my installation was in vain, for I cannot configure MediaWiki to my needs.


 * You don't need root access: You need shell access. If you don't have shell access, you can try running the queries on the database through phpMyAdmin. —Emufarmers(T 01:23, 8 December 2008 (UTC)

"flaggedpages' doesn't exist"
I installed both latest 1.14 and 1.13.2 and followed the "setup" but get error. The tables don't seem to exist. Should I create these manually or did my setup fail? Any help is appreciated.
 * Once flaggedrevs is enabled, running update.php should work. Voice of All 21:57, 8 December 2008 (UTC)

Running update.php failed in updating the SQL tables. However, when I importing these manually everything worked(I am using a windows xampp setup and imported the "FlaggedRevs.sql" via localhost/xampp "phpMyAdmin") --Walfried.veldman 13:31, 9 December 2008 (UTC)


 * I got the same Problems on xampp 1.6.7 using wiki 1.13.3: update.php reports
 * MySQL meldete den Fehler: 1146: Table 'wikidb.flaggedpage_config' does n't exist (localhost). If you import the "FlaggedRevs.sql" via localhost/xampp "phpMyAdmin" don't forget to create a prefix manually in the file.--Guido Hornig 16:42, 21 December 2008 (UTC)

What is FlaggedRevs?
I am sure I am mistaken but it sounded like current articles are going to be preserved as are without further revision except by review. Is that it? A halt on insant changes? RTG 19:27, 2 January 2009 (UTC)


 * Obviously there is some description on the page here but it says "Article validation is..." I was looking for "FlaggedRevs is..." if possible thanks. In fact, of 43 entries of "FlaggedRevs" on the previous page, 41 are parts of filenames or machine code, one is the title, and the other one says "If set to false, flaggedrevs will use its own external storage cluster for fr_text. If not, it will fall back to $wgDefaultExternalStore. If that is false too, then the local DB will be used for fr_text." I realise it is probably an item of little consequence but it does sound like a block on editing. RTG 19:31, 2 January 2009 (UTC)
 * That setting was removed recently. I've removed the whole 'advanced' section now. The stuff there either no longer applies or doesn't need to be fiddled with. Voice of All 13:44, 3 January 2009 (UTC)

I echo the call for a better description, and I will explain why I can't extract any meaning from the first section, which reads "Article validation allows for Editor and Reviewer users to rate articles and set those revisions as the default revision to show upon normal page view. Readers can also give feedback. These revisions will remain the same even if included templates are changed or images are overwritten." I guess that this has been written by technical people and an introduction for laymen has been overlooked so far. Regards 88.217.143.89 12:41, 23 January 2009 (UTC)
 * The term "FlaggedRevs" is not used at all. One may guess that FlaggedRevs is an extension that allows one to do "Article validation", but perhaps it isn't.
 * The terms "Editor user" and "Reviewer user" are not defined.
 * What does "rating an article mean"? Presumably assigning a number based on whether the article is good or bad? If so, what that has to do with "validation" or "FlaggedRevs"?
 * "those revisions" - which revisions? Same applies to "these revisions". Is there a difference between these and those revisions?
 * what is a "default revision"?
 * what is a "normal page view" - perhaps it is best to explain what an "abnormal page view" might be.

Need a feedback from the devs on a specific flagged rev implementation
I have started a proposal which will make use of flagged revision. I want to get a feedback if this type of implementation is feasible under the current version of this MediaWiki extension or does significant changes needed to be made to this extension to make this proposal feasible on the English Wikipedia. Yamamoto Ichiro 00:04, 7 January 2009 (UTC)

Minor bug?
FlaggedRevs was just implemented at he.wikisource (thank you!) and I think I may have found a small bug, possibly related to the RTL environment.

For pages that have never been reviewed, FlaggedRevs provides an automatic notice telling the reader that this is the "Current version (unreviewed)". In English Wikinews, for instance, this notice appears at the top right of the article (end of the line), e.g.. In English Wikibooks it is centered at the top of the article, e.g..

But at he.wikisource it appears in the top right corner (beginning of the line) and also interferes with centered text in the first line of text. For example:. The centered texts are pushed off-center to the left.

When the first line of text is not centered the notice appears at the beginning of the first line with the text following, e.g..

Is this an overall bug or something that can be corrected locally? What would the best way to correct this? Dovi 19:06, 10 January 2009 (UTC)


 * Hi Dovi, I have corrected this by modifying the CSS. It is still not perfect on pages where the first line is centered, but what you can do is to add an extra empty line in the top of the page. Ori229 18:07, 12 January 2009 (UTC)


 * Thanks Ori. That is good for local improvement at he.wikisource. My guess is that a minor fix in the extension itself is called for here, so that it will work for all pages at all RTL wikis. Dovi 07:49, 13 January 2009 (UTC)

Possible to make automatically show unsighted revisions after one week?
If an edit has not been sighted nor reverted for one week, can the article automatically be temporarily taken off Flagged Revisions, showing the draft version to anonymous visitors until a revision is sighted? --Apoc2400 23:42, 26 January 2009 (UTC)

Wikitext not being parsed
Hello,

I have installed FlaggedRevs on my MW 1.13.3 and everything seems to be working properly with one exception. The banner at the top of each page as well as other messages within the extension are displaying wikitext as though it were not special. For instance I show this at the top of a page: There are no reviewed revisions of this page, so it may not have been checked for quality. Has this been reported yet? Is there a fix?

Thanks, --Tcronin 20:11, 27 January 2009 (UTC)

Missing definition?: wgFlaggedRevsReviewForDefault
Apparently there is now an additional flag $wgFlaggedRevsReviewForDefault, but I don't see it described, nor can Google find a useful description of it on the web. -R. S. Shaw 21:07, 29 January 2009 (UTC)
 * Added. Voice of All 12:11, 11 March 2009 (UTC)

Additional Custom Versionning for Quality Assurance Projects ?
I would like to review a article, and then change its custom version to be version 1.0, say .. for software Foo version 1.0. Later on, review changes again, and validate change on version "1.1" for software Foo version 1.1. Custom version in this case is not article revision number, nor category, as an article's category links to all revisions. Is that possible ? Thank you

Only stable versions can be view by users and non-users
I would like to strictly control my user contributions. So that only stable versions can be viewed by users(logged-in) and non-users(not-log-in).

Therefore only the reviewers/editors can read those unstable pages for approval.

How can I do that in the LocalSettings.php? (thanks in advance) Did you read Manual:Restricting_access ? Voice of All 12:12, 11 March 2009 (UTC)

I have the followings in my LocalSettings.php
 * $wgFlaggedRevsVisible = array('*','user');
 * $wgFlaggedRevsOverride=true;
 * $wgGroupPermissions['*']['read'] = false;
 * $wgGroupPermissions['*']['edit'] = false;
 * $wgGroupPermissions['user']['read'] = false;
 * $wgGroupPermissions['user']['edit'] = false;

Visitors can read those stable pages only.(That's what I want) However, the login user cannot read any pages, no matter stable or not.

What have I done wrong?

autopromotion benchmarks?
When autopromotion uses benchmarks, which edits are potential benchmarks (if they aren't too close together in time, that is)? Is there interaction between whether an edit is reviewed and whether it can count as a benchmark? Pi zero 22:55, 12 March 2009 (UTC)
 * No. Voice of All 06:27, 15 March 2009 (UTC)

populateSha1.php fails
hi there! trying to run the populateSha1.php we got some kind of failure, which we don't really understand (since we don't know to much about sql and this stuff). We were trying to run it in the command line, using the command ....maintenance/archives> sh populateSha1.php

this is what we got:

(...)/maintenance/archives> sh populateSha1.php .php: line 1: ?php: Datei oder Verzeichnis nicht gefunden                   (file or directory not found) populateSha1.php: line 2: /bin: is a directory populateSha1.php: line 3: patch-archive-page_id.sql: command not found populateSha1.php: line 4: patch-archive-page_id.sql: command not found populateSha1.php: line 5: patch-archive-page_id.sql: command not found populateSha1.php: line 6: patch-archive-page_id.sql: command not found populateSha1.php: line 7: */: Datei oder Verzeichnis nicht gefunden         (file or directory not found) populateSha1.php: line 9: syntax error near unexpected token `(' populateSha1.php: line 9: `$optionsWithArgs = array( 'method' );'  (...)/maintenance/archives>

could it be something with the .htaccess files in the /maintenance and the /archives directory? Both say "deny for all"

(we are using MW 1.13.2 and Flaggedrevs MW1.13-r45951)

after another tip we tried to use the command

php -f populateSha1.php

which got the response

Done 0 Files in 0.0 seconds

after activating the extension in the localsettings.php we got the following error (in the browser):

Database error A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: (SQL query hidden) from within function "FlaggedRevs::getPageVisibilitySettings". MySQL returned error "1146: Table 'kvv._flaggedpage_config' doesn't exist (webdb.rrz.uni-hamburg.de)".

Anyone knows what went wrong??? thx --Malte Mertz 10:12, 17 March 2009 (UTC)


 * You still need to run maintenance/update.php and FlaggedRevs/maintenance/updateAutoPromote.php. —Emufarmers(T 06:37, 19 March 2009 (UTC)
 * D'Oh. I guess reading is a basic skill for some reason ;). Thank You! --Malte Mertz 12:42, 23 March 2009 (UTC)


 * Still no success. "Done 0 files in 0.0 seconds" even after update and updateAutoPromote. And clear page in browser as it always happens in case of some error. And one more thing:

PHP Notice: Use of undefined constant NS_FILE - assumed 'NS_FILE' in <...>\FlaggedRevs.php on line 75. Can it be the reason for error? What's that NS_FILE?

(RESOLVED) SQL query
Well I don't have the ssh access to my web server but I have the phpmyadmin access and I am able to do sql queries directly... do you have the script to make this work... MediaWiki	1.14.0 PHP	5.2.6 MySQL	5.0.32

--Kronoxt 09:27, 3 April 2009 (UTC)
 * here is the script from SVN. Voice of All 11:35, 6 April 2009 (UTC)

Thanks --Kronoxt 04:33, 7 April 2009 (UTC) useful...

FlaggedRevsHooks::maybeNullEditReview
I'm getting this warning:

''PHP Warning: Missing argument 11 for FlaggedRevsHooks::maybeNullEditReview in ... /FlaggedRevs.hooks.php on line 794''

I had a quick look and I'm wondering if it's related to the code introduced to fix bug 18001 (rev 48515)--MoreThings 22:20, 24 April 2009 (UTC)
 * Make sure your MW version and extension version match up. Voice of All 00:46, 25 April 2009 (UTC)

Printing
I use a article list to create some simple printings. eg ... When I use this combined with flagged revisions, I only get the actual versions, not the last stable articles! Is there a posibility to change this behavior? --62.99.248.195 16:19, 4 May 2009 (UTC)

Make stable revision always display by default (solved)
I want the stable revision to always be displayed by default, both for logged-in users and non-logged-in users. I have it working for the latter but not the former. I have looked in all the documentation, and though it seems to indicate that you can do this, it is not clear at all how.

What do I need to do?

Here is my config:

Thanks! --71.198.219.252 23:50, 1 June 2009 (UTC)

Got the solution: This makes everyone except reviewers see the stable revision by default.

(resolved) Problems installing
Hi All,

Please let me know if this is not the correct place to enter this. I am having a heck of a time trying to get the extension installed. I think I have narrowed it down to a permissions issue.

MediaWiki 1.15.0 Updater Going to run database updates for database-prefix_ Depending on the size of your database this may take a while! Abort with control-c in the next five seconds...0  Creating flaggedrevs table...A database query syntax error has occurred. The last attempted database query was: "CREATE TABLE IF NOT EXISTS `prefix_flaggedpages` ( fp_page_id integer unsigned NOT NULL,  fp_reviewed bool NOT NULL default '0',  fp_pending_since char(14) NULL,  fp_stable integer unsigned NOT NULL,  fp_quality tinyint(1) default NULL,  PRIMARY KEY (fp_page_id),  INDEX fp_reviewed_page (fp_reviewed,fp_page_id),  INDEX fp_quality_page (fp_quality,fp_page_id),  INDEX fp_pending_since (fp_pending_since)  ) ENGINE=InnoDB, DEFAULT CHARSET=binary " from within function "Database::sourceStream". MySQL returned error "1142: CREATE command denied to user 'user'@'localhost' for table 'prefix_flaggedpages' (localhost)"
 * 1) php -f maintenance/update.php

user basically has near-root permissions on the database. Is there a reason why this would fail? Is the only permission needed "CREATE" on the database?

Thanks for any input -- Tim --207.190.231.66 00:31, 25 June 2009 (UTC)

EDIT: sorry, I just looked over my permissions in mysql and it turns out I only had "CREATE TEMPORARY TABLES", granted create and now it's installed. It's not parsing wiki markup, though.

Way to disable Notice Bar
I was wondering if there's way to disable the Notice Bar, the bar at the top with icon that tells if a revision is a draft or is quality, and needs reviewing, etc. Thanks in advance -- Justin.

EDIT: I think I should note that I do know about $wgFlaggedRevsWhitelist, and am looking for a way to disable it on all pages preferably for all users in, or not in specified group(s). -- Justin
 * By default (low profile UI), the notice only shows if the page is a draft or has pending edits. You can use CSS to remove the bars from all users I suppose. Voice of All 18:25, 29 June 2009 (UTC)

Class 'ChangeTags' not found
Fatal error: Class 'ChangeTags' not found in /var/lib/mediawiki-1.14.0/extensions/FlaggedRevs/specialpages/ProblemChanges_body.php on line 52 --Mkepler 08:38, 8 July 2009 (UTC)
 * You probably need MW 1.15...or you can use the 1.14 branch of flaggedrevs. Voice of All 17:45, 8 July 2009 (UTC)

How Can I Make the Notice Bar Into a Banner for Everyone?
Hi, in our in-house wiki (version MW.1.15.1) FlaggedRevs works, but we have noticed that the banner that appears across the top of the page is NOT a banner for editors, bureaucrats and sysops, only for normal users. Editors/Bureaucrats/Sysops see a box squeezed in to the upper-right corner, not the full banner. We'd like to see the same banner the "regular" users see, as the box is annoying and screws up the appearance of the rest of the page (because it's inserted 'inline' with the page text.) What parameter do we need to change? Our current parameters relating to UI are:

$wgSimpleFlaggedRevsUI = false; $wgFlaggedRevTabs = false; $wgFlaggedRevsLowProfile = false; $wgFlaggedRevsVisible = array('reviewer','editor','bureaucrat','sysop');

Again, the behavior and functionality of FlaggedRevs is fine, it's just the ordinary users see a large banner across the top, while everybody else sees the small box squeezed into the upper-right. How do we have the large banner show up for everyone?

Thanks in advance for any suggestions or help. --ApostleGreen 21:03, 16 July 2009 (UTC)

Download error
I tried to Download the latest snapshot of FlaggedRevs but i always get this error text:

Download MediaWiki extension

From MediaWiki.org

Jump to: navigation, search

Subversion encountered an error:

svn: Working copy '/mnt/upload5/private/ExtensionDistributor/mw-snapshot/trunk/extensions' locked

svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)

Erratic FR behaviour - not all revisions succeed **resolved**
hi, I installed the extension on a windows-server 2003 based system running the latest XAMPP-installation with MW1.15.1. unfortunately, I am not able to review about one third of my pages... After hitting the send button and reloading the page, the current version still is marked as "unreviewed". Even deleting and re-creating the page or moving the page to another name would not work. I completely deleted the extension and according tables and reinstalled everything - still, no luck :( I might have changed the wgReviewCodes by accident... but the problem affects pages created both before and after that... Any guess?! docMario, 27.07.2009, 19:15CET
 * Does it say "review completed"? Does enabling display_errors in PHP show anything? Voice of All 10:14, 28 July 2009 (UTC)
 * Yes, the button text changes to "review completed". No errors are shown. docMario, 01.08.2009, 12:19CET
 * After changing back to the standard monobook skin (I normally use a custom skin instead) a message box appears telling me: "a dynamic template transcludes another image or template depending on a variable that changed since you started reviewing". Does that help? docMario, 01.08.2009, 14:14CET
 * Do you have any other extensions on? Voice of All 19:36, 1 August 2009 (UTC)
 * Yes, most of which are used at wikipedia - Loop-/Parserfunctions, Cite, NCL2 ... and so on. I completely reinstalled the WP-trunk version with german language file and can now confirm that the error occurs every time a image or template is transcluded. docMario, 02.08.2009, 00:21CET
 * If this is the latest version of flaggedrevs, I'm not sure what to say. I've never heard of that problem anywhere. Voice of All 12:27, 3 August 2009 (UTC)
 * Hmm, that's unfortunate. Thank you, anyway. docMario, 03.09.2009 20:21CET
 * I finally found it!! After some trial and error I could identify the Extension:Edit_Section_Link_Transform as the source of irritation. after commenting it out in LocalSettings all went well :D docMario, 06.09.2009, 20:05CET

Fatal error: Call to a member function getTitle on a non-object in FlaggedRevs.hooks.php on line 1460
the current trunk version gives the following error when trying to read the articles history : Fatal error: Call to a member function getTitle on a non-object in FlaggedRevs.hooks.php on line 1460 --129.206.90.2 19:08, 20 August 2009 (UTC)


 * This has been resolved --Ymmotrojam 05:31, 21 August 2009 (UTC)

Enable FlaggedRevs only on specific pages?
I'd like to use FlaggedRevs, but only on a select few pages in the Wiki. I know about the $wgFlaggedRevsWhitelist array, but in this scenario, I'd have to put every page in the Wiki into that array - not practical. I'd like to have FlaggedRevs available on the wiki, and if an article or series of articles need to be brought under FlaggedRevs, a magicword or some other flag can be set for that page only that enables the FlaggedRevs and drops that article into the review/revision control. Is this possible? --Ccornell 10:24, 25 August 2009 (UTC)
 * To my knowledge there is no magicword. However, you can restrict revisions to certain namespaces with: . --DocMario 18:47, 25 August 2009 (UTC)
 * Hmmm this is on a well established Wiki (several years old with thousands of pages) with a single Namespace... so unfortunately that's not much of an option in this particular case. I wonder how WikiPedia is doing this.. since they are only flagging specific articles.. and these articles are unlikely to be all within a unique namespace.  --Ccornell 15:50, 26 August 2009 (UTC)
 * I got exactly the same problem (wonder if we're on the same Wiki? ^^). Wasn't able to get an answer via IRC (#Wikipedia or #MediaWiki @ FreeNode). Someone said it might be possible to do so via Categories, though I wasn't able to find any valuable information... --Zai Lynch 13:44, 4 September 2009 (UTC)

Just set $wgFlaggedRevsReviewForDefault = true and $wgFlaggedRevsOverride = false and use the protect/vet tab to enable flaggedrevs for a page. Voice of All 00:23, 6 September 2009 (UTC)

Tab problem


Here the link to the page: http://www.theopedia.com/Theopedia_talk:Statement_of_faith

--Ymmotrojam 07:57, 26 August 2009 (UTC)
 * Hmm, what is wrong with the above image? Voice of All 00:24, 6 September 2009 (UTC)