Select the types of activity you want to include in your feed.
@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.)
hq.recaptime.dev/wiki/Phorge
···108108 "unique to your install. In particular, you will want to do ".
109109 "this if you accidentally send a bunch of mail somewhere you ".
110110 "shouldn't have, to invalidate all old reply-to addresses.")),
111111- $this->newOption('uri.allowed-protocols', 'set', null)
111111+ $this->newOption(
112112+ 'uri.allowed-protocols',
113113+ 'set',
114114+ array(
115115+ 'http' => true,
116116+ 'https' => true,
117117+ ))
112118 ->setSummary(
113119 pht("Determines which URI protocols are auto-linked."))
114120 ->setDescription(
···5454 $dialog->addHiddenInput('ccs', $ccs);
5555 $dialog->addHiddenInput('comment', $comment);
56565757- $dialog->setTitle('Action Has No Effect');
5757+ $dialog->setTitle(pht('Action Has No Effect'));
5858 $dialog->appendChild(
5959 '<p>'.phutil_escape_html($no_effect->getMessage()).'</p>');
60606161 if (strlen($comment) || $has_inlines) {
6262- $dialog->addSubmitButton('Post as Comment');
6262+ $dialog->addSubmitButton(pht('Post as Comment'));
6363 $dialog->appendChild('<br />');
6464 $dialog->appendChild(
6565- '<p>Do you want to post your feedback anyway, as a normal '.
6666- 'comment?</p>');
6565+ '<p>'.pht('Do you want to post your feedback anyway, as a normal '.
6666+ 'comment?').'</p>');
6767 }
68686969 return id(new AphrontDialogResponse())->setDialog($dialog);
···4242 ->setEncType('multipart/form-data')
4343 ->setUser($request->getUser())
4444 ->appendChild(
4545- '<p class="aphront-form-instructions">The best way to create a '.
4646- "Differential diff is by using $arcanist_link, but you ".
4545+ '<p class="aphront-form-instructions">'.pht('The best way to create '.
4646+ 'a Differential diff is by using %s, but you '.
4747 'can also just paste a diff (e.g., from <tt>svn diff</tt> or '.
4848 '<tt>git diff</tt>) into this box or upload it as a file if you '.
4949- 'really want.</p>')
4949+ 'really want.', $arcanist_link).'</p>')
5050 ->appendChild(
5151 id(new AphrontFormTextAreaControl())
5252- ->setLabel('Raw Diff')
5252+ ->setLabel(pht('Raw Diff'))
5353 ->setName('diff')
5454 ->setHeight(AphrontFormTextAreaControl::HEIGHT_VERY_TALL))
5555 ->appendChild(
5656 id(new AphrontFormFileControl())
5757- ->setLabel('Raw Diff from file')
5757+ ->setLabel(pht('Raw Diff from file'))
5858 ->setName('diff-file'))
5959 ->appendChild(
6060 id(new AphrontFormSubmitControl())
6161- ->setValue("Create Diff \xC2\xBB"));
6161+ ->setValue(pht("Create Diff \xC2\xBB")));
62626363 $panel = new AphrontPanelView();
6464- $panel->setHeader('Create New Diff');
6464+ $panel->setHeader(pht('Create New Diff'));
6565 $panel->appendChild($form);
6666 $panel->setWidth(AphrontPanelView::WIDTH_FORM);
67676868 return $this->buildStandardPageResponse(
6969 $panel,
7070 array(
7171- 'title' => 'Create Diff',
7171+ 'title' => pht('Create Diff'),
7272 ));
7373 }
7474
···77 }
8899 public function getShortDescription() {
1010- return 'Image Macros and Memes';
1010+ return pht('Image Macros and Memes');
1111 }
12121313 public function getIconName() {
···4545The exception is tables which share the same schema over different databases
4646such as `edge`.
47474848-We use lower-case table names with words separated by underscores.
4848+We use lower-case table names with words separated by underscores. The reason is
4949+that MySQL can be configured (with `lower_case_table_names`) to lower-case the
5050+table names anyway.
49515052= Column Names =
5153···152154# Run `bin/storage/upgrade`.
153155154156It is also possible to create more complex patches in PHP for data migration
155155-(due to schema changes or otherwise.) However, the schema changes themselves
157157+(due to schema changes or otherwise.) However, the schema changes themselves
156158should be done in separate `.sql` files. Order can be guaranteed by editing
157159`src/infrastructure/storage/patch/PhabricatorBuiltinPatchList.php`
158160appropriately.