FlightGear wiki:Plugin Requests: Difference between revisions

Jump to navigation Jump to search
Line 1: Line 1:
== 04/2020 ==
== 04/2020 ==
=== Hook for parsing articles when saving ===
could we discuss adding a check to automatically detect/fix up links for which we have helper templates like [[Template:Repo link]] ? The point being, new/updated articles should no longer contain absolute links to github, sourceforge, gitorious etc, but instead use these templates. For example, it seems we could register a "MultiContentSave" hook to specifically look for such links [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Hooks/MultiContentSave] ? We could probably also run a Python script/bot to update existing articles semi-automatically, or at least add them to category for review ? -[[User:Hooray|Hooray]] ([[User talk:Hooray|talk]]) 06:44, 25 April 2020 (EDT)
could we discuss adding a check to automatically detect/fix up links for which we have helper templates like [[Template:Repo link]] ? The point being, new/updated articles should no longer contain absolute links to github, sourceforge, gitorious etc, but instead use these templates. For example, it seems we could register a "MultiContentSave" hook to specifically look for such links [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Hooks/MultiContentSave] ? We could probably also run a Python script/bot to update existing articles semi-automatically, or at least add them to category for review ? -[[User:Hooray|Hooray]] ([[User talk:Hooray|talk]]) 06:44, 25 April 2020 (EDT)


Navigation menu