Page MenuHomePhabricator

Information from proofreadpage.php (namespace per language WS)
Closed, DeclinedPublic

Description

Trying to compile a list/map of all Wikisource namespaces that utilise ProofreadPage extension, eg. which namespaces are Page: equivalents, Index: equivalents. I am told that it is stored in proofreadpage.php and that is not a public setting. Would it be possible to review whether the file or parts of the file can be made public, or whether a scrape of the relevant section could be provided.


Version: unspecified
Severity: normal

Details

Reference
bz32067

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:01 AM
bzimport set Reference to bz32067.
bzimport added a subscriber: Unknown Object (MLST).

It's not in there. I'll make proofreadpage.php public, but I can tell you right now that all that's in there is:

<?php

WARNING: This file is publically viewable on the web. Do not put private data here.

  1. Default permissions and custom permissions of the ProofReadPage extension
  2. You must also set wmgUseProofreadPage in InitialiseSettings.php
  3. This file is referenced from an include in CommonSettings.php

if( $wgDBname == 'dewikisource' ) {

$wgGroupPermissions['*']['pagequality'] = true; # 27516

}

Well what do you know, it already is public in noc.

Also, if you meant ProofreadPage.php as opposed to proofreadpage.php , the former is part of the PP extension and available from the SVN repository.

Marking as WORKSFORME because all the required data is public already.

It appears the information you want is actually configured on wiki:
" * If your wiki has custom "Page" and "Index" namespaces, the names of these namespaces must match the names indicated in Mediawiki:Proofreadpage_namespace and Mediawiki:Proofreadpage_index_namespace."
[[mw:Extension:ProofreadPage#Configuration]]