dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1a9061d
)
* (bug 34937) Fix for r107636: call WikiPage::onArticleCreate() when moving a page...
author
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Sat, 3 Mar 2012 16:36:37 +0000
(16:36 +0000)
committer
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Sat, 3 Mar 2012 16:36:37 +0000
(16:36 +0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
218ac2f
..
1a8f3e8
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-3639,6
+3639,10
@@
class Title {
$newpage->doEditUpdates( $nullRevision, $wgUser, array( 'changed' => false ) );
+ if ( !$moveOverRedirect ) {
+ WikiPage::onArticleCreate( $nt );
+ }
+
# Recreate the redirect, this time in the other direction.
if ( $redirectSuppressed ) {
WikiPage::onArticleDelete( $this );