stable
Clone or download
Read-only
This task is part of story #9027 Preserve links at import Install the plugin, then xml import a project with mediawiki attributes. Ex: <?xml version="1.0" encoding="UTF-8"?> <project unix-name="test123" full-name="test 123" description="Long description" access="public"> <long-description> Enter long description here </long-description> <services> <service shortname="plugin_mediawiki" enabled="true" /> </services> <mediawiki> <references> <reference source="wiki76532" target="HomePage" /> </references> </mediawiki> </project> Change-Id: Ie16532e73f7d4579166a6f0a09c67810904ad880
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/mediawiki/include/MediaWikiXMLImporter.class.php | +38 | −12 | Go to diff View file |
M | plugins/mediawiki/include/mediawikiPlugin.class.php | +9 | −3 | Go to diff View file |
A | plugins/teamforge_compat_mediawiki/db/install.sql | +8 | −0 | Go to diff View file |
A | plugins/teamforge_compat_mediawiki/db/uninstall.sql | +4 | −0 | Go to diff View file |
A | plugins/teamforge_compat_mediawiki/include/CompatibilityDao.php | +50 | −0 | Go to diff View file |
A | plugins/teamforge_compat_mediawiki/include/ReferencesBuilder.php | +146 | −0 | Go to diff View file |
A | plugins/teamforge_compat_mediawiki/include/ReferencesImporter.class.php | +79 | −0 | Go to diff View file |
M | plugins/teamforge_compat_mediawiki/include/autoload.php | +6 | −3 | Go to diff View file |
M | plugins/teamforge_compat_mediawiki/include/teamforge_compat_mediawikiPlugin.class.php | +45 | −1 | Go to diff View file |
A | plugins/teamforge_compat_mediawiki/tests/TeamforgeReferencesImporterTest.php | +70 | −0 | Go to diff View file |
A | plugins/teamforge_compat_mediawiki/tests/bootstrap.php | +22 | −0 | Go to diff View file |
M | src/common/xml/resources/mediawiki-definition.rnc | +4 | −1 | Go to diff View file |
A | src/common/xml/resources/mediawiki-definition.rng | +45 | −0 | Go to diff View file |
M | src/common/xml/resources/project/mediawiki-definition.rng | +5 | −0 | Go to diff View file |