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 relevance

/plugin/move/helper/
H A Dop.php29 * @param $dst
53 if($src == $dst) {
59 if(page_exists($dst)) {
77 * @param $dst
92 if($src == $dst) {
116 * @param string $dst new ID
138 $dst_ns = getNS($dst);
139 $dst_name = noNS($dst);
229 * @param string $dst new ID
240 $dst_ns = getNS($dst);
[all …]
H A Dplan.php208 * @param string $dst
210 public function addPageMove($src, $dst) { argument
218 * @param string $dst
228 * @param string $dst
238 * @param string $dst
257 $dst = cleanID($dst);
261 'dst' => $dst,
320 if($move['dst']) $move['dst'] .= ':';
589 $miss[$src] = $dst;
683 * @param string $dst
[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/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'));
145 $this->plan->addPageMove($entry['src'], $entry['dst']);
147 $this->plan->addMediaMove($entry['src'], $entry['dst']);
[all …]
/plugin/move/_test/
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 DfindMissingDocuments.test.php6 public function findMissingDocuments($src, $dst, $type = self::TYPE_PAGES) { argument
7 parent::findMissingDocuments($src, $dst, $type);
H A DstepThroughDocuments.test.php42 public function movePage($src, $dst) { argument
49 $moveOperation = 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
/plugin/move/action/
H A Drename.php93 $dst = cleanID($INPUT->str('newid'));
102 if($this->renameOkay($src) && $MoveOperator->movePage($src, $dst)) {
104 echo $JSON->encode(array('redirect_url' => wl($dst, '', true, '&')));