Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98571706
PhabricatorApplicationPhriction.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Jan 14, 11:20
Size
1 KB
Mime Type
text/x-php
Expires
Thu, Jan 16, 11:20 (2 d)
Engine
blob
Format
Raw Data
Handle
23594403
Attached To
rPH Phabricator
PhabricatorApplicationPhriction.php
View Options
<?php
final
class
PhabricatorApplicationPhriction
extends
PhabricatorApplication
{
public
function
getShortDescription
()
{
return
'Wiki'
;
}
public
function
getBaseURI
()
{
return
'/w/'
;
}
public
function
getIconName
()
{
return
'phriction'
;
}
public
function
getHelpURI
()
{
return
PhabricatorEnv
::
getDoclink
(
'article/Phriction_User_Guide.html'
);
}
public
function
isEnabled
()
{
return
PhabricatorEnv
::
getEnvConfig
(
'phriction.enabled'
);
}
public
function
getRoutes
()
{
return
array
(
// Match "/w/" with slug "/".
'/w(?P<slug>/)'
=>
'PhrictionDocumentController'
,
// Match "/w/x/y/z/" with slug "x/y/z/".
'/w/(?P<slug>.+/)'
=>
'PhrictionDocumentController'
,
'/phriction/'
=>
array
(
''
=>
'PhrictionListController'
,
'list/(?P<view>[^/]+)/'
=>
'PhrictionListController'
,
'history(?P<slug>/)'
=>
'PhrictionHistoryController'
,
'history/(?P<slug>.+/)'
=>
'PhrictionHistoryController'
,
'edit/(?:(?P<id>[1-9]
\d
*)/)?'
=>
'PhrictionEditController'
,
'delete/(?P<id>[1-9]
\d
*)/'
=>
'PhrictionDeleteController'
,
'new/'
=>
'PhrictionNewController'
,
'preview/'
=>
'PhrictionDocumentPreviewController'
,
'diff/(?P<id>[1-9]
\d
*)/'
=>
'PhrictionDiffController'
,
),
);
}
public
function
getApplicationGroup
()
{
return
self
::
GROUP_COMMUNICATION
;
}
public
function
getApplicationOrder
()
{
return
0.140
;
}
}
Event Timeline
Log In to Comment