Hi Mediawiki users,
I have experienced a repeatable problem in which after importing a mediawiki database dump, I need to Export the language templates from the live site and import them into my local instance. I use MWDumper to build an SQL file which is read into my local MySql instance. The problem is that the language templates articles are not included in the dump.
I am referring to all templates articles that have the following form:
Template:EN
EN in this could be any language code.
This is not limited any particular Mediawiki dump, they all seem to have this problem. That being said, it is not much to simply import the missing templates manually, I was wondering if anyone had experienced this problem or has a quicker solution than the manual import/export.
Best Regards, Nathan Day
I can see that you made the same question 2 years ago and nobody helped you :( on that point.
If I remember correctly, recreating the database is "uncharted waters" just now, and theres a call for anyone tryiing to do it, to document the problems and solutions. To help people tryiing it on the future.
Hope somebody can help you :D, or give you some workaround, patch or idea.
On 21 May 2010 21:35, Nathan Day nathanryanday@gmail.com wrote:
....
- For the articles that do show up, the templates are not transcluding.
For an article that has Template:Hat for example, where I can see that the page exists in the db, mediawiki is acting like the template doesn't exist.
If anyone has any experience with these kinds of problems or importing database dumps in general, your help would be much appreciated. Thank you!
Nathan Day
On 7 February 2012 17:51, Nathan Day nathanryanday@gmail.com wrote:
Hi Mediawiki users,
I have experienced a repeatable problem in which after importing a mediawiki database dump, I need to Export the language templates from the live site and import them into my local instance. I use MWDumper to build an SQL file which is read into my local MySql instance. The problem is that the language templates articles are not included in the dump.
I am referring to all templates articles that have the following form:
Template:EN
EN in this could be any language code.
This is not limited any particular Mediawiki dump, they all seem to have this problem. That being said, it is not much to simply import the missing templates manually, I was wondering if anyone had experienced this problem or has a quicker solution than the manual import/export.
Best Regards, Nathan Day
It's not uncharted, it's just time consuming and undocumented.
-Chad On Feb 7, 2012 12:05 PM, "Tei" oscar.vives@gmail.com wrote:
I can see that you made the same question 2 years ago and nobody helped you :( on that point.
If I remember correctly, recreating the database is "uncharted waters" just now, and theres a call for anyone tryiing to do it, to document the problems and solutions. To help people tryiing it on the future.
Hope somebody can help you :D, or give you some workaround, patch or idea.
On 21 May 2010 21:35, Nathan Day nathanryanday@gmail.com wrote:
....
- For the articles that do show up, the templates are not transcluding.
For an article that has Template:Hat for example, where I can see that the
page
exists in the db, mediawiki is acting like the template doesn't exist.
If anyone has any experience with these kinds of problems or importing database dumps in general, your help would be much appreciated. Thank
you!
Nathan Day
On 7 February 2012 17:51, Nathan Day nathanryanday@gmail.com wrote:
Hi Mediawiki users,
I have experienced a repeatable problem in which after importing a mediawiki database dump, I need to Export the language templates from the live site and import them into my local instance. I use MWDumper to build an SQL file which is read into my local MySql instance. The problem is that the language templates articles are not included in the dump.
I am referring to all templates articles that have the following form:
Template:EN
EN in this could be any language code.
This is not limited any particular Mediawiki dump, they all seem to have this problem. That being said, it is not much to simply import the missing templates manually, I was wondering if anyone had experienced this problem or has a quicker solution than the manual import/export.
Best Regards, Nathan Day
--
ℱin del ℳensaje. _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
They are template articles that are missing. Not interwiki links. :-)
On Tue, Feb 7, 2012 at 9:15 AM, OQ overlordq@gmail.com wrote:
You sure those aren't interwiki links and not templates?
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
I did ask a closely related question several years ago and I did get a solution to that problem. :-) The difference is that last time I was having a problem of "transclusion" because the mechanism for substituting text from a template wasn't working. That problem was being caused by the "$wgUseCapitalLinks" setting. This time the "transclusion" is working fine, but there is no article for the template because it wasn't imported during the process for importing the dump.
On Tue, Feb 7, 2012 at 9:04 AM, Tei oscar.vives@gmail.com wrote:
I can see that you made the same question 2 years ago and nobody helped you :( on that point.
If I remember correctly, recreating the database is "uncharted waters" just now, and theres a call for anyone tryiing to do it, to document the problems and solutions. To help people tryiing it on the future.
Hope somebody can help you :D, or give you some workaround, patch or idea.
On 21 May 2010 21:35, Nathan Day nathanryanday@gmail.com wrote:
....
- For the articles that do show up, the templates are not transcluding.
For an article that has Template:Hat for example, where I can see that the page exists in the db, mediawiki is acting like the template doesn't exist.
If anyone has any experience with these kinds of problems or importing database dumps in general, your help would be much appreciated. Thank you!
Nathan Day
On 7 February 2012 17:51, Nathan Day nathanryanday@gmail.com wrote:
Hi Mediawiki users,
I have experienced a repeatable problem in which after importing a mediawiki database dump, I need to Export the language templates from the live site and import them into my local instance. I use MWDumper to build an SQL file which is read into my local MySql instance. The problem is that the language templates articles are not included in the dump.
I am referring to all templates articles that have the following form:
Template:EN
EN in this could be any language code.
This is not limited any particular Mediawiki dump, they all seem to have this problem. That being said, it is not much to simply import the missing templates manually, I was wondering if anyone had experienced this problem or has a quicker solution than the manual import/export.
Best Regards, Nathan Day
--
ℱin del ℳensaje. _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
wikitech-l@lists.wikimedia.org