Page 1 of 1

Wanted: a way to have images reviewed before being visible to public

Posted: Mon Mar 17, 2008 10:37 am
by ritcheymt-p40
Since FamilySearch Wiki reflects upon The Church of Jesus Christ of Latter-day Saints, we need a way to keep newly-uploaded files and images non-viewable to anyone but a sysop until they are reviewed by a team at HQ. Then once they are reviewed/patrolled, the patroller should be able to click a link which says the image/file is approved, and the image/file should then be visible. Then the person who uploaded the file/image should be notified so he knows he can add the file/image to a wiki page.

This process will NOT include text/articles. Articles will be patrolled after they are posted and publicly visible. The only content we want patrolled for appropriateness before they are visible to the public are images and files.

Posted: Mon Mar 17, 2008 11:29 am
by Thomas_Lerman
It seems to me that a hook much exist to be able to tell when an upload file has been complete . . . similar to Google Analytics use of the BeforePageDisplay hook. Let me see what I can find from a search.

This may be helpful:
http://www.mediawiki.org/wiki/Manual:Hooks/UploadComplete
that points to examples at:
http://www.mediawiki.org/wiki/Category:UploadComplete_extensions

An interesting extension that I found . . . upload multiple files at once. I see that this is also in Category:UploadComplete_extensions.
http://www.mediawiki.org/wiki/Extension:MultiUpload

From my quick search, I do not see any existing hooks / extensions to do what we are wanting. If it does not exist, we may have to write one.

Another hook that may be of help is:
http://www.mediawiki.org/wiki/Extension:Title_Blacklist