Jump to content

User:Forgottenman/sandbox: Difference between revisions

From The Austrian Economics Wiki, the global repository of classical-liberal thought
more information
explanation as I understand it
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
===Command window===
'''Remaining issues'''
<pre>
C:\pywikipedia>archivebot.py User:Forgottenbot/archive
unicode test: triggers problem #3081100
Fetching template transclusions...


C:\pywikipedia>
*Image thumbnails not working universally
</pre>
**Thumbnail 404 handler, or lack thereof, seems to be the problem
*Error on previewing and saving a page in the page namespace.
**Warning: Parameter 3 to pr_pageQuality() expected to be a reference, value given in /home/web/public_html/wiki/mediawiki/includes/parser/Parser.php on line 3333
***<nowiki><pagequality></nowiki>, via <code>global $wgParser;</code> and <code>$wgParser->setHook( "pagequality", "pr_pageQuality" );</code> in proofreadpage.php, runs function pr_PageQuality with three arguments.  The third argument of pr_PageQuality is <code>&$parser</code>.  This is the parent parser, according to [http://www.mediawiki.org/wiki/Manual:Tag_extensions].  The error says that Parameter 3 is a value in line 3333 of parser.php, which is <code>array( $content, $attributes, $this, $frame ) );</code>.  I'm theorizing that "null" here is a value, and thus this is causing the error. 
*Page status color not correct on index page (related to previous?)


===Transclusion of [[User:Forgottenbot/archive]] on [[MisesWiki:Commons]]===
'''Solved'''
<pre>
{{User:Forgottenbot/archive
|algo = old(10d)
|archive = MisesWiki:Commons/Archive/%(year)d/%(monthname)s
|minthreadstoarchive = 1
}}
</pre>


===user-config.py===
*Index pages formatted correctly
<pre>
*PDF file viewing possible
mylang='en'
*PDF file upload enabled
family = 'mises';
*Page and Index talk namespaces created
usernames['mises']['en']=u'Forgottenbot';
console_encoding = 'utf-8';
</pre>


===mises_family.py===
 
<pre>
[[MisesWiki:Proofreading scripts]]
# -*- coding: utf-8  -*-
<!--
Block all with 84.60.192.0/18 [http://www.csgnetwork.com/ipinfocalc.html] 84.60.192.0 - 84.60.255.254
import family
 
*84.60.195.116 - block with 84.60.194/23, which blocks 84.60.195.116
# The official Mises Wiki. #Put a short project description here.
*84.60.206.225 - block with
*84.60.218.10
class Family(family.Family):
*84.60.220.190
*84.60.253.91
    def __init__(self):
 
        family.Family.__init__(self)
Also in Ratingen
        self.name = 'mises' # Set the family name; this should be the same as in the filename.
*84.60.192.0
        self.langs = {
.201-.213
            'en': 'wiki.mises.org', # Put the hostname here.
.215-.216
        }
.218-.227
.229
        # Translation used on all wikis for the different namespaces.
.232-.234
        # Most namespaces are inherited from family.Family.
.239-.240
        # Check the family.py file (in main directory) to see the standard
.244
        # namespace translations for each known language.
.246
        # You only need to enter translations that differ from the default.
 
        self.namespaces[4] = {
 
            '_default': u'MisesWiki', # Specify the project namespace here.
Not in Ratingen:
        }
84.60.193.0
.197
        self.namespaces[5] = {
.198
            '_default': u'MisesWiki talk', # Specify the talk page of the project namespace here.  
.199
        }
.200
.214
    def version(self, code):
.217
        return "1.16.0"  # The MediaWiki version used. Not very important in most cases.
.228
.230
    def scriptpath(self, code):
.231
        return '/mediawiki' # The relative path of index.php, api.php : look at your wiki address.  
.235-.238
# This line may need to be changed to /wiki or /w,
.241-.243
# depending on the folder where your mediawiki program is located.
.245
# Note: Do not _include_ index.php, etc.
-->
</pre>

Latest revision as of 03:14, 4 March 2011

Remaining issues

  • Image thumbnails not working universally
    • Thumbnail 404 handler, or lack thereof, seems to be the problem
  • Error on previewing and saving a page in the page namespace.
    • Warning: Parameter 3 to pr_pageQuality() expected to be a reference, value given in /home/web/public_html/wiki/mediawiki/includes/parser/Parser.php on line 3333
      • <pagequality>, via global $wgParser; and $wgParser->setHook( "pagequality", "pr_pageQuality" ); in proofreadpage.php, runs function pr_PageQuality with three arguments. The third argument of pr_PageQuality is &$parser. This is the parent parser, according to [1]. The error says that Parameter 3 is a value in line 3333 of parser.php, which is array( $content, $attributes, $this, $frame ) );. I'm theorizing that "null" here is a value, and thus this is causing the error.
  • Page status color not correct on index page (related to previous?)

Solved

  • Index pages formatted correctly
  • PDF file viewing possible
  • PDF file upload enabled
  • Page and Index talk namespaces created


MisesWiki:Proofreading scripts