Home
last modified time | relevance | path

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

/plugin/move/_test/
H A DfindMissingDocuments.test.php6 public function findMissingDocuments($src, $dst, $type = self::TYPE_PAGES) { argument
7 parent::findMissingDocuments($src, $dst, $type);
H A 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));
H A DstepThroughDocuments.test.php42 public function movePage($src, $dst) { argument
49 $moveOperation = array($src => $dst);
/plugin/move/action/
H A Drename.php107 $dst = cleanID($INPUT->str('newid'));
116 if($this->renameOkay($src) && $MoveOperator->movePage($src, $dst)) {
118 echo $JSON->encode(array('redirect_url' => wl($dst, '', true, '&')));
151 $dst = cleanID($INPUT->str('dst'));
156 if ($src && $dst) {
170 $response['success'] = $moveOperator->moveMedia($src, $dst);
173 $ns = getNS($dst);
174 $response['redirect_url'] = wl($dst, ['do' => 'media', 'ns' => $ns], true, '&');
/plugin/move/admin/
H A 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'));
139 $this->plan->addPageNamespaceMove($entry['src'], $entry['dst']);
[all...]
/plugin/move/helper/
H A 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) {
119 movePage($src, $dst) global() argument
232 moveMedia($src, $dst) global() argument
[all...]
H A 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
240 addMediaNamespaceMove($src, $dst) global() argument
253 addMove($src, $dst, $class = self CLASS_NS, $type = self TYPE_PAGES) global() argument
687 addToDocumentList($src, $dst, $type = self TYPE_PAGES) global() argument
728 findAffectedPages($src, $dst, $class, $type) global() argument
761 findMissingDocuments($src, $dst, $type = self TYPE_PAGES) global() argument
[all...]
H A 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/script/
H A 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());
H A Dtree.js244 dst: newid property in AnonymousFunction7bce6fa20b00.data
255 dst: newid property in AnonymousFunction7bce6fa20c00.data