[Wikidata-bugs] [Maniphest] [Commented On] T128466: Frontpage of wikidata wiki of the vagrant role wikidata shows error mssage
gerritbot added a comment. Change 297721 merged by jenkins-bot: Create a separate Wikidata main page https://gerrit.wikimedia.org/r/297721TASK DETAILhttps://phabricator.wikimedia.org/T128466EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Mattflaschen-WMF, gerritbotCc: gerritbot, Smalyshev, JanZerebecki, Zppix, Mattflaschen-WMF, Jdlrobson, WickieTheViking, Llyrian, bd808, daniel, zeljkofilipin, aude, Aklapper, StudiesWorld, Physikerwelt, Lewizho99, Maathavan, D3r1ck01, Izno, Luke081515, mobrovac, Wikidata-bugs, Mbch331, jeremyb___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T128466: Frontpage of wikidata wiki of the vagrant role wikidata shows error mssage
daniel added a comment. In T128466#2450979, @Mattflaschen-WMF With this approach: You only need to migrate it if it's in the main namespace (not always true, e.g. https://de.wikipedia.org/wiki/Wikipedia:Hauptseite). You can just prepend: MWNamespace::getCanonicalName( NS_PROJECT ) . ':' to get the new name, since that namespace should always exist. Using the Project namespace is sensible, but is it always what the user wants? What happens if that page already exists? And: should MediaWiki:mainpage be changed to pint to the new page?TASK DETAILhttps://phabricator.wikimedia.org/T128466EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Mattflaschen-WMF, danielCc: gerritbot, Smalyshev, JanZerebecki, Zppix, Mattflaschen-WMF, Jdlrobson, WickieTheViking, Llyrian, bd808, daniel, zeljkofilipin, aude, Aklapper, StudiesWorld, Physikerwelt, Lewizho99, Maathavan, D3r1ck01, Izno, Luke081515, mobrovac, Wikidata-bugs, Mbch331, jeremyb___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T128466: Frontpage of wikidata wiki of the vagrant role wikidata shows error mssage
Mattflaschen-WMF added a comment. In T128466#2445269, @daniel wrote: With https://gerrit.wikimedia.org/r/297787 merged, I think we can close this once https://gerrit.wikimedia.org/r/#/c/296059/ is merged. First one was reverted. In T128466#2406960, @daniel wrote: The next step would be to have the database updater migrate the main page... but how should it know where to migrate to? With this approach: You only need to migrate it if it's in the main namespace (not always true, e.g. https://de.wikipedia.org/wiki/Wikipedia:Hauptseite). You can just prepend: MWNamespace::getCanonicalName( NS_PROJECT ) . ':' to get the new name, since that should always exist.TASK DETAILhttps://phabricator.wikimedia.org/T128466EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Mattflaschen-WMFCc: gerritbot, Smalyshev, JanZerebecki, Zppix, Mattflaschen-WMF, Jdlrobson, WickieTheViking, Llyrian, bd808, daniel, zeljkofilipin, aude, Aklapper, StudiesWorld, Physikerwelt, Lewizho99, Maathavan, D3r1ck01, Izno, Luke081515, mobrovac, Wikidata-bugs, Mbch331, jeremyb___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T128466: Frontpage of wikidata wiki of the vagrant role wikidata shows error mssage
gerritbot added a comment. Change 297787 merged by jenkins-bot: If rev_content_model is null, use page_content_model. https://gerrit.wikimedia.org/r/297787TASK DETAILhttps://phabricator.wikimedia.org/T128466EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Mattflaschen-WMF, gerritbotCc: gerritbot, Smalyshev, JanZerebecki, Zppix, Mattflaschen-WMF, Jdlrobson, WickieTheViking, Llyrian, bd808, daniel, zeljkofilipin, aude, Aklapper, StudiesWorld, Physikerwelt, Lewizho99, Maathavan, D3r1ck01, Izno, Luke081515, mobrovac, Wikidata-bugs, Mbch331, jeremyb___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T128466: Frontpage of wikidata wiki of the vagrant role wikidata shows error mssage
gerritbot added a comment. Change 296793 abandoned by Smalyshev: Add script to fix revision table after default content model is changed Reason: replace by I75c60eb1294 https://gerrit.wikimedia.org/r/296793TASK DETAILhttps://phabricator.wikimedia.org/T128466EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Mattflaschen-WMF, gerritbotCc: gerritbot, Smalyshev, JanZerebecki, Zppix, Mattflaschen-WMF, Jdlrobson, WickieTheViking, Llyrian, bd808, daniel, zeljkofilipin, aude, Aklapper, StudiesWorld, Physikerwelt, Lewizho99, Maathavan, D3r1ck01, Izno, Luke081515, mobrovac, Wikidata-bugs, Mbch331, jeremyb___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T128466: Frontpage of wikidata wiki of the vagrant role wikidata shows error mssage
gerritbot added a comment. Change 297787 had a related patch set uploaded (by Daniel Kinzler): If rev_content_model is null, use page_content_model. https://gerrit.wikimedia.org/r/297787TASK DETAILhttps://phabricator.wikimedia.org/T128466EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Mattflaschen-WMF, gerritbotCc: gerritbot, Smalyshev, JanZerebecki, Zppix, Mattflaschen-WMF, Jdlrobson, WickieTheViking, Llyrian, bd808, daniel, zeljkofilipin, aude, Aklapper, StudiesWorld, Physikerwelt, Lewizho99, Maathavan, D3r1ck01, Izno, Luke081515, mobrovac, Wikidata-bugs, Mbch331, jeremyb___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T128466: Frontpage of wikidata wiki of the vagrant role wikidata shows error mssage
gerritbot added a comment. Change 297721 had a related patch set uploaded (by Mattflaschen): Create a separate Wikidata main page https://gerrit.wikimedia.org/r/297721TASK DETAILhttps://phabricator.wikimedia.org/T128466EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Mattflaschen-WMF, gerritbotCc: gerritbot, Smalyshev, JanZerebecki, Zppix, Mattflaschen-WMF, Jdlrobson, WickieTheViking, Llyrian, bd808, daniel, zeljkofilipin, aude, Aklapper, StudiesWorld, Physikerwelt, Lewizho99, Maathavan, D3r1ck01, Izno, Luke081515, mobrovac, Wikidata-bugs, Mbch331, jeremyb___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T128466: Frontpage of wikidata wiki of the vagrant role wikidata shows error mssage
daniel added a comment. One annoyance in this context is that you can't even delete the broken page. That's actually a core issue. Here's a patch for fixing that: https://gerrit.wikimedia.org/r/#/c/296059/ The next step would be to have the database updater migrate the main page... but how should it know where to migrate to?TASK DETAILhttps://phabricator.wikimedia.org/T128466EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Mattflaschen-WMF, danielCc: Mattflaschen-WMF, Jdlrobson, WickieTheViking, Llyrian, bd808, daniel, zeljkofilipin, aude, Aklapper, StudiesWorld, Physikerwelt, D3r1ck01, Izno, Luke081515, mobrovac, Wikidata-bugs, Mbch331, jeremyb___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T128466: Frontpage of wikidata wiki of the vagrant role wikidata shows error mssage
Mattflaschen-WMF added a comment. For now, I'm just going to repoint it to a different page and create that page. If you visit Main Page, it will still be broken, but we can live with that temporarily.TASK DETAILhttps://phabricator.wikimedia.org/T128466EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Mattflaschen-WMFCc: Mattflaschen-WMF, Jdlrobson, WickieTheViking, Llyrian, bd808, daniel, zeljkofilipin, aude, Aklapper, StudiesWorld, Physikerwelt, D3r1ck01, Izno, Luke081515, mobrovac, Wikidata-bugs, Mbch331, jeremyb___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T128466: Frontpage of wikidata wiki of the vagrant role wikidata shows error mssage
Jdlrobson added a comment. I hit this today :( @aude your instructions don't make sense to me. How do I do step #2 and #3? Via a script? TASK DETAIL https://phabricator.wikimedia.org/T128466 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Jdlrobson Cc: Jdlrobson, WickieTheViking, Llyrian, bd808, daniel, zeljkofilipin, aude, Aklapper, StudiesWorld, Physikerwelt, D3r1ck01, Izno, Luke081515, mobrovac, Wikidata-bugs, Mbch331, jeremyb ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T128466: Frontpage of wikidata wiki of the vagrant role wikidata shows error mssage
aude added a comment. @bd808 for moving, I would: 1. temporarily disable WikibaseRepo 2. move the main page (e.g. to "Wikidata:Main Page" if there is a Wikidata namespace) 3. update MediaWiki:mainpage to be "Wikidata:Main Page" 4. re-enable Wikibase maybe a better solution could be to have location of the main page (contents of MediaWiki:mainpage) as optional configuration during install? though not sure I like adding yet another install option. TASK DETAIL https://phabricator.wikimedia.org/T128466 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: aude Cc: WickieTheViking, Llyrian, bd808, daniel, zeljkofilipin, aude, Aklapper, StudiesWorld, Physikerwelt, D3r1ck01, Izno, Luke081515, mobrovac, Wikidata-bugs, Mbch331, jeremyb ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T128466: Frontpage of wikidata wiki of the vagrant role wikidata shows error mssage
bd808 added a comment. @aude Could you add detailed instructions of how to manually fix this here on the bug? TASK DETAIL https://phabricator.wikimedia.org/T128466 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: bd808 Cc: WickieTheViking, Llyrian, bd808, daniel, zeljkofilipin, aude, Aklapper, StudiesWorld, Physikerwelt, D3r1ck01, Izno, Luke081515, mobrovac, Wikidata-bugs, Mbch331, jeremyb ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T128466: Frontpage of wikidata wiki of the vagrant role wikidata shows error mssage
Physikerwelt added a comment. In https://phabricator.wikimedia.org/T128466#2075776, @aude wrote: > The easiest solution is just move the main page to the project namespace and set the MediaWiki:mainpage message to point to it. Maybe vagrant could be configured to do this. Yes I did that for the main wiki in https://github.com/DRMF/operations-puppet-drmf/blob/master/manifests/roles/drmf.pp#L124-L129 , but I'm not sure how to modify the content of the wikidata-wiki using vagrant roles. TASK DETAIL https://phabricator.wikimedia.org/T128466 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Physikerwelt Cc: aude, Aklapper, StudiesWorld, Physikerwelt, D3r1ck01, Izno, Luke081515, mobrovac, Wikidata-bugs, Mbch331, jeremyb ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T128466: Frontpage of wikidata wiki of the vagrant role wikidata shows error mssage
aude added a comment. I am almost certain we already have a task for this, but cant't find it. Problem is the main page created during installation has wikitext content. Then we set the main namespace to have item content, and then the wikitext main page no longer is handled appropriately. I think it is possible to explicitly define the content model of the main page as wikitext, though not sure how well wikibase handles this as there are a number of assumptions about namespace being particular content type. The easiest solution is just move the main page to the project namespace and set the MediaWiki:mainpage message to point to it. Maybe vagrant could be configured to do this. TASK DETAIL https://phabricator.wikimedia.org/T128466 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: aude Cc: aude, Aklapper, StudiesWorld, Physikerwelt, D3r1ck01, Izno, Luke081515, mobrovac, Wikidata-bugs, Mbch331, jeremyb ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs