User:Megavolt
278 edits
Views
Actions
Namespaces
Variants
Tools
Deutsch |
English |
---|---|
Wer bin ich? |
Who am I? |
Was ist mein Ziel hier? |
What is my goal here? |
|
|
Ich hoffe für die Zukunft, dass wir einverstanden sein werden, dass wir nicht immer einverstanden sein werden, aber dennoch respektvoll miteinander umgehen. |
I hope for the future that we will agree, that we will not always agree, but still be respectful to each other. |
notes
regex
Here i will add a list of regex commands for daily usage for remembering.
Description | Search | Replace |
---|---|---|
Add "Special:MyLanguage" to internal links | (?!\[\[(C|c)ategory:|\[\[(F|f)ile:|\[\[(I|i)mage:|\[\[(S|s)pecial:MyLanguage/)\[\[([A-Za-z0-9 ()'+-_#]+)\]\] | [[Special:MyLanguage/$5|<translate>$5</translate>]] |
(?!\[\[(C|c)ategory:|\[\[(F|f)ile:|\[\[(I|i)mage:|\[\[(S|s)pecial:MyLanguage/)\[\[([A-Za-z0-9 ()'+-_#]+)\|([A-Za-z0-9 ()'+-_#]+)\]\] | [[Special:MyLanguage/$5|<translate>$6</translate>]] | |
links within <translate> tags | \[(http(s|):\/\/[A-Za-z./-_]+) ([A-Za-z0-9 ()'+-_#]+)\] | [<tvar|link>$1</> $3] |
\[(http(s|):\/\/[A-Za-z./-_]+)] | [<tvar|link>$1</>] | |
(?!\[\[(C|c)ategory:|\[\[(F|f)ile:|\[\[(I|i)mage:|\[\[(S|s)pecial:MyLanguage/)\[\[([A-Za-z0-9 ()'+-_#]+)\|([A-Za-z0-9 ()'+-_#]+)\]\] | [[<tvar|link>Special:MyLanguage/$5</>|$6]] | |
(?!\[\[(C|c)ategory:|\[\[(F|f)ile:|\[\[(I|i)mage:|\[\[(S|s)pecial:MyLanguage/)\[\[([A-Za-z0-9 ()'+-_#]+)\]\] | [[<tvar|link>Special:MyLanguage/$5</>|$5]] | |
Remove misc tags of the translate extension | <!--T:\d+--> <(/|)translate> |
|
prepare categories | \[\[((C|c)ategory:([A-Za-z0-9 ()'+-_#]+))\]\] | [[$1{{#translation:}}]] |
\[\[(:(C|c)ategory:([A-Za-z0-9 ()'+-_#]+))\]\] | [[$3{{#translation:}}|<translate>$3</translate>]] | |
\[\[(:(C|c)ategory:([A-Za-z0-9 ()'+-_#]+)\|([A-Za-z0-9 ()'+-_#]+))\]\] | [[$3{{#translation:}}|<translate>$4</translate>]] | |
prepare lists | (?!(\* |\* )(''|''')(\[\[|\[)|(\* |\* )<translate>)(\* |\* )([A-Za-z0-9 ()'+-_#,.()]+) | * <translate>$4</translate> |