-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathVariables.ps1
More file actions
30 lines (22 loc) · 1008 Bytes
/
Variables.ps1
File metadata and controls
30 lines (22 loc) · 1008 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
function New-CHashtable
{
New-Object Collections.Hashtable ([StringComparer]::CurrentCulture)
}
#local
$orphanedPagesFolder = 'Orphaned pages'##vaaror- relook - why not Orphaned-pages
$separator = "\"
$mediaWikiRootCategory = "Hierarchy-Top"
$mediaWikiTemplatePrefix = "Template:"
$mediaWikiCategoryPrefix = "Category:"
$vstsWikiTemplatesDiskPath = ".templates\"
$vstsWikiTemplatesPathSyntax = "::: template /.templates/"
$mediaWikiPageNameKeyword = "PAGENAME"
$renamedPageRegEx = '\s*#REDIRECT\s*\[\[(.*)\]\]'
$mediaWikiGetAllCatgoriesPartialUrl = 'list=allcategories&action=query&aclimit=500&'
$mediaWikiAllCategoriesContinuationToken = 'accontinue'
$mediaWikiAllCategoriesContinuationTokenValue = ''
$rootCategory = "Category:Hierarchy Top"
$mediaWikiPageContentPartialUrl = 'action=query&prop=revisions&rvprop=content&titles='
$mediaWikiGetAllPagesPartialUrl = 'action=query&list=allpages&aplimit=500&'
$mediaWikiAllPagesContinuationToken = 'apcontinue'
$attachmentFolderName = '.attachments'