Home
last modified time | relevance | path

Searched +full:dst +(+path:plugin +path:move) -(+path:plugin +path:move +path:lang) (Results 1 – 11 of 11) sorted by relevance

/plugin/move/helper/
Dop.php29 * @param $dst
32 public function checkPage($src, $dst) { argument
53 if($src == $dst) {
59 if(page_exists($dst)) {
60 msg(sprintf($this->getLang('exists'), $src, $dst), -1);
65 if(auth_quickaclcheck($dst) < AUTH_CREATE) {
66 msg(sprintf($this->getLang('notargetperms'), $dst), -1);
77 * @param $dst
80 public function checkMedia($src, $dst) { argument
92 if($src == $dst) {
[all …]
Dplan.php208 * @param string $dst
210 public function addPageMove($src, $dst) { argument
211 $this->addMove($src, $dst, self::CLASS_DOC, self::TYPE_PAGES);
218 * @param string $dst
220 public function addMediaMove($src, $dst) { argument
221 $this->addMove($src, $dst, self::CLASS_DOC, self::TYPE_MEDIA);
228 * @param string $dst
230 public function addPageNamespaceMove($src, $dst) { argument
231 $this->addMove($src, $dst, self::CLASS_NS, self::TYPE_PAGES);
238 * @param string $dst
[all …]
Drewrite.php88 * @param string $dst moved document's new id
92 public function setMoveMeta($id, $src, $dst, $type) { argument
93 $this->setMoveMetas($id, array($src => $dst), $type);
100 * @param array $moves list of moves (src is key, dst is value)
113 foreach($moves as $src => $dst) {
114 $meta[$type][] = array($src, $dst);
/plugin/move/admin/
Dmain.php107 if($ID && $INPUT->has('dst')) {
108 $dst = trim($INPUT->str('dst'));
109 if($dst == '') {
119 $this->plan->addPageNamespaceMove($src, $dst);
120 $this->plan->addMediaNamespaceMove($src, $dst);
122 $this->plan->addPageNamespaceMove($src, $dst);
124 $this->plan->addMediaNamespaceMove($src, $dst);
127 $this->plan->addPageMove($ID, $INPUT->str('dst'));
138 $this->plan->addPageNamespaceMove($entry['src'], $entry['dst']);
140 $this->plan->addMediaNamespaceMove($entry['src'], $entry['dst']);
[all …]
/plugin/move/action/
Drename.php107 $dst = cleanID($INPUT->str('newid'));
114 if($this->renameOkay($src) && $MoveOperator->movePage($src, $dst)) {
116 echo json_encode(array('redirect_url' => wl($dst, '', true, '&')));
149 $dst = cleanID($INPUT->str('dst'));
154 if ($src && $dst) {
168 $response['success'] = $moveOperator->moveMedia($src, $dst);
171 $ns = getNS($dst);
172 $response['redirect_url'] = wl($dst, ['do' => 'media', 'ns' => $ns], true, '&');
/plugin/move/_test/
Dmediamove.test.php30 $dst = 'foo';
34 $this->assertTrue($move->movePage($src, $dst));
53 $dst = 'foobar:logo.png';
57 $this->assertTrue($move->moveMedia($src, $dst));
81 $dst = 'foobar:logo_2.png';
85 $this->assertTrue($move->moveMedia($src, $dst));
91 $this->assertTrue($move->moveMedia($dst, 'logo_2.png'));
114 $dst = 'wiki:foobar:test_image.png';
118 $this->assertTrue($move->moveMedia($src, $dst));
DfindMissingDocuments.test.php6 public function findMissingDocuments($src, $dst, $type = self::TYPE_PAGES) { argument
7 parent::findMissingDocuments($src, $dst, $type);
DstepThroughDocuments.test.php42 public function movePage($src, $dst) { argument
49 $moveOperation = array($src => $dst);
/plugin/move/script/
Dform.js5 $form.find('input[name=dst]').val($form.find('.click-page code').text());
10 $form.find('input[name=dst]').val($form.find('.click-ns code').text());
DMoveMediaManager.js145 const dst = form.querySelector('input[name="move-new-filename"]').value;
155 dst: dst + '.' + ext, property
Dtree.js244 dst: newid property
255 dst: newid property