User:Billinghurst/tools/FtCG configuration file for enWS.wiki
Appearance
(Redirected from User:Billinghurst/tools/FtCG configuration file for enWS)
#
# For the Common Good [[w:en:User:This, that and the other/For the Common Good/Local wiki data]]
# Local wiki data for English Wikisource (en.wikisource)
# After modifying this file, you must import it into FtCG again to see the changes.
# This should be the web address of your wiki, without ".org"
LocalDomain=en.wikisource
# If there is a page describing FtCG on your wiki, put its name here
# If not, just keep the following value
LocalFtcgPage=w:en:WP:FTCG
# Three preset categories to appear at the top of the window
# If you don't have three, just remove the unneeded ones
Category1=Move to Wikimedia Commons
#Category2=Copy to Wikimedia Commons
#Category3=Move to commons
DefaultCategory=1
# The name of the "Category" namespace on your local wiki, without the colon
# (since the English name "Category" works on all wikis, you don't need to include
# it here - FtCG handles it)
CategoryNamespace=Category
# The local name for the "now Commons" template, indicating that the local copy of
# an image should be deleted after transfer
NowCommonsTag=Now Commons
# The deletion summary used when deleting a file after transfer (option available
# to admins only) - link to a relevant deletion policy if possible
NowCommonsDeletionSummary=[[WS:CSD]] A1 - Article transwikied to Commons
# Some edit summaries to translate into your wiki's language
NowCommonsAddingTagEditSummary=Added {{now Commons}} tag
NowCommonsReplacingTagEditSummary=Replaced {{move to Commons}} tag with {{now Commons}} tag
# IMPORTANT: All entries from here onwards are treated as regular expressions.
# For normal text entry, this should not be a problem, but when using
# symbols like ( ) [ ] ? * + | etc., please prefix with a backslash: \( \[ etc.
# Local equivalents of the {{information}} template and its parameters
# (put the local name SECOND, e.g. Information=Ergojduhd)
Information=Information
Description=Description
Date=Date
Source=Source
Author=Author
Permission=Permission
Other_versions=Other_versions
# Section headings in use on the local wiki
# (put the local name SECOND, e.g. Summary=Quofkokvej)
Summary={{int:filedesc}}|Summary
Licensing={{int:license-header}}|Licensing|Licence
wm-license-original-upload-log=wm-license-original-upload-log|Original upload log
# The regular expression used to detect "Copy to Commons" tags
# This one is for English Wikipedia
CopyToCommonsRegex={{(mtc|(copy |move )?to ?commons|move to wikimedia commons|copy to wikimedia commons)[^}]*}}\n?
# If you aren't technically confident, stop here and delete everything from here to the end
# (FtCG will still work!)
# Potential problems - conditions which may prevent or affect transfer (like deletion templates)
# Notes: - Use IfContains= to search for a string of plain text (case-insensitive)
# - Use IfRegex= to match against a regex (case-insensitive)
# These should be listed in order of importance - most "problematic" first.
[PotentialProblem]
IfRegex={{do not (copy|move) to commons
Message=The file is tagged with {{do not move to Commons}}.
[PotentialProblem]
IfContains={{delete
Message=The file appears to be tagged for deletion.
[PotentialProblem]
IfRegex={{copy(right violation|\-?vio)
Message=The file appears to be tagged as a possible copyright violation.
[PotentialProblem]
IfContains={{db-
Message=The file appears to be tagged for speedy deletion.
# Replacements to carry out
# LookFor is a regular expression; ReplaceWith is a "replacement pattern"
# where $n is the nth "capture" of the regex; for help,
# visit MSDN or ask User:This, that and the other
# %%OriginalUploader%% and
# %%InterwikiLinkPrefix%% are special variables supplied by FtCG
[Replacement]
LookFor={{orphan image.*}}\n?
ReplaceWith=
[Replacement]
LookFor={{Some-Name-In-Another-Language-For-PD-art}}
ReplaceWith={{PD-art}}
#LookFor=\[\[Author:([^\|]+)\|
#ReplaceWith={{creator:$1}}
LookFor=Author:
ReplaceWith=creator:
# ... put as many replacement sections as needed
# Replacements of self-license tags, like PD-self, GFDL-self
# These use the same format as "Replacements" above
[SelfLicenseReplacement]
LookFor={{PD-self([^\}]*)}}
ReplaceWith={{PD-user|%%OriginalUploader%%|en}}
[SelfLicenseReplacement]
LookFor={{GFDL-self-with-disclaimers([^\}]*)}}
ReplaceWith={{GFDL-user-en-with-disclaimers|%%OriginalUploader%%$1}}
[SelfLicenseReplacement]
LookFor={{GFDL-self([^\}]*)}}
ReplaceWith={{GFDL-user|%%OriginalUploader%%|en$1}}
[SelfLicenseReplacement]
LookFor={{self([^\}]*)}}
ReplaceWith={{self$1|author=[[%%InterwikiLinkPrefix%%:%%OriginalUploader%%|%%InterwikiLinkPrefix%%:%%OriginalUploader%%]]}}
# ... put as many as needed