Ejegg has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/353907 )
Change subject: Don't combine page and oldid parameters
......................................................................
Don't combine page and oldid parameters
Oldid uniquely indentifies one page and revision, and has always
overridden the page parameter. The API now throws an error if both
are specified.
Change-Id: I0bf0ab83f526969cd2a46d709cfa36023a4a1e82
---
M sites/all/modules/thank_you/generators/RenderTranslatedPage.php
1 file changed, 0 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/crm
refs/changes/07/353907/1
diff --git a/sites/all/modules/thank_you/generators/RenderTranslatedPage.php
b/sites/all/modules/thank_you/generators/RenderTranslatedPage.php
index 0d2669e..fef92ad 100644
--- a/sites/all/modules/thank_you/generators/RenderTranslatedPage.php
+++ b/sites/all/modules/thank_you/generators/RenderTranslatedPage.php
@@ -291,7 +291,6 @@
$j = $this->do_query(
array (
'action' => 'parse',
- 'page' => $this->get_translated_title( $lang ),
'oldid' => $revision_id,
'format' => 'json'
)
--
To view, visit https://gerrit.wikimedia.org/r/353907
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0bf0ab83f526969cd2a46d709cfa36023a4a1e82
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/crm
Gerrit-Branch: master
Gerrit-Owner: Ejegg <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits